0

End of Night (manual)

September 13, 2021

Here’s a quick group of lines that test different parts of the EndOfNight.sh.

Copy the code below, save it into a .sh file of any name. I chose ‘EONmanual.sh’
open terminal
cd to wherever you saved the file
type ‘sudo chmod u+x filename.sh (where filename = whatever you saved it as)
after that, in terminal just type ‘./filename.sh (where filename = whatever you saved it as)

put a # before any of the commands you don’t want run, and save it. As it sits here, Timelapse is disabled, as is Keogram. There are 4 different thresholds for the Startrails, each will take some time to run, but when its done, you can compare and see which works for you.

CURRENT=$(date -d '12 hours ago' +'%Y%m%d') # however many hours back, usually 12 is good.
cd /home/pi/allsky
# timelapse - manually run the Timelapse
#./scripts/timelapse.sh $CURRENT

# Keogram - manual keogram cycle (requires new keogram cpp)
#./keogram ./images/$CURRENT/ jpg ./images/$CURRENT/keogram/keogramManual_$CURRENT.jpg -rotate -90 -fontsize 2 -fontline 1 -addRow 1 -finishline 1000

# Startrails - a few different threshold settings to test which may work better for you
./startrails ./images/$CURRENT/ jpg 0.30 ./images/$CURRENT/startrails_30_$CURRENT_.png
./startrails ./images/$CURRENT/ jpg 0.28 ./images/$CURRENT/startrails_28_$CURRENT.png
./startrails ./images/$CURRENT/ jpg 0.23 ./images/$CURRENT/startrails_23_$CURRENT.png
./startrails ./images/$CURRENT/ jpg 0.195 ./images/$CURRENT/startrails_195_$CURRENT.png