Open netcompsys opened 6 years ago
Hi, if you need to append '\n' to the output of RFLink out node, maybe it'd be better to do it with other node?
I have the same issue as netcompsys. According to this article;
Note also that when you send out serial (to actually control something) it should be followed by both “\r\n”.
\r\n
needs to be added to the end of commands that you send to the RFLINK.
There is a possibility to set up your serial tty device in node-red with automatically adding \r\n
but that function also changes the splitting of your RFLINK input node, it doesn't properly detect incoming messages anymore. So right now i'm supposed to add a function node between your RFLINK out node and the serial tty usb out node.
msg.payload = msg.payload+"\r\n"; return msg;
I'll be willing to supply some debugs and stuff if need be. I'm running the very latest RFLINK firmware (r48) Maybe that explains why!
Has someone managed to control some device? Like a relay? What is the Target field for in the rflink out node? I couldn't find a single line about it anywhere on the net.
I think that the RFlink out node needs a new line adding on the end of the message
Writing to two Sonoff RF and a Homeeasy Wall switch the commands only work with a "/n" appended
I use a function as follows var outstring ; var outstring = msg.payload ; msg.payload = outstring + '\n' ; return msg;
Kevin