X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=temp.sh;h=0f9030f2d93f04949543a23a4f9c82703516a2df;hb=0e25565f4c36c6dcf79db411e3f00027155049a2;hp=837f3e5ee6cd72167bb192b7b4a5c4b9537181cf;hpb=8bd335b48f83f56247de3715d2355349c3fc7f62;p=vaillant-thermostat diff --git a/temp.sh b/temp.sh index 837f3e5..0f9030f 100755 --- a/temp.sh +++ b/temp.sh @@ -2,11 +2,8 @@ # install as cgi-script and invoke to get png -echo Location: http://192.168.3.2/m1.gray.png -echo - #ssh rpi 'cat `ls -t /dev/shm/vaillant.* | head -1` | sed "s/ .*| */ /"' > /dev/shm/temp.tsv -tail -8640 `ls -t /dev/shm/vaillant.* | head -1` | sed "s/ .*| */ /" > /dev/shm/temp.tsv +tail -4320 `ls -t /dev/shm/vaillant.* | head -1` | sed "s/ .*| */ /" > /dev/shm/temp.tsv cd /home/pi/vaillant-thermostat/ gnuplot temp.gnuplot montage /dev/shm/[1-3].png -tile 1x3 -geometry +0+0 /tmp/m1.png @@ -14,3 +11,6 @@ montage /dev/shm/[1-3].png -tile 1x3 -geometry +0+0 /tmp/m1.png convert /tmp/m1.png -gravity center -extent 600x800 -colorspace Gray /tmp/m1.gray.png #display /tmp/m1.pgm +echo Location: http://192.168.3.2/m1.gray.png +echo +