Skip to content

Commit f8b9e15

Browse files
Merge pull request #4297 from AllskyTeam/Upgrade-to-ZWO-SDK-1.37
Upgrade to zwo sdk 1.37
2 parents c3aa1ce + 10d5782 commit f8b9e15

7 files changed

Lines changed: 50 additions & 27 deletions

File tree

README.md

Lines changed: 26 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,27 @@ In order to run the Allsky software you need:
1414

1515
* A Raspberry Pi Zero 2, Pi 2, Pi 3, Pi 4, Pi 5, or Le Potato.
1616
* A camera:
17-
* Any ZWO camera sold before October 2024.
18-
* One of the following Raspberry Pi cameras:
19-
* RPi HQ (IMX477 sensor)
20-
* RPi Module 3 (IMX708 sensor)
21-
* RPi Version 1 (OV5647 sensor; NOT RECOMMENDED: 0.9 second maximum exposure)
22-
* IMX290 60.00 fps
23-
* ArduCam 16 MP (IMX519 sensor)
24-
* ArduCam 64 MP (arducam_64mp sensor)
25-
* ArduCam 462 (arducam-pivariety sensor)
26-
* Waveshare imx219-d160 (IMX290 sensor)
27-
* ArduCam 64 MP Owlsight (OV64a40 sensor)
28-
* OneInchEye IMX283 (IMX283 sensor)
17+
* Any ZWO camera sold before February 1, 2025,
18+
* or one of the following cameras:
19+
* Raspberry Pi:
20+
* HQ (IMX477 sensor)
21+
* Module 3 (IMX708 sensor)
22+
* Version 1 (OV5647 sensor; NOT RECOMMENDED: 0.9 second maximum exposure)
23+
* Arducam:
24+
* 16 MP (IMX519 sensor)
25+
* 64 MP (arducam_64mp sensor)
26+
* 462 (arducam-pivariety sensor)
27+
* 64 MP Owlsight (OV64a40 sensor)
28+
* Other:
29+
* Waveshare imx219-d160 (IMX290 sensor)
30+
* OneInchEye IMX283 (IMX283 sensor)
31+
* IMX290 60.00 fps
2932

3033

3134
 
3235
> __NOTES:__
3336
> - Only the Raspberry Pi OS is supported. Other operating systems like Ubuntu are NOT supported. If possible use the newest Bookworm 64-bit release. Bullseye will also work. __Buster support will be dropped in the next major release__.
34-
> - The ZWO ASI120-series cameras are __not__ recommended due to their tendency to produce errors and poor-quality images.
37+
> - The ZWO ASI120-series cameras are __not__ recommended due to their tendency to produce poor-quality images.
3538
> - The Pi Zero with its limited memory and _very_ limited CPU power is not recommended. You probably won't be able to create keograms, startrails, or timelapse videos.
3639
> - The Pi Zero 2 with its limited memory and somewhat limited CPU power is not recommended unless cost is the only concern. Creating keograms, startrails, and timelapse videos may or may not be possible.
3740
> - The Le Potato is the only "Pi-compatible" board that we've found to actually be compatible, so buyer beware.
@@ -77,15 +80,20 @@ It should be used before requesting support on GitHub.
7780

7881
 
7982
<!-- =============================================================================== -->
80-
## Allsky Website and remote server
83+
## Allsky Website
8184

8285
The local Allsky Website (i.e., on the Pi) is installed with Allsky but must be enabled in the WebUI in order to use it.
8386
You can also install the Allsky Website on a remote server so it can be viewable via the Internet.
8487

