tzapu / WiFiManager

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

AP loss causes WiFi scan sync to not start. #1438

Open OekoSolveMG opened 2 years ago

OekoSolveMG commented 2 years ago

Basic Infos

Hardware

WiFimanager Branch / Release: v2.0.11-beta Esp8266 / Esp32: ESP32 Hardware: M5 Stack Core 1 Core Version: 2.4.0, staging

Description

When being connected to a WiFi and then loosing the access point. Then reopening the captive portal and connecting wifi causes only 2 textboxes to appear and the scan sync is not started and the other wifi signals we could connect to are not shown.

Would it be possible to show all the possible wifi signals in this case as well, or have it be an option that could be enabled via. a boolean flag and a set method.

NoWiFiScan Homepage

tablatronix commented 2 years ago

hmm are you using ondemand to start the ap or a reboot? Got any serial logs by chance?

OekoSolveMG commented 2 years ago

hmm are you using ondemand to start the ap or a reboot?

OnDemand and non blocking

Got any serial logs by chance?

There isn't any error so no not really.

I'm pretty sure this isn't a bug, because it seems like if you click the configure wifi button the wifi_no_scan callback is called. That's why I meant it more as a feature request.

Because in my opionion it would make more sense to also show all available networks even if you were already connected to one and are now disconnected from it or to make it settable via a boolean flag.

tablatronix commented 2 years ago

Yeah sounds like a bug in non blocking, let me test it