mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 09:05:56 +03:00
[GH-ISSUE #149] Access Point not necessary with previous saved credentials #117
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#117
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 @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?
@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
@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