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

Timer not working after homebridge restart #4

Open
naofireblade opened this issue Oct 9, 2017 · 0 comments
Open

Timer not working after homebridge restart #4

naofireblade opened this issue Oct 9, 2017 · 0 comments
Assignees
Labels

Comments

@naofireblade
Copy link
Owner

Solution: When starting a timer, store the calculated end time in the cache. When loading from cache after a homebridge restart, start the timer with the seconds until the calculated end time. Remove end time from timer in cache after timer ends.

@naofireblade naofireblade self-assigned this Oct 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant