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. General Discussion
  3. Radio ID's & Child ID's on a large network General Question

Radio ID's & Child ID's on a large network General Question

Scheduled Pinned Locked Moved General Discussion
10 Posts 2 Posters 5.6k Views 1 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.
  • jeylitesJ Offline
    jeylitesJ Offline
    jeylites
    wrote on last edited by jeylites
    #1

    Hey guys...

    I'm planing to deploy about 23 nodes around the house and below is my setup.

    4 Relay Button Actuator X 10 nodes
    Motion, Temp, Lux (3 in one sensor) X 11 nodes
    4 Binary Switch X 2 node

    My questions is should I assign individual for Radio ID Relay, 3 in one sensor & binary. Or should I have as one Radio ID for all nodes with different Child.

    Example 1: Individual Radio ID on each group

    Node 1: Relay Button Actuator (Radio 2), Child 1, 2, 3, 4
    Node 2: Relay Button Actuator (Radio 2), Child 5, 6, 7, 8
    ...etc

    Node 1: 3 in One (Radio 3), Child 1, 2, 3
    Node 2: 3 in One (Radio 3), Child 4, 5, 6
    ...etc

    Node 1: Binary (Radio 4), Child 1, 2, 3,4
    Node 2: Binary (Radio 4), Child 5, 6,7
    ...etc

    Example 2: OR one Radio ID for all groups.

    Node 1: Relay Button Actuator (Radio 2), Child 1, 2, 3, 4
    Node 2: Relay Button Actuator (Radio 2), Child 5, 6, 7, 8
    ...etc

    Node 1: 3 in One (Radio 2), Child 9, 10, 11
    Node 2: 3 in One (Radio 2), Child 12,13, 14
    ...etc

    Node 1: Binary (Radio 2), Child 15, 16, 17,18
    Node 2: Binary (Radio 2), Child 19, 20,21
    ...etc

    If I setup individual Radio ID will repeater mode still work if I have two different IDs on a network. I'm guessing not but will like to know.

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hek
      Admin
      wrote on last edited by
      #2

      Each node (= one radio) have its own unique id (1-254).
      One node can have 254 sensors/child-devices.
      Sensors on different BASE_RADIO_ID cannot communicate (or repeat messages).

      Unless you plan to have a very busy network you could probably have them on the same BASE_RADIO_ID.

      jeylitesJ 1 Reply Last reply
      0
      • H hek

        Each node (= one radio) have its own unique id (1-254).
        One node can have 254 sensors/child-devices.
        Sensors on different BASE_RADIO_ID cannot communicate (or repeat messages).

        Unless you plan to have a very busy network you could probably have them on the same BASE_RADIO_ID.

        jeylitesJ Offline
        jeylitesJ Offline
        jeylites
        wrote on last edited by
        #3

        @hek Thank you!

        1 Reply Last reply
        0
        • jeylitesJ Offline
          jeylitesJ Offline
          jeylites
          wrote on last edited by
          #4

          @hek

          Another thing. When I set the Radio to AUTO, it populates and ID automatically. But what I realize is the Radio ID changes from node to node. Eg: Node 1 Radio ID: 2 , Node 2 Radio ID 4. They don't maintain the same Radio but different Child ID.

          This only happens in the Array Sketch I'm running.

          1 Reply Last reply
          0
          • H Offline
            H Offline
            hek
            Admin
            wrote on last edited by
            #5

            I don't understand what you mean.

            The node store the AUTO id-received in its eeprom to remember forever.

            1 Reply Last reply
            0
            • jeylitesJ Offline
              jeylitesJ Offline
              jeylites
              wrote on last edited by
              #6

              @hek No that's not what meant. Every time when I load a sketch into the Arduino, it populates a different Radio ID. So assuming I have 5 nodes, they are all in different radio channel. I'm trying to get it in one Radio Ch but different Child IDs....

              1 Reply Last reply
              0
              • H Offline
                H Offline
                hek
                Admin
                wrote on last edited by
                #7

                They will all end up using the same radio channel (unless you change the following setting between compiles/uploads):
                https://github.com/mysensors/Arduino/blob/master/libraries/MySensors/MyConfig.h#L7

                1 Reply Last reply
                0
                • jeylitesJ Offline
                  jeylitesJ Offline
                  jeylites
                  wrote on last edited by
                  #8

                  @ hek
                  I apologize, I got my terminology all mixed up. Based on my understanding...

                  node-id The unique id of the node that sends or should receive the message (address)
                  child-sensor-id Each node can have several sensors attached. This is the child-sensor-id that uniquely identifies one attached sensor

                  My problem is when compiled based on an Auto setup, the Node Id changes from one Arduino to another. Eg; First Node: ID 3 Child 1, Second Node: ID 22 Child 2.

                  Question, will repeat mode work in this setup? Having a different Node-Id does it mean it's on a different network?

                  How do I have all nodes to start in Node-ID 3 but have different Childs based on the Auto setup. I'm running an Array sketch so I don't know how to specifically target each output to a specific Child.

                  Thanks you!

                  H 1 Reply Last reply
                  0
                  • jeylitesJ jeylites

                    @ hek
                    I apologize, I got my terminology all mixed up. Based on my understanding...

                    node-id The unique id of the node that sends or should receive the message (address)
                    child-sensor-id Each node can have several sensors attached. This is the child-sensor-id that uniquely identifies one attached sensor

                    My problem is when compiled based on an Auto setup, the Node Id changes from one Arduino to another. Eg; First Node: ID 3 Child 1, Second Node: ID 22 Child 2.

                    Question, will repeat mode work in this setup? Having a different Node-Id does it mean it's on a different network?

                    How do I have all nodes to start in Node-ID 3 but have different Childs based on the Auto setup. I'm running an Array sketch so I don't know how to specifically target each output to a specific Child.

                    Thanks you!

                    H Offline
                    H Offline
                    hek
                    Admin
                    wrote on last edited by
                    #9

                    @jeylites said:

                    Question, will repeat mode work in this setup? Having a different Node-Id does it mean it's on a different network?

                    Yes, repeaters will work. They are still on the same network.

                    Why would you want to have node-id set to 3 on all nodes? The node-id is used to address/route messages to a specific node and it won't work if they all have the same.

                    The library does not support broadcast or multicast. You'll have to send a addressed message to each node you want to control.

                    jeylitesJ 1 Reply Last reply
                    0
                    • H hek

                      @jeylites said:

                      Question, will repeat mode work in this setup? Having a different Node-Id does it mean it's on a different network?

                      Yes, repeaters will work. They are still on the same network.

                      Why would you want to have node-id set to 3 on all nodes? The node-id is used to address/route messages to a specific node and it won't work if they all have the same.

                      The library does not support broadcast or multicast. You'll have to send a addressed message to each node you want to control.

                      jeylitesJ Offline
                      jeylitesJ Offline
                      jeylites
                      wrote on last edited by
                      #10

                      @hek
                      If repeater mode works regardless of which Node ID your in, than I will go with this setup. I was think for repeater to work one will need to have all Node ID on the same channel. I guess I'm wrong on that.

                      Thanks for clearing the air. :)

                      1 Reply Last reply
                      0

                      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
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      25

                      Online

                      12.0k

                      Users

                      11.2k

                      Topics

                      113.4k

                      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