Measuring real time gas consumption

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • bruce_miranda
    Automated Home Legend
    • Jul 2014
    • 2307

    #91
    Originally posted by DBMandrake View Post
    As for metric vs imperial multiplier - just because cubic feet is imperial doesn't mean we don't still use base 10 numbering when we write a number using digits!
    It's just that my meter has a marking that looks like 071ft3/rev which is why I asked. But 10 revolutions to 10 cubit feet seems to be doing the trick.

    Comment

    • HenGus
      Automated Home Legend
      • May 2014
      • 1001

      #92
      An interesting response from Loop when I contacted them yesterday with a query about their gas and electricity monitors:

      'Due to problems sourcing components for manufacture we do not have any electricity stock available'

      A strange way to run a business me thinks.

      Comment

      • bruce_miranda
        Automated Home Legend
        • Jul 2014
        • 2307

        #93
        So no gas meter sales too because they are coupled?

        Comment

        • HenGus
          Automated Home Legend
          • May 2014
          • 1001

          #94
          Originally posted by bruce_miranda View Post
          So no gas meter sales too because they are coupled?
          Would seem to be the case, and I see B&Q is no longer offering the discount for both boxes.
          Last edited by HenGus; 8 February 2017, 09:35 PM.

          Comment

          • chris_j_hunter
            Automated Home Legend
            • Dec 2007
            • 1713

            #95
            Paul -

            power factor ... just wondered if you could say - will DIN-rail mounting power meters with pulse output be measuring power with power factor taken into account ?

            this sort of thing : https://www.amazon.co.uk/gp/product/...A29EZVB447EKA7

            Chris
            Our self-build - going further with HA...

            Comment

            • paulockenden
              Automated Home Legend
              • Apr 2015
              • 1719

              #96
              Who knows!!!!

              It claims to report kWh, so it SHOULD be taking power factor into account.

              I'm not sure I'd put a £9 Chinese meter in series with my household electrical supply, though. Especially as I can't see any CE or BS markings. If it fails your house is going to go dark!

              Comment

              • chris_j_hunter
                Automated Home Legend
                • Dec 2007
                • 1713

                #97
                thanks ...

                NB: it does have a CE mark, and various references to DIN standards ...
                Our self-build - going further with HA...

                Comment

                • StuartP
                  Moderator
                  • Feb 2004
                  • 81

                  #98
                  Originally posted by chris_j_hunter View Post
                  thanks ...

                  NB: it does have a CE mark, and various references to DIN standards ...
                  Ah, it's got a CE mark, but it's not the CE mark you're looking for. See here for the differences.

                  Comment

                  • paulockenden
                    Automated Home Legend
                    • Apr 2015
                    • 1719

                    #99
                    Originally posted by chris_j_hunter View Post
                    it does have a CE mark, and various references to DIN standards ...
                    Oh yeah, so it does. Although the spacing between the C and E leads me to believe this is the (in)famous China Export logo, rather than a CE conformity mark.

                    The DIN standards are just the mounting dimensions.

                    Comment

                    • bruce_miranda
                      Automated Home Legend
                      • Jul 2014
                      • 2307

                      Without knowing the internals of this device it's hard to know what it's doing. But in theory it can compute the power factor because it has a direct AC input. Similar to some good plug in meters. But putting a 30A rated meter on a 100A/80A fuse box isn't a great idea again without knowing how it might deal with the inrush currents.

                      Comment

                      • chris_j_hunter
                        Automated Home Legend
                        • Dec 2007
                        • 1713

                        aha - learn something every day, never heard of the infamous one ... will be keeping an eye out hereon !

                        thanks again ...
                        Our self-build - going further with HA...

                        Comment

                        • chris_j_hunter
                          Automated Home Legend
                          • Dec 2007
                          • 1713

                          >30A rated meter on a 100A/80A fuse ...

                          yep, but was thinking only of using it with individual circuits, alongside the breaker (our house being star-wired, no ring mains) ...

                          NB: the particular example is offered at about half the price of any we've seen before ...
                          Last edited by chris_j_hunter; 9 February 2017, 11:57 AM.
                          Our self-build - going further with HA...

                          Comment

                          • alanharvey
                            Automated Home Lurker
                            • Jan 2018
                            • 9

                            Any help gratefully received

                            Originally posted by DJBenson View Post
                            Here's my code required to get reads into Domoticz from Loop via PyLoopEnergy;

                            Code:
                            #!/usr/bin/python3
                            import pyloopenergy
                            import time
                            import urllib
                            
                            def gas_trace():
                              print("Gas =", le.gas_useage)
                              f = "http://127.0.0.1/json.htm?type=command¶m=udevice&idx=18&svalue=%s" % int(le.gas_useage*1000)
                              urllib.request.urlopen(f).read
                            
                            def elec_trace():
                              print("Electricity =", le.electricity_useage)
                              f = "http://127.0.0.1/json.htm?type=command¶m=udevice&idx=17&svalue=%s" % int(le.electricity_useage*1000)
                              urllib.request.urlopen(f).read
                            
                            elec_serial = 'REMOVED';
                            elec_secret = 'REMOVED';
                            
                            gas_serial = 'REMOVED';
                            gas_secret = 'REMOVED';
                            
                            le = pyloopenergy.LoopEnergy(elec_serial, elec_secret, gas_serial, gas_secret, pyloopenergy.IMPERIAL, 39.1)
                            le.subscribe_gas(gas_trace)
                            le.subscribe_elecricity(elec_trace)
                            Just grab your serial and secrets from the Loop portal as described in the PyLoopEnergy instructions, create two dummy electricity sensors in Domoticz and update the IDX values in the script. You can also change from imperial to metric meter and alter the calorific value for the gas consumptions if required.

                            I have this running constantly using systemd on my Raspberry Pi Domoticz box and it feeds electricity reads in at a rate of one reading every 30 seconds and one every 15 minutes for gas which gives a fairly decent resolution to my graphs.

                            Help!
                            I'm a complete newbie to this forum, Evohome, Raspberry Pi and Python. I am clearly trying to run before I can walk. I've tried really hard to get this script to work but I keep getting the following error:-

                            Traceback (most recent call last):
                            File "/home/pi/looptst1.py", line 22, in <module>
                            le = pyloopenergy.LoopEnergy(elec_serial, elec_secret, gas_serial, gas_secret, pyloopenergy.IMPERIAL, 39.1)
                            AttributeError: 'module' object has no attribute 'LoopEnergy'

                            I would be very grateful for any assistance.
                            Thanks and Regards
                            Alan

                            Comment

                            • alanharvey
                              Automated Home Lurker
                              • Jan 2018
                              • 9

                              Originally posted by DJBenson View Post
                              Here's my code required to get reads into Domoticz from Loop via PyLoopEnergy;

                              Code:
                              #!/usr/bin/python3
                              import pyloopenergy
                              import time
                              import urllib
                              
                              def gas_trace():
                                print("Gas =", le.gas_useage)
                                f = "http://127.0.0.1/json.htm?type=command¶m=udevice&idx=18&svalue=%s" % int(le.gas_useage*1000)
                                urllib.request.urlopen(f).read
                              
                              def elec_trace():
                                print("Electricity =", le.electricity_useage)
                                f = "http://127.0.0.1/json.htm?type=command¶m=udevice&idx=17&svalue=%s" % int(le.electricity_useage*1000)
                                urllib.request.urlopen(f).read
                              
                              elec_serial = 'REMOVED';
                              elec_secret = 'REMOVED';
                              
                              gas_serial = 'REMOVED';
                              gas_secret = 'REMOVED';
                              
                              le = pyloopenergy.LoopEnergy(elec_serial, elec_secret, gas_serial, gas_secret, pyloopenergy.IMPERIAL, 39.1)
                              le.subscribe_gas(gas_trace)
                              le.subscribe_elecricity(elec_trace)
                              Just grab your serial and secrets from the Loop portal as described in the PyLoopEnergy instructions, create two dummy electricity sensors in Domoticz and update the IDX values in the script. You can also change from imperial to metric meter and alter the calorific value for the gas consumptions if required.

                              I have this running constantly using systemd on my Raspberry Pi Domoticz box and it feeds electricity reads in at a rate of one reading every 30 seconds and one every 15 minutes for gas which gives a fairly decent resolution to my graphs.
                              Help!
                              I'm a complete newbie to this forum, Evohome, Raspberry Pi and Python. I am clearly trying to run before I can walk. I've tried really hard to get this script to work but I keep getting the following error:-

                              Traceback (most recent call last):
                              File "/home/pi/looptst1.py", line 22, in <module>
                              le = pyloopenergy.LoopEnergy(elec_serial, elec_secret, gas_serial, gas_secret, pyloopenergy.IMPERIAL, 39.1)
                              AttributeError: 'module' object has no attribute 'LoopEnergy'

                              I would be very grateful for any assistance.
                              Thanks and Regards
                              Alan

                              Comment

                              Working...
                              X