RealtimePlotter
RealtimePlotter copied to clipboard
Stream data through Socket instead of serial
Hi, thanks for the nice program.
How about using it for plotting live data streamed through a socket connection?
The socket connection is between python and processing IDE.
Would you suggest on how to modify the code so that it can used for data received through socket?
Thanks...
Hi, pkr97.
I wrote a little web socket client utility to connect to a web socket server and then stream whatever it receives to a serial port. You could use this with the Arduino serial monitor / plotter or sebnil's plotter with a few modifications. All you need is an ESP32 dev board to run this code. Maybe your python code could act as a web socket server for this little utility.
https://github.com/digamesystems/test_websocket_client
Cheers.