Open sniicker opened 2 years ago
Anything new on this topic ?
Same issue. Openwrt 19.07.7 NPM 6.14.18 Node.js v14.19.3 Node-Red 2.2.2
NodeRed 3.1.5, but no fix (yet)
Node-RED v3.1.9, no fix yet
@softy2k @samyakdoshi5 the node-red version is irrelevant.
Please feel free to submit a pull request against the node-red-node-serial node to implement the behaviour if you have a need for it
@hardillb I don't know what a pull request is, or how to do that :(
I'm new, and I wanted to make a project that requires me to display a popup when the serial port is disconnected.
Which node are you reporting an issue on?
node-red-node-serialport
What are the steps to reproduce?
Set an unused COM Port!
[{"id":"8f77ef3358816793","type":"serial in","z":"14972ae43ba3a3f1","name":"","serial":"1b909dd2b3f2dc6e","x":250,"y":1820,"wires":[["17b4a55b44609a6f"]]},{"id":"17b4a55b44609a6f","type":"debug","z":"14972ae43ba3a3f1","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":390,"y":1820,"wires":[]},{"id":"4490c6afdf741d52","type":"status","z":"14972ae43ba3a3f1","name":"","scope":["8f77ef3358816793"],"x":240,"y":1880,"wires":[["fb90753a624cf048"]]},{"id":"fb90753a624cf048","type":"debug","z":"14972ae43ba3a3f1","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":390,"y":1880,"wires":[]},{"id":"1b909dd2b3f2dc6e","type":"serial-port","serialport":"COM3","serialbaud":"115200","databits":"8","parity":"none","stopbits":"1","waitfor":"","dtr":"none","rts":"none","cts":"none","dsr":"none","newline":"0xd","bin":"false","out":"char","addchar":"0x0D","responsetimeout":"10000"}]
What happens?
I get an error msg in the debug window but no msg from the status node. Also no msg from catch node. So in this case i get no information and cannot pull further actions.
What do you expect to happen?
A msg "Not connected" from the status node, so i can send an email, telegram ...
Please tell us about your environment: