mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 17:15:53 +03:00
[GH-ISSUE #709] wifimanager timeout implementation at the sketch #593
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#593
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mikekgr on GitHub (Aug 25, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/709
Dear Sirs, I am using wifimanager development tree at my ESP8266 Arduino Core 2.4.2.
I need to set up a time out in the sense, when the hard coded SSID, PASSWORD doesn't achieve WiFi connection then to be activated the wifimanager in order to input using its web page, the new after scan PASSWORD for the known SSID if any. My requirement is in case that nothing is entered to wifimanager web page, to have specified a timeout (ex 10 minutes ) and if this reached then to return back to normal sketch execution. Looking at the examples I saw there two commands but I don't know how to use them:
wm.setConfigPortalTimeout(600);
wm.setConnectTimeout(10);
Please help me.
Thanks
@tablatronix commented on GitHub (Aug 26, 2018):
Configportaltimeout will do what you want
@mikekgr commented on GitHub (Aug 26, 2018):
Dear @tablatronix ,
thanks a lot for your fast reply. So, using setConfigPortalTimeout will do what I want! Could you also explain what setConnectTimeout does?
Many thanks.
@tablatronix commented on GitHub (Aug 26, 2018):
https://github.com/tzapu/WiFiManager/blob/development/WiFiManager.h#L169
@mikekgr commented on GitHub (Aug 26, 2018):
Dear @tablatronix
Thanks. I found the Advanced.ino in the examples, that is an excellent sketch to see and try many thinks.
I truly appreciate your time and effort in this near perfect library.
Thanks and Best Regards,
Mike Kranidis
@jorgele commented on GitHub (Aug 17, 2020):
Friends, I have a problem combining the parameter "setConfigPortalBlocking (false);" and "setConfigPortalTimeout (xx)". If I configure the first one so that the portal does not block the program, the timeout does not work.
Is that so, or am I doing something wrong?
@tablatronix commented on GitHub (Aug 18, 2020):
This is not a forum post new issues, do not post to old issues