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

Preserve state of switch after HB restart #55

Open
njuart opened this issue Feb 9, 2022 · 3 comments
Open

Preserve state of switch after HB restart #55

njuart opened this issue Feb 9, 2022 · 3 comments

Comments

@njuart
Copy link

njuart commented Feb 9, 2022

Hi, would be nice to have this enhancement if possible. Thx

@nitaybz
Copy link
Owner

nitaybz commented Mar 10, 2022

do you expect the timer to continue? or pause while homebridge is restarting?
that is a nice suggestion... but it will require implementing storage and using the file system...
I'll think about the best way to implement it

@njuart
Copy link
Author

njuart commented Mar 10, 2022

do you expect the timer to continue? or pause while homebridge is restarting?

that is a nice suggestion... but it will require implementing storage and using the file system...

I'll think about the best way to implement it

Cool, I assume better option is to continue as restart by itself doesn't take much time. If it will be paused it make break some timings.

@mkz212
Copy link

mkz212 commented Dec 18, 2023

You can see different solutions here : nfarina#87

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants