mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 09:05:56 +03:00
[GH-ISSUE #739] Getting stuck in AP mode with unreliable WiFi connections #616
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#616
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 @towboogie on GitHub (Sep 22, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/739
Hi,
I have a V2 nodemcu that does a Get request to a server to read values every 5 minutes.
I am using wifiManager 0.1.4.0 to establish the WiFi connection every 5 minutes.
The WiFi at devices location is a little bit unreliable, so when the wifi is down, the esp will create a AP/ captive portal and will no longer try to see the saved wifi network.
Is there a work around for this situation? I have tried wifiManager.setConfigPortalTimeout(180); but this just restarts the captive portal instead of checking for the existing wifi network
Serial.begin(115200); WiFiManager wifiManager; wifiManager.setConfigPortalTimeout(30); wifiManager.autoConnect("Du YVest"); Serial.begin(115200); WiFiManager wifiManager; wifiManager.setConfigPortalTimeout(30); wifiManager.autoConnect("Autoconnect");thanks
Mark
@Van4ik commented on GitHub (Oct 1, 2018):
I have a same question. How i can disable a AP, when i configured settings in station mode?
@ubergeekseven commented on GitHub (Nov 28, 2018):
Me too, having the same problem on all the devices with WiFi manager.
@tablatronix commented on GitHub (Nov 28, 2018):
No idea what your code does, do it in your code.
Or dont call autoconnect
@Swiftnesses commented on GitHub (Dec 9, 2018):
I also face this issue, I assume the timeout would recheck the saved network before starting :-(
@salvq commented on GitHub (Sep 20, 2019):
I would also very appreciate function that wifimanager in parallel keep checking for known AP credentails (in case router gets powerred off / restarted / firmware upgrade etc.) .
When no visible known network, you would end up having portal (AP mode) to enter new credential until the known network is visible, then board returns to client mode.
Is there any was to make this or workaround in sketch ?
Thanks
@tablatronix commented on GitHub (Sep 20, 2019):
esp already does this..
@Swiftnesses commented on GitHub (Sep 21, 2019):
The ESP does, yes, but with regards Wifi Manager, it doesn't work ideally when used with unstable connection (as per the issue).
@tablatronix commented on GitHub (Sep 21, 2019):
You can use ondemand non blocking configportal and start and stop it yourself..
Most of this can be done in user code now in development branch