automicus / PyISY

Python module for interactive with the ISY-994 Insteon controller.
Other
16 stars 22 forks source link

Add grace period to Websocket Timeout #372

Closed shbatm closed 1 year ago

shbatm commented 1 year ago

Add a 2-sec grace period to the timeout for the websocket.

The timeout it set by the ISY heartbeat, but due to slight variations in time and drift--or if the ISY is busy--it can be slightly longer to return the next heartbeat, which will trigger an unneccessary reload of the socket.