mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 09:05:56 +03:00
[GH-ISSUE #873] Use WiFiManager only on boot #738
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#738
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 @array81 on GitHub (Apr 27, 2019).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/873
I'm using WiFiManager on my esp8266 project however I have a problem with it.
On first run WiFiManager start and allow to select WIFI and set password by AP mode then my code run, however if there a wifi disconnection and the reconnect fails (for some reason) the WifiManager restart the AP to select the new WIFI and my code is stopped.
I want avoid it. I need of WiFiManager only on first boot after a reset, then I need select the WIFI and set password by AP after this, if there a wifi disconnection, I want retry the connect (with last WIFI and password) until the connection is not established.
Is it possible?
Is it possible use WiFiManager only for first connection after a reset?
@World525 commented on GitHub (Apr 27, 2019):
If it tried to reconnect then it means it can't connect to the WiFi. It went back to AP mode because it failed to reconnect. Try editing the cpp file to change the code if you want. I am not an expert but then I hope this helped you :)