I'm trying to make a flow that reads data from an arduino's COM port, and then log it to a file and display it on my dashboard. I also want a notification to popup when the device is disconnected, or a serial-related error occurs.
Basically, I want to somehow capture these lines in red:
the rest I can figure out.
How can I do this? I'm new.
My flow:
Blockquote
[{"id":"a62e855fac0e53bd","type":"serial in","z":"772da7125e44b0f6","name":"Arduino @COM13","serial":"e59092b57cca75f9","x":290,"y":320,"wires":[["86394560435ea468","2b080c1193a521e6"]]},{"id":"e59092b57cca75f9","type":"serial-port","name":"COM13","serialport":"COM13","serialbaud":"9600","databits":"8","parity":"none","stopbits":"1","waitfor":"","dtr":"none","rts":"none","cts":"none","dsr":"none","newline":"\n","bin":"false","out":"char","addchar":"","responsetimeout":"10000"}]
Thanks in advance.