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. Controllers
  3. Domoticz
  4. Battery status does not show in Domoticz

Battery status does not show in Domoticz

Scheduled Pinned Locked Moved Domoticz
16 Posts 6 Posters 4.7k Views 5 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.
  • mfalkviddM Online
    mfalkviddM Online
    mfalkvidd
    Mod
    wrote on last edited by mfalkvidd
    #4

    Domoticz (v3.6179) shows 133% for one of my sensors so it can handle out of range.

    1 Reply Last reply
    1
    • edsteveE Offline
      edsteveE Offline
      edsteve
      wrote on last edited by
      #5

      Thanks for replies.
      Yes it can handle out of range. My weather sensor works just fine with 120% :-)

      Where would you start digging for the reason? A log file I can check?

      1 Reply Last reply
      0
      • gohanG Offline
        gohanG Offline
        gohan
        Mod
        wrote on last edited by
        #6

        look in domoticz log and see if value is actually received

        1 Reply Last reply
        0
        • edsteveE Offline
          edsteveE Offline
          edsteve
          wrote on last edited by
          #7

          That's another question i have since a while now:
          How can i change the domoticz log to more debugging details? Hard to find that information. I can't find any values in the standard-log.

          sundberg84S gohanG 2 Replies Last reply
          0
          • edsteveE edsteve

            That's another question i have since a while now:
            How can i change the domoticz log to more debugging details? Hard to find that information. I can't find any values in the standard-log.

            sundberg84S Offline
            sundberg84S Offline
            sundberg84
            Hardware Contributor
            wrote on last edited by sundberg84
            #8

            @edsteve - I dont know if there is an easy way but the hard one is to compile the code youself for Domoticz and insert any output/debug you want...

            Controller: Proxmox VM - Home Assistant
            MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
            MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
            RFLink GW - Arduino Mega + RFLink Shield, 433mhz

            1 Reply Last reply
            0
            • edsteveE edsteve

              That's another question i have since a while now:
              How can i change the domoticz log to more debugging details? Hard to find that information. I can't find any values in the standard-log.

              gohanG Offline
              gohanG Offline
              gohan
              Mod
              wrote on last edited by
              #9

              @edsteve

              From Domoticz forum > if you edit /etc/init.d/domoticz.sh you can do this:

              DAEMON_ARGS="-daemon -www 8080 -log /home/pi/log/domoticz.log -loglevel 0"

              Just don't forget to put back the original config as the log file would grow quite a lot

              1 Reply Last reply
              2
              • edsteveE Offline
                edsteveE Offline
                edsteve
                wrote on last edited by edsteve
                #10

                @gohan
                I also have that info from the domoticz forum and i tried it. Tailing the new log file... still no more details. I give up...
                Maaaybe... when i have motivation again i will try to read about @sunberg84 solution. But i am just not a linux expert.

                Grml... never like it to live with an unsolved problem. But thx for the effort everyone.

                Here is the link to the domoticz forum about the logging problem

                1 Reply Last reply
                1
                • gohanG Offline
                  gohanG Offline
                  gohan
                  Mod
                  wrote on last edited by
                  #11

                  try changing the node ID to a number you never used.

                  1 Reply Last reply
                  0
                  • markjgabbM Offline
                    markjgabbM Offline
                    markjgabb
                    wrote on last edited by
                    #12

                    @edsteve according to domoticz api data battery is measured in a rang of 0-225? wouldnt percentage send cause issueS?

                    sundberg84S 1 Reply Last reply
                    0
                    • markjgabbM markjgabb

                      @edsteve according to domoticz api data battery is measured in a rang of 0-225? wouldnt percentage send cause issueS?

                      sundberg84S Offline
                      sundberg84S Offline
                      sundberg84
                      Hardware Contributor
                      wrote on last edited by
                      #13

                      @markjgabb - I always recalculate the battery into % which is shown great in DOmoticz. I guess you can go up to 225 but if you like but thats not a problem if you convert it to %

                      Controller: Proxmox VM - Home Assistant
                      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                      1 Reply Last reply
                      0
                      • markjgabbM Offline
                        markjgabbM Offline
                        markjgabb
                        wrote on last edited by
                        #14

                        fair enough...i havent done battery sensors before...i was just looking at the API earlier where it pointed out sending in that range so thought it might be in that sort of area obviously domoticz is smart enough to realize its been passed the percentage anyway

                        sundberg84S 1 Reply Last reply
                        0
                        • markjgabbM markjgabb

                          fair enough...i havent done battery sensors before...i was just looking at the API earlier where it pointed out sending in that range so thought it might be in that sort of area obviously domoticz is smart enough to realize its been passed the percentage anyway

                          sundberg84S Offline
                          sundberg84S Offline
                          sundberg84
                          Hardware Contributor
                          wrote on last edited by
                          #15

                          @markjgabb - could be Domticz can recalculate... dont know to be honest. I have always sent 0-100. Let me know if you find anything more clever :)

                          Controller: Proxmox VM - Home Assistant
                          MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                          MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                          RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                          1 Reply Last reply
                          0
                          • edsteveE Offline
                            edsteveE Offline
                            edsteve
                            wrote on last edited by
                            #16

                            Sorry guys. Not at home lately. I will report if and what solved my problem when i am back.

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


                            24

                            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