allsky
allsky copied to clipboard
Error ZWO ASI385MC
I have installed a fresh version of Allksy on an RPi 4 Model B Rev 1.1 (RPi 4 Model B Rev 1.1) running bullseye. Installation went smooth and ZWO ASI camera was detected up and running. Now after a certain time allksy stops working with red message on the screen (Allsky is not running).
This is what the logfile says:
Aug 21 20:09:25 allsky allsky[877]: STARTING EXPOSURE at: 2024-08-21 20:09:25 @ 4.48 ms
Aug 21 20:09:25 allsky allsky[877]: *** /home/pi/allsky/bin/capture_ZWO: WARNING: ASISetControlValue() for control 1, value=32, camNum=0, makeAuto=0 failed: ASI_ERROR_GENERAL_ERROR (16)
Aug 21 20:09:25 allsky allsky[877]: *** /home/pi/allsky/bin/capture_ZWO: ERROR: flushBufferedImages() setControl() returned ASI_ERROR_GENERAL_ERROR (16)
Aug 21 20:09:25 allsky allsky[877]: *** /home/pi/allsky/bin/capture_ZWO: WARNING: ASISetControlValue() for control 1, value=4482, camNum=0, makeAuto=0 failed: ASI_ERROR_GENERAL_ERROR (16)
Aug 21 20:09:30 allsky allsky[877]: > /home/pi/allsky/bin/capture_ZWO: ERROR: Failed getting image: ASI_ERROR_TIMEOUT (with 0.8 exposure = YES) (11)
Aug 21 20:09:32 allsky allsky[877]: *** /home/pi/allsky/bin/capture_ZWO: ERROR: Maximum number of consecutive errors of 5 reached; capture program exited.
Aug 21 20:09:35 allsky allsky[877]: ***** Stopping AllSky *****
Aug 21 20:09:36 allsky allsky[747]: Stopping Allsky: Allsky Stopped!<br>Non-recoverable ERROR found<br>See /var/log/allsky.log.
Aug 21 20:09:36 allsky allsky[747]: ***** AllSky Stopped *****
After a re-boot it works for sometime and then again:
Aug 22 09:35:29 allsky allsky[3132]: Allsky version: v2023.05.01_04
Aug 22 09:35:29 allsky allsky[3132]: ZWO SDK version 1, 32, 0, 0
Aug 22 09:35:29 allsky allsky[3132]: ==========
Aug 22 09:35:29 allsky allsky[3132]: === Starting daytime capture ===
Aug 22 09:35:29 allsky allsky[3132]: ==========
Aug 22 09:35:29 allsky allsky[3132]: STARTING EXPOSURE at: 2024-08-22 09:35:29 @ 100.00 ms (0.10 sec)
Aug 22 09:36:04 allsky allsky[3132]: STARTING EXPOSURE at: 2024-08-22 09:36:04 @ 550 us (0.550 ms)
Aug 22 09:36:04 allsky allsky[3132]: *** /home/pi/allsky/bin/capture_ZWO: WARNING: ASISetControlValue() for control 1, value=32, camNum=0, makeAuto=0 failed: ASI_ERROR_GENERAL_ERROR (16)
Aug 22 09:36:04 allsky allsky[3132]: *** /home/pi/allsky/bin/capture_ZWO: ERROR: flushBufferedImages() setControl() returned ASI_ERROR_GENERAL_ERROR (16)
Aug 22 09:36:04 allsky allsky[3132]: *** /home/pi/allsky/bin/capture_ZWO: WARNING: ASISetControlValue() for control 1, value=550, camNum=0, makeAuto=0 failed: ASI_ERROR_GENERAL_ERROR (16)
Aug 22 09:36:09 allsky allsky[3132]: > /home/pi/allsky/bin/capture_ZWO: ERROR: Failed getting image: ASI_ERROR_TIMEOUT (with 0.8 exposure = YES) (11)
Aug 22 09:36:11 allsky allsky[3132]: STARTING EXPOSURE at: 2024-08-22 09:36:11 @ 550 us (0.550 ms)
Aug 22 09:36:11 allsky allsky[3132]: *** /home/pi/allsky/bin/capture_ZWO: WARNING: ASISetControlValue() for control 1, value=32, camNum=0, makeAuto=0 failed: ASI_ERROR_GENERAL_ERROR (16)
Aug 22 09:36:11 allsky allsky[3132]: *** /home/pi/allsky/bin/capture_ZWO: ERROR: flushBufferedImages() setControl() returned ASI_ERROR_GENERAL_ERROR (16)
Aug 22 09:36:11 allsky allsky[3132]: *** /home/pi/allsky/bin/capture_ZWO: WARNING: ASISetControlValue() for control 1, value=550, camNum=0, makeAuto=0 failed: ASI_ERROR_GENERAL_ERROR (16)
Aug 22 09:36:16 allsky allsky[3132]: > /home/pi/allsky/bin/capture_ZWO: ERROR: Failed getting image: ASI_ERROR_TIMEOUT (with 0.8 exposure = YES) (11)
Aug 22 09:36:19 allsky allsky[3132]: STARTING EXPOSURE at: 2024-08-22 09:36:19 @ 550 us (0.550 ms)
Aug 22 09:36:19 allsky allsky[3132]: *** /home/pi/allsky/bin/capture_ZWO: WARNING: ASISetControlValue() for control 1, value=32, camNum=0, makeAuto=0 failed: ASI_ERROR_GENERAL_ERROR (16)
Aug 22 09:36:19 allsky allsky[3132]: *** /home/pi/allsky/bin/capture_ZWO: ERROR: flushBufferedImages() setControl() returned ASI_ERROR_GENERAL_ERROR (16)
Aug 22 09:36:19 allsky allsky[3132]: *** /home/pi/allsky/bin/capture_ZWO: WARNING: ASISetControlValue() for control 1, value=550, camNum=0, makeAuto=0 failed: ASI_ERROR_GENERAL_ERROR (16)
Aug 22 09:36:24 allsky allsky[3132]: > /home/pi/allsky/bin/capture_ZWO: ERROR: Failed getting image: ASI_ERROR_TIMEOUT (with 0.8 exposure = YES) (11)
Aug 22 09:36:26 allsky allsky[3132]: STARTING EXPOSURE at: 2024-08-22 09:36:26 @ 550 us (0.550 ms)
Aug 22 09:36:26 allsky allsky[3132]: *** /home/pi/allsky/bin/capture_ZWO: WARNING: ASISetControlValue() for control 1, value=32, camNum=0, makeAuto=0 failed: ASI_ERROR_GENERAL_ERROR (16)
Aug 22 09:36:26 allsky allsky[3132]: *** /home/pi/allsky/bin/capture_ZWO: ERROR: flushBufferedImages() setControl() returned ASI_ERROR_GENERAL_ERROR (16)
Aug 22 09:36:26 allsky allsky[3132]: *** /home/pi/allsky/bin/capture_ZWO: WARNING: ASISetControlValue() for control 1, value=550, camNum=0, makeAuto=0 failed: ASI_ERROR_GENERAL_ERROR (16)
Aug 22 09:36:31 allsky allsky[3132]: > /home/pi/allsky/bin/capture_ZWO: ERROR: Failed getting image: ASI_ERROR_TIMEOUT (with 0.8 exposure = YES) (11)
Aug 22 09:36:33 allsky allsky[3132]: STARTING EXPOSURE at: 2024-08-22 09:36:33 @ 550 us (0.550 ms)
Aug 22 09:36:33 allsky allsky[3132]: *** /home/pi/allsky/bin/capture_ZWO: WARNING: ASISetControlValue() for control 1, value=32, camNum=0, makeAuto=0 failed: ASI_ERROR_GENERAL_ERROR (16)
Aug 22 09:36:33 allsky allsky[3132]: *** /home/pi/allsky/bin/capture_ZWO: ERROR: flushBufferedImages() setControl() returned ASI_ERROR_GENERAL_ERROR (16)
Aug 22 09:36:33 allsky allsky[3132]: *** /home/pi/allsky/bin/capture_ZWO: WARNING: ASISetControlValue() for control 1, value=550, camNum=0, makeAuto=0 failed: ASI_ERROR_GENERAL_ERROR (16)
Aug 22 09:36:39 allsky allsky[3132]: > /home/pi/allsky/bin/capture_ZWO: ERROR: Failed getting image: ASI_ERROR_TIMEOUT (with 0.8 exposure = YES) (11)
Aug 22 09:36:41 allsky allsky[3132]: *** /home/pi/allsky/bin/capture_ZWO: ERROR: Maximum number of consecutive errors of 5 reached; capture program exited.
Aug 22 09:36:44 allsky allsky[3132]: ***** Stopping AllSky *****
Aug 22 09:36:44 allsky allsky[3010]: Stopping Allsky: Allsky Stopped!<br>Non-recoverable ERROR found<br>See /var/log/allsky.log.
Aug 22 09:36:45 allsky allsky[3010]: ***** AllSky Stopped *****
Aug 22 09:38:27 allsky allsky[3648]: ***** Starting AllSky *****
Aug 22 09:38:28 allsky allsky[3648]: *** FATAL ERROR: ZWO Camera not found and no USB entry either.
Aug 22 09:38:28 allsky allsky[3648]: If you have the 'uhubctl' command installed, add it to config.sh.
Aug 22 09:38:28 allsky allsky[3648]: In the meantime, try running it to reset the USB bus.
Aug 22 09:38:28 allsky allsky[3648]: Stopping Allsky: Unable to start Allsky!<br>FATAL ERROR: ZWO Camera not found<br>See /var/log/allsky.log.
Aug 22 09:38:29 allsky allsky[3648]: ***** AllSky Stopped *****
Aug 22 09:38:29 allsky allsky[3744]: ***** Starting AllSky *****
Aug 22 09:38:34 allsky allsky[3744]: *** FATAL ERROR: ZWO Camera not found and no USB entry either.
Aug 22 09:38:34 allsky allsky[3744]: If you have the 'uhubctl' command installed, add it to config.sh.
Aug 22 09:38:34 allsky allsky[3744]: In the meantime, try running it to reset the USB bus.
Aug 22 09:38:34 allsky allsky[3744]: Stopping Allsky: Unable to start Allsky!<br>FATAL ERROR: ZWO Camera not found<br>See /var/log/allsky.log.
Aug 22 09:38:34 allsky allsky[3744]: ***** AllSky Stopped *****
pi@allsky:/var/log $
Since there have been similair issues before like this I have set Auto USB Bandwidth to No and USB Bandwidth to 80%.
I did now install uhubctl on the device, how would I activate it in Allsky?