Skip to content

ESP8266 not reconnect after config portal time out #24

@te260701

Description

@te260701

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions