[GH-ISSUE #648] "AutoConnectAp" name comebacks after disconnect. #543

Closed
opened 2026-02-28 01:25:47 +03:00 by kerem · 4 comments
Owner

Originally created by @hassasian on GitHub (Jul 9, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/648

Hi. I'm using esp8266 with wm ofc. Everthing works as expected thx for this great lib. But I encounter a problem today. Here we go ;
On setup,

 if (!wifiManager.autoConnect("BlaBla")) {
    Serial.println("failed to connect and hit timeout");
  }

It works as expected at the begining. I connect my esp to a router. Then I close the router. And esp disconnect from it normally. Then it starts ap mode which named "AutoConnectAp". But I want same name for this ap mode.

Originally created by @hassasian on GitHub (Jul 9, 2018). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/648 Hi. I'm using esp8266 with wm ofc. Everthing works as expected thx for this great lib. But I encounter a problem today. Here we go ; On setup, ``` if (!wifiManager.autoConnect("BlaBla")) { Serial.println("failed to connect and hit timeout"); } ``` It works as expected at the begining. I connect my esp to a router. Then I close the router. And esp disconnect from it normally. Then it starts ap mode which named "AutoConnectAp". But I want same name for this ap mode.
kerem closed this issue 2026-02-28 01:25:47 +03:00
Author
Owner

@tablatronix commented on GitHub (Jul 9, 2018):

You will have to erase credentials, Sometimes it gets saved to flash

<!-- gh-comment-id:403546485 --> @tablatronix commented on GitHub (Jul 9, 2018): You will have to erase credentials, Sometimes it gets saved to flash
Author
Owner

@hassasian commented on GitHub (Jul 9, 2018):

Thx for your answer. But i dont understad what u mean. If i delete credentials will that cause to loose my ip configs etc. And how i delete this?

<!-- gh-comment-id:403552933 --> @hassasian commented on GitHub (Jul 9, 2018): Thx for your answer. But i dont understad what u mean. If i delete credentials will that cause to loose my ip configs etc. And how i delete this?
Author
Owner

@tablatronix commented on GitHub (Jul 10, 2018):

Erase it once.

<!-- gh-comment-id:403669772 --> @tablatronix commented on GitHub (Jul 10, 2018): Erase it once.
Author
Owner

@hassasian commented on GitHub (Jul 10, 2018):

thx for helping my problem to solve 👍
wifiManager.resetSettings();
solved it.

<!-- gh-comment-id:403713352 --> @hassasian commented on GitHub (Jul 10, 2018): thx for helping my problem to solve 👍 `wifiManager.resetSettings();` solved it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#543
No description provided.