Aaron,

any interest in adding a focuser routine for a 28byj? I find it rather unconvenient refocusing as I always have to open the dome and at times temperature shifts the focus.
I tried to integrate the astroberry focuser to no avail...

BTW Thanks for your wonderful piece of software!

MS

Read More...

Jeeez...you are right. I left the mask of the old camera...which has a different resolution.
Thank you!

MS

Read More...

Hi Aaron,

I'm setting up a second indi-allsky with an ASI 662 MC, unfortunately it reports :

Jun 22 01:01:25 allsky2 [INFO] MainProcess allsky._queueManualTasks() #2432: Checking for manually submitted tasks
Jun 22 01:01:25 allsky2 [INFO] MainProcess indi.getTelescopeRaDec() #840: Telescope Coord: RA 17.74, Dec 44.65
Jun 22 01:01:25 allsky2 [INFO] MainProcess indi.getCcdTemperature() #855: Sensor temperature: 31.0
Jun 22 01:01:24 allsky2 [INFO] MainProcess allsky.detectMoonMode() #1614: Moon altitude: -10:07:54.8, phase 13.1%
Jun 22 01:01:24 allsky2 [INFO] MainProcess allsky.detectNight() #1597: Sun altitude: -21:48:36.7
Jun 22 01:01:24 allsky2 [INFO] MainProcess allsky._startImageWorker() #780: Starting ImageWorker process 14
Jun 22 01:01:24 allsky2 [ERROR] MainProcess allsky._startImageWorker() #773: Image worker exception: 
Jun 22 01:01:24 allsky2 [ERROR] MainProcess allsky._startImageWorker() #773: Image worker exception: 
Jun 22 01:01:24 allsky2 [ERROR] MainProcess allsky._startImageWorker() #773: Image worker exception: cv2.error: OpenCV(4.7.0) /io/opencv/modules/core/src/matrix_iterator.cpp:71: error: (-215:Assertion failed) A.size == arrays[i0]->size in function 'init'
Jun 22 01:01:24 allsky2 [ERROR] MainProcess allsky._startImageWorker() #773: Image worker exception:     adu = cv2.mean(src=data_mono, mask=self._adu_mask)[0]
Jun 22 01:01:24 allsky2 [ERROR] MainProcess allsky._startImageWorker() #773: Image worker exception:   File "/home/pi/indi-allsky/indi_allsky/image.py", line 1946, in _calculate_8bit_adu
Jun 22 01:01:24 allsky2 [ERROR] MainProcess allsky._startImageWorker() #773: Image worker exception:     return self._calculate_8bit_adu(i_ref)
Jun 22 01:01:24 allsky2 [ERROR] MainProcess allsky._startImageWorker() #773: Image worker exception:   File "/home/pi/indi-allsky/indi_allsky/image.py", line 1932, in calculate_8bit_adu
Jun 22 01:01:24 allsky2 [ERROR] MainProcess allsky._startImageWorker() #773: Image worker exception:     adu = self.image_processor.calculate_8bit_adu()
Jun 22 01:01:24 allsky2 [ERROR] MainProcess allsky._startImageWorker() #773: Image worker exception:   File "/home/pi/indi-allsky/indi_allsky/image.py", line 459, in processImage
Jun 22 01:01:24 allsky2 [ERROR] MainProcess allsky._startImageWorker() #773: Image worker exception:     self.processImage(i_dict)
Jun 22 01:01:24 allsky2 [ERROR] MainProcess allsky._startImageWorker() #773: Image worker exception:   File "/home/pi/indi-allsky/indi_allsky/image.py", line 258, in saferun
Jun 22 01:01:24 allsky2 [ERROR] MainProcess allsky._startImageWorker() #773: Image worker exception:     self.saferun()
Jun 22 01:01:24 allsky2 [ERROR] MainProcess allsky._startImageWorker() #773: Image worker exception:   File "/home/pi/indi-allsky/indi_allsky/image.py", line 229, in run
Jun 22 01:01:24 allsky2 [ERROR] MainProcess allsky._startImageWorker() #773: Image worker exception: Traceback (most recent call last):
Jun 22 01:01:24 allsky2 [INFO] MainProcess allsky.run() #1048: Exposure state: OK
Jun 22 01:01:24 allsky2 [INFO] MainProcess allsky.run() #1047: Camera last ready: 4.1s

