[GH-ISSUE #229] After Config Portal Timeout ESP always act as Access Point #187

Closed
opened 2026-02-28 01:23:54 +03:00 by kerem · 5 comments
Owner

Originally created by @mocheffendi on GitHub (Sep 29, 2016).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/229

Dear Tzapu,

I Use Configuration Portal timeout
wifiManager.setConfigPortalTimeout(180);

But after Timeout occurs the ESP8266 still act as Access Point
How to shutdown the Access Point after Config Portal Timeout.

Thanks
Best Regards

M. Effendi

Originally created by @mocheffendi on GitHub (Sep 29, 2016). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/229 Dear Tzapu, I Use Configuration Portal timeout wifiManager.setConfigPortalTimeout(180); But after Timeout occurs the ESP8266 still act as Access Point How to shutdown the Access Point after Config Portal Timeout. Thanks Best Regards M. Effendi
kerem closed this issue 2026-02-28 01:23:55 +03:00
Author
Owner

@krzbor commented on GitHub (Oct 9, 2016):

I have a similar problem. When timeout ESP properly restarts, it is running my program, but the AP is still visible. I can connect to the AP. I can not, however, connect with the web: 192.168.4.1.

<!-- gh-comment-id:252507829 --> @krzbor commented on GitHub (Oct 9, 2016): I have a similar problem. When timeout ESP properly restarts, it is running my program, but the AP is still visible. I can connect to the AP. I can not, however, connect with the web: 192.168.4.1.
Author
Owner

@kentaylor commented on GitHub (Oct 10, 2016):

That is occurring when the esp8266 starts up in dual mode. You can set it to station mode in your code or there is another version of WiFiManager that Selectively Operates In Dual Mode.

<!-- gh-comment-id:252737696 --> @kentaylor commented on GitHub (Oct 10, 2016): That is occurring when the esp8266 starts up in dual mode. You can set it to station mode in your code or there is another version of WiFiManager that [Selectively Operates In Dual Mode](https://github.com/kentaylor/WiFiManager#selectively-operates-in-dual-mode).
Author
Owner

@krzbor commented on GitHub (Oct 12, 2016):

Is it enough to add WiFi.mode (WIFI_STA); before ESP.reset ();?

<!-- gh-comment-id:253282964 --> @krzbor commented on GitHub (Oct 12, 2016): Is it enough to add WiFi.mode (WIFI_STA); before ESP.reset ();?
Author
Owner

@kentaylor commented on GitHub (Oct 12, 2016):

Better to do it at start up like this for the reasons given there.

<!-- gh-comment-id:253360552 --> @kentaylor commented on GitHub (Oct 12, 2016): Better to do it at start up [like this](https://github.com/kentaylor/WiFiManager/blob/master/examples/ConfigOnSwitch/ConfigOnSwitch.ino#L46) for the reasons given [there](https://github.com/kentaylor/WiFiManager/blob/master/examples/ConfigOnSwitch/ConfigOnSwitch.ino#L46).
Author
Owner

@krzbor commented on GitHub (Oct 14, 2016):

Thank you very much

<!-- gh-comment-id:253907935 --> @krzbor commented on GitHub (Oct 14, 2016): Thank you very much
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#187
No description provided.