Websockets for ESP8266/Arduino
JavaScript Other HTML C
Switch branches/tags
Nothing to show
Clone or download
Latest commit e294052 Jan 27, 2016
Permalink
Failed to load latest commit information.
ESPSocket Update ESPSocket.ino Jan 26, 2016
Screenshots unbroken Dec 8, 2015
.gitignore Teaching myself HTML table formatting Dec 1, 2015
Commands.md Preparing for slider input Dec 2, 2015
LICENSE Initial commit Nov 30, 2015
README.md fixed typo in readme Dec 2, 2015

README.md

ESPSocket: Websockets for ESP8266

Connected!

This project demostrates WebSockets using the Arduino port of ESP8266. It uses some awesome projects like arduinoWebSockets and ColorChord: Embedded. I've tried to port some of the WebSockets functionality from ColorChord: Embedded to work with the Arduino port of ESP8266 It uses the SPIFFS file system on the ESP8266 to host a bunch of webpages. It also supports OTA firmware updates.

Inspired by these two awesome videos:

WebSockets for awesome on the ESP8266

WebSocket ESP-WROOM-02(ESP8266) Android iPad

Note: This is a work in progress! Some things are still broken.

Requirements
  • Arduino IDE from here. OTA updates will not work with 1.6.6 until this PR is merged.
  • Git version of esp8266/Arduino from here
Used projects
Known Issues
  • For some reason, the IP address needs to be hardcoded in menuinterface.js, ws://espsocket.local:81/ or "ws://" + location.host + ":81/" does not work. Need to use var wsUri = "ws://192.168.1.5:81/";
  • Unsupported commands result in loss of connection
  • Drag and drop file upload results in LmacRxBlk:1, but the uplaod works
  • The WiFi Settings section is still not working
Tested Hardware
  • NodeMCU 0.9
Screenshots
  • Uploading html and js files to the SPIFFS SPIFFSupload

  • All tabs expanded All Features

  • The filesystem browser edit pane EDIT pange