-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Persist state across restarts #249
Comments
What about use the available |
Is this getting close to becoming production? Retaining the values across reboots would help with some of the issues I've been annoyed with as well. |
If you want to try it out you can use the dev branch for now. |
Is there a docker image with the dev branch? If not, any brief instructions on how I would use dev in a docker? |
Yes, the -dev images. |
@Koenkk can it be configurable ? |
Would an option to disable this be enough? (in configuration.yaml) |
Perhaps a specified time limit in configuration.yaml e.g. 60 (minutes)? On restart if saved state is within that limit it uses saved state otherwise it doesn't. |
@Koenkk an option would be great, so it could either be a boolean or a integer to specify the retention period as @clockbrain proposed. 0 could be no retention, 1 could be 1sec/min/hour... |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
When zigbee2mqtt is restarted all cached states of the sensors are lost.
Zigbee2mqtt should persist the state to a file in the following way:
Follow-up of #245
The text was updated successfully, but these errors were encountered: