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?...
Sensor type for energy metering
Moderator: Mattk
Sensor type for energy metering
Best Regards
Hathor27
------------------------------------------------------------

http://untersiggenthal.meteodata.ch
Hathor27
------------------------------------------------------------

http://untersiggenthal.meteodata.ch
-
- Platinum Boarder
- Posts: 873
- Joined: Fri Jan 25, 2008 6:27 pm
- Location: Isle of Skye, Scotland
Re: Sensor type for energy metering
For anything non-standard use the "data" sensor type. That is totally 'generic'.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?...
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
That's goodskyewright wrote:I use "deltasum" with 1 hour 'buckets" to graph the number of Wh in an hour if I'm using Meteohub graphing.

And how do you build the sum of the individual pulses?
Best Regards
Hathor27
------------------------------------------------------------

http://untersiggenthal.meteodata.ch
Hathor27
------------------------------------------------------------

http://untersiggenthal.meteodata.ch
-
- Platinum Boarder
- Posts: 873
- Joined: Fri Jan 25, 2008 6:27 pm
- Location: Isle of Skye, Scotland
Re: Sensor type for energy metering
The data sensor that I use this with is an accumulating counter value.Hathor27 wrote:That's goodskyewright wrote:I use "deltasum" with 1 hour 'buckets" to graph the number of Wh in an hour if I'm using Meteohub graphing.![]()
And how do you build the sum of the individual pulses?
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
Thx - I will try it soon.skyewright wrote:If you are just delivering pulse counts, rather than a accumulating total, then maybe you could try "sum" instead of "deltasum"?
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)
Best Regards
Hathor27
------------------------------------------------------------

http://untersiggenthal.meteodata.ch
Hathor27
------------------------------------------------------------

http://untersiggenthal.meteodata.ch