don't immediately go to presence just because the air moved (heating in winter)
[svn42.git] / sensor_graph / sensor-temp.cgi
1 #!/usr/bin/rrdcgi
2 <HTML>
3 <BODY>
4 <RRD::GOODFOR 30>
5 <RRD::GRAPH ../temp0.png
6    --imginfo '<IMG SRC="/%s" WIDTH="%lu" HEIGHT="%lu" >'
7    --color="BACK#d0d0af" --color="CANVAS#ffffff" 
8    --color="SHADEA#dfdfdf" --color="SHADEB#525252" 
9    --color="AXIS#761407" --color="FONT#272727" --color="MGRID#b65447"
10    --color="ARROW#761407" --color="GRID#d0d0af"
11    --title="Room Temperature" --lazy
12    --start=now-36h --end=now --width=490
13    --slope-mode
14    DEF:cel=/home/sensortemp.rrd:temp:LAST 
15    CDEF:corrcel=cel,6,- VDEF:lv=corrcel,LAST
16    LINE2:corrcel#e21407:"°C (±0.5)," GPRINT:lv:"Current Temperature\: %1.2lf °C">
17 </BODY>
18 </HTML>