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

    Send battery level to influxdb?

    Scheduled Pinned Locked Moved General Discussion
    6 Posts 3 Posters 687 Views 2 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.
    • B Offline
      benhub
      last edited by

      Hi! Is it possible to send the battery level of a sensor to influxdb? In the resources data settings I only see the sensor values, not the battery level.

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

        Hi Benhub,

        I had the same question, and solved it by measuring the voltage using the AD converter, store it in a variable and have the node send it to mycontroller. The type I used is multimeter. The advantage of this solution is that you can graph it on the dashboards.

        Hope this is useful for you.

        (you can even measure batery voltage in the MCU itself without any external hardware )

        skywatchS B 2 Replies Last reply Reply Quote 1
        • skywatchS Offline
          skywatch @Tag
          last edited by

          @Tag said in Send battery level to influxdb?:

          (you can even measure batery voltage in the MCU itself without any external hardware )

          Please tell us how 🙂

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

            @skywatch

            Sure, see this link to the arduino secret volt meter page.

            Works like a charm 😉

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

              @Tag said in Send battery level to influxdb?:

              I had the same question, and solved it by measuring the voltage using the AD converter, store it in a variable and have the node send it to mycontroller. The type I used is multimeter. The advantage of this solution is that you can graph it on the dashboards.

              Thanks for this solution, but wouldn't it be nicer to simply forward the internal I_BATTERY_LEVEL message to influxdb, so that we don't have to configure another message for every node?

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

                I opened up an issue: https://github.com/mycontroller-org/mycontroller/issues/488

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

                0

                Online

                587

                Users

                529

                Topics

                3.4k

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