From bd0a388682dae9da9146a9d37ebfd4d2c2527b6e Mon Sep 17 00:00:00 2001 From: Robert Scheibe Date: Sun, 22 Dec 2024 15:52:40 +0100 Subject: added history.html and cpu temperature plotting --- make_photo | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'make_photo') 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 -- cgit v1.2.3