×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

New All Sky camera management software: indi-allsky

  • Posts: 147
  • Thank you received: 16
Yes, I was being dense. But I had only recently woken up ;-)

So I fixed the web page access but the name/password isn't set so I can't log in (and the database seems very incomplete, also without thumbnails).

I'll run setup.sh again and see if I can recover from there.

Cheers,
Richard
2 months 1 week ago #99467

Please Log in or Create an account to join the conversation.

  • Posts: 268
  • Thank you received: 67
You are right, I guess the import is not exactly the minimum viable product.

You can create users/reset passwords using this: github.com/aaronwmorris/indi-allsky/wiki/Web-Interface-Password I will add this note to the wiki.
2 months 1 week ago #99469

Please Log in or Create an account to join the conversation.

  • Posts: 147
  • Thank you received: 16
I lost all my settings during this process. So I have 2 suggestions:

1. have the possibility (optional or not) to save configuration settings outside of the database (which might get overwritten/deleted during these processes)
2. (and this is generally useful, outside of reconfiguring the database) - the loop "change stretch parameters" / "wait for new image" is quite time consuming, especially if there are drifting clouds. So, since there is already the capability to capture a raw image, why not a sub-page of configuration where we can import a captured raw image and play with stretching gamma and stretching std. dev. in real time (maybe, but not necessarily, with sliders)

Cheers,
Richard
2 months 1 week ago #99470

Please Log in or Create an account to join the conversation.

  • Posts: 268
  • Thank you received: 67

This feature already exists, although you cannot just upload an arbitrary file. The feature is the "FITS processor" or "Process FITS" in the Tools menu. You have to enable FITS captures, let it capture 5-10 images, and then turn it off. You can process individual images by selecting them in the image viewer (when a FITS image is associated with it) or just edit the last FITS image by directly navigating to "Process FITS" in the Tools menu.

The FITS processor lets you play with most of the processing settings in realtime. The processing has to be done on FITS data since this is the original 16-bit data from the camera.

RAW images are kind of a misnomer in indi-allsky. They are raw in the sense that they are unaltered, but they are 8-bit, not the original 16-bit data.
2 months 1 week ago #99473

Please Log in or Create an account to join the conversation.

  • Posts: 268
  • Thank you received: 67
Every time you run setup.sh, a full backup of the database is generated. If you would like to pull an old config from one of these, I can walk you though those steps.

You can also dump the latest configuration using the config.py command.
./config.py dump
The following user(s) said Thank You: Richard Francis
2 months 1 week ago #99478

Please Log in or Create an account to join the conversation.

  • Posts: 147
  • Thank you received: 16
If you would like to pull an old config from one of these, I can walk you though those steps.

That would be very helpful, thanks. I've got most of it back but I'm having trouble reproducing the stretch parameters I was using. I was slowly getting there last night but then it clouded over and started raining, so all I could see was raindrops on the dome.
2 months 1 week ago #99484

Please Log in or Create an account to join the conversation.

  • Posts: 268
  • Thank you received: 67
I have added some additional sections at the bottom of the wiki page with info on how to extract configs from a database backup.

github.com/aaronwmorris/indi-allsky/wiki...uilding-the-database
2 months 1 week ago #99492

Please Log in or Create an account to join the conversation.

  • Posts: 403
  • Thank you received: 41
All of a sudden I get errors about temperature and no image capture.

