WiFiMan
WiFiMan copied to clipboard
ESP8266 not reconnect after config portal time out
Hi ChipCE,
I use Wifiman with Blynk. When Blynk cant connect to server, I used rebootToApMode(). After Internet connection restored, Config Portal get timeout but Blynk still cant connect and keeps rebootToApMode.
How to simulate:
- Everything works fine
- Disconnect modem from router (Wifi OK but no internet) for a few mins it will go to config portal
- Connect modem back to router and Internet is ok
- Wait for config portal to timeout (default 15min)
- It keep reboot to AP mode because Blynk can't connect to server.
How I workaround this: Method 1: Go to config portal and click reset button and it will connect fine Method 2: Put ESP.restart after Wifi.softAPdisconnect
I am not sure if it because of my code or anyone else can confirm it.
Cheers, Sam