diff README @ 8:08b192a6e189

Add RRD output mode. Trim comments
author Daniel O'Connor <darius@dons.net.au>
date Wed, 20 Nov 2013 23:44:55 +1030
parents
children 139e267c9965
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/README	Wed Nov 20 23:44:55 2013 +1030
@@ -0,0 +1,16 @@
+An RRD can be created like so..
+
+rrdtool create ~/meter.rrd		\
+	DS:import:COUNTER:600:U:U	\
+	DS:export:COUNTER:600:U:U	\
+	RRA:AVERAGE:0.5:1:105120	\
+	RRA:AVERAGE:0.5:12:105120	\
+	RRA:MAX:0.5:1:105120		\
+	RRA:MAX:0.5:12:105120		\
+	RRA:MIN:0.5:1:105120		\
+	RRA:MIN:0.5:12:105120
+
+Then data added with..
+rrdtool update ~/meter.rrd `ssh -ay -i ~/.ssh/id_rpi pi@raspberrypi python iec1107/iec1107.py -r /dev/ttyUSB0`
+
+