[GH-ISSUE #67] Manually start config portal. #47

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

Originally created by @Kusnierz-Maciej on GitHub (Jan 17, 2016).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/67

Hello.
I'm invoking startConfigPortal("Lamp settings") when I detect "setup" button pressed in setup() function.

This works well.

Than I have autoConnect().

If for some reason autoConnect fails to connect it enters config mode. How can I make it so that it tries to connect to this network in a loop without entering configuration portal. In short. I only want to enter configuration portal when I request it. I want autoConnect to retry connection till it succeeds.

How to do it?

Also... what is the best method to restart whole chip/program?

Originally created by @Kusnierz-Maciej on GitHub (Jan 17, 2016). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/67 Hello. I'm invoking startConfigPortal("Lamp settings") when I detect "setup" button pressed in setup() function. This works well. Than I have autoConnect(). If for some reason autoConnect fails to connect it enters config mode. How can I make it so that it tries to connect to this network in a loop without entering configuration portal. In short. I only want to enter configuration portal when I request it. I want autoConnect to retry connection till it succeeds. How to do it? Also... what is the best method to restart whole chip/program?
kerem closed this issue 2026-02-28 01:23:05 +03:00
Author
Owner

@tzapu commented on GitHub (Jan 18, 2016):

HI, see example for this. Once you use startConfigPortal, there is no more need for autoConnect.

<!-- gh-comment-id:172432578 --> @tzapu commented on GitHub (Jan 18, 2016): HI, see example for this. Once you use startConfigPortal, there is no more need for autoConnect.
Author
Owner

@tzapu commented on GitHub (Jan 22, 2016):

ESP.reset() is the way to reboot everything
i ll close this now, discuss in the other issues

<!-- gh-comment-id:173839247 --> @tzapu commented on GitHub (Jan 22, 2016): ESP.reset() is the way to reboot everything i ll close this now, discuss in the other issues
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#47
No description provided.