[emoncms] kWh to kWh/day

Hello,

I have a kWh meter that has RS485 interface where I can read the total kWh, so the value is always increasing and never resets to zero.

I tried kWh > kWh/d but that toes not work, the moment the feed is created the result is 0 so that is okay, but all days in the graph are increasing and equal from that moment...
It is not clear how the kWh > kWh/d works. Do I use something wrong?

 

Thanks!

TrystanLea's picture

Re: [emoncms] kWh to kWh/day

If you just log the total kWh to a feed you can then use the bargraph visualisation to generate daily data on the fly, set the delta property to 1. There's an example on the bottom of this blog showing how to do this: http://openenergymonitor.blogspot.co.uk/2014/08/monitoring-solarpv-heatp...

honda4life's picture

Re: [emoncms] kWh to kWh/day

Thanks

65535 works, but 65536 doesn't > overflow of unsigned 16 bit value!

So you have to do now: "d" with the " included.

Now I have to find a way not to have a massive spike on day one because the first measurement did not start with 0, and all the other days are so small on the scale.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.