vani hlad battery change
[vaillant-thermostat] / temp.sh
diff --git a/temp.sh b/temp.sh
index 0f9030f..ccd7266 100755 (executable)
--- a/temp.sh
+++ b/temp.sh
@@ -6,10 +6,17 @@
 tail -4320 `ls -t /dev/shm/vaillant.* | head -1` | sed "s/  .*| */ /" > /dev/shm/temp.tsv
 cd /home/pi/vaillant-thermostat/
 gnuplot temp.gnuplot
+convert /dev/shm/temp.png -gravity center -extent 600x800 -colorspace Gray /tmp/m1.gray.png
+
+echo Location: http://192.168.3.2/m1.gray.png
+echo
+
+exit 0
+
 montage /dev/shm/[1-3].png -tile 1x3 -geometry +0+0 /tmp/m1.png
-#convert /tmp/m1.png -gravity center -extent 600x800 /tmp/m1.pgm
+convert /tmp/m1.png -gravity center -extent 600x800 /tmp/m1.pgm
 convert /tmp/m1.png -gravity center -extent 600x800 -colorspace Gray /tmp/m1.gray.png
-#display /tmp/m1.pgm
+display /tmp/m1.pgm
 
 echo Location: http://192.168.3.2/m1.gray.png
 echo