diff --git a/pyHS100/protocol.py b/pyHS100/protocol.py index 34ed9c36..50ecd8df 100644 --- a/pyHS100/protocol.py +++ b/pyHS100/protocol.py @@ -108,6 +108,8 @@ class TPLinkSmartHomeProtocol: info = json.loads(TPLinkSmartHomeProtocol.decrypt(data)) devices.append({"ip": ip, "port": port, "sys_info": info}) + except socket.timeout: + _LOGGER.debug("Got socket timeout, which is okay.") except Exception as ex: _LOGGER.error("Got exception %s", ex, exc_info=True)