Any hint on this? Pulling from git didn't resolve the issue, rebuinding indi neither.
I even deleted the virtualenv dir to no avail.
Thank you for your help (and your wonderful piece of software...)

MS

Read More...

Hi Aaron,

it seems that I messed something in the config: I set maximum exposure to 15 secs but the system takes around 80 secs between images. Delay in config is 5 seconds so I can't seem to understand the problem, maybe something hung in the config on the DB?

Mar 21 22:48:27 allsky [INFO] MainProcess allsky.run() #1243: Total time since last exposure 77.5747 s
Mar 21 22:48:27 allsky [INFO] MainProcess libcamera.setCcdExposure() #192: image command: libcamera-still --immediate --nopreview --encoding png --quality 100 --gain 1 --shutter 15000000 --metadata /tmp/tmp0x1qip2e.json --metadata-format json --output /tmp/tmpxxsgmj93.png
Mar 21 22:48:27 allsky [INFO] MainProcess allsky.shoot() #1795: Taking 15.00000000 s exposure (gain 1)
Mar 21 22:48:27 allsky [WARNING] FileUploader008 uploader.saferun() #118: Goodbye
Mar 21 22:48:27 allsky [INFO] MainProcess allsky._fileUploadWorkerStop() #939: Stopping FileUploadWorker process
Mar 21 22:48:27 allsky [WARNING] VideoWorker008 video.saferun() #154: Goodbye
Mar 21 22:48:27 allsky [INFO] MainProcess allsky._stopVideoWorker() #866: Stopping VideoWorker process
Mar 21 22:48:27 allsky [WARNING] ImageWorker008 image.saferun() #225: Goodbye
Mar 21 22:48:27 allsky [INFO] ImageWorker008 miscDb.addImage() #171: Adding image /var/www/html/allsky/images/ccd_8b13b96a-4d49-4f70-973a-d45ce2c507e9/20230321/night/21_22/ccd1_20230321_224814.jpg to DB
Mar 21 22:48:27 allsky [INFO] ImageWorker008 image.write_img() #1081: Image compressed in 0.4221 s
Mar 21 22:48:26 allsky [INFO] ImageWorker008 image.processImage() #426: Image processed in 12.5726 s
Mar 21 22:48:25 allsky [INFO] ImageWorker008 image.white_balance_manual_bgr() #2151: Applying manual color balance settings
Mar 21 22:48:25 allsky [INFO] ImageWorker008 scnr.maximum_neutral() #89: SCNR maximum neutral in 0.0177 s
Mar 21 22:48:25 allsky [INFO] ImageWorker008 stars.detectObjects() #86: Found 169 objects
Mar 21 22:48:25 allsky [INFO] ImageWorker008 stars.detectObjects() #84: Star detection in 1.5143 s
Mar 21 22:48:23 allsky [INFO] ImageWorker008 detectLines.detectLines() #81: Detected 0 lines
Mar 21 22:48:23 allsky [INFO] ImageWorker008 detectLines.detectLines() #78: Line detection in 0.2059 s
Mar 21 22:48:23 allsky [WARNING] ImageWorker008 image.recalculate_exposure() #1309: New calculated exposure: 15.000000
Mar 21 22:48:23 allsky [INFO] ImageWorker008 image.calculate_histogram() #1213: Brightness average: 23.81
Mar 21 22:48:22 allsky [INFO] ImageWorker008 image.processImage() #323: Image: 4056 x 3040
Mar 21 22:48:22 allsky [INFO] ImageWorker008 image.stack() #1994: Stacked 3 images (maximum) in 0.4199 s
Mar 21 22:48:22 allsky [ERROR] ImageWorker008 image.stack() #1968: Registration exceeded the exposure period, cancel alignment
Mar 21 22:48:19 allsky [INFO] ImageWorker008 stack.register() #152: Registration Matches: 9, Rotation: -0.001281, Translation: (-6.598205, 2.253958), Scale: 1.001522
Mar 21 22:48:14 allsky [INFO] ImageWorker008 sqm.calculate() #42: Weighted SQM average: 20.68
Mar 21 22:48:14 allsky [INFO] ImageWorker008 sqm.calculate() #37: Raw SQM average: 20.68
Mar 21 22:48:14 allsky [INFO] ImageWorker008 sqm.calculate() #21: Exposure: 15.000000, gain: 1
Mar 21 22:48:14 allsky [WARNING] ImageWorker008 image._calibrate() #1844: Dark not found: ccd1 8bit 15.0000000s gain 1 bin 2 15.00c
Mar 21 22:48:14 allsky [WARNING] ImageWorker008 image._calibrate() #1826: Temperature matched dark not found: 15.00c
Mar 21 22:48:14 allsky [INFO] ImageWorker008 image._calibrate() #1809: Searching for dark frame: gain 1, exposure >= 15.0, temp >= 15.0c
Mar 21 22:48:14 allsky [WARNING] ImageWorker008 image._calibrate() #1797: Bad Pixel Map not found: ccd1 8bit 15.0000000s gain 1 bin 2 15.00c
Mar 21 22:48:14 allsky [WARNING] ImageWorker008 image._calibrate() #1779: Temperature matched bad pixel map not found: 15.00c
Mar 21 22:48:14 allsky [INFO] ImageWorker008 image._calibrate() #1762: Searching for bad pixel map: gain 1, exposure >= 15.0, temp >= 15.0c
Mar 21 22:48:14 allsky [INFO] ImageWorker008 image._detectBitDepth() #1706: Image max value: 255


