Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFLink out node needs a new line #3

Open
netcompsys opened this issue Dec 5, 2017 · 3 comments
Open

RFLink out node needs a new line #3

netcompsys opened this issue Dec 5, 2017 · 3 comments

Comments

@netcompsys
Copy link

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

@pointbre
Copy link
Owner

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?

@stevanov
Copy link

stevanov commented Mar 25, 2018

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!

@QuocurIQ
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants