#Store persistent data on ESP8266

9 messages · Page 1 of 1 (latest)

median lintel
#

I have a ESP8266 (wemos d1 mini), i made a (really simple) web interface for it, where you can put in the wifi ssid and password, it then tries to connect to a wifi network using that data
and thats fine in all, but i dont want to have to enter that information every time i restart the device, so is there a way to store the ssid and password persistently (so i can access it even after a restart)?

primal jewelBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.

limber sundial
#

I believe the ESP8266 uses a FAT file system so you should just be able to flash a file to it and read from it using the LittleFS API

median lintel
#

oh interesting, but can i also write to that file from the esp?

median lintel
#

oh thats cool, thank you for your help

primal jewelBOT
#

@median lintel Has your question been resolved? If so, run !solved :)

median lintel
#

!solved