How to publish serial data from screen command?
I use screen /dev/ttyUSB0
to stream data from some device. This results in a string being printed to the terminal continuously similar to this:
0,0 abc;--------------- def;G;001;
0,0 abc;--------------- def;G;001;
0,0 abc;--------------- def;G;001;
0,0 abc;--------------- def;G;001;
How would I publish this data or some values from it to a topic?