Does anyone noticed anything similar?
Mar 12 20:52:32 lubuntu-ami [INFO] MainProcess-1219/MainThread allsky._startCaptureWorker() [288]: Starting Capture-68 worker
Mar 12 20:52:32 lubuntu-ami [ERROR] MainProcess-1219/MainThread allsky._startCaptureWorker() [281]: Capture worker exception: 
Mar 12 20:52:32 lubuntu-ami [ERROR] MainProcess-1219/MainThread allsky._startCaptureWorker() [281]: Capture worker exception: AttributeError: 'NoneType' object has no attribute 'getNumber'
Mar 12 20:52:32 lubuntu-ami [ERROR] MainProcess-1219/MainThread allsky._startCaptureWorker() [281]: Capture worker exception:           ^^^^^^^^^^^^^^^^^^^^^
Mar 12 20:52:32 lubuntu-ami [ERROR] MainProcess-1219/MainThread allsky._startCaptureWorker() [281]: Capture worker exception:     ctl = getattr(device, attr)(name)
Mar 12 20:52:32 lubuntu-ami [ERROR] MainProcess-1219/MainThread allsky._startCaptureWorker() [281]: Capture worker exception:   File "/home/lubuntu/indi-allsky/indi_allsky/camera/indi.py", line 1290, in get_control
Mar 12 20:52:32 lubuntu-ami [ERROR] MainProcess-1219/MainThread allsky._startCaptureWorker() [281]: Capture worker exception:                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mar 12 20:52:32 lubuntu-ami [ERROR] MainProcess-1219/MainThread allsky._startCaptureWorker() [281]: Capture worker exception:     ccd_temperature = self.get_control(self.ccd_device, 'CCD_TEMPERATURE', 'number', timeout=0.2)
Mar 12 20:52:32 lubuntu-ami [ERROR] MainProcess-1219/MainThread allsky._startCaptureWorker() [281]: Capture worker exception:   File "/home/lubuntu/indi-allsky/indi_allsky/camera/indi.py", line 861, in getCcdTemperature
Mar 12 20:52:32 lubuntu-ami [ERROR] MainProcess-1219/MainThread allsky._startCaptureWorker() [281]: Capture worker exception:                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mar 12 20:52:32 lubuntu-ami [ERROR] MainProcess-1219/MainThread allsky._startCaptureWorker() [281]: Capture worker exception:     temp_val = self.indiclient.getCcdTemperature()
1 month 4 weeks ago #99697

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 0
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
1 month 4 weeks ago #99716

Please Log in or Create an account to join the conversation.

  • Posts: 268
  • Thank you received: 67
I will take a look at this. I may have have a few ULN2003 stepper controllers already. It may be a month or two before I make much progress on this.
1 month 3 weeks ago #99719

Please Log in or Create an account to join the conversation.

  • Posts: 2
  • Thank you received: 0
Greetings from Denmark :-)

I just found the project last weekend, and big kudus for making it.

So I set up the indi-allsky server with a ToupTek IMX585 Color, and I can’t seam to get it to behave as expected.
I have been trying to make it work proper for over a week now and I can’t figure if I’m doing something fundamentally wrong or the driver or driver communication with this driver isn’t supported properly.

Frankly it seams random if it works or not as expected from each time I reboot the server.

I don’t want to invest in a fisheye lens, glass/plexi dome, housing etc before I know it I can get working, so I am just testing it with a cheap scope for now.
Any suggestions, config tips etc. is welcome. I really want this to work, but it feels like it is going nowhere, and if I went ahead and build a proper allsky setup I don’t want to hassle around with it several hours each time I reboot it.


I didn’t encounter any problems during the installation. It just took around 50-60 min.

3 primary problems:
1. Temperature and fan control does not seam to work. The fan is just running and temperature is not showing correct.
2. 12 or 16 bit also seam to not work properly when I choose it manually. When set to auto it sometimes work.
3. Bayer pattern, also only seams to work when set to auto.

The camera is powered by 12V 7A power supply.
USB3 cable to USB3 port on raspberry pi 4, 16 gb ram version.
Linux raspberrypi 6.1.0-rpi8-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.73-1+rpt1 (2024-01-25) aarch64 GNU/Linux

I am not sure if I misunderstand something but I have lots of questions about how this work.

When I connect remotely from my Mac OS with Kstar/Indi remote the camera works as it should, just as connecting directly to it with kstar/indi on a AstroArch, StellaMate, Astroberry etc. but then it stops working most to the times on the indi-allsky server while I am remote connected. Sometimes it does continue to run and I can change setting remotely. And when I change something in the driver settings it seams to works fine. But if I close Kstar/Indi remote without disconnecting the settings seams to stay as I set them. But if I disconnect and close the Kstar/Indi remote the camera switches off inc. fan and after a few minuts the indi-allsky server starts the camera again and settings is most often messed up and fan/temp doesn’t work again, and most often image looks messed up.

One of the questions I keep wondering is why is there a ‘INDI Camera Configuration field’ in the webpage config, when the settings seams to be represented in a field as well?

I tried this config, but I don’t think it does anything at all. I base that on if I change the resolution it has no effect. Gain the same. I tried the other version as well because I wanted to run 16 bit HDR. But I gave up on that part for now.

