|
|
@ -355,7 +355,7 @@ class Device:
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
while True:
|
|
|
|
while True:
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
async with websockets.connect(WS_URL) as websocket:
|
|
|
|
async with websockets.connect(WS_URL, ping_timeout=None) as websocket:
|
|
|
|
await exec_ws_communication(websocket)
|
|
|
|
await exec_ws_communication(websocket)
|
|
|
|
except:
|
|
|
|
except:
|
|
|
|
logger.debug(traceback.format_exc())
|
|
|
|
logger.debug(traceback.format_exc())
|
|
|
|