Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. General Discussion
  3. Reporting Battery Level

Reporting Battery Level

Scheduled Pinned Locked Moved General Discussion
23 Posts 6 Posters 10.4k Views 8 Watching
  • 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.
  • Fat FlyF Offline
    Fat FlyF Offline
    Fat Fly
    wrote on last edited by
    #14

    I bought 2AA batteries. Working.Domoticz devices page report battery level 3. How to see battery level graph ?

    AWIA 1 Reply Last reply
    0
    • Fat FlyF Fat Fly

      I bought 2AA batteries. Working.Domoticz devices page report battery level 3. How to see battery level graph ?

      AWIA Offline
      AWIA Offline
      AWI
      Hero Member
      wrote on last edited by
      #15

      @Fat-Fly to report battery voltage you have to create a S_MULTIMETER sensor and send the voltage with V_VOLTAGE.

      Sendbatterylevel only changes the battery level in Domoticz in % and can not be shown separate.

      Tot use your arduino with low voltages you need to change the fuse settings (BOD) with an ISP programmer.

      1 Reply Last reply
      0
      • Fat FlyF Offline
        Fat FlyF Offline
        Fat Fly
        wrote on last edited by
        #16

        How to i do this ?

        AWIA 1 Reply Last reply
        0
        • Fat FlyF Fat Fly

          How to i do this ?

          AWIA Offline
          AWIA Offline
          AWI
          Hero Member
          wrote on last edited by
          #17

          @Fat-Fly I will post some code later when I get to a pc. :eyes:

          Fat FlyF 1 Reply Last reply
          0
          • AWIA AWI

            @Fat-Fly I will post some code later when I get to a pc. :eyes:

            Fat FlyF Offline
            Fat FlyF Offline
            Fat Fly
            wrote on last edited by
            #18

            @AWI said:

            @Fat-Fly I will post some code later when I get to a pc. :eyes:

            This is great. I do not find from google search. My mother tongue is Estonian :)

            AWIA 1 Reply Last reply
            0
            • Fat FlyF Fat Fly

              @AWI said:

              @Fat-Fly I will post some code later when I get to a pc. :eyes:

              This is great. I do not find from google search. My mother tongue is Estonian :)

              AWIA Offline
              AWIA Offline
              AWI
              Hero Member
              wrote on last edited by AWI
              #19

              @Fat-Fly "Estonia: Between East, West and the World" ;-)

              These are the lines of code which should do the trick... you need to put them in the right spot yourself

              #define VOLTAGE_CHILD_ID 		5
              
              MyMessage voltageMsg(VOLTAGE_CHILD_ID, V_VOLTAGE);	// Node voltage
              
              gw.present(VOLTAGE_CHILD_ID, S_MULTIMETER, "Battery " );
              	
              float voltage = vcc.Read_Volts() ;
              gw.send(voltageMsg.set(voltage,2));				//send battery in Volt 
              		
              
              
              1 Reply Last reply
              2
              • Fat FlyF Offline
                Fat FlyF Offline
                Fat Fly
                wrote on last edited by
                #20

                Estonia between world and russia. :)

                1 Reply Last reply
                0
                • alexsh1A Offline
                  alexsh1A Offline
                  alexsh1
                  wrote on last edited by
                  #21

                  @Fat-Fly I am not sure how you intend to arrange your electricity pulse meter reading, but in my case I had to wire Pro Mini 5V to mains or otherwise recharge a battery every 5-7 days. I think you can do the total kWh and putting Pro Mini to sleep, but you cannot have total consumption kWh and current consumption kW with sleeping.

                  1 Reply Last reply
                  0
                  • Fat FlyF Offline
                    Fat FlyF Offline
                    Fat Fly
                    wrote on last edited by
                    #22

                    Yesterday this not working. KW reader is too away from gateway.My house is lenght is 22m. Electricity meter is one end of house and gateway is center house. can i use repeater on something other. I use for this nrf with antenna.

                    mfalkviddM 1 Reply Last reply
                    0
                    • Fat FlyF Fat Fly

                      Yesterday this not working. KW reader is too away from gateway.My house is lenght is 22m. Electricity meter is one end of house and gateway is center house. can i use repeater on something other. I use for this nrf with antenna.

                      mfalkviddM Offline
                      mfalkviddM Offline
                      mfalkvidd
                      Mod
                      wrote on last edited by
                      #23

                      @Fat-Fly check the "range issues" troubleshooting flowchart at https://forum.mysensors.org/topic/666/debug-faq-and-how-ask-for-help

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      13

                      Online

                      11.7k

                      Users

                      11.2k

                      Topics

                      113.1k

                      Posts


                      Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • MySensors
                      • OpenHardware.io
                      • Categories
                      • Recent
                      • Tags
                      • Popular