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

Handle blackouts #11

Open
baudev opened this issue Oct 13, 2018 · 0 comments
Open

Handle blackouts #11

baudev opened this issue Oct 13, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@baudev
Copy link
Collaborator

baudev commented Oct 13, 2018

It could happen that sometimes blackouts occur.

For example, if the power cut happen during the activation schedule, the alarm won't be enabled.
We must manage this case.

It could be necessary at the entry point of the program to check if the current schedule isn't between the activation and deactivation schedules. If it's the case, then check the current status of the alarm and take actions accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants