[GH-ISSUE #149] Access Point not necessary with previous saved credentials #117

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

Originally created by @piertoni on GitHub (Apr 5, 2016).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/149

Hi,
Imagine a router and ESP power down. The router maybe takes a while to span a wi-fi network.
In the meanwhile ESP boots and can't connect, then goes to AP and doesn't connect anymore to router. This is not what I want for an IoT device.
Is possible to simply let ESP trying to connect to wi-fi without AP mode?

Originally created by @piertoni on GitHub (Apr 5, 2016). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/149 Hi, Imagine a router and ESP power down. The router maybe takes a while to span a wi-fi network. In the meanwhile ESP boots and can't connect, then goes to AP and doesn't connect anymore to router. This is not what I want for an IoT device. Is possible to simply let ESP trying to connect to wi-fi without AP mode?
kerem closed this issue 2026-02-28 01:23:31 +03:00
Author
Owner

@tzapu commented on GitHub (Apr 6, 2016):

yes, either use wifiManager.setConfigPortalTimeout(180); so it stays in portal for said timeout, then make it reboot and retry (this is what i use) or just start config portal manually when you actually need it.

too many problems could arise otherwise

<!-- gh-comment-id:206136231 --> @tzapu commented on GitHub (Apr 6, 2016): yes, either use `wifiManager.setConfigPortalTimeout(180);` so it stays in portal for said timeout, then make it reboot and retry (this is what i use) or just start config portal manually when you actually need it. too many problems could arise otherwise
Author
Owner

@kentaylor commented on GitHub (Apr 22, 2016):

Do not use the autoconnect functionality. Then it "Is possible to simply let ESP trying to connect to wi-fi without AP mode".

Start configuration mode manually when "you actually need it".

Here is an example that does exactly that https://github.com/kentaylor/WiFiManager/tree/master/examples/ConfigOnSwitch

<!-- gh-comment-id:213280473 --> @kentaylor commented on GitHub (Apr 22, 2016): Do not use the autoconnect functionality. Then it "Is possible to simply let ESP trying to connect to wi-fi without AP mode". Start configuration mode manually when "you actually need it". Here is an example that does exactly that https://github.com/kentaylor/WiFiManager/tree/master/examples/ConfigOnSwitch
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#117
No description provided.