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

myscontroller output is missing newline #29

Open
tilegg opened this issue Aug 7, 2020 · 2 comments
Open

myscontroller output is missing newline #29

tilegg opened this issue Aug 7, 2020 · 2 comments

Comments

@tilegg
Copy link

tilegg commented Aug 7, 2020

The output channel of myscontroller is not adding a newline at the end of the message payload.
This prevents the ethernet gateway from accepting/sending the message.

This prevents node-id assignments from working when using the ethernet gateway.
Can be worked around by adding a JS-Function that appends newline to the messages payload.
Once this is added node-id assignment works as expected.

Example transmission:

Incoming message:

10;255;3;0;6;0\n
"INTERNAL;nodeId:10;childId:255;SubType:I_CONFIG;ACK:0;Payload:0"

Actual message sent:
10;255;3;0;6;M

Expected message
10;255;3;0;6;M\n

@mariusl
Copy link

mariusl commented Jan 2, 2023

This seems to be an very old issue and still not resolved. I am using the serial gateway and after appending the \n the payload string I still don't get my sensors to react. If I connect the gateway to a terminal and send the exact message manually, it works fine.
Is there a way to determine what is actually sent by the node?

@tbowmo
Copy link
Owner

tbowmo commented Jun 1, 2023

Long overdue, but this should be fixed now, as I have added an option for adding newlines to output from controller node

@mariusl / @tilegg could any of you test 4.2.0?

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

3 participants