]> mj.ucw.cz Git - arexx.git/blobdiff - web/temp-48h.cgi
After USB error, wait a while before attempting to reconnect
[arexx.git] / web / temp-48h.cgi
index 9613985029341e4adf5bc5b7ef0a89a6752d9092..e704c60ff95ac88e285096c8aa56898aa0153c55 100755 (executable)
@@ -12,7 +12,16 @@ exec rrdtool graph - \
        --right-axis 1:0 --right-axis-format "%3.0lf" \
        --units-exponent 0 --lower-limit -20 --upper-limit 40 --rigid \
        --legend-position east \
-       DEF:a=$D/sensor-ursarium.rrd:temp:AVERAGE 'LINE1:a#0000cc:Ursarium\n' \
-       DEF:d=$D/sensor-catarium.rrd:temp:AVERAGE 'LINE1:d#cc0000:Catarium\n' \
-       DEF:c=$D/sensor-balcony.rrd:temp:AVERAGE 'LINE1:c#cc00cc:Balcony\n' \
-       DEF:b=$D/sensor-outside.rrd:temp:AVERAGE 'LINE1:b#00cc00:Outside'
+       DEF:c=$D/sensor-catarium.rrd:temp:AVERAGE \
+       DEF:u=$D/sensor-ursarium.rrd:temp:AVERAGE \
+       DEF:b=$D/sensor-balcony.rrd:temp:AVERAGE \
+       DEF:o=$D/sensor-outside.rrd:temp:AVERAGE \
+       'AREA:c#cc7777' \
+       'AREA:u#7777cc' \
+       'AREA:b#cc77cc' \
+       'AREA:o#77cc77' \
+       'LINE2:c#cc0000:Catarium\n' \
+       'LINE2:u#0000cc:Ursarium\n' \
+       'LINE2:b#cc00cc:Balcony\n' \
+       'LINE2:o#00cc00:Outside' \
+       'HRULE:0#0000ff'