Page 1 of 1

Sensor type for energy metering

Posted: Mon Jan 02, 2012 6:27 pm
by Hathor27
I'd like to read and log the amount of used electrical energy. From the sensor (energy meter) I get pulse-counts each minute.

Into which type of sensor should I log this value, for I could graph it as energy per time (rate) and/or total energy.

Further, how could I modify graphs then to display y-axis unit in kWh?...

Re: Sensor type for energy metering

Posted: Sun Jan 08, 2012 5:15 pm
by skyewright
Hathor27 wrote:I'd like to read and log the amount of used electrical energy. From the sensor (energy meter) I get pulse-counts each minute.
Into which type of sensor should I log this value, for I could graph it as energy per time (rate) and/or total energy.
Further, how could I modify graphs then to display y-axis unit in kWh?...
For anything non-standard use the "data" sensor type. That is totally 'generic'.

Your LED pulses are probably each 1Wh (at least that's pretty standard on UK meters).

I use "deltasum" with 1 hour 'buckets" to graph the number of Wh in an hour if I'm using Meteohub graphing.

If I'm using Meteoplug then I use the equivalent graphing feature, but in Meteoplug graph defeinitions you also have the opportunity for doing some maths. :)
Mosyly nowadays I use Meteoplug graphs...

Re: Sensor type for energy metering

Posted: Sun Jan 08, 2012 10:17 pm
by Hathor27
skyewright wrote:I use "deltasum" with 1 hour 'buckets" to graph the number of Wh in an hour if I'm using Meteohub graphing.
That's good :-)
And how do you build the sum of the individual pulses?

Re: Sensor type for energy metering

Posted: Mon Jan 09, 2012 7:47 pm
by skyewright
Hathor27 wrote:
skyewright wrote:I use "deltasum" with 1 hour 'buckets" to graph the number of Wh in an hour if I'm using Meteohub graphing.
That's good :-)
And how do you build the sum of the individual pulses?
The data sensor that I use this with is an accumulating counter value.

If you are just delivering pulse counts, rather than a accumulating total, then maybe you could try "sum" instead of "deltasum"?

Re: Sensor type for energy metering

Posted: Tue Jan 10, 2012 10:59 pm
by Hathor27
skyewright wrote:If you are just delivering pulse counts, rather than a accumulating total, then maybe you could try "sum" instead of "deltasum"?
Thx - I will try it soon.

As I found by now, another approach would be the method I use for degree-days accumulation
(see viewtopic.php?f=16&t=8457&p=11241#p11241)