esp8266: Yet another esp WiFi config to eeprom..

// Post about: esp8266 / NodeMCU.
// Info on what they are at the end of the post

Yes out there is the excellent WiFimanager for saving the config of our esp8266 and it’s great.

Just wanted to try something quick and dirty on my own (learning process)

Started looking chriscook8’s esp-arduino-apboot code and tried to rewrite the heck out of it.
The goal was to have all this in a separate file and not in my main server/project sketch. Instead have it open in another IDE tab and just make a call from the main.

  • This is not a library (and it may never become one..)
  • You must have the two files “espWiFi2eeprom.h” and “espWiFi2eeprom.ino” in the same directory with your project sketch.
  • Has been tested with NodeMCU v1.0 and Arduino IDE 1.6.5-r5 in Windows 7
  • Check “example-espWiFi2eeprom.ino” for an example of usage along with another server.
  • You can edit “espWiFi2eeprom.h” in order to change parameters.

Oh and I’m no programming guru but it works! Check it, hack it or blow it up: https://github.com/nikant/espWiFi2eeprom

————-

info about esp8266
https://en.wikipedia.org/wiki/ESP8266
https://en.wikipedia.org/wiki/NodeMCU

FAQ

notebook-886532-700x

1. Who are you?
I’m Nick. Who are you? (ah.. check the sidebar..)

2. Why you are blogging?
Because I want to give back to humanity.
Because I believe I have something to offer.
Thought I’d try it and share what keeps me up at night.

3. What will you be blogging about?
Puppies and kittens. Oh and amazing recipes for cooking. Not.
Those two above are just to get your attention. Mostly my technology ramblings and computer/gadget related stuff.

4. What does the title mean?
Seriously? I’ll give you a hint..

hal-157883_150

No? Then you shouldn’t be reading this blog :)