MY_NODE_ID AUTO doesn't work, what am I missing?
-
Hi,
I was wondering why couple of my boards didn't register to gateway. They kept looping the three lines that happens if hand shake fails. Then I thought to try fixed ids.
+//#define MY_NODE_ID AUTO
+#define MY_NODE_ID 3I changed the above, and surprise, both of the boards do work now. Is that auto node id assignment not working in such way? MySensors 2 in question, the devel branch.
Or is this not even supposed to work, and I'm wasting everyone's time?
BR,
ikke -
Hi,
I was wondering why couple of my boards didn't register to gateway. They kept looping the three lines that happens if hand shake fails. Then I thought to try fixed ids.
+//#define MY_NODE_ID AUTO
+#define MY_NODE_ID 3I changed the above, and surprise, both of the boards do work now. Is that auto node id assignment not working in such way? MySensors 2 in question, the devel branch.
Or is this not even supposed to work, and I'm wasting everyone's time?
BR,
ikke -
The ID is assigned by the controller, not by the gateway. :)
-
I'm not aware of a controller that is able to hand out IDs via MQTT, although that is possible. So you have to use static IDs with a MQTT gateway.