{
"TEXT": {},
"PROPERTIES": {
"CCD_OFFSET": {
"OFFSET": 200
},
"CCD_TEMP_RAMP": {
"RAMP_SLOPE": 5,
"RAMP_THRESHOLD": 0.5
}
},
"SWITCHES": {
"TC_CONVERSION_GAIN": {
"on": [
"GAIN_HIGH"
],
"off": [
"GAIN_LOW"
]
},
"CCD_CAPTURE_FORMAT": {
"on": [
"INDI_RAW"
]
},
"CCD_RESOLUTION": {
"on": [
"3856 x 2180"
]
}
}
}

I tried simpler versions as well without any luck.
I can't find a complete list of all the setting as there are on the Indi graphical settings.
When I set things to auto it mostly works, or at least sometimes.

A snip from the log when set to auto:
2024-03-14T18:57:29.490482+01:00 raspberrypi [INFO] Capture-10-2617/MainThread indi.getCcdInfo() [532]: Detecting bayer pattern
2024-03-14T18:57:29.951067+01:00 raspberrypi [INFO] Capture-10-2617/MainThread miscDb.addCamera() [101]: Camera DB ID: 2
2024-03-14T18:57:29.957990+01:00 raspberrypi [INFO] Capture-10-2617/MainThread indi.configureDevice() [710]: Setting switch DEBUG
2024-03-14T18:57:30.058890+01:00 raspberrypi [INFO] Capture-10-2617/MainThread indi.set_switch() [1352]: Enabling Disable (DISABLE)
2024-03-14T18:57:31.059787+01:00 raspberrypi [INFO] Capture-10-2617/MainThread indi.updateCcdBlobMode() [409]: Set BLOB mode
2024-03-14T18:57:31.060122+01:00 raspberrypi [INFO] Capture-10-2617/MainThread indi.configureDevice() [710]: Setting switch CCD_FRAME_TYPE
2024-03-14T18:57:31.160177+01:00 raspberrypi [INFO] Capture-10-2617/MainThread indi.set_switch() [1352]: Enabling Light (FRAME_LIGHT)
2024-03-14T18:57:32.161509+01:00 raspberrypi [INFO] Capture-10-2617/MainThread capture._initialize() [743]: Minimum CCD exposure: 0.30000001 (day)
2024-03-14T18:57:32.161919+01:00 raspberrypi [INFO] Capture-10-2617/MainThread capture._initialize() [761]: Minimum CCD exposure: 1.00000000 (night)
2024-03-14T18:57:32.162146+01:00 raspberrypi [INFO] Capture-10-2617/MainThread capture._initialize() [782]: Maximum CCD exposure: 10.00000000
2024-03-14T18:57:32.162322+01:00 raspberrypi [INFO] Capture-10-2617/MainThread capture._initialize() [821]: Default CCD exposure: 1.00000000
2024-03-14T18:57:32.162521+01:00 raspberrypi [ERROR] Capture-10-2617/MainThread capture._initialize() [847]: CCD day gain below minimum, changing to 100
2024-03-14T18:57:35.166789+01:00 raspberrypi [INFO] Capture-10-2617/MainThread capture.saferun() [213]: Camera last ready: 0.0s
2024-03-14T18:57:35.167326+01:00 raspberrypi [INFO] Capture-10-2617/MainThread capture.saferun() [214]: Exposure state: unset
2024-03-14T18:57:35.167696+01:00 raspberrypi [INFO] Capture-10-2617/MainThread capture.detectNight() [1185]: Sun altitude: -7:06:52.9
2024-03-14T18:57:35.168095+01:00 raspberrypi [INFO] Capture-10-2617/MainThread capture.detectMoonMode() [1203]: Moon altitude: 42:55:45.7, phase 25.2%
2024-03-14T18:57:35.268572+01:00 raspberrypi [INFO] Capture-10-2617/MainThread indi.getCcdTemperature() [868]: Sensor temperature: 25.1
2024-03-14T18:57:35.368998+01:00 raspberrypi [INFO] Capture-10-2617/MainThread indi.getTelescopeRaDec() [853]: Telescope Coord: RA 6.32, Dec 55.91
2024-03-14T18:57:35.419512+01:00 raspberrypi [INFO] Capture-10-2617/MainThread capture.shoot() [1391]: Taking 1.00000000 s exposure (gain 100)
2024-03-14T18:57:35.519880+01:00 raspberrypi [INFO] Capture-10-2617/MainThread indi.set_number() [1324]: Setting Duration (s) = 1.0
2024-03-14T18:57:35.520499+01:00 raspberrypi [INFO] Capture-10-2617/MainThread capture.saferun() [408]: Image queue depth: 0
2024-03-14T18:57:35.520782+01:00 raspberrypi [INFO] Capture-10-2617/MainThread capture.saferun() [439]: Total time since last exposure 0.2530 s
2024-03-14T18:57:37.834260+01:00 raspberrypi [INFO] Capture-10-2617/MainThread capture.saferun() [332]: Exposure received in 2.4143 s (1.4143)

