Closed rmallah closed 2 years ago
I've just tested and there is no issue with storing and retrieving dynamic params in ether EEPROM or SPIFFS/LittleFS.
Check your code. I also suggest that you move to LittleFS for ESP8266 by modifying defines.h, e.g. from
to
// LittleFS has higher priority than SPIFFS
#if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) )
#define USE_LITTLEFS true
#define USE_SPIFFS false
#elif defined(ARDUINO_ESP32C3_DEV)
// For core v1.0.6-, ESP32-C3 only supporting SPIFFS and EEPROM. To use v2.0.0+ for LittleFS
#define USE_LITTLEFS false
#define USE_SPIFFS true
#else
// For ESP8266, and other boards
#define USE_LITTLEFS true
#define USE_SPIFFS false
#endif
Next time, also post the Minimal, Reproducible Example or your vague and time-wasting post will be ignored and deleted.
Good Luck,
Extremely thankful for your kind response. And also for creating these beautiful libraries. I will be more careful about reporting next time.
I am trying to use ESP8266 (nodemcu) with ESP_WiFiManager_lite. I particularly need the dynamic parameters to store certain user input paramters.
when i click on the save button it says settings upload. How ever after a simple reset , the data is not read from the persisten storage and printed.
when the code executes for the first time it says:
01:55:07.037 -> Starting ESP_WiFi using EEPROM on ESP8266_NODEMCU_ESP12E
is there any way to store dynamic variables in this board/platform consistently.
regds mallah