X-Git-Url: https://git.realraum.at/?p=svn42.git;a=blobdiff_plain;f=sensor_graph%2Fsensors.cgi;h=1fb368cdef13b5f00f7f433ee785253772afa0b4;hp=9c85c93273bed888411ac57d296527becdf1b411;hb=a34e51d757fe52cb19de2937ae1b211894167524;hpb=c2e6568981f672656146bb27409b3c8403dfd35a diff --git a/sensor_graph/sensors.cgi b/sensor_graph/sensors.cgi index 9c85c93..1fb368c 100755 --- a/sensor_graph/sensors.cgi +++ b/sensor_graph/sensors.cgi @@ -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">

Current Light Value:

@@ -28,8 +28,9 @@ Current Light Value: --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">

Current Temperature: °C