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.
  • FrancoisF Offline
    FrancoisF Offline
    Francois
    wrote on last edited by
    #1

    Hi I just complete and compile the pulse power-meter on lib 1.4.1 and I don't get any values back from the sensor. The pulse sensor is wire as per the instruction what can the problem be here?

    Here is the info from the serial port:

    send: 21-21-0-0 s=255,c=3,t=11,pt=0,l=12,sg=0,st=ok:Energy Meter
    send: 21-21-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,st=ok:1.0
    send: 21-21-0-0 s=1,c=0,t=13,pt=0,l=5,sg=0,st=ok:1.4.1
    send: 21-21-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=ok:
    send: 21-21-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=ok:
    send: 21-21-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=ok:
    send: 21-21-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=ok:
    send: 21-21-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=ok:
    send: 21-21-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=ok:

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

      I seem to have the same problem. Did you find any answer to this?
      I get this reply from the serialmonitor:

      send: 9-9-0-0 s=1,c-9-0-0 s=1,c=2,t=24,pt=0,l=0,st=ok:
      sensor started, id 9
      send: 9-9-0-0 s=255,c=0,t=17,pt=0,l=5,st=ok:1.4.1
      send: 9-9-0-0 s=255,c=3,t=6,pt=1,l=1,st=ok:0
      read: 0-0-9 s=255,c=3,t=6,pt=0,l=1:M
      send: 9-9-0-0 s=255,c=3,t=11,pt=0,l=12,st=ok:Energy Meter
      send: 9-9-0-0 s=255,c=3,t=12,pt=0,l=3,st=ok:1.0
      send: 9-9-0-0 s=1,c=0,t=13,pt=0,l=0,st=ok:
      send: 9-9-0-0 s=1,c=2,t=24,pt=0,l=0,st=ok:
      send: 9-9-0-0 s=1,c=2,t=24,pt=0,l=0,st=ok:
      send: 9-9-0-0 s=1,c=2,t=24,pt=0,l=0,st=ok:

      1 Reply Last reply
      0
      • 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


                            9

                            Online

                            11.7k

                            Users

                            11.2k

                            Topics

                            113.0k

                            Posts


                            Copyright 2019 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