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

    Unable to change node or sensor names

    Scheduled Pinned Locked Moved Troubleshooting
    8 Posts 3 Posters 951 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.
    • C Offline
      chrismills59
      last edited by

      I hope someone can offer some advice. I have a network setup and all nodes seem to be running, triggering and following ActionBoard commands.
      However when I try to edit a sensor name

      <Resources> <Sensors> <Edit> , enter a new name and click <Save>

      I get a a pop-up which says

      400:Bad Request
      A sensor available with this sensor id!

      Any ideas on how to solve this??

      Chris

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

        @chrismills59 Can you check the sensorId assigned for some other sensors on this node?

        1 Reply Last reply Reply Quote 0
        • C Offline
          chrismills59
          last edited by

          Thanks for the reply.

          In my Sensors table I have 2 entries for the node, both with a Node EUI of 2. There are 2 sensors, the first with a SensorID of 3 and the other with a SensorID of 4.

          I get the same popup when trying to edit the sensor name for both sensors

          Chris

          jkandasaJ 1 Reply Last reply Reply Quote 0
          • skywatchS Offline
            skywatch
            last edited by

            I think you should have one entry per node......see if that is where the problem is.....
            One node, two sensors. That is what you should be seeing.

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

              @skywatch In MySensors we can have 254 sensors per node. Reference: https://www.mysensors.org/about/network
              @chrismills59 can you send MyController version details? I try to reproduce this issue locally?

              1 Reply Last reply Reply Quote 0
              • skywatchS Offline
                skywatch
                last edited by

                yes 🙂

                My misunderstanding - I thought the op had registered the node twice, once for each sensor....

                1 Reply Last reply Reply Quote 0
                • C Offline
                  chrismills59
                  last edited by

                  Thanks everyone for advice so far. Having checked, I think I am running an older version.
                  I'm always a bit reluctant to update something which seems to be working.

                  Version Details

                  MyController
                  Version 0.0.3.Alpha2
                  Database version 1.02.10 - 2016 Jul 29
                  Git commit:branch e8afb0266ab685dcfc59b0691ec301d3a17d3fd6:master
                  Built on 2016-07-30T01:04:37+0530
                  Build JDK 1.8.0_92
                  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_65-b17
                  Java home /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre

                  Operating system
                  Operating system Linux
                  Architecture arm
                  Version/Kernel 4.4.34-v7+
                  Location /home/pi/mycontroller/mycontroller

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

                    @chrismills59 0.0.3.Alpha2 is too old, after this, I can see 3 more releases. can you try with the SNAPSHOT version and check this error?

                    Kindly backup everything before moving into latest version.

                    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