[GH-ISSUE #375] Manually manage WiFi connection using WiFiManager #316

Closed
opened 2026-02-28 01:24:42 +03:00 by kerem · 1 comment
Owner

Originally created by @vks007 on GitHub (Jun 8, 2017).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/375

Hi, I am working on a project where having an active WiFi connection is not critical and so my I can live without one for some time and keep retrying at a certain interval. I want to use WiFiManager library for this but I am unable to do so because I want to manage the retry interval as well as when to retry myself. While this library will try to connect to WiFi itself when it gets the credentials. So my specific question is : Can I stop WiFiManager to try connecting to WiFi , rather I will connect to it when I need to. I just need WiFiManager to manage the WiFi credentials for me. Is it possible?

On investigating further I see the following line of code which is used in WiFiManager.cpp to signal a connection attempt to WiFi. Would somebody who knows the code well be able to advise if I just comment out this statement, would I be good to manage the connection to WiFi part manually ?
connect = true; //signal ready to connect/reset

Originally created by @vks007 on GitHub (Jun 8, 2017). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/375 Hi, I am working on a project where having an active WiFi connection is not critical and so my I can live without one for some time and keep retrying at a certain interval. I want to use WiFiManager library for this but I am unable to do so because I want to manage the retry interval as well as when to retry myself. While this library will try to connect to WiFi itself when it gets the credentials. So my specific question is : Can I stop WiFiManager to try connecting to WiFi , rather I will connect to it when I need to. I just need WiFiManager to manage the WiFi credentials for me. Is it possible? On investigating further I see the following line of code which is used in WiFiManager.cpp to signal a connection attempt to WiFi. Would somebody who knows the code well be able to advise if I just comment out this statement, would I be good to manage the connection to WiFi part manually ? ` connect = true; //signal ready to connect/reset `
kerem closed this issue 2026-02-28 01:24:42 +03:00
Author
Owner

@tablatronix commented on GitHub (Aug 27, 2017):

See the portalondemand example. Wifimanager already does this

<!-- gh-comment-id:325169004 --> @tablatronix commented on GitHub (Aug 27, 2017): See the portalondemand example. Wifimanager already does this
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#316
No description provided.