View single post by caravanboy
 Posted: Monday Feb 22nd, 2021 03:45 pm
 PM  Quote  Reply  Full Topic 
caravanboy

 

Joined: Wednesday Mar 8th, 2017
Location: United Kingdom
Posts: 122
Status: 
Offline

  back to top

Also on this topic - does anyone know how to stop it reconnecting so often? The python module stays connected to Comfort for between 2 and 7 minutes on my system and then it tells me there is an "orderly shutdown" and it automatically reconnects after about 5 seconds.

There is no apparent pattern as there can be a motion event (for example) a few seconds before reconnection. Is this something I can configure on the Comfort end or is this normal behaviour that I just have to put up with?

It did seem to cause a race-condition type issue at least once when I just happened to press a button just as the Home Assistant entities were about to be declared Unavailable. The python script then failed with an unexpected exception. It looked like it didn't handle an incoming output status change during the re-connection? I kept the debug output so I may investigate that another day.

 Close Window