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

    Node name gets reset everytime I restart the node

    Troubleshooting
    3
    5
    372
    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.
    • B
      benhub last edited by

      I have an (almost fresh) installation of MyController 1.0.0.Final and an Arduino Nano node running the following piece of code: https://github.com/benhubert/mysensors-tempsensor-hyt221

      0_1541951967936_20181111_162917.png

      When I power off the node and power it on again, MyController finds it and continues collecting data, but the node name is being reset every time.

      0_1541951986988_20181111_163111.png

      I guess this is not the intended behavior, right?

      Is this an issue of MyController? Or is it an issue of the node itself? Where is the name stored? I guess the default comes from my code, but do I have to change the code for every sensor?

      Would be great if someone could help me understanding this.

      skywatch 1 Reply Last reply Reply Quote 0
      • skywatch
        skywatch @benhub last edited by skywatch

        @benhub Try the 'clear eeprom' sketch and then re-program your node.

        Also, upgrade to 1.4.0 snapshot as 1.0.0 is quite old now and many new features and fixes are in the latest version.

        1 Reply Last reply Reply Quote 0
        • B
          benhub last edited by

          Aaah! Thanks! I wasn't aware of that. I just followed this getting started guide, and there is a link to the 1.0.0.Final. Would be better to have a link to the download page there.

          1 Reply Last reply Reply Quote 0
          • B
            benhub last edited by

            Ok. I now upgraded to MyController 1.3.0.Final. There I executed the actions Erase configuration and Reboot for the sensor node but that did not help.

            I don't know if these actions really worked, but at least they didn't change anything.

            I'll try your suggestion with the erase sketch another day.

            But thanks for now for your quick reply!

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

              @benhub This issue fixed on SNAPSHOT version, for details, have a look here: https://github.com/mycontroller-org/mycontroller/issues/464

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

              1
              Online

              638
              Users

              495
              Topics

              3.2k
              Posts

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