Multiple sensor nodes - only one appears to be recognised
-
I have one Arduino Nano with a high gain NRF24L01 as a serial gateway, going into Domotiga. This works great.
I have an Arduino Uno (for development at the moment) with a PIR and BMP180, with a normal NRF24L01, which is picked up by the gateway and the sensors appear in Domotiga.
I'm now working on a third node, using the standard MotionSensor sketch and another NRF24L01, on an Arduino Nano and the sensor does not show up in the logs of the serial gateway, nor in Domotiga.
Do I need to somehow supply some kind of UID for each node? The CHILD_ID looks like it might be relevant, but I've had no success when changing that value.
Thanks for any help!
-
You need a ID for each node, hard to say if thats the problem here. A look at your sensor code and logs from sensor and gateway would help alot!
-
Thanks for the quick reply!
My sensor code is straight from the Examples>Mysensors>Serialgateway sketch, from the mysensors library.
I don't remember setting an ID in the original, working node (Arduino Uno), but I guess because that was the first one, it's ID was unique.
Where can I source the logs you need? Or you mean the ones straight from domotiga?
Thanks again
-
Got the same problem.
Need to change the code to make it works
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
Sending offset to node
Development • 31 Jan 2025, 00:59 • bsl88k 4 Feb 2025, 12:14 -
Radio waking up for no reason.
Development • 4 Jul 2020, 21:09 • Sasquatch 15 Jan 2025, 08:33 -
Home Assistant/MySensors quirks
Development • 17 Mar 2025, 02:35 • OldSurferDude 17 Mar 2025, 02:35 -
LAN8720A - will mysensors work with this module
Development • 13 Nov 2024, 17:06 • Marcin 15 Nov 2024, 10:59 -
PJON and Minicore not working
Development • 21 Mar 2025, 19:51 • Trand 21 Mar 2025, 19:51