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

    Send battery level to influxdb?

    scheduled pinned locked moved General Discussion
    6 posts 3 posters 954 views 2 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,

      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.

      one-reply-to-this-post last-reply-time reply quote 0
      • T offline
        Tag MOD
        global: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 topic:replies-to-this-post, 2 last-reply-time reply quote 1
        • skywatchS offline
          skywatch @Tag
          global: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 one-reply-to-this-post last-reply-time reply quote 0
          • T offline
            Tag MOD @skywatch
            global:last-edited-by,

            @skywatch

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

            Works like a charm 😉

            one-reply-to-this-post last-reply-time reply quote 1
            • B offline
              benhub @Tag
              global: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?

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

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

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

                0

                online

                644

                users

                532

                topics

                3.4k

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