marko2276 / ha-unipi-neuron

Custom Home Assistant integration for Unipi devices
MIT License
21 stars 8 forks source link

Integration loses sporadically connection to UniPi device #11

Open anline380 opened 3 months ago

anline380 commented 3 months ago

I have a Unipi Neuron M203, an xS11 extension, and four UniPi 1.1 . Actually, the integration works extremely well (modification of regex and commenting out of def async_update). But always the same UniPi 1.1 loses connection with the Integration (possibly after restarting the HA Core ) and then cannot reconnect. There are no problems with the connection to the API via browser or Command Line Switch (HA). The only thing that appears in the log is: File "/config/custom_components/unipi_neuron/init.py", line 88, in evok_connection. I hope someone can help me, Manuel

marko2276 commented 2 months ago

Hi @anline380

Sorry for late reply. Are you saying that when the connection to that "problematic" UniPi 1.1. is lost, it will not reconnect after 30s (as this is what it should do)? How do you get then the device working again once you hit the problem?

Can you test, if the same behaviour is seen with the other devices that you have? (Just disconnect Eth cable on your device for a few seconds and then plug it back in).

Regards Marko