Skip to content

Outputting the Sensor Temperature to file or other location #1009

Answered by EricClaeys
darkorb asked this question in Q&A
Discussion options

You must be logged in to vote

@darkorb Alex, Good timing. Starting with version 0.8.3 for ZWO cameras the "capture" program passes several variables to the scripts/saveImage.sh program, including the temperature. In scripts/saveImage.sh on or after line 72 you can access the temp via ${AS_TEMPERATURE}. For example,

d=$(date)
echo -e "${d}\t${AS_TEMPERATURE}" >> my_temperature_log_file.txt

This will append the current date/time and temperature, separated by a tab character, to a text file. If you wanted a new file every time you started Allsky you could add this line to allsky/allsky.sh: > my_temperature_log_file.txt.

We are going to add the ability to invoke a user-supplied script from scripts/saveImage.sh for exactl…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@darkorb
Comment options

Answer selected by darkorb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants