sensor sampling mit socket
[svn42.git] / sensor_graph / sensors.cgi
index be5ef8d..5b52164 100755 (executable)
@@ -6,22 +6,22 @@
 <RRD::GOODFOR 30>
 <P>
 <RRD::GRAPH ../light0.png
-   --imginfo '<IMG SRC="/%s" WIDTH="%lu" HEIGHT="%lu" >'
-   --lazy --title="Room Illumination"
-   DEF:cel=/home/sensordata.rrd:light:LAST
-   LINE2:cel#00a000:"0 dark to 1024 bright">
+   --lazy --imginfo '<IMG SRC="/%s" WIDTH="%lu" HEIGHT="%lu" >'
+   --title="Room Illumination"
+   DEF:cel=/home/sensorlight.rrd:light:LAST
+   LINE2:cel#00a000:"0 dark to 1023 bright">
 </P>
 <P>
 <RRD::GRAPH ../temp0.png
-   --imginfo '<IMG SRC="/%s" WIDTH="%lu" HEIGHT="%lu" >'
-   --lazy --title="Temperatures"
-   DEF:cel=/home/sensordata.rrd:temp:LAST
+   --lazy --imginfo '<IMG SRC="/%s" WIDTH="%lu" HEIGHT="%lu" >'
+   --title="Temperatures"
+   DEF:cel=/home/sensortemp.rrd:temp:LAST
    LINE2:cel#00a000:"D. Celsius">
 </P>
 <RRD::GRAPH ../movement.png
-  --imginfo '<IMG SRC="/%s" WIDTH="%lu" HEIGHT="%lu" >'
-  --lazy --title="Graph of Movement Sensor"
-  DEF:cel=/home/sensordata.rrd:movement:LAST
+  --lazy --imginfo '<IMG SRC="/%s" WIDTH="%lu" HEIGHT="%lu" >'
+  --title="Graph of Movement Sensor"
+  DEF:cel=/home/sensormovement.rrd:movement:LAST
   LINE2:cel#00a000:"1 Movement, 0 No Movement">
 </P>                                 
 </BODY>