8588
See [Installation / Upgrading --> Website](https://htmlpreview.github.io/?https://raw.githubusercontent.com/AllskyTeam/allsky/master/html/documentation/installations/AllskyWebsite.html) for information on how to install and configure an Allsky Website.
8689

90+
&nbsp;
91+
<!-- =============================================================================== -->
92+
## Remote server
8793
Allsky images, keograms, startrails, and timelapse videos can optionally be uploaded to a remote server __not__ running an Allsky Website. This is useful if you have a personal website and want to include the most recent Allsky images.
8894

95+
See [Installation / Upgrading --> Remote server](https://htmlpreview.github.io/?https://raw.githubusercontent.com/AllskyTeam/allsky/master/html/documentation/installations/RemoteServer.html) for information on how to configure a remote server.
96+
8997
---
9098

9199

@@ -123,6 +131,10 @@ By default, a timelapse video is generated at the end of nighttime from all of t
123131

124132
"Mini" timelapse videos can also be created every few images, and contain the last several images. They are useful to see what the sky was recently like.
125133

134+
135+
See [Explanations / How To --> Timelapses](https://htmlpreview.github.io/?https://raw.githubusercontent.com/AllskyTeam/allsky/master/html/documentation/explanations/timelapses.html).
136+
137+
126138
---
127139

128140

scripts/utilities/showSupportedCameras.sh

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ OK="true"
1515
DO_HELP="false"
1616
DO_ZWO="false"
1717
DO_RPI="false"
18+
ZWO_FILE="${ALLSKY_HOME}/src/lib/armv7/libASICamera2.a"
1819
while [[ $# -gt 0 ]]; do
1920
ARG="${1}"
2021
case "${ARG,,}" in
@@ -27,8 +28,15 @@ while [[ $# -gt 0 ]]; do
2728
--zwo)
2829
DO_ZWO="true"
2930
;;
31+
--zwo-file)
32+
ZWO_FILE="${2}"
33+
if [[ ! -f ${ZWO_FILE} ]]; then
34+
E_ "File '${ZWO_FILE}' not found." >&2
35+
OK="false"
36+
fi
37+
;;
3038
-*)
31-
echo -e "${RED}Unknown argument '${ARG}' ignoring.${NC}" >&2
39+
E_ "Unknown argument '${ARG}'." >&2
3240
OK="false"
3341
;;
3442
esac
@@ -38,23 +46,26 @@ done
3846
usage_and_exit()
3947
{
4048
local RET=${1}
41-
{
42-
echo
43-
[[ ${RET} -ne 0 ]] && echo -en "${RED}"
44-
echo "Usage: ${ME} [--help] --rpi | --zwo"
45-
[[ ${RET} -ne 0 ]] && echo -en "${NC}"
46-
echo " where:"
47-
echo " '--help' displays this message and exits."
48-
echo " '--rpi' displays a list of supported Raspberry Pi and compatible cameras."
49-
echo " '--zwo' displays a list of supported ZWO cameras."
50-
} >&2
49+
exec 2>&1
50+
echo
51+
local MSG="Usage: ${ME} [--help] [--zwo-file f] --rpi | --zwo"
52+
if [[ ${RET} -ne 0 ]]; then
53+
E_ "${MSG}"
54+
else
55+
echo -e "${MSG}"
56+
fi
57+
echo "where:"
58+
echo " '--help' displays this message and exits."
59+
echo " '--zwo-file f' looks in this file for list of supported ZWO cameras."
60+
echo " '--rpi' displays a list of supported Raspberry Pi and compatible cameras."
61+
echo " '--zwo' displays a list of supported ZWO cameras."
5162
exit "${RET}"
5263
}
5364

5465
[[ ${DO_HELP} == "true" ]] && usage_and_exit 0
5566
[[ ${OK} == "false" ]] && usage_and_exit 1
5667
if [[ ${DO_RPI} == "false" && ${DO_ZWO} == "false" ]]; then
57-
echo -e "${RED}You must specify --rpi and/or --zwo${NC}" >&2
68+
E_ "You must specify --rpi and/or --zwo" >&2
5869
usage_and_exit 2
5970
fi
6071

@@ -94,7 +105,7 @@ if [[ ${DO_ZWO} == "true" ]]; then
94105
[[ ${DO_RPI} == "true" ]] && echo -e "\n===== Supported ZWO cameras:"
95106

96107
# Any of the libraries should work.
97-
strings "${ALLSKY_HOME}/src/lib/armv7/libASICamera2.a" |
108+
strings "${ZWO_FILE}" |
98109
grep '_SetResolutionEv$' | \
99110
sed -e 's/^.*CameraS//' -e 's/17Cam//' -e 's/_SetResolutionEv//' | \
100111
sort -u

src/lib/armv6/libASICamera2.a

261 KB
Binary file not shown.

src/lib/armv7/libASICamera2.a

241 KB
Binary file not shown.

src/lib/armv8/libASICamera2.a

351 KB
Binary file not shown.

src/lib/x64/libASICamera2.a

340 KB
Binary file not shown.

src/lib/x86/libASICamera2.a

275 KB
Binary file not shown.

0 commit comments

Comments
 (0)