• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    AUTO NodeID

    General Discussion
    2
    2
    1689
    Loading More Posts
    • 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.
    • H
      hoegaarden_bier last edited by

      How does the automatic node ID distribution within MYController work?

      When I add a new sensor ( no previous node ID) with the configuration that it does not have a fixed nodeID (set to AUTO).
      It broadcasts and expects the controller to hand out a nodeID;

      Can I (admin) controle which nodeID that sensor will get (maybe based on nodeName+Type+version)?

      jkandasa 1 Reply Last reply Reply Quote 0
      • jkandasa
        jkandasa @hoegaarden_bier last edited by

        @hoegaarden_bier MyController searching in the database for that gateway from 1-254, will give first available id.

        https://github.com/mycontroller-org/mycontroller/blob/development/modules/commons/src/main/java/org/mycontroller/standalone/mysensors/MySensorsUtils.java#L65

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        0
        Online

        638
        Users

        495
        Topics

        3.2k
        Posts

        Copyright © 2015-2022 MyController.org | Contributors | Localization