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. Hardware
  3. MY_NODE_ID AUTO doesn't work, what am I missing?

MY_NODE_ID AUTO doesn't work, what am I missing?

Scheduled Pinned Locked Moved Hardware
6 Posts 3 Posters 3.5k Views 3 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.
  • ikkeTI Offline
    ikkeTI Offline
    ikkeT
    wrote on last edited by
    #1

    Hi,

    I was wondering why couple of my boards didn't register to gateway. They kept looping the three lines that happens if hand shake fails. Then I thought to try fixed ids.

    +//#define MY_NODE_ID AUTO
    +#define MY_NODE_ID 3

    I changed the above, and surprise, both of the boards do work now. Is that auto node id assignment not working in such way? MySensors 2 in question, the devel branch.

    Or is this not even supposed to work, and I'm wasting everyone's time?

    BR,
    ikke

    ikkeTI 1 Reply Last reply
    0
    • ikkeTI ikkeT

      Hi,

      I was wondering why couple of my boards didn't register to gateway. They kept looping the three lines that happens if hand shake fails. Then I thought to try fixed ids.

      +//#define MY_NODE_ID AUTO
      +#define MY_NODE_ID 3

      I changed the above, and surprise, both of the boards do work now. Is that auto node id assignment not working in such way? MySensors 2 in question, the devel branch.

      Or is this not even supposed to work, and I'm wasting everyone's time?

      BR,
      ikke

      ikkeTI Offline
      ikkeTI Offline
      ikkeT
      wrote on last edited by
      #2

      hmmm.... this went accidentally to hardware section. I was aiming for troubleshooting. Oh well...

      1 Reply Last reply
      0
      • T Offline
        T Offline
        TimO
        Hero Member
        wrote on last edited by
        #3

        The ID is assigned by the controller, not by the gateway. :)

        ikkeTI 1 Reply Last reply
        1
        • T TimO

          The ID is assigned by the controller, not by the gateway. :)

          ikkeTI Offline
          ikkeTI Offline
          ikkeT
          wrote on last edited by
          #4

          @TimO ah, ok, explains as I don't have contoller configured yet. I assume it's then only such controller that speaks MySensors, not anything behind mqtt?

          1 Reply Last reply
          0
          • T Offline
            T Offline
            TimO
            Hero Member
            wrote on last edited by
            #5

            I'm not aware of a controller that is able to hand out IDs via MQTT, although that is possible. So you have to use static IDs with a MQTT gateway.

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

              I think PIDome handles it.

              https://pidome.org/support/manual/devices/supported-devices/mysensors-devices.html

              1 Reply Last reply
              1

              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


              15

              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