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