add a 3 minute timeout on the config interface, in case connection difficulties were transient
1 files changed, 3 insertions(+), 0 deletions(-) M src/main.cpp
M src/main.cpp +3 -0
@@ 198,6 198,9 @@ void setup() { //reset settings - for testing - seems broken, see resetEverything() //wifiManager.resetSettings(); + // after 3 minutes, we want to reset and try to connect again, in case the outage was temporary + wifiManager.setConfigPortalTimeout(180); + //tries to connect to last known settings //if it does not connect it starts an access point with the specified name //here "AutoConnectAP" with password "password"