Esp 8266-12f

Hello everyone, I need help.
I installed my ESP8266-12F with the Wifi-Manager, but every time I run out of light it unconfigures my WiFi network and the token and I need to reconfigure again. Can anyone help me with this, I’m programming.

Not sure about that - I assume you mean every time your remove the power?

Do you have a line in your code that says:

wifiManager.resetSettings();

or

SPIFFS.format();

If so, then these need to be commented-out.

Also, did you upload your code with an Arduino IDE Flash Size setting of of 4M (1M SPIFFS)?

If that doesn’t help then post your code (correctly formatted) and more details of the symptoms.

Pete.

Okay, I’ll check the code, thank you.