[SOLVED] Identifying the node ID of my repeaters
-
As I branch out away from my gateway with my devices, I want to explicitly define the parent nodes for some devices. Some of my repeaters are in-wall switches and I would rather not take them out and connect the computer just to have to get the node ID. In the image below, which is from one of my in-wall switches running as a repeater, I am assuming that the red arrow is the node ID that I can use in another sketch to identify this as the parent, and the blue arrow is the gateway or repeater that it is connected to, is this correct?

-
Those IDs have nothing to do with MySensors, they are for Vera only. The Parent id you see there should be the Vera device id for the MySensors plugin main device and id is the Vera device id for this particular device.
You need to look at the altid. It contains both the Node ID and Sensor ID. -
Those IDs have nothing to do with MySensors, they are for Vera only. The Parent id you see there should be the Vera device id for the MySensors plugin main device and id is the Vera device id for this particular device.
You need to look at the altid. It contains both the Node ID and Sensor ID.@korttoma So based on what you are saying, for this one, the node ID is 6 and the sensor ID is 255.

So in my other node sketches, I should be able to do this to make sure they connect to the repeater and not the gateway correct?
#define MY_PARENT_NODE_ID 6 // set this to your repeater node id #define MY_PARENT_NODE_IS_STATIC // this will force your node to use only the repeater -
@korttoma So based on what you are saying, for this one, the node ID is 6 and the sensor ID is 255.

So in my other node sketches, I should be able to do this to make sure they connect to the repeater and not the gateway correct?
#define MY_PARENT_NODE_ID 6 // set this to your repeater node id #define MY_PARENT_NODE_IS_STATIC // this will force your node to use only the repeater
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