Skip to content

Commit

Permalink
Update checkAllsky.sh: check for ZWO auto-exposure and auto-gain
Browse files Browse the repository at this point in the history
  • Loading branch information
EricClaeys authored Aug 7, 2024
1 parent 1ce73f9 commit aa8f6e8
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions scripts/checkAllsky.sh
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,23 @@ if [[ ${CHECK_WARNINGS} == "true" ]]; then
check_delay "Daytime"
check_delay "Nighttime"

if [[ ${CAMERA_TYPE} == "ZWO" ]]; then
if [[ ${S_dayautoexposure} == "true" && ${S_dayautogain} == "true" ]]; then
heading "Warning"
echo -n "For ZWO cameras we suggest NOT using both '${S_dayautoexposure_label}'"
echo " and '${S_dayautogain_label}' at the same time."
echo -n "FIX: Disable '${S_dayautogain_label}' and set '${S_daygain_label}' to"
echo " '${S_daymaxautogain_label}'."
fi
if [[ ${S_nightautoexposure} == "true" && ${S_nightautogain} == "true" ]]; then
heading "Warning"
echo -n "For ZWO cameras we suggest NOT using both '${S_nightautoexposure_label}'"
echo " and '${S_nightautogain_label}' at the same time."
echo -n "FIX: Disable '${S_nightautogain_label}' and set '${S_nightgain_label}' to"
echo " '${S_nightmaxautogain_label}'."
fi
fi

##### Timelapse and mini-timelapse
if [[ ${S_timelapsevcodec} == "libx264" ]]; then
# Check if timelapse size is "too big" and will likely cause an error.
Expand Down

0 comments on commit aa8f6e8

Please sign in to comment.