send message to sensor on GW
-
How can i send a message to a gateway node?
I tried the following:
on the GW i added a node id parameter #define MY_NODE_ID 1 and a receive function
on another node i use setDestination for the message i want to send to the GW with the node id of the GW (1)
i expect to get into the receive function on the GW which does not happen
in the GW serial monitor i see the message getting in:
0;255;3;0;9;TSP:MSG:READ 2-2-1 s=2,c=1,t=54,pt=2,l=2,sg=0:1Can any one let em know if what i am trying to do is even possible?
-
The gateway always has node id 0.
-
@martinhjelmare you are right... still it doesn't seem to get into the receive function in the GW:
0;255;3;0;9;TSP:MSG:READ 1-1-0 s=1,c=1,t=54,pt=2,l=2,sg=0:1
1;1;1;0;54;1
-
There is a bug in 2.0.0 where receive isn't called on incoming message if destination is gateway. It's fixed in the dev branch.
-
@martinhjelmare Thanks, i will try dev branch
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
Home Assistant/MySensors quirks
Development • 15 days ago • OldSurferDude 15 days ago -
MQTT-Help me understand about the MQTT Gateway.
Development • 2 Mar 2025, 01:44 • dpcons 19 days ago -
Radio waking up for no reason.
Development • 4 Jul 2020, 21:09 • Sasquatch 15 Jan 2025, 08:33 -
Adding Listen only device to my system.
Development • 26 Feb 2025, 00:39 • dpcons 26 Feb 2025, 06:26 -
PJON and Minicore not working
Development • 11 days ago • Trand 11 days ago