Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misbehaving timeout for door closure? #48

Open
denis-stepanov opened this issue Oct 16, 2023 · 1 comment
Open

Misbehaving timeout for door closure? #48

denis-stepanov opened this issue Oct 16, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@denis-stepanov
Copy link
Owner

Consider this log:

18:40:34: (309) Mailbox 1 door opened; battery 9%
18:40:35: Mailbox 1 door closure event timed out; potentially lost 1 message
18:40:39: Message counter is out of sync; resetting
18:40:39: (310) Mailbox 1 closed after 5 seconds; battery 9%
18:41:20: Alarm "Door flipped" of mailbox 1 acknowledged via Telegram by Denis 

The timer for door closure on the receiver side is 35 seconds; here it seems to kick in after 1 second only. It is not clear what could cause this apart from yet unknown bugs in DS timers implementation. To monitor.

Also the message counter desync looks suspicious. Actually, there was no desync; but because of this glitch the uptime of the module has been reset.

@denis-stepanov denis-stepanov added the bug Something isn't working label Oct 16, 2023
@denis-stepanov
Copy link
Owner Author

More examples:

16:01:58: (5) Mailbox 1 door opened; battery 42%
16:02:20: Mailbox 1 door closure event timed out; potentially lost 1 message
16:02:21: Message counter is out of sync; resetting
16:02:21: (6) Mailbox 1 closed after 23 seconds; battery 42%
16:02:32: (7) Mailbox 1 door opened; battery 44%
16:02:34: (8) Mailbox 1 closed after 2 seconds; battery 44%
16:11:38: (9) Mailbox 1 door opened; battery 48%
16:11:40: Mailbox 1 door closure event timed out; potentially lost 1 message
16:11:57: Message counter is out of sync; resetting
16:11:57: (10) Mailbox 1 closed after 19 seconds; battery 48%
16:15:40: Alarm "Door flipped" acknowledged via Telegram by Denis

Two timeouts in a row, after 22 and 2 seconds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant