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

Timeout on missing closure message is not always respected #28

Open
denis-stepanov opened this issue Jan 6, 2023 · 1 comment
Open
Labels
bug Something isn't working

Comments

@denis-stepanov
Copy link
Owner

Observed once:

17:49:55: (79) Mailbox 1 door opened; battery 46%
17:49:59: (80) Mailbox 1 closed after 2 seconds; battery 46%
17:51:33: Lost 1 message(s)!
17:51:33: (37) Mailbox 2 door opened; battery 0%
-->(missing timeout in the log: XX:XX:XX: Mailbox 2 door closure event timed out)<--
18:11:46: Alarm "Door opened NOW" acknowledged via Telegram by Denis

The timer should have kicked in 35 s after opening, written the message in the log and moved the state machine to "Door left open". None of this happened, meaning under some condition the timer might not work.

Code study did not reveal a particular issue, so no action for now; to monitor for another occurrence.

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

This has been observed at least one more time, but remains a rare event.

Note that since the release 2.2.2 the timer implementation has been changed, which might resolve this issue as well. Monitoring to be continued...

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