Read More...

Hi Aaron,

I think I have a problem: it seems that whatever config I set the photo always takes around 100 seconds between exposures. Exposure time is correct but the camera constantly stay busy for around 100 seconds. Take a look at the log:

<code>
Mar 21 21:03:18 allsky [INFO] MainProcess allsky._queueManualTasks() #2397: Checking for manually submitted tasks
Mar 21 21:03:18 allsky [INFO] MainProcess indi.getTelescopeRaDec() #844: Telescope Coord: RA 8.72, Dec 44.65
Mar 21 21:03:17 allsky [INFO] MainProcess allsky.detectMoonMode() #1575: Moon altitude: -27:44:31.0, phase 0.1%
Mar 21 21:03:17 allsky [INFO] MainProcess allsky.detectNight() #1558: Sun altitude: -26:53:55.4
Mar 21 21:03:17 allsky [INFO] MainProcess allsky.run() #1033: Exposure state: BUSY
Mar 21 21:03:17 allsky [INFO] MainProcess allsky.run() #1032: Camera last ready: 85.1s
Mar 21 21:03:06 allsky [INFO] MainProcess allsky._queueManualTasks() #2397: Checking for manually submitted tasks
Mar 21 21:03:06 allsky [INFO] MainProcess indi.getTelescopeRaDec() #844: Telescope Coord: RA 8.72, Dec 44.65
Mar 21 21:03:06 allsky [INFO] MainProcess allsky.detectMoonMode() #1575: Moon altitude: -27:42:52.0, phase 0.1%
Mar 21 21:03:06 allsky [INFO] MainProcess allsky.detectNight() #1558: Sun altitude: -26:52:13.3
Mar 21 21:03:06 allsky [INFO] MainProcess allsky.run() #1033: Exposure state: BUSY
Mar 21 21:03:06 allsky [INFO] MainProcess allsky.run() #1032: Camera last ready: 74.0s
Mar 21 21:02:55 allsky [INFO] MainProcess allsky._queueManualTasks() #2397: Checking for manually submitted tasks
Mar 21 21:02:55 allsky [INFO] MainProcess indi.getTelescopeRaDec() #844: Telescope Coord: RA 8.72, Dec 44.65
Mar 21 21:02:55 allsky [INFO] MainProcess allsky.detectMoonMode() #1575: Moon altitude: -27:41:13.0, phase 0.1%
Mar 21 21:02:55 allsky [INFO] MainProcess allsky.detectNight() #1558: Sun altitude: -26:50:31.2
Mar 21 21:02:55 allsky [INFO] MainProcess allsky.run() #1033: Exposure state: BUSY
Mar 21 21:02:55 allsky [INFO] MainProcess allsky.run() #1032: Camera last ready: 62.8s
Mar 21 21:02:44 allsky [INFO] MainProcess allsky._queueManualTasks() #2397: Checking for manually submitted tasks
Mar 21 21:02:44 allsky [INFO] MainProcess indi.getTelescopeRaDec() #844: Telescope Coord: RA 8.71, Dec 44.65
Mar 21 21:02:44 allsky [INFO] MainProcess allsky.detectMoonMode() #1575: Moon altitude: -27:39:34.0, phase 0.1%
Mar 21 21:02:44 allsky [INFO] MainProcess allsky.detectNight() #1558: Sun altitude: -26:48:49.1
Mar 21 21:02:44 allsky [INFO] MainProcess allsky.run() #1033: Exposure state: BUSY
Mar 21 21:02:44 allsky [INFO] MainProcess allsky.run() #1032: Camera last ready: 51.7s
Mar 21 21:02:33 allsky [INFO] MainProcess allsky._queueManualTasks() #2397: Checking for manually submitted tasks
Mar 21 21:02:33 allsky [INFO] MainProcess indi.getTelescopeRaDec() #844: Telescope Coord: RA 8.71, Dec 44.65
Mar 21 21:02:33 allsky [INFO] MainProcess allsky.detectMoonMode() #1575: Moon altitude: -27:37:55.0, phase 0.1%
Mar 21 21:02:33 allsky [INFO] MainProcess allsky.detectNight() #1558: Sun altitude: -26:47:06.9
Mar 21 21:02:33 allsky [INFO] MainProcess allsky.run() #1033: Exposure state: BUSY
Mar 21 21:02:33 allsky [INFO] MainProcess allsky.run() #1032: Camera last ready: 40.6s
Mar 21 21:02:22 allsky [INFO] MainProcess allsky._queueManualTasks() #2397: Checking for manually submitted tasks
Mar 21 21:02:22 allsky [INFO] MainProcess indi.getTelescopeRaDec() #844: Telescope Coord: RA 8.71, Dec 44.65
Mar 21 21:02:22 allsky [INFO] MainProcess allsky.detectMoonMode() #1575: Moon altitude: -27:36:15.8, phase 0.1%
Mar 21 21:02:22 allsky [INFO] MainProcess allsky.detectNight() #1558: Sun altitude: -26:45:24.7
Mar 21 21:02:22 allsky [INFO] MainProcess allsky.run() #1033: Exposure state: BUSY
Mar 21 21:02:22 allsky [INFO] MainProcess allsky.run() #1032: Camera last ready: 29.4s
Mar 21 21:02:11 allsky [INFO] MainProcess allsky._queueManualTasks() #2397: Checking for manually submitted tasks
Mar 21 21:02:11 allsky [INFO] MainProcess indi.getTelescopeRaDec() #844: Telescope Coord: RA 8.70, Dec 44.65
Mar 21 21:02:11 allsky [INFO] MainProcess allsky.detectMoonMode() #1575: Moon altitude: -27:34:36.7, phase 0.1%
Mar 21 21:02:11 allsky [INFO] MainProcess allsky.detectNight() #1558: Sun altitude: -26:43:42.4
Mar 21 21:02:11 allsky [INFO] MainProcess allsky.run() #1033: Exposure state: BUSY
Mar 21 21:02:11 allsky [INFO] MainProcess allsky.run() #1032: Camera last ready: 18.3s
Mar 21 21:02:00 allsky [INFO] MainProcess allsky._queueManualTasks() #2397: Checking for manually submitted tasks
Mar 21 21:02:00 allsky [INFO] MainProcess indi.getTelescopeRaDec() #844: Telescope Coord: RA 8.70, Dec 44.65
Mar 21 21:01:59 allsky [INFO] MainProcess allsky.detectMoonMode() #1575: Moon altitude: -27:32:57.4, phase 0.1%
Mar 21 21:01:59 allsky [INFO] MainProcess allsky.detectNight() #1558: Sun altitude: -26:42:00.0
Mar 21 21:01:59 allsky [INFO] MainProcess allsky._fileUploadWorkerStart() #893: Starting FileUploader process 3
Mar 21 21:01:59 allsky [INFO] MainProcess allsky._startVideoWorker() #830: Starting VideoWorker process 3
Mar 21 21:01:59 allsky [INFO] MainProcess allsky._startImageWorker() #765: Starting ImageWorker process 3
Mar 21 21:01:59 allsky [INFO] MainProcess allsky.run() #1033: Exposure state: BUSY
Mar 21 21:01:59 allsky [INFO] MainProcess allsky.run() #1032: Camera last ready: 6.6s
Mar 21 21:01:58 allsky [INFO] MainProcess allsky.run() #1243: Total time since last exposure 102.6227 s
Mar 21 21:01:57 allsky [INFO] MainProcess libcamera.setCcdExposure() #192: image command: libcamera-still --immediate --nopreview --encoding png --quality 100 --gain 1 --shutter 20000000 --metadata /tmp/tmppgwpi5tu.json --metadata-format json --output /tmp/tmpuu555usk.png
Mar 21 21:01:57 allsky [INFO] MainProcess allsky.shoot() #1795: Taking 20.00000000 s exposure (gain 1)
Mar 21 21:01:57 allsky [WARNING] MainProcess allsky.periodic_tasks() #976: Periodic tasks triggered
Mar 21 21:01:57 allsky [WARNING] FileUploader002 uploader.saferun() #118: Goodbye
Mar 21 21:01:57 allsky [INFO] MainProcess allsky._fileUploadWorkerStop() #939: Stopping FileUploadWorker process
Mar 21 21:01:57 allsky [WARNING] VideoWorker002 video.saferun() #154: Goodbye
Mar 21 21:01:57 allsky [INFO] MainProcess allsky._stopVideoWorker() #866: Stopping VideoWorker process
Mar 21 21:01:57 allsky [WARNING] ImageWorker002 image.saferun() #225: Goodbye
Mar 21 21:01:57 allsky [INFO] ImageWorker002 miscDb.addImage() #171: Adding image /var/www/html/allsky/images/ccd_8b13b96a-4d49-4f70-973a-d45ce2c507e9/20230321/night/21_21/ccd1_20230321_210152.jpg to DB
Mar 21 21:01:57 allsky [INFO] ImageWorker002 image.write_img() #1081: Image compressed in 0.4248 s
Mar 21 21:01:57 allsky [INFO] ImageWorker002 image.processImage() #426: Image processed in 4.5321 s
Mar 21 21:01:56 allsky [INFO] ImageWorker002 image.white_balance_manual_bgr() #2151: Applying manual color balance settings
Mar 21 21:01:55 allsky [INFO] ImageWorker002 scnr.maximum_neutral() #89: SCNR maximum neutral in 0.0178 s
Mar 21 21:01:55 allsky [INFO] ImageWorker002 stars.detectObjects() #86: Found 4 objects
Mar 21 21:01:55 allsky [INFO] ImageWorker002 stars.detectObjects() #84: Star detection in 1.4790 s
Mar 21 21:01:54 allsky [INFO] ImageWorker002 detectLines.detectLines() #81: Detected 0 lines
Mar 21 21:01:54 allsky [INFO] ImageWorker002 detectLines.detectLines() #78: Line detection in 0.1695 s
Mar 21 21:01:53 allsky [WARNING] ImageWorker002 image.recalculate_exposure() #1309: New calculated exposure: 20.000000
Mar 21 21:01:53 allsky [INFO] ImageWorker002 image.calculate_histogram() #1213: Brightness average: 43.57
Mar 21 21:01:53 allsky [INFO] ImageWorker002 image.processImage() #323: Image: 4056 x 3040
Mar 21 21:01:53 allsky [INFO] ImageWorker002 sqm.calculate() #42: Weighted SQM average: 40.74
Mar 21 21:01:53 allsky [INFO] ImageWorker002 sqm.calculate() #37: Raw SQM average: 40.74
Mar 21 21:01:53 allsky [INFO] ImageWorker002 sqm.calculate() #21: Exposure: 20.000000, gain: 1
Mar 21 21:01:53 allsky [WARNING] ImageWorker002 image._calibrate() #1844: Dark not found: ccd1 8bit 20.0000000s gain 1 bin 2 16.00c
Mar 21 21:01:53 allsky [WARNING] ImageWorker002 image._calibrate() #1826: Temperature matched dark not found: 16.00c
Mar 21 21:01:53 allsky [INFO] ImageWorker002 image._calibrate() #1809: Searching for dark frame: gain 1, exposure >= 20.0, temp >= 16.0c
Mar 21 21:01:53 allsky [WARNING] ImageWorker002 image._calibrate() #1797: Bad Pixel Map not found: ccd1 8bit 20.0000000s gain 1 bin 2 16.00c
Mar 21 21:01:53 allsky [WARNING] ImageWorker002 image._calibrate() #1779: Temperature matched bad pixel map not found: 16.00c
Mar 21 21:01:53 allsky [INFO] ImageWorker002 image._calibrate() #1762: Searching for bad pixel map: gain 1, exposure >= 20.0, temp >= 16.0c
Mar 21 21:01:53 allsky [INFO] ImageWorker002 image._detectBitDepth() #1706: Image max value: 255
Mar 21 21:01:53 allsky [INFO] ImageWorker002 image.add() #1653: Image bits: 8, cfa: None
Mar 21 21:01:52 allsky [INFO] MainProcess allsky._stopImageWorker() #808: Stopping ImageWorker process
Mar 21 21:01:52 allsky [WARNING] MainProcess allsky.run() #1206: Restarting processes
Mar 21 21:01:52 allsky [INFO] MainProcess allsky.run() #1174: Exposure received in 102.6227 s (82.6227)
Mar 21 21:01:48 allsky [INFO] MainProcess allsky._queueManualTasks() #2397: Checking for manually submitted tasks
Mar 21 21:01:48 allsky [INFO] MainProcess indi.getTelescopeRaDec() #844: Telescope Coord: RA 8.70, Dec 44.65
Mar 21 21:01:48 allsky [INFO] MainProcess allsky.detectMoonMode() #1575: Moon altitude: -27:31:12.8, phase 0.1%
Mar 21 21:01:48 allsky [INFO] MainProcess allsky.detectNight() #1558: Sun altitude: -26:40:12.1
Mar 21 21:01:48 allsky [INFO] MainProcess allsky.run() #1033: Exposure state: BUSY
Mar 21 21:01:48 allsky [INFO] MainProcess allsky.run() #1032: Camera last ready: 98.0s
</code>

Any idea? Any hint on how to try to reset the config?

MS

Read More...