Skip to content

Web interface to configure ESP8266 based on esp8266/Arduino

Notifications You must be signed in to change notification settings

yokobond/esp_web_conf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

esp_web_conf

This is a web service to configure ESP8266 connect WiFi network with DHCP.

This program is based on esp8266/Arduino and inspired by these projects

Instructions

First of all, you should upload this sketch using esp8266/Arduino (updated Sep 09, 2015 or later).

Setup WiFi

Then follow this instructions to connect WiFi network.

  1. Connect the module's access point SSID 'esp-????' directly.
  • module ID 'esp-????': '????' is determined by MAC address.
  1. Open 'http://192.168.4.1/wifi_conf' and set the SSID and Password of your WiFi network.
  2. Reboot the module to connect the WiFi network and get DHCP address.
  3. The module can be accessed by name 'esp-????.local' using mDNS(Bonjour).
    Or, you can find the assigned IP address in 'http://192.168.4.1/' via direct connecting 'esp-????' as AP.

Change Module ID

When you want to change the Module name, open '/module_id' and change the module ID. If you submit blank ID, the default ID 'esp-????' will be used.

Update This Sketch

When you want to update this sketch via Web, open '/update' and upload a compiled sketch file named '*.bin' by a FORM in the page.

Monitoring

It can be monitored its process via serial port (9600 baud). You can watch the debug-prints like followings.

Startup

scan done
2 networks found
1: wifi-1 (-52)*
2: wifi-2 (-52)*

Module ID: esp-ecd4

loading WiFiConf
SSID: ssid
PASS: password

Waiting for WiFi to connect
66666666666666666666
Connect timed out

Name: esp-ecd4.local
LAN: 0.0.0.0
AP: 192.168.4.1

Server started

mDNS responder started

About

Web interface to configure ESP8266 based on esp8266/Arduino

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%