I am seeing fairly extreme behaviour when I connect to an event stream using interfaces.eventStream.connect(...) and then reboot my internet router. The hub will then reboot! I found this as I was trying to test if the event stream will auto-reconnect if the network drops and returns.
Has anyone else experienced this behaviour? Is this a bug in the event stream implementation?
Have you tried rebooting your router whilst not using the EventStream? i.e. Could it be more the rebooting of the router, rather than an issue with the EventStream? Are you using PoE at all?
Good idea. I have two hubitat C-7s and it is only the one I was testing the event stream with that is rebooting. Interestingly, it is still doing it even if I don't have the event stream running. So, clearly not the event stream. Possibly another app running on that hub, I'll investigate some more. Thanks for the suggestion! (I'm not using PoE.)
Another thought I had would be to compare the Network Settings between your two C-7 hubs to see if there is anything different between them. Do you have static IP's configured in your router? Not that I expect that to be the issue in reality....
Whilst I'm not using PoE, I did decide to power the second hub (the one that is rebooting) from the USB output of the router to take advantage of the UPS that the router is plugged into. So, I'm assuming that rebooting the router temporarily removes power from it's USB socket out. Groan.
Thanks for your help.
Donβt feel bad. I have created several of my own problems over the years. By posting this and the cure, others searching for similar issues will appreciate your input.