Juerd / ESP-WiFiSettings

WiFi Manager for the ESP32 Arduino environment
Other
166 stars 34 forks source link

ESP32 does not connect unless restarted through portal #25

Closed frogcrush closed 1 year ago

frogcrush commented 2 years ago

On multiple ESP32's on multiple different Wi-Fi networks, I cannot get the device to connect to Wifi unless I hit "restart" through the portal interface. If I remove the timeout, it never connects and just fills the serial output with periods.

NetForces commented 2 years ago

@frogcrush you can do this:

    WiFiSettings.onConfigSaved  = []() {
      ESP.restart(); // Reboot as soon as config is saved
    };

Will reboot as soon as config is saved.

Just started using this library and I like it very much. Good job @Juerd

Juerd commented 1 year ago

@frogcrush I believe the issue you ran into may have been a problem in the esp32 arduino framework. If this is still relevant, however, please reopen the issue.