sja / ioBroker.pilight

ioBroker pilight adapter
1 stars 1 forks source link

Adapter needs restart after connection to pilight server was lost #4

Open jhergeth opened 7 years ago

jhergeth commented 7 years ago

I use the pilight iobroker adapter to control a pilight server on a second system. After rebooting the second system (with the pilight server), the pilight adapter needs to be reloaded to control the pilight outputs.

sja commented 7 years ago

Hi! I'm sorry, but I do not use pilight anymore. So any fix from my side won't be tested.

sja commented 7 years ago

As far as I can see, the adapter logs a lost connection here: https://github.com/sja/ioBroker.pilight/blob/master/lib/PilightWebsocket.js#L55

But after that, I need an interval of calling connect again I think.

sja commented 6 years ago

I'm sorry, but I have no time to debug this atm. But PRs are welcome!