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.
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.