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
-
hmmm.... this went accidentally to hardware section. I was aiming for troubleshooting. Oh well...
-
The ID is assigned by the controller, not by the gateway.
-
@TimO ah, ok, explains as I don't have contoller configured yet. I assume it's then only such controller that speaks MySensors, not anything behind mqtt?
-
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.
-
I think PIDome handles it.
https://pidome.org/support/manual/devices/supported-devices/mysensors-devices.html
Suggested Topics
-
Over the air updates
General Discussion • 23 Mar 2014, 21:38 • ToSa 1 Mar 2015, 11:21 -
"Remote Irrigation with LoRaWAN: LM27313 Challenges and PCB Design"
Hardware • 24 Jan 2024, 23:06 • wrendral 3 Feb 2024, 07:13 -
Sensors and more
Hardware • 19 Jun 2023, 00:41 • Robert Leverett 19 Jun 2023, 00:41 -
Sensor to detect marijuana vape/smoke
Hardware • 21 Jan 2025, 06:36 • Hellmark 25 Feb 2025, 20:56 -
hlk-pm01 are to noisy for rfm69?
Hardware • 5 Aug 2023, 21:16 • Tmaster 9 Aug 2023, 16:28 -
Does MySensors require Arduino Timer 2?
Hardware • 6 Jan 2024, 19:39 • OldSurferDude 11 Jan 2024, 04:39