Open arrmo opened 1 year ago
I have a similar issue where if the pool controller hasn't started, it forces homebridge to reboot.
Went through same thing, there is no error handling on: https://github.com/gadget-monk/homebridge-poolcontroller/blob/59c44d5451d65422e5116784024ca7612568b63d/index.js#L125
Would be better the try catch that and log something friendlier, looked at trying to have the plugin go into a failed state more gracefully but looks like some work.
Easier to just set the plugin as a child bridge: https://github.com/homebridge/homebridge/wiki/Child-Bridges which isolates and prevents it from crashing the main bridge, it will then crash and restart about once every 3 minutes when it hits network timeout. Will have to be registered separately in HomeKit though...
Hi,
The machine that I have running njsPC happened to go down (power outage), but that in turn took down my Homebridge install - yikes! 😆. Here is the error that kept showing up in the Homebridge log ... seems to be due to this plugin? When the njsPC was turned back on ... all back to normal.
Thoughts?
Thanks!