Closed xeryax closed 3 years ago
<3 Thank you for your hard work!
And where is your "buy me a coffee/beer" button :)
Thanks! I put in a handler but I can’t recreate that timeout error. Can you let me know if it still doesn’t reconnect? The logs are helpful!
No problem! If it happens again, I will post logs… maybe at the very least if it detects a “disconnect” set a binary sensor to off so we could trigger an automation?
From: roopesh @.> Sent: Tuesday, April 27, 2021 9:29 AM To: roopesh/ad-qolsys @.> Cc: xeryax @.>; Author @.> Subject: Re: [roopesh/ad-qolsys] Doesnt reconnect when connection dropped (#10)
Thanks! I put in a handler but I can’t recreate that timeout error. Can you let me know if it still doesn’t reconnect? The logs are helpful!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/roopesh/ad-qolsys/issues/10#issuecomment-827607004, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGMU5XEXDY4KB6VQHVHXSYLTK232ZANCNFSM43PF3EUQ.
I am not sure why the connection was terminated; i am sure it was a wireless issue or something... but as a note, i have to reload the app whenever the below happens... there doesn't appear to be any reconnect logic. I left the preceeding lines of log in here for context, but the last line is the only error/cause for concern.
2021-04-22 23:58:32.256421 INFO qolsys_panel: event: ARM 2021-04-22 23:58:32.263052 INFO qolsys_panel: event: ARM, usercode: None, partition_id: 0, arm_type: stay, instant: False 2021-04-22 23:58:32.265418 INFO qolsys_panel: armString: {'partition_id': '0', 'action': 'ARMING', 'arming_type': 'ARM_STAY', 'version': 0, 'nonce': 'qolsys', 'source': 'C4', 'version_key': 1, 'source_key': 'C4', 'token': '<my-token>'} 2021-04-23 00:14:42.151256 ERROR qolsys_panel: listen failed/stopped: (<class 'TimeoutError'>, TimeoutError(110, 'Operation timed out'), <traceback object at 0x7f934ca55ec0>)