Open swissmanu opened 8 years ago
First i want to say thanks for working on this project!
I wish i had the skills to contribute.
Any plans in the works to try and resolve this issue?
I think this error is causing homebridge to crash when used with the homebridge-harmonyhub plugin.
https://github.com/KraigM/homebridge-harmonyhub/issues/61
As discovered here by @jhakonen in https://github.com/swissmanu/harmonyhubjs-client/commit/777cfa79e029f8b1ac8b8b5377fce00f1b9df47c#commitcomment-15226112, provide a proper error handling during the first encounter with the potential hub.