Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By majidnasiri
#83673 Hi there,

I have more than 20 Wemos D1 mini in a project but two of them are forgetting the access-point credentials after a couple of days (some times after 4-5 days some times after 20-30 days). All of them are using wifi manager and same codes. When they forget the AP, they will be disconnected and I have to find them on my phone, select the AP and set the password again.
Does anyone have any idea why this problem is happening

Thanks
User avatar
By btidey
#83684 The only occasions where I have had this type of issue have been with module that was in an awkward screened spot where connection to the normal router was a bit marginal. I re-positioned it slightly.

I do, however, put in some defensive coding around WifiManager to avoid getting stuck in its local AP mode. Basically, I use its time-out set to around 3 minutes so that if it ever goes into local AP then it quits. The code then retries the saved Wifi connection and if that then fails then the loop repeats.