Originally posted by DBMandrake
View Post
Measuring real time gas consumption
Collapse
X
-
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
-
-
-
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
Comment
-
-
Originally posted by chris_j_hunter View Postthanks ...
NB: it does have a CE mark, and various references to DIN standards ...
Comment
-
-
Originally posted by chris_j_hunter View Postit does have a CE mark, and various references to DIN standards ...
The DIN standards are just the mounting dimensions.
Comment
-
-
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
-
-
>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.
Comment
-
-
Any help gratefully received
Originally posted by DJBenson View PostHere'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)
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
-
-
Originally posted by DJBenson View PostHere'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)
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.
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
-
Comment