homeassistant_zigate icon indicating copy to clipboard operation
homeassistant_zigate copied to clipboard

handle reconnects to zigate

Open lolorc opened this issue 7 years ago • 4 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.

lolorc avatar Feb 20 '18 09:02 lolorc

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

lolorc avatar Apr 09 '18 13:04 lolorc

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

lolorc avatar May 07 '18 13:05 lolorc

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 :'(

elric91 avatar May 07 '18 21:05 elric91

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

lolorc avatar May 08 '18 19:05 lolorc