Counter Log - Help with kWh calculation
Hi people,
May I ask a little help about counter log?
I have a power sensor on an electric board. On ETS, I get an Instantaneous Power object (2 bytes), which comes in kW format. Like, if the house is consuming 1200W, I get 1,2 value on ETS, if it's consuming 250W, I get 0,25 value, and so on. I have the correct instant values showing on visualization.
I've tried to create counter logs, to get an approximate daily consumption, etc. The problem is that the values on the counter log don't make any sense.
For example, if the house is consuming constant 250W during 24hour, I should get 6 kWh by the end of the day, but the values don't make sense. On one day, it showed something like 138kWh on one day, which is impossible. I deleted all data now.
Either I'm configuring all wrong the counter log, or there's something I'm missing.
Thanks for any help

Hi Fabien,
I decided to investigate some ways to do the calculation every second, and unfortunately the General timer doesn't have any seconds, just hour and minutes, so I'll have to work with something like Operating time or Timer to count the seconds.
Meanwhile, I've discovered a bug on those functions, 5 seconds missing in each minute.
Until then, there goes the precision calculation. I will try it anyway, to do an approximate calculation, but it will never be 100% accurate until the 5s missing per minute is fixed.
Best regards