diff --git a/duotecno/controller.py b/duotecno/controller.py index 874ba68..15e1612 100644 --- a/duotecno/controller.py +++ b/duotecno/controller.py @@ -206,7 +206,7 @@ async def heartbeatTask(self) -> None: try: self._log.debug("Sending heartbeat message") await self.write("[215,1]") - await asyncio.wait_for(self.heartbeatReceived.wait(), timeout=3.0) + await asyncio.wait_for(self.heartbeatReceived.wait(), timeout=10.0) self._log.debug("Received heartbeat message") except TimeoutError: self._log.warning("Timeout on heartbeat, reconnecting")