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

    Battery level missing?

    Scheduled Pinned Locked Moved MyControllerDevice (ESP8266)
    3 Posts 2 Posters 1.5k 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.
    • N Offline
      njbuch
      last edited by

      I have a few ESP8266 nodes hooked up, also battery powered, no one of them are reporting battery usage.

      Is there a trick to do this?

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

        @njbuch You have to measure battery voltage with ADC pin and convert it to a percentage. Finally send your percentage to MyController with mc.sendBatteryLevel(float level)

        1 Reply Last reply Reply Quote 0
        • N Offline
          njbuch
          last edited by

          Super, thanks, will try that!

          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