I also tried another ToupTek camera, and now it lists both cameras in the admin menu to choose from. How do I delete the one I am not using? I want to remove the one that I am not using.

Any suggestions or hints to any of this?

Cheers,
Frank
1 month 3 weeks ago #99734

Please Log in or Create an account to join the conversation.

  • Posts: 2
  • Thank you received: 0
For some reason when running a 'indi_getprop | grep touptek' I saw several of the same lines twice. So I cleared with 'indi_setprop "ToupTek ATR3CMOS08300KPA.CONFIG_PROCESS.CONFIG_PURGE=On"' and '"indi_setprop "ToupTek ATR3CMOS08300KPA.CONFIG_PROCESS.CONFIG_DEFAULT=On"' and after that the camera seamed to work better and I could reboot several times to test if everything started up as it should, and it did.

I had it running for a few hours fine, until I decided to run a apt update and upgrade, and that broke the service.
It seams to be Flask that is broken, or perhaps wrong python version. Something changed for sure. I tried all the instructions I could find to repair it and the db as well. No luck.
When I run installation again it fails in the end. No matter if I run ./setup.sh or the ./web_only_setup.sh it ends with the following parse error:
'parse error: Expected another array element at line 78, column 3'
.....
**** Setting up gunicorn service ****
**** Enabling services ****
**** Setup rsyslog logging ****
**** Indi-allsky config ****
**** Flask config ****
parse error: Expected another array element at line 78, column 3
###############
### ERROR ###
###############

The setup script exited abnormally, please try to run again...

snippo@raspberrypi:~/indi-allsky $ systemctl --user status indi-allsky

Loaded: loaded (/home/snippo/.config/systemd/user/indi-allsky.service; disabled; preset: enabled)
Active: failed (Result: exit-code) since Fri 2024-03-15 15:35:22 CET; 11min ago
Duration: 3.157s
TriggeredBy: ● indi-allsky.timer
Process: 2539 ExecStart=/home/snippo/indi-allsky/virtualenv/indi-allsky/bin/python3 allsky.py --log syslog run (code=exited, status=1/FAILURE)
Main PID: 2539 (code=exited, status=1/FAILURE)
CPU: 3.307s

Mar 15 15:35:21 raspberrypi python3[2539]: ^^^^^^^^^^^^^^^^^^^^^^^^^^
Mar 15 15:35:21 raspberrypi python3[2539]: File "/usr/lib/python3.11/json/decoder.py", line 337, in decode
Mar 15 15:35:21 raspberrypi python3[2539]: obj, end = self.raw_decode(s, idx=_w(s, 0).end())
Mar 15 15:35:21 raspberrypi python3[2539]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mar 15 15:35:21 raspberrypi python3[2539]: File "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode
Mar 15 15:35:21 raspberrypi python3[2539]: raise JSONDecodeError("Expecting value", s, err.value) from None
Mar 15 15:35:21 raspberrypi python3[2539]: json.decoder.JSONDecodeError: Expecting value: line 33 column 3 (char 1467)
Mar 15 15:35:22 raspberrypi systemd[834]: indi-allsky.service: Main process exited, code=exited, status=1/FAILURE
Mar 15 15:35:22 raspberrypi systemd[834]: indi-allsky.service: Failed with result 'exit-code'.
Mar 15 15:35:22 raspberrypi systemd[834]: indi-allsky.service: Consumed 3.307s CPU time.

Dammit, it was a one week old install witch was updated only a few days ago. Thats why I always hated debian/ubuntu.. these things always happened in the past.
Is there any chance that indi-allsky will install on AstroArch or a Manjaro? I really don't wanna test it and break my AstroArch installation. It is the most stable from all the Astro distro I have tried, also compared to StellaMate. I could try it on a fresh Manjaro building everything from scratch, but I really don't wanna waste my time on if anyone already know it is will not work.

Any ideas on that, or how to solve this problem?

Cheers,
1 month 3 weeks ago #99752

Please Log in or Create an account to join the conversation.

Time to create page: 0.978 seconds