Skip to content

kickshawprogrammer/SerialHTML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SerialHTML

A web-based class to mimic the Arduino IDE Serial Monitor for use with an ESP8266 microcontroller to log, monitor ord debug your code remotely.

  • NOTE: This project was heavily inspired by the WebSerial project.

Dependencies


Like the original WebSerial project, this library also requires some external dependencies:

Wish-List


Right now, I've done the development using Platform IO as a part of a personal project. I've only recently decided that others may need an alternative option for a web-based serial monitor so I have decided to make it available for them as it is.

With that in mind, there are several things that I'd like to see done/do in the coming updates.

  • Add proper Arduino IDE support.

    I have been able to place this entire directory structure into the Arduino/libraries directory and get it to work in the Arduino IDE; however, a proper library manager implementation would be wonderful.

  • Add proper Platform IO support.

    Outside of my project, I've not gotten it working with Platform IO yet. Within Platform IO (my project), it is a sub-directory of the project's /lib directory structure.

  • Provide a proper README file and related documentation.

I'm sure there are others, but those will do for now...

A Note About the Handlers


I've created four web-socket handlers in this latest update: onMessage(), onError(), onConnect() and onDisconnect(). Care must be taken when defining these callbacks because SerialHTML does not, in itself, distinguish outputs from one web-socket to another and instead flushes all output to all available sockets at once.

License


Feel free to use in any way you wish; but please, be kind and do good!

About

A Web based Serial Monitor for ESP8266 to debug your code remotely.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published