What I would like to get is graphs of the energy-production per day, so
the value "last measurement of the day" - "first measurement of the
day", displayed per week, month, year.
When I enter the values (also at 15 seconds interval), I get unexpected
results in the graph. I get results mostly is the milli-range, while all
the values I enter are by now 4.5 million (Wh produced).
What am I missing here ? When I dump the rrd, I also get values in the
milli-range. Could it be that the values in the rrd are the difference
between the input values ? The values that are entered don't change much
in 15 seconds, many times, the difference is zero.
How can I solve this ?
Thanks for any pointers.
Regards,
Koenraad Lelong.
_______________________________________________
rrd-users mailing list
rrd-...@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
Regards,
Yashodhan
The graph you've shown shows that your counter increments from approximately
1.2M to 1.3M in 7 days. That is 100,000 per 7*86400 seconds, is 100,000 per
604800 seconds, is approximately 0.17 per second. If the graph shows
somewhere in the range of 170m, then that's not only acceptable but also
accurate.
If you store Joules per second, aka Watt, then you can compute Joules per
day by multiplying the average amount of Joules per second by the number of
seconds per day: J/s * s/day = (J*s)/(day*s) = J/day.
Just multiply 0.17 by 86400 to get numbers in the order of 14286 per day.
Does that sound about right?
HTH
Alex