AutoConnect icon indicating copy to clipboard operation
AutoConnect copied to clipboard

added option to continue setup procedure even if Wifi is Disconnect.

Open computergeek1507 opened this issue 6 years ago • 3 comments

Do not know if this is the best way to do this, but I hope it gives you an idea what I want

computergeek1507 avatar Jun 16 '19 03:06 computergeek1507

This missing feature is kind of putting me on the fence between using autoconnect or just hard-coding the wifi info and using a less future-proof solution like autoconnect... however it doesn't seem like this method would allow it to eventually connect in the future when wifi comes back online but I haven't looked at the autoconnect code myself so perhaps it does.

mdeanda avatar Sep 16 '20 05:09 mdeanda

@computergeek1507 Thank you for PR. We can assume various situations as the WiFi disconnection state of ESP8266, but it is not clear which one this PR assumes. It probably aims to prevent the ESP module from falling into a standalone state at the beginning of the sketch, but on the other hand, it is possible with the proper combination of autoRise and portalTimeout in AutoConnectConfig. What are the specific effects of your point of view?

Hieromon avatar Sep 17 '20 04:09 Hieromon

I am using a esp32 board with a Ethernet adapter. I want the user to connect to the esp32 wifi AP and be able to configure the Ethernet settings thought a custom page and then disconnect from wifi and let the program run using the Ethernet connection. By added this parameter it allowed the setup method to "finish" and let the main loop code run using the Ethernet connection.

computergeek1507 avatar Sep 17 '20 05:09 computergeek1507