elric91 / homeassistant_zigate

Custom components for Home Assistant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

handle reconnects to zigate

lolorc opened this issue · comments

It looks like it doesn't reconnect to zigate when it lost connection. Only getting the "ZIGATE : Connection Lost !" message and then nothing.

Happening with both zigate serial and wifi.

I'm using zigate from a remote server with ser2net on it, handling disconnection is quite important.

I guess in the mean time, connection retries should be handled as well.

looks like zigate wifi is about to be available. this feature will be needed ;-)

commented

zigate wifi is already enabled is the lib as far as I remember. I had a look at python asyncio details, but reconnection does not seem straighforward :'(

I also tried to look at it, and I don't have enough spare time to be of more help, sorry about that.