Skip to content
ESP8266 based serial-to-websockets proxy for OTA debugging
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Feb 12, 2016
README.md attempt to fix missing serial characters Mar 2, 2016
WebSocketSerialMonitor.ino attempt to fix missing serial characters Mar 2, 2016

README.md

WebSocketSerialMonitor

ESP8266 based serial-to-websockets proxy for OTA debugging

Using this sketch and an extra ESP8266 module you can monitor the serial output of your ESP8266, Arduino or any other serial outputing device Over-the-Air, in a browser.

Getting started

  • upload this sketch to your proxy ESP8266, the device you will attach to the serial terminals of the device to be monitored. make sure to set serial baud rate to be the same as your monitored device. Any 3rd party libs used are mentioned in the file.
  • connect the proxy module to your WiFi. It uses WiFiManager so if it can't connect it will start and access point for you to configure it.
  • connect the proxy ground to the monitored device ground and the proxy RX pin to the monitored device TX pin
  • open or download (from gh-pages branch) and open http://tzapu.github.io/WebSocketSerialMonitor/ and connect to your proxy module's ip on port 81

That's it, you should see live serial data streaming from your devices.

Future plans

(if this proves useful to people)

  • add control of gpio pins so you can reset monitored module for instance
  • enable switching of baud rates on the fly
  • make the web page nicer and more app like
  • add MDNS for local name resolution
  • compress and concatenate files to be served straight from spiffs
  • add ability to download console page straight to spiffs on first connect, and update later on
You can’t perform that action at this time.