WiFiManager: resetSettings(); not working
Basic Infos
Hardware
WiFimanager Branch/Release: Master
Esp8266/Esp32:
Hardware: ESP-12E
Core Version: 2.4.0, staging
Description
Problem description
Settings in IDE
Module: NodeMcu 1,0 (esp-12E module) Additional libraries:
Sketch
#BEGIN
WiFiManager wifiManager;
wifiManager.resetSettings();
delay(4000);
ESP.reset();
#END
Debug Messages
The resetSettings(); doesn’t bring up the AP. I need to cause the AP to start after a successful connect. This did work on platform 2.7.4, I’m on 3.0.2
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 1
- Comments: 37
This works for me
Hi @tablatronix, I have a similar issue, so as you said the code is working fine with this line in the setup void:
WiFi.mode(WIFI_STA);
But it doesn’t work when I move it into a IF statment:
I’m trying to get the memory erase when I press a button on sturtup. Any suggestion?
My hardware is a ESP8266 Wemos D1 mini Pro