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. Vera
  4. Energy meter not updating watts.

Energy meter not updating watts.

Scheduled Pinned Locked Moved Vera
17 Posts 4 Posters 6.5k Views 1 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.
  • korttomaK Offline
    korttomaK Offline
    korttoma
    Hero Member
    wrote on last edited by
    #8

    nice to see you have worked out some of your issues.
    Seems to be tricky to get a pulse from the ITRON usually it says like 1000 imp/kwh or something similar beside the led on the meter and this should be pretty accurate.

    • Tomas
    I 1 Reply Last reply
    0
    • korttomaK korttoma

      nice to see you have worked out some of your issues.
      Seems to be tricky to get a pulse from the ITRON usually it says like 1000 imp/kwh or something similar beside the led on the meter and this should be pretty accurate.

      I Offline
      I Offline
      integlikewhoa
      wrote on last edited by
      #9

      @korttoma it sure doesn't seem like if fixed much.

      I'll include some pictures but I don't see anything anywhere on the meter that might give an indication of the pulses. And def. nothing around the IR. I'm also confused now how even when I got it reading right at higher usage. It didn't drop down much after I cut the usage and was still given a high reading.

      20141009_222916.jpg
      20141009_222937.jpg
      20141009_222930.jpg

      1 Reply Last reply
      0
      • JohnJ Offline
        JohnJ Offline
        John
        Plugin Developer
        wrote on last edited by John
        #10

        It looks like the calculation is off in the example sketch:

        Your meter is providing Kh, which renders the below calculation wrong (I think)

        watt = (3600000000.0 /interval) / ppwh;
        

        Your calculation should be

        watt = (3600000000.0 * ppwh) / interval;
        

        3600 (one hour) times the unit (1.0 Kh) devided by the time between two blinks.

        I could be wrong though because it is quick plain from the head.

        My Domotica project: http://www.pidome.org

        I 1 Reply Last reply
        0
        • JohnJ John

          It looks like the calculation is off in the example sketch:

          Your meter is providing Kh, which renders the below calculation wrong (I think)

          watt = (3600000000.0 /interval) / ppwh;
          

          Your calculation should be

          watt = (3600000000.0 * ppwh) / interval;
          

          3600 (one hour) times the unit (1.0 Kh) devided by the time between two blinks.

          I could be wrong though because it is quick plain from the head.

          I Offline
          I Offline
          integlikewhoa
          wrote on last edited by
          #11

          @John so I'm a bit lost (not surprised) at your formula. Can you throw some numbers in your new formula based on my information above (or fictitious numbers for an example) and give me an idea of what it should look like.

          1 Reply Last reply
          0
          • JohnJ Offline
            JohnJ Offline
            John
            Plugin Developer
            wrote on last edited by
            #12

            @integlikewhoa

            Ok, let's say there are 4 seconds between each pulse, you would then have a formula like:

            (3600 * 1.0) / 4 = 900 WATT
            

            An example if a blink takes 0.91 seconds

            (3600 * 1.0) / 0.91 = 3956 WATT
            

            But like i said, i could be wrong ;)

            My Domotica project: http://www.pidome.org

            I 1 Reply Last reply
            0
            • JohnJ John

              @integlikewhoa

              Ok, let's say there are 4 seconds between each pulse, you would then have a formula like:

              (3600 * 1.0) / 4 = 900 WATT
              

              An example if a blink takes 0.91 seconds

              (3600 * 1.0) / 0.91 = 3956 WATT
              

              But like i said, i could be wrong ;)

              I Offline
              I Offline
              integlikewhoa
              wrote on last edited by
              #13

              @John said:

              watt = (3600000000.0 * ppwh) / interval;

              Well i put the Pulse count back to 1000 then I changed the formula above and now I'm getting some wierd up and down readings even tho the meter was fairly stable during this time.

              sensor started, id 2
              send: 2-2-0-0 s=255,c=0,t=17,pt=0,l=3,st=ok:1.4
              send: 2-2-0-0 s=255,c=3,t=6,pt=1,l=1,st=ok:0
              read: 0-0-2 s=255,c=3,t=6,pt=0,l=2:I
              send: 2-2-0-0 s=255,c=3,t=11,pt=0,l=12,st=ok:Energy Meter
              send: 2-2-0-0 s=255,c=3,t=12,pt=0,l=3,st=ok:1.0
              send: 2-2-0-0 s=1,c=0,t=13,pt=0,l=3,st=ok:1.4
              send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=3,st=ok:1.4
              read: 0-0-2 s=1,c=1,t=24,pt=0,l=6:81287
              Received last pulse count from gw:81287
              Watt:3609
              send: 2-2-0-0 s=1,c=1,t=24,pt=5,l=4,st=ok:81316
              send: 2-2-0-0 s=1,c=1,t=18,pt=7,l=5,st=ok:81.3160
              Watt:268656
              send: 2-2-0-0 s=1,c=1,t=24,pt=5,l=4,st=ok:81351
              send: 2-2-0-0 s=1,c=1,t=18,pt=7,l=5,st=ok:81.3510
              Watt:264861
              send: 2-2-0-0 s=1,c=1,t=24,pt=5,l=4,st=ok:81389
              send: 2-2-0-0 s=1,c=1,t=18,pt=7,l=5,st=ok:81.3890
              Watt:272975
              send: 2-2-0-0 s=1,c=1,t=24,pt=5,l=4,st=ok:81415
              send: 2-2-0-0 s=1,c=1,t=18,pt=7,l=5,st=ok:81.4150
              Watt:141464
              send: 2-2-0-0 s=1,c=1,t=24,pt=5,l=4,st=ok:81421
              send: 2-2-0-0 s=1,c=1,t=18,pt=7,l=5,st=ok:81.4210
              Watt:10582
              send: 2-2-0-0 s=1,c=1,t=24,pt=5,l=4,st=ok:81448
              send: 2-2-0-0 s=1,c=1,t=18,pt=7,l=5,st=ok:81.4480
              Watt:12944
              send: 2-2-0-0 s=1,c=1,t=24,pt=5,l=4,st=ok:81471
              send: 2-2-0-0 s=1,c=1,t=18,pt=7,l=5,st=ok:81.4710
              Watt:7069
              send: 2-2-0-0 s=1,c=1,t=24,pt=5,l=4,st=ok:81473
              send: 2-2-0-0 s=1,c=1,t=18,pt=7,l=5,st=ok:81.4740
              Watt:1215
              send: 2-2-0-0 s=1,c=1,t=24,pt=5,l=4,st=ok:81479
              send: 2-2-0-0 s=1,c=1,t=18,pt=7,l=5,st=ok:81.4790
              Watt:21161
              send: 2-2-0-0 s=1,c=1,t=24,pt=5,l=4,st=ok:81510
              send: 2-2-0-0 s=1,c=1,t=18,pt=7,l=5,st=ok:81.5100
              Watt:5983
              send: 2-2-0-0 s=1,c=1,t=24,pt=5,l=4,st=ok:81529
              send: 2-2-0-0 s=1,c=1,t=18,pt=7,l=5,st=ok:81.5290

              1 Reply Last reply
              0
              • I Offline
                I Offline
                integlikewhoa
                wrote on last edited by
                #14

                i'm so lost on this. I can read the screen on the meter. I got my meter holding down to around 1.31kW according to the meter read out. I set the timer for a minute and counted the flashes on the LM393 LED. It flashed around 26 times in that min. So 60 min in an hour that's 1,560 flashes per around 1.31kWh..

                Next I kicked on the AC and let the Kw reading on the meter level out around 3.10kW and then I set the timer and counted 54 pulses per min. x 60 for 3,240 per hour.

                Everything looks per proportional and right along with what I found on the internet for this meter.

                1,000 blinks per kWh.

                Using the factory settings should put me right there is what I keep thinking. But that gets me showing 300,000 watts

                using your above formula and pulses still at 1000 it still gets me in the 300,000 range.

                If i change my pluse per KWh to 100,000 then it gets me into the right area at 3000 watts when my ac is on which is in the ball park but if I turn the AC off and kW drop to 1.3 ish

                The serial is still showing 3,000 range in watts it wont drop to the 1,000 so watts it should be.

                1 Reply Last reply
                0
                • I Offline
                  I Offline
                  integlikewhoa
                  wrote on last edited by
                  #15

                  Hoping can jump in and shed some new light on this. BUMP!

                  1 Reply Last reply
                  0
                  • hekH Online
                    hekH Online
                    hek
                    Admin
                    wrote on last edited by
                    #16

                    http://efundies.com/electricity/how_to_read_power_meter.htm

                    I 1 Reply Last reply
                    0
                    • hekH hek

                      http://efundies.com/electricity/how_to_read_power_meter.htm

                      I Offline
                      I Offline
                      integlikewhoa
                      wrote on last edited by
                      #17

                      Thanks for that info, it seems to only confirms that the meter is working right and that my problem is in the sktech. LOL

                      I really need help finding out why the example sketch with the "1000 blinks per kWh" set doesn't work anywhere close to where it should be.

                      I'm using the example sketch and my meter has 1.0kH tag on the front.

                      @hek said:

                      http://efundies.com/electricity/how_to_read_power_meter.htm

                      @integlikewhoa said:

                      i'm so lost on this. I can read the screen on the meter. I got my meter holding down to around 1.31kW according to the meter read out. I set the timer for a minute and counted the flashes on the LM393 LED. It flashed around 26 times in that min. So 60 min in an hour that's 1,560 flashes per around 1.31kWh..

                      Next I kicked on the AC and let the Kw reading on the meter level out around 3.10kW and then I set the timer and counted 54 pulses per min. x 60 for 3,240 per hour.

                      Everything looks per proportional and right along with what I found on the internet for this meter.

                      1,000 blinks per kWh.

                      Using the factory settings should put me right there is what I keep thinking. But that gets me showing 300,000 watts

                      using your above formula and pulses still at 1000 it still gets me in the 300,000 range.

                      If i change my pluse per KWh to 100,000 then it gets me into the right area at 3000 watts when my ac is on which is in the ball park but if I turn the AC off and kW drop to 1.3 ish

                      The serial is still showing 3,000 range in watts it wont drop to the 1,000 so watts it should be.

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


                      11

                      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