Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. Vera
  4. [SOLVED] Identifying the node ID of my repeaters

[SOLVED] Identifying the node ID of my repeaters

Scheduled Pinned Locked Moved Vera
5 Posts 2 Posters 1.7k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • dbemowskD Offline
    dbemowskD Offline
    dbemowsk
    wrote on last edited by dbemowsk
    #1

    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?
    0_1491713592686_upload-6114aa38-a069-42c6-9f31-551433407c50

    Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
    Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

    1 Reply Last reply
    0
    • korttomaK Offline
      korttomaK Offline
      korttoma
      Hero Member
      wrote on last edited by
      #2

      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.

      • Tomas
      dbemowskD 1 Reply Last reply
      0
      • korttomaK korttoma

        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.

        dbemowskD Offline
        dbemowskD Offline
        dbemowsk
        wrote on last edited by
        #3

        @korttoma So based on what you are saying, for this one, the node ID is 6 and the sensor ID is 255.
        0_1491717443500_upload-f94cd98f-80f0-4b15-b9d2-f240fa7863ec

        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
        

        Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
        Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

        korttomaK 1 Reply Last reply
        1
        • dbemowskD dbemowsk

          @korttoma So based on what you are saying, for this one, the node ID is 6 and the sensor ID is 255.
          0_1491717443500_upload-f94cd98f-80f0-4b15-b9d2-f240fa7863ec

          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
          
          korttomaK Offline
          korttomaK Offline
          korttoma
          Hero Member
          wrote on last edited by
          #4

          @dbemowsk yes ☺

          • Tomas
          1 Reply Last reply
          0
          • dbemowskD Offline
            dbemowskD Offline
            dbemowsk
            wrote on last edited by
            #5

            Thanks, that's what I needed to know.

            Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
            Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            25

            Online

            11.7k

            Users

            11.2k

            Topics

            113.1k

            Posts


            Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • MySensors
            • OpenHardware.io
            • Categories
            • Recent
            • Tags
            • Popular