Close

Rework

A project log for ESP8266 websocket

ESP8266 websocket html5

Willem WoutersWillem Wouters 03/08/2016 at 22:010 Comments

I did a lot of rework in separating the websocket parsing from the http server.

I you want to give the code a try,
Add your own ssid details in user_main.c
Change in index.html the websocket adres of the ESP
At the moment retreived by flashing the esp, check output for ip
Reflash esp with new firmware

make html
make
sudo make flash (check settings.mk for correct port)

Go to http://ipesp:8000


And I enabled some port forwarding, so for a online try:
http://willemwouters.nl:8000/

I put the esp in a box, so by turning on the led you will see the change in light intensity

Dont know how long it will stay online

Discussions