Update my controller to MySensors 2.0
-
Updated my controller to MySensors 2.0.
I switched to a serial gateway (no code changes needed, only added serial input and output to the flow), as handling one tcp channel is not as reliable, as I need it.
Found some bugs, nobody reported.... (wrong IDs of V_ and S_)
I really would like to post the code but....
Please enter a shorter post. Posts can't be longer than 32767 character(s).
If someone is interested, I will find a solution to post the code.
-
If you find a bug in the nodered module, you should create a pull request to @tbowmo repository found here:
-
Just published a new module version, with the latest message ids added in mysensors 2.0.1 (dev branch)
-
It is my
controller, not the module from tbowmo:
https://forum.mysensors.org/topic/700/node-red-as-controller/28
-
Hi,
The code that is here:"https://github.com/tbowmo/node-red-contrib-mysensors" as a problem with latest mysensors with arduino 1.6.13 and NodeRed v0.15.02.
These line:
pl = msg.nodeId + ";" + msg.childSensorId + ";" + msg.messageType + ";" + msg.ack + ";" + msg.subType + ";" + msg.payload;Should be:
pl = msg.nodeId + ";" + msg.childSensorId + ";" + msg.messageType + ";" + msg.ack + ";" + msg.subType + ";" + msg.payload + "\n";This way the message gets to the node, the first one doesn't get there.
Thanks,
Rui.
Suggested Topics
-
Join the Project Contest 2014 - ENDED
Announcements • 8 Apr 2014, 08:03 • hek 13 May 2014, 21:48 -
[Solved] problems trying to save on two measurements
Node-RED • 14 Aug 2019, 13:02 • Sergio Rius 14 Aug 2019, 17:32 -
NodeID assignment not working? MY_INCLUSION_MODE_FEATURE enabled
Node-RED • 6 Apr 2020, 09:37 • bebr 6 Apr 2020, 11:35 -
myscontroller with ethernet gateway
Node-RED • 4 Jun 2021, 19:13 • JohnDoe2991 6 Jun 2021, 14:30 -
[Solved] Beginner receive() question
Node-RED • 14 Mar 2021, 15:10 • Alberto77 14 Mar 2021, 20:48 -
multiple gateways on lan
Node-RED • 8 Jun 2019, 07:57 • sotiriszegiannis 10 Jun 2019, 20:20