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

    Send battery level to influxdb?

    General Discussion
    3
    6
    401
    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

      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
        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 )

        skywatch B 2 Replies Last reply Reply Quote 1
        • skywatch
          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
            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
              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
                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

                638
                Users

                495
                Topics

                3.2k
                Posts

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