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. Development
  3. Getting node id 0 after erasing eeprom

Getting node id 0 after erasing eeprom

Scheduled Pinned Locked Moved Development
5 Posts 4 Posters 3.0k 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.
  • Moshe LivneM Offline
    Moshe LivneM Offline
    Moshe Livne
    Hero Member
    wrote on last edited by
    #1

    Due to a very complicated and faulty reasoning i decide that I need to restart my node from scratch. as the node id is in the eeprom i decided (based on some forum thread) to erase the eeprom using the eeprom eraser sketch from the arduino site. apparently now it reports that it is node 0 and this seems to be causing lots of problems. I have worked around this for now with static node id but I am going to have lots of sensors and would prefer ids to be assigned automatically. is there a way to make the gateway controller "forget" the node and re-assign id to it? I am using domoticz. even if I remove the mysensors hardware and add it
    back it still comes out with node id 0. Also, as a side note, when I statically assigned to it node id 51 domoticz crashed every time the node appeared.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JeJ
      wrote on last edited by
      #2

      Use the "ClearEepromConfig" sketch from the MySensors examples instead.

      /Jesper

      1 Reply Last reply
      1
      • scalzS Offline
        scalzS Offline
        scalz
        Hardware Contributor
        wrote on last edited by
        #3

        Hi.
        Im not expert. but you can
        check if you have "fail " in serial monitor for your node. Maybe you havecomm problems..
        If there is "fail". Put a 4.7uf or bigger capacitor for nrf, reset eeprom, write your sketch. It should work I think.

        1 Reply Last reply
        0
        • m26872M Offline
          m26872M Offline
          m26872
          Hardware Contributor
          wrote on last edited by
          #4

          Arduino eeprom clearing sketch writes 0x00 to every byte and the MySensors writes 0xFF (255) which I think for the right byte is interpreted as gw/auto assign.

          1 Reply Last reply
          0
          • Moshe LivneM Offline
            Moshe LivneM Offline
            Moshe Livne
            Hero Member
            wrote on last edited by
            #5

            Thanks! that did the trick!!

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


            21

            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