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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login