Hi,
I am using a ESP01-S module with a relay by the ESP Easy firmware,but when I power down and then power up the ESP module,it can't maintain the lasts state,I think the ESP module should save the lasts stale to eeprom/flash and restore it when ESP power up. How should I do to repair it?
tx
ESP8266 module can't maintain the lasts state when power up
Moderators: grovkillen, Stuntteam, TD-er
-
- New user
- Posts: 2
- Joined: 17 Dec 2020, 07:18
Re: ESP8266 module can't maintain the lasts state when power up
ESP's don't use standard storage like that, the so-called NV-RAM is only keeping it's content while the power stays on. So after a power-cycle all is reset to initial status.
/Ton (PayPal.me)
-
- New user
- Posts: 2
- Joined: 17 Dec 2020, 07:18
Re: ESP8266 module can't maintain the lasts state when power up
Hi,I am using a ESP01-S module,it has a 1MB Flash memory.
Re: ESP8266 module can't maintain the lasts state when power up
ESPEasy is keeping the values from devices (Task data) in that NV-RAM during a warm boot, but not over a power-cycle. That would be a nice to have feature indeed, storing the data in a file on flash, but AFAICS that's not implemented (yet).
/Ton (PayPal.me)
Re: ESP8266 module can't maintain the lasts state when power up
The reason why it hasn't been implemented is because flash has a rather limited number of write cycles.
Who is online
Users browsing this forum: No registered users and 24 guests