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. Troubleshooting
  3. Gateway All node have same ID

Gateway All node have same ID

Scheduled Pinned Locked Moved Troubleshooting
node esp82
7 Posts 2 Posters 2.0k 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.
  • TheDukeT Offline
    TheDukeT Offline
    TheDuke
    wrote on last edited by
    #1

    Hi All,

    I did a lot of progress in my Mysensors project but I have a last issue.
    I am using a Wifi Gateway with a Node MCU 1.0 but all my node show a one meaning that all my nodes seems to show up with the same node ID.

    I am using Arduino IDE 1.6.8, tested with 1.6.5 and 1.611 same results
    Using Board Manager ESP8266 2.3.0, tested with 2.0 and 2.1 with same results

    MySController for first node
    11/09/2016 11:59:04 RX 1;2;1;0;16;1
    11/09/2016 11:59:11 NODE New node discovered, node id=1
    11/09/2016 11:59:11 CHILD New child discovered, node id=1, child id=internal
    11/09/2016 11:59:11 DEBUG Update child id=255, type=ARDUINO_NODE
    11/09/2016 11:59:11 RX 1;255;0;0;17;2.0.0-beta
    11/09/2016 11:59:11 TX 1;255;3;0;6;M
    11/09/2016 11:59:11 RX 1;255;3;0;6;0
    11/09/2016 11:59:12 RX 1;255;3;0;11;Binary Sensor and Sleep
    11/09/2016 11:59:12 RX 1;255;3;0;12;1.0
    11/09/2016 11:59:12 CHILD New child discovered, node id=1, child id=2
    11/09/2016 11:59:12 DEBUG Update child id=2, type=DOOR
    11/09/2016 11:59:12 RX 1;2;0;0;0;
    11/09/2016 11:59:12 CHILD New child discovered, node id=1, child id=3
    11/09/2016 11:59:12 DEBUG Update child id=3, type=DOOR
    11/09/2016 11:59:12 RX 1;3;0;0;0;
    11/09/2016 11:59:12 CHILD New child discovered, node id=1, child id=4
    11/09/2016 11:59:12 DEBUG Update child id=4, type=CUSTOM
    11/09/2016 11:59:12 RX 1;4;0;0;23;
    11/09/2016 11:59:12 RX 1;2;1;0;16;1

    Second Node
    11/09/2016 12:03:12 DEBUG Update child id=255, type=ARDUINO_RELAY
    11/09/2016 12:03:12 RX 1;255;0;0;18;2.0.0
    11/09/2016 12:03:12 TX 1;255;3;0;6;M
    11/09/2016 12:03:12 RX 1;255;3;0;6;0
    11/09/2016 12:03:12 RX 1;255;3;0;11;Relay
    11/09/2016 12:03:12 RX 1;255;3;0;12;1.0
    11/09/2016 12:03:12 CHILD New child discovered, node id=1, child id=1
    11/09/2016 12:03:12 DEBUG Update child id=1, type=LIGHT
    11/09/2016 12:03:12 RX 1;1;0;0;3;

    How to ensure that each node show as different node in the Gateway ?

    I have tested with 2.0 MySensors Main banche and with 2.0.1 Beta and have the same results.

    Many thanks for your help

    mfalkviddM 1 Reply Last reply
    0
    • TheDukeT TheDuke

      Hi All,

      I did a lot of progress in my Mysensors project but I have a last issue.
      I am using a Wifi Gateway with a Node MCU 1.0 but all my node show a one meaning that all my nodes seems to show up with the same node ID.

      I am using Arduino IDE 1.6.8, tested with 1.6.5 and 1.611 same results
      Using Board Manager ESP8266 2.3.0, tested with 2.0 and 2.1 with same results

      MySController for first node
      11/09/2016 11:59:04 RX 1;2;1;0;16;1
      11/09/2016 11:59:11 NODE New node discovered, node id=1
      11/09/2016 11:59:11 CHILD New child discovered, node id=1, child id=internal
      11/09/2016 11:59:11 DEBUG Update child id=255, type=ARDUINO_NODE
      11/09/2016 11:59:11 RX 1;255;0;0;17;2.0.0-beta
      11/09/2016 11:59:11 TX 1;255;3;0;6;M
      11/09/2016 11:59:11 RX 1;255;3;0;6;0
      11/09/2016 11:59:12 RX 1;255;3;0;11;Binary Sensor and Sleep
      11/09/2016 11:59:12 RX 1;255;3;0;12;1.0
      11/09/2016 11:59:12 CHILD New child discovered, node id=1, child id=2
      11/09/2016 11:59:12 DEBUG Update child id=2, type=DOOR
      11/09/2016 11:59:12 RX 1;2;0;0;0;
      11/09/2016 11:59:12 CHILD New child discovered, node id=1, child id=3
      11/09/2016 11:59:12 DEBUG Update child id=3, type=DOOR
      11/09/2016 11:59:12 RX 1;3;0;0;0;
      11/09/2016 11:59:12 CHILD New child discovered, node id=1, child id=4
      11/09/2016 11:59:12 DEBUG Update child id=4, type=CUSTOM
      11/09/2016 11:59:12 RX 1;4;0;0;23;
      11/09/2016 11:59:12 RX 1;2;1;0;16;1

      Second Node
      11/09/2016 12:03:12 DEBUG Update child id=255, type=ARDUINO_RELAY
      11/09/2016 12:03:12 RX 1;255;0;0;18;2.0.0
      11/09/2016 12:03:12 TX 1;255;3;0;6;M
      11/09/2016 12:03:12 RX 1;255;3;0;6;0
      11/09/2016 12:03:12 RX 1;255;3;0;11;Relay
      11/09/2016 12:03:12 RX 1;255;3;0;12;1.0
      11/09/2016 12:03:12 CHILD New child discovered, node id=1, child id=1
      11/09/2016 12:03:12 DEBUG Update child id=1, type=LIGHT
      11/09/2016 12:03:12 RX 1;1;0;0;3;

      How to ensure that each node show as different node in the Gateway ?

      I have tested with 2.0 MySensors Main banche and with 2.0.1 Beta and have the same results.

      Many thanks for your help

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by mfalkvidd
      #2

      Welcome to the community, @TheDuke ! Nice progress.

      Could you post the sketches for node 1 and 2?

      1 Reply Last reply
      0
      • TheDukeT Offline
        TheDukeT Offline
        TheDuke
        wrote on last edited by
        #3

        Hi mfalkvidd

        I am using GatewayESP8266 for the gateway. Tested on a NodeMCU 0.9 and NodeMCU1.0
        I am using the default RelayActuator that is contained in the devbranch.
        I just uploaded to a 3rd Arduino the sketch. 2 shows up with ID 1 ... the 3rd show ID 100
        Changed NRF24 antenna does not force the change of ID. re uploading the sketch to arduino does not reset ID in gateway

        How to ask my arduino that show up with 1 to change to another number ?

        Thanks

        mfalkviddM 1 Reply Last reply
        0
        • TheDukeT TheDuke

          Hi mfalkvidd

          I am using GatewayESP8266 for the gateway. Tested on a NodeMCU 0.9 and NodeMCU1.0
          I am using the default RelayActuator that is contained in the devbranch.
          I just uploaded to a 3rd Arduino the sketch. 2 shows up with ID 1 ... the 3rd show ID 100
          Changed NRF24 antenna does not force the change of ID. re uploading the sketch to arduino does not reset ID in gateway

          How to ask my arduino that show up with 1 to change to another number ?

          Thanks

          mfalkviddM Offline
          mfalkviddM Offline
          mfalkvidd
          Mod
          wrote on last edited by
          #4

          @TheDuke use the cleareeprom sketch (available in MySensors examples) then upload your sketch again.

          The node id is stored in eeprim, that's why re-uploading the sketch doesn't affect the node id.

          1 Reply Last reply
          0
          • TheDukeT Offline
            TheDukeT Offline
            TheDuke
            wrote on last edited by
            #5

            Great !
            I did clear eeprom on my nodes and now they show up with a new ID

            What is the recommend solution to not have duplicate ID ? Why did my new node get an ID already used ?

            mfalkviddM 1 Reply Last reply
            1
            • TheDukeT TheDuke

              Great !
              I did clear eeprom on my nodes and now they show up with a new ID

              What is the recommend solution to not have duplicate ID ? Why did my new node get an ID already used ?

              mfalkviddM Offline
              mfalkviddM Offline
              mfalkvidd
              Mod
              wrote on last edited by
              #6

              @TheDuke the automatic id assignment in the controller is responsible for handing out ids. Not sure why Myscontroller failed in this case. I don't use Myscontroller myself.

              1 Reply Last reply
              0
              • TheDukeT Offline
                TheDukeT Offline
                TheDuke
                wrote on last edited by TheDuke
                #7

                @mfalkvidd Thanks for your help. MYScontroller seems to be able to replace the gateway assignement. I was running it for troubleshooting and it assign ID that gateway already used.
                So I created dummy ID in MYSController to ensure that node does not use the first one

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


                20

                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