to github
[svn42.git] / sensor_graph / sensors.cgi
index 9c85c93..1fb368c 100755 (executable)
@@ -13,9 +13,9 @@
    --color="ARROW#761407" --color="GRID#d0d0af"
    --title="Room Illumination"
    --start=now-36h --end=now --width=490
-   --slope-mode
+   --slope-mode --alt-autoscale-max
    DEF:cel=/home/sensorlight.rrd:light:LAST VDEF:lv=cel,LAST
-   LINE2:cel#04d532:"0 dark to 1023 bright," GPRINT:lv:"Current Value\: %1.0lf">
+   LINE2:cel#04d532:"0 complete darkness via 450 dark to 1023 quite bright," GPRINT:lv:"Current Value\: %1.0lf">
 </P>
 Current Light Value: <RRD::INCLUDE /home/sensorlight.txt>
 <P>
@@ -28,8 +28,9 @@ Current Light Value: <RRD::INCLUDE /home/sensorlight.txt>
    --title="Room Temperature"
    --start=now-36h --end=now --width=490
    --slope-mode
-   DEF:cel=/home/sensortemp.rrd:temp:LAST VDEF:lv=cel,LAST
-   LINE2:cel#e21407:"°C (±0.5)," GPRINT:lv:"Current Temperature\: %1.2lf °C">
+   DEF:cel=/home/sensortemp.rrd:temp:LAST 
+   CDEF:corrcel=cel,6,- VDEF:lv=corrcel,LAST
+   LINE2:corrcel#e21407:"°C (±0.5)," GPRINT:lv:"Current Temperature\: %1.2lf °C">
 </P>
 Current Temperature: <RRD::INCLUDE /home/sensortemp.txt> °C
 <P>