Closed sschuste closed 3 years ago
Thanks @sschuste for reporting this. I have now added a first fix and reworked the whole connection/reconnection logic. Could you install the latest beta version and give a short feedback if the bug is fixed or not?
(sudo) npm i -g homebridge-star-projector@beta
Installed the beta, killed my internet connection, restarted Homebridge and the result is: thumbs up. It now works as expected. Thank you.
Thanks for the feedback. The changes are live now in v1.0.5
Describe the bug In case the internet connection is interrupted, the Homebridge cannot be restarted because the plugin cannot connect to the Tuya API.
To Reproduce
Expected behavior I expected the plugin not to crash
Log
Impact: Parts of the home automation are no longer available, automations no longer work, and I can't even turn off the light in the dining room, which can be quite annoying ;-). As a result, the Homebridge becomes dependent on an existing internet connection, which contradicts the HomeKit idea.