Configure esp8266 remotely

Dear other programmers,

For my project I need a configure system for the esp8266.
I want to configure the thing with my phone over the wifi.
So that I don't have to use the computer all the time.
I want to change the SSID first as test.
I know that it is possible with saving information to the EEPROM.

Is there a example? Could someone help?

and what firmware is in the esp?

If you are using Arduino for ESP8266, take a look at WiFiManager.

The firmware in the esp is the one after you flashed it.

I looked at the Wifimanager library, but it's precisely the opposite that I need.

I want to configure the access point of the esp. Not connecting the esp to a wifi network!

Thanks for replying guys.
Unfortunately it is not what I search for.

I can give an example of what I want to make.
The deauther of spacehuhn has a full config for the esp.
You can modify the SSID, password and more with your phone while you are connected to the AP.
The input is saved into the EEPROM.

Can somebody help me with making something like that?

Oh, little padawan; you are at the place I was a few months ago (and still learning). To do what you want to do, you'll first need to learn some basic html. After learning that, you can store the ip settings into the eeprom; how you store/retrieve is up to you and I'm sure you've already implemented a basic store/retrieve program.

Here is a great thread I learned quite a bit from.

Good luck in your endeavors; you'll have it up and running in a couple weeks.

I'm doing this with Captive Portal. Upon connection to the SSID advertised by the 8266, you bring up a web page to ask for the SSID, and Password. It's stored in EEPROM on the 8266 and will join that network while also providing the original network. It does this by redirecting traffic intended for the internet connected network. So this enables you to reconfigure any time you like, without resetting, and you can host whatever pages you want on your devices local network.

It's under the 8266 examples, DNS Server. Look at both Captive Portal examples.

Vinnie

Hi there!

I figured that there is not much about it on the internet.
Somehow you have to make a form with html and php and save the input into the EEPROM.
After that you have to restart the ESP and read out those values you just saved.

It looks easy, but I still struggle.

P.S. I really don't need WifiManager :wink:

The Captive Portal example has the code to read/write to EEPROM within the credentials code, in the example: CaptivePortalAdvanced