-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting stuck in AP mode with unreliable WiFi connections #739
Comments
I have a same question. How i can disable a AP, when i configured settings in station mode? |
Me too, having the same problem on all the devices with WiFi manager. |
No idea what your code does, do it in your code. |
I also face this issue, I assume the timeout would recheck the saved network before starting :-( |
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 |
esp already does this.. |
The ESP does, yes, but with regards Wifi Manager, it doesn't work ideally when used with unstable connection (as per the issue). |
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 |
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
The text was updated successfully, but these errors were encountered: