I like the wifimanager but can’t figure out what to do after a power loss and esp8266 boots up log before wifi router does. Sometimes even my router hangs up.
I figured how to use a button pressed for 10 seconds then wifiManager.startConfigPortal(“HACS2”);
will force re-config. BUT WiFiManager wifiManager;
will try to reconfig and if i put // on 2d line i cannot recofig even with button
You will probably have to use interrupts. Check out the Multi-tasking the Arduino series of articles.
Have you checked Steve’s answer?
Were you able to solve your problem?