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. Pulse Powermeter

Pulse Powermeter

Scheduled Pinned Locked Moved General Discussion
13 Posts 7 Posters 4.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.
  • hekH Offline
    hekH Offline
    hek
    Admin
    wrote on last edited by
    #3

    Looks like the sensor is requesting last known pulse count from the controller. Do you have anything answering this request?

    https://github.com/mysensors/Arduino/blob/master/libraries/MySensors/examples/EnergyMeterPulseSensor/EnergyMeterPulseSensor.ino#L46

    1 Reply Last reply
    0
    • Ø Offline
      Ø Offline
      Øyvind A. Espnes
      wrote on last edited by
      #4

      No. Where do i insert this?

      1 Reply Last reply
      0
      • hekH Offline
        hekH Offline
        hek
        Admin
        wrote on last edited by
        #5

        What controller are you using?

        1 Reply Last reply
        0
        • Ø Offline
          Ø Offline
          Øyvind A. Espnes
          wrote on last edited by
          #6

          Domoticz

          1 Reply Last reply
          0
          • hekH Offline
            hekH Offline
            hek
            Admin
            wrote on last edited by
            #7

            Sorry, I'm not using Domoticz myself... So I'm not sure where you fill in your pulse count in the GUI (VAR1). You should probably also check that Domoticz support requesting of VAR1-5.

            Moshe LivneM 1 Reply Last reply
            0
            • Ø Offline
              Ø Offline
              Øyvind A. Espnes
              wrote on last edited by
              #8

              Ok, so the sensor is requesting a number to continue the count? And there is no way to bay-pass this and insert my own?

              1 Reply Last reply
              0
              • hekH Offline
                hekH Offline
                hek
                Admin
                wrote on last edited by hek
                #9

                Yes, you could hard-code the current pulsecount in the sketch. But then it will revert back to this value every time the sensor loses power and restart.

                1 Reply Last reply
                0
                • hekH hek

                  Sorry, I'm not using Domoticz myself... So I'm not sure where you fill in your pulse count in the GUI (VAR1). You should probably also check that Domoticz support requesting of VAR1-5.

                  Moshe LivneM Offline
                  Moshe LivneM Offline
                  Moshe Livne
                  Hero Member
                  wrote on last edited by
                  #10

                  @hek You can't access these from the UI. He would have to write a sketch that sets this var. Not big deal but awkward. would have been nice if the VAR1-5 could be accessed.

                  1 Reply Last reply
                  0
                  • SweebeeS Offline
                    SweebeeS Offline
                    Sweebee
                    wrote on last edited by
                    #11

                    You could also save the value every time in the eeprom, so when the sensor loses power it can recover the value.

                    1 Reply Last reply
                    0
                    • T Offline
                      T Offline
                      TommySharp
                      wrote on last edited by
                      #12

                      Would it not be the MySensors gateway that should respond with the last pulse count?

                      1 Reply Last reply
                      0
                      • epierreE Offline
                        epierreE Offline
                        epierre
                        Hero Member
                        wrote on last edited by
                        #13

                        @Tommy-Sharp the gateway is like the RFXTRX, it has no memory by design.

                        z-wave - Vera -> Domoticz
                        rfx - Domoticz <- MyDomoAtHome <- Imperihome
                        mysensors -> mysensors-gw -> Domoticz

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


                        17

                        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