summaryrefslogtreecommitdiff
path: root/make_photo
diff options
context:
space:
mode:
authorRobert Scheibe <rob.scheibe@gmail.com>2024-12-22 15:52:40 +0100
committerRobert Scheibe <rob.scheibe@gmail.com>2024-12-22 15:52:40 +0100
commitbd0a388682dae9da9146a9d37ebfd4d2c2527b6e (patch)
tree6a555b1347dbfab3a956a4b6ede508c1559628b5 /make_photo
parent44a4a65f8c7244244d9b9102193d682ba89d3048 (diff)
added history.html and cpu temperature plotting
Diffstat (limited to 'make_photo')
-rwxr-xr-xmake_photo8
1 files changed, 5 insertions, 3 deletions
diff --git a/make_photo b/make_photo
index 3c27888..e214f3b 100755
--- a/make_photo
+++ b/make_photo
@@ -1,10 +1,12 @@
#!/bin/bash
export LC_TIME=de_DE.utf-8
image=/mnt/ramdisk/$(date +'%H_%M').jpg
-#image_small=/mnt/ramdisk/$(date +'%H_%M')_thumb.jpg
-
+#take photo
rpicam-still -o $image
#add date string
convert $image -resize 1024x768 -gravity SouthEast -font DejaVu-Sans -pointsize 50 -stroke black -undercolor black -fill "rgba(255,255,255,0.5)" -annotate +30+30 "$(date +\\'%Y-%m-%d %H:%M\')" $image
-#convert $image -resize 200x150 $image_small
+#read cpu temp
+read_temperature.py
+#plot cpu temp
+plot.py $image $image