khoih-prog / ESP_WiFiManager

This is an ESP32 / ESP8266 WiFi Connection Manager with fallback web configuration portal. Use this library for configuring ESP32 (including ESP32-S2 and ESP32-C3), ESP8266 modules' WiFi, etc. Credentials at runtime. You can also specify static DNS servers, personalized HostName, fixed or random AP WiFi channel. With examples supporting ArduinoJson
MIT License
371 stars 97 forks source link

Wifi settings not updated #73

Closed Palmeta closed 2 years ago

Palmeta commented 2 years ago

Hi, I´m using your library on a nodemcu v3. After configuring ssid & password for the first time it can not be changed. Every time I reboot my device it tries to connect to the first SSID that was configured but since it is out of range it goes into AP mode and has to be reconfigured with the new ssid & password. After clicking save these values are used to connect correctly but on a subsequent reboot it reverts to the first one. The changed values are not persisted.

khoih-prog commented 2 years ago

Hi,

Thanks for your interest in the library.

I think you didn't use the library correctly somehow in some steps. I suggest you start with the simple yet working ConfigOnDoubleReset example and follow the instructions in So, how it works?.

Also be sure to update the ESP8266 core to v3.0.2, or at least v2.7.4, and this library to v1.7.7, according to Prerequisites.

As this is not a bug of the library, I'm closing the issue now. If you still have issue, I suggest you ask for help in Arduino or ESP8266 forum.

Good Luck,