Skip to content
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

Cant autoconnect to network in AP mode #16

Open
xserg opened this issue Jun 28, 2018 · 2 comments
Open

Cant autoconnect to network in AP mode #16

xserg opened this issue Jun 28, 2018 · 2 comments

Comments

@xserg
Copy link

xserg commented Jun 28, 2018

The case when the device and router lost power, and device up first before router. Device started in AP, and when wifi up it cant connect to in without reboot. Actually wifimamager did it perfectly.
May be some setting would be useful for it?

@hansaya
Copy link

hansaya commented Jul 10, 2018

There is a time out period defined on the top: https://github.com/r-downing/PersWiFiManager/blob/master/PersWiFiManager.h

@tekhedd
Copy link

tekhedd commented Nov 28, 2018

This appears to be partly solved by using the new nonblock code and handleWifi() calls.

I found that the ESP can end up unresponsive when you switch back and forth between AP and client mode when using WiFiManager (stable and dev branch). Perhaps PersWM will be more stable in this configuration?

I also found it very frustrating (with WiFiManager) when I was trying to configure a new AP and the silly thing keeps disconnecting to try client mode again in the middle of it. Really the only 100% satisfactory system is to add a reset button and only enter AP mode when it is pressed. However, that requires adding a physical reset button!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants