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

    Override node names

    Scheduled Pinned Locked Moved General Discussion
    5 Posts 4 Posters 1.3k Views 1 Watching
    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.
    • M Offline
      maghac
      last edited by

      Hi,
      I have a bunch of generic temperature sensors placed around the house. When they get added to MyController, it picks the name that the sensors present themselves with during first boot, e.g "Temperature Sensor" (so the name is not really a name, it's more a type identifier). I can then edit this name to something more suitable, e.g "Kitchen". However, when the sensor restarts the next time, the name jumps back to the name that the sketch sends out. Is it possible to let MyController remember my name edits?

      jkandasaJ 1 Reply Last reply Reply Quote 0
      • jkandasaJ Offline
        jkandasa @maghac
        last edited by

        @maghac What is the version are you using? Have you tried it on SNAPSHOT version?

        1 Reply Last reply Reply Quote 0
        • T Offline
          Tag MOD
          last edited by Tag

          @Maghac,

          Where do you change the name?

          I have several sensors and each have their own unique name, and it works like a charm for me...

          • resources --> Sensors --> (click at the end of the sensor line the blue > sign) --> click edit

          • Change the sensor name

          • Click save

          For me the version of mysensors listed below is used:

          MyController 
          
          Version 0.0.3.Final-SNAPSHOT
          Database schema revision 1.03.05 - 2016 Nov 18
          Database type H2 database embedded
          Database version 1.4.193 (2016-10-31)
          Git commit:branch 44d893ac3c52a974165f7c1ef6c3c0520d09a48d:development
          Built on 2017-02-20T23:44:20+0530
          Build JDK 1.8.0_121
          Build tool Apache Maven 3.3.9
          
          Java virtual machine specification
          
          VM vendor Oracle Corporation
          VM name Java HotSpot(TM) Client VM
          VM version 1.8.0_131-b11
          Java home /usr/lib/jvm/java-8-oracle/jre
          
          Operating system
          
          Operating system Linux
          Architecture arm
          Version/Kernel 3.4.113-sun8i
          Location /opt/mycontroller/
          
          1 Reply Last reply Reply Quote 0
          • B Offline
            benhub
            last edited by

            Hi! I have the same issue here. Should the sensor name stay the same even after the reboot of a sensor?

            How does this work? Where is this information stored? How does mycontroller recognize a sensor and detect that it already knows it? Does the sensor have some unique key? Is the name stored on the sensor itself? Is there a unique key that gets written to the Arduino (I don't know if this would be possible)? Where should I search for the cause of this issue?

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

              I opened up a new thread for my issues...
              https://forum.mycontroller.org/topic/370/node-name-gets-reset-everytime-i-restart-the-node

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

              0

              Online

              587

              Users

              529

              Topics

              3.4k

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