-->
Page 1 of 19

Storing and reading ssid/pass from eeprom, AP to config

PostPosted: Wed Apr 15, 2015 12:50 pm
by chriscook8
https://github.com/chriscook8/esp-arduino-apboot

This reads from eeprom to get SSID and password information. Then trys to connect to it. If it doesn't work, or no SSID is found it boots into a AP mode hosting a configuration webpage.

First pass on this task anyway.

Chris

Re: Storing and reading ssid/pass from eeprom, AP to config

PostPosted: Wed Apr 15, 2015 5:28 pm
by CheapB
chriscook8 wrote:https://github.com/chriscook8/esp-arduino-apboot

This reads from eeprom to get SSID and password information. Then trys to connect to it. If it doesn't work, or no SSID is found it boots into a AP mode hosting a configuration webpage.

First pass on this task anyway.

Chris


Thanks for posting! I have not tried it yet, but this is super useful when you are moving the ESP to different environments. I wonder if it is possible to use the intended config store instead of the EEPROM store at some point, but this is a great start..

Re: Storing and reading ssid/pass from eeprom, AP to config

PostPosted: Wed Apr 15, 2015 5:47 pm
by chriscook8
CheapB wrote: I wonder if it is possible to use the intended config store instead of the EEPROM store at some point, but this is a great start..


I'm not familiar with that area, is it exposed in the Arduino code/libraries anywhere?

Re: Storing and reading ssid/pass from eeprom, AP to config

PostPosted: Tue Apr 21, 2015 5:32 pm
by danbicks
Chris,

This is a brilliant example, well done you.

Would be cool if the web page could be jazzed up a little and when connected to network serve a control page to for example turn on or off outputs.

Superb work A +++++