sekassel/CoronaTrackerEsp32

Device can not connect to WiFi after power loss

YannickNagel opened this issue · 1 comments

After the ESP looses power, it can not connect to Wifi again and will start a WiFiManger-ConfigPortal. Because the boolean flag is saved in RTC memory, it is lost when the device resets.

A better solution would be to either store the flag more permanently or use ESP built-in functions to check WiFi status.

ulno commented

I think testing would be significantly simplified if a default WiFi could be selected in some kind of config.h - else this "bug" becomes quickly very annoying because of constant reconfiguration need.