WiFiMan icon indicating copy to clipboard operation
WiFiMan copied to clipboard

ESP8266 not reconnect after config portal time out

Open te260701 opened this issue 1 year ago • 0 comments

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:

  1. Everything works fine
  2. Disconnect modem from router (Wifi OK but no internet) for a few mins it will go to config portal
  3. Connect modem back to router and Internet is ok
  4. Wait for config portal to timeout (default 15min)
  5. 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

te260701 avatar Sep 16 '23 16:09 te260701