-
Notifications
You must be signed in to change notification settings - Fork 67
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
Feature discussion: save/restore all settings via browser #124
Comments
The esp32 controller has support for storage of configuration data on an SD card which is checked upon startup to load configuration data from. |
Thanks for that hint. I'll take a look, maybe it could be implemented here too. |
SPIFFS is stored in flash, when flashing via the single binary method it will wipe flash prior to writing the new image so the SPIFFS data would be lost. |
Ok, then a SD-shield is mandatory. Maybe some code from the ESP32 implementation could be pulled over here... :) |
You could simply download the file via a web browser and then upload after the upgrade. No SD card required then. |
Hi Stuart, |
No you didn't miss anything, I was just mentioning that an SD card wasn't mandatory, other methods could be written. |
While playing around with the system (Release-2022-05-24-08-14) and starting to modify some code lines (related to MQTT) I noted that all settings (module settings, rules, integrations etc.) are gone if a new firmware is uploaded to the controller (D1 mini in my case).
While this might be unavoidable due to ESP8266 and likely ESP32 it came to my mind that it would be great to just "download" the settings to some kind of file (maybe JSON).
Than after flashing the new binary one could restore all settings by "uploading" the formerly mentioned file.
Is there another way or workaround to achieve this?
How could that be implemented?
The text was updated successfully, but these errors were encountered: