#!/bin/sh echo "Content-type: text/html" echo echo "" echo "Temperatur" echo "" echo "
" echo "

Temperaturen just nu i E:B

" # temperature=`/usr/bin/curl -s http://www.rogerhenriksson.se/temp.php` temperature=`/opt/owfs/bin/owread /10.B1304D010800/temperature` echo "

" $temperature " grader

" /opt/local/bin/rrdtool graph ../Documents/temp.png -u 25 -l 15 --start -1h -w 540 -h 280 DEF:mytemp=temp.rrd:temp:AVERAGE LINE1:mytemp#FF0000 -E > /dev/null echo "

Temperaturen den senaste timmen:

" echo "" echo "" echo ""