-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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 power state on reboot #3975
Comments
Saving too often wears flash down and might render device inoperable over time. |
Really great point. Does Autosave also wear out the flash? I guess I'll just cross my fingers on the power cycle issue. So long as uptime is strong, it's probably a non-issue (only during rare power outages). |
Any writ does. My own (limited) testing showed that even as low as 40000 writes can destroy flash. And there are a lot of writes that happen. |
Is your feature request related to a problem? Please describe.
Seems with some recent updates, I'm now facing (and may have been facing for some time) unexpected restarts. This means installations in my kitchen for instance triggers a preset in the middle of the night when it was turned off before bed.
Describe the solution you'd like
It's not uncommon to see a feature in smart home lighting that restarts with whatever power state they were in prior to losing power or power cycling.
Describe alternatives you've considered
Autosave usermod does allow for storing any preset, and perhaps the "off" preset could be considered one.
Additional context
Goes without saying that this might be a usability improvement as WLED appeals to a broader audience. Usermods require custom compilation, so this would go a long way to rendering power cycle issues moot and aligning even closer to common smart lighting conventions.
Thank you for your ideas for making WLED better!
Thank you for making WLED 😉
The text was updated successfully, but these errors were encountered: