tzapu / WiFiManager

ESP8266 WiFi Connection manager with web captive portal
http://tzapu.com/esp8266-wifi-connection-manager-library-arduino-ide/
MIT License
6.63k stars 1.98k forks source link

Enhancement request : reconnect to AP when available, even if portal was started #1752

Open alka79 opened 4 months ago

alka79 commented 4 months ago

For static devices, most of the time, connection loss is due to AP reboot or power failure. In that situation, you mostly just want to reconnect to the AP as soon as it is back online and avoid long timeouts.

My I suggest the following behaviour: (I am thinking non-blocking ) When portal is automatically started because of AP connection loss, run every N seconds a passive scan for APs in the background . When the AP is available again and no-one is connected to the portal, close the portal and reconnect to AP immediately.

Hope you will consider,

WillT93 commented 2 weeks ago

@alka79 Did you figure out a way to get this working? I'm trying to achieve a similar thing and having no luck. Don't suppose you came up with a work-around?

gpena208777 commented 1 week ago

Bumping this