mihailescu2m / homebridge-airtouch4-platform

Homebridge plugin for Airtouch4 AC Controller
6 stars 8 forks source link

error handling #8

Closed noobydp closed 4 years ago

noobydp commented 4 years ago

Added error handling and reconnect to api connection.

This resolves an issue where the Airtouch tablet loses wifi, or the app is reset but homebridge stays running, which would result in an unhandled scoket error when the next command was sent. Without this error handling, the error would cause my homebridge service to stop.