[rrd-users] Daily consumption

Guillaume Betous guillaume.betous at gmail.com
Sun Nov 13 21:08:25 CET 2016


Hi all !

I leave in France, and having a RPi and a very basic UART adapter, I can
retrieve some data from my electricity Meter. I could create some basic
RRDTool graphs, and I can now foolow my instantaneous consumption.

Here is my db creation :
rrdtool create edf \
               --start now \
               --step 60 \
               DS:cpt:COUNTER:60:0:U \
               RRA:AVERAGE:0.5:1:12 \
               RRA:AVERAGE:0.5:12:48 \
               RRA:AVERAGE:0.5:288:365 \

The "cpt" value is the electricity counter raw value (in Wh), meaning
electric consumption since the beginning (a very big number, which can only
increase). I update it every 10s.

What I want now is to have my daily consumption. I want a graph which
clearly show what was my total consumption yesterday, and the day before,
and the day before etc.

How can I do that ?

Thanks for your help !

gUI
-- 
Pour la santé de votre ordinateur, préférez les logiciels libres.
Lire son mail : http://www.mozilla-europe.org/fr/products/thunderbird/
Browser le web : http://www.mozilla-europe.org/fr/products/firefox/
Suite bureautique : http://www.libreoffice.org/download/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/rrd-users/attachments/20161113/24b00be6/attachment.html>


More information about the rrd-users mailing list