• header.categories
    • header.recent
    • header.tags
    • header.popular
    • register
    • login

    Node name gets reset everytime I restart the node

    scheduled pinned locked moved Troubleshooting
    5 posts 3 posters 902 views 1 watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • B offline
      benhub
      global: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.

      skywatchS one-reply-to-this-post last-reply-time reply quote 0
      • skywatchS offline
        skywatch @benhub
        global: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.

        one-reply-to-this-post last-reply-time reply quote 0
        • B offline
          benhub
          global: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.

          one-reply-to-this-post last-reply-time reply quote 0
          • B offline
            benhub
            global: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!

            jkandasaJ one-reply-to-this-post last-reply-time reply quote 0
            • jkandasaJ offline
              jkandasa @benhub
              global:last-edited-by,

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

              one-reply-to-this-post last-reply-time reply quote 0
              • first-post
                last-post

              0

              online

              644

              users

              532

              topics

              3.4k

              posts
              Copyright © 2015-2025 MyController.org | Contributors | Localization