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. domoticz request battery info to node

domoticz request battery info to node

Scheduled Pinned Locked Moved Domoticz
10 Posts 3 Posters 2.2k Views 2 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.
  • mar.conteM Offline
    mar.conteM Offline
    mar.conte
    wrote on last edited by mar.conte
    #1

    hi,
    i have a sensor node with pir and rfm69 wich sleep forever and send motion to gateway .Its possible for domoticz request level battery each hour to node sensor?

    M.C.

    sundberg84S 1 Reply Last reply
    0
    • mar.conteM mar.conte

      hi,
      i have a sensor node with pir and rfm69 wich sleep forever and send motion to gateway .Its possible for domoticz request level battery each hour to node sensor?

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

      @mar.conte - isnt it better to wake the node up each hour and report batterystatus to domoticz?

      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

      mar.conteM 1 Reply Last reply
      0
      • sundberg84S sundberg84

        @mar.conte - isnt it better to wake the node up each hour and report batterystatus to domoticz?

        mar.conteM Offline
        mar.conteM Offline
        mar.conte
        wrote on last edited by mar.conte
        #3

        @sundberg84

        but surely ,my project was to question my sensors to see if they were reached through domoticz.
        Domoticz creates interesting algorithms "EVENTS" so I thought to interrogate the sensors and if not responded to do domoticz a series of operations

        M.C.

        sundberg84S 1 Reply Last reply
        0
        • mar.conteM mar.conte

          @sundberg84

          but surely ,my project was to question my sensors to see if they were reached through domoticz.
          Domoticz creates interesting algorithms "EVENTS" so I thought to interrogate the sensors and if not responded to do domoticz a series of operations

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

          @mar.conte - the main problem is that if you use sleep() the radio can not recieve anything because its sleeping. Its possible if you have a live radio to listen for a command.

          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

          mar.conteM 1 Reply Last reply
          0
          • sundberg84S sundberg84

            @mar.conte - the main problem is that if you use sleep() the radio can not recieve anything because its sleeping. Its possible if you have a live radio to listen for a command.

            mar.conteM Offline
            mar.conteM Offline
            mar.conte
            wrote on last edited by mar.conte
            #5

            @sundberg84

            but if you can create a interrupt for the pir you can create it for rfm69?
            Rfm69 can wake by interruopt?

            M.C.

            sundberg84S 1 Reply Last reply
            0
            • mar.conteM mar.conte

              @sundberg84

              but if you can create a interrupt for the pir you can create it for rfm69?
              Rfm69 can wake by interruopt?

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

              @mar.conte - I dont think this is implemented in MySensors, but im not the expert here. Just been around and cant remember this has been done. I know there are some new futures lite smartsleep() or something and maybe you can. I let someone else proceed here.

              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

              mar.conteM 1 Reply Last reply
              0
              • sundberg84S sundberg84

                @mar.conte - I dont think this is implemented in MySensors, but im not the expert here. Just been around and cant remember this has been done. I know there are some new futures lite smartsleep() or something and maybe you can. I let someone else proceed here.

                mar.conteM Offline
                mar.conteM Offline
                mar.conte
                wrote on last edited by
                #7

                @sundberg84
                tanks,
                smartsleep? example for this?

                M.C.

                sundberg84S 1 Reply Last reply
                0
                • mar.conteM mar.conte

                  @sundberg84
                  tanks,
                  smartsleep? example for this?

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

                  @mar.conte as I said... i dont have any knowledge in this. Follow this link https://www.mysensors.org/download/sensor_api_20#sleeping and wait for other more experts to answer.

                  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

                  mar.conteM 1 Reply Last reply
                  0
                  • sundberg84S sundberg84

                    @mar.conte as I said... i dont have any knowledge in this. Follow this link https://www.mysensors.org/download/sensor_api_20#sleeping and wait for other more experts to answer.

                    mar.conteM Offline
                    mar.conteM Offline
                    mar.conte
                    wrote on last edited by
                    #9

                    @sundberg84
                    tanks have nice day by by

                    M.C.

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

                      For smartsleep take a look at NodeManager which can also change the sleep time from controller

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


                      15

                      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