×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

New All Sky camera management software: indi-allsky

  • Posts: 2247
  • Thank you received: 223
Also this one:
Failed to connect to bus: Operation not permitted (consider using --machine=<user>@.host --user to connect to bus of other user)

Resolved from a previous post of mine in this thread:
export XDG_RUNTIME_DIR=/run/user/$(id -u)
Last edit: 1 year 1 month ago by Gonzothegreat.
1 year 1 month ago #90236

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

  • Posts: 2247
  • Thank you received: 223
Flask command issue.

./setup.sh: line 1848: flask: command not found

heidenrod@heidenrod-obs:~/GitHubstuff/indi-allsky$ pip3 list | grep -i flask
Flask 2.2.2
Flask-Login 0.6.2
Flask-Migrate 4.0.4
Flask-SQLAlchemy 3.0.3
Flask-WTF 1.1.1
heidenrod@heidenrod-obs:~/GitHubstuff/indi-allsky$


RESOLVED:
I've added the direct path to flask in the setup.sh file
Last edit: 1 year 1 month ago by Gonzothegreat.
1 year 1 month ago #90239

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

  • Posts: 255
  • Thank you received: 65
I am happy you got it resolved.

It looks to me like the python modules were setup without a virtual environment. The setup.sh script assumes a virtual environment will be used. If it is not, the gunicorn service will also have to be updated.
1 year 1 month ago #90244

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

  • Posts: 207
  • Thank you received: 14
Hi Aaron. Any pointers to good config.json and other settings for pi HQ imx477 camera ?
I have it working (pi4, bullseye, arm64, astroberry repo, latest indi-allsky git), but
I am having issues with too low exposure (esp night) and green glow issue, so white balance is way off.
Cheers,
Nick
1 year 1 month ago #90433

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

  • Posts: 34
  • Thank you received: 1
Just installed this, on my Raspberry Pi 4 2 GB with a Pi HQ camera.

It won't allow me to save any any changes made in config tab. I just get the message: "Please fix the errors above. And the issues then seems to be that it says that IMX477 is an invalid camera interface. No pictures seem to be taken.

What do I do?
1 year 1 month ago #90465

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

  • Posts: 255
  • Thank you received: 65
What lens are you using and what are your exposure settings?

For the green bias, enable the SCNR setting with Maximum Neutral and it should correct that issue.
1 year 1 month ago #90499

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

  • Posts: 255
  • Thank you received: 65
I found a typo that would have prevented selecting the IMX477 and IMX378 cameras.

Fixed in github.com/aaronwmorris/indi-allsky/pull/561
1 year 1 month ago #90500

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

  • Posts: 34
  • Thank you received: 1
Thank you, that sorted that problem out.

Now, here's where I am stuck at the moment:

"Feb 13 11:32:09 raspberrypi [ERROR] ImageWorker001 image.saferun() #256: Frame not found: /tmp/tmpuw5wsrgt.dng
Feb 13 11:32:09 raspberrypi [INFO] MainProcess allsky.run() #1073: Exposure received in 0.1482 s (0.1472)
Feb 13 11:32:09 raspberrypi [ERROR] MainProcess libcamera.getCcdExposureStatus() #246: libcamera sensor temperature key not found
Feb 13 11:32:09 raspberrypi [ERROR] MainProcess libcamera.getCcdExposureStatus() #230: Metadata file not found: [Errno 2] No such file or directory: '/tmp/tmprmdl_eew.json'
Feb 13 11:32:09 raspberrypi [ERROR] MainProcess libcamera.getCcdExposureStatus() #221: libcamera-still error: b"ERROR: *** unrecognised option '--metadata-format' ***\n"
Feb 13 11:32:09 raspberrypi [ERROR] MainProcess libcamera.getCcdExposureStatus() #221: libcamera-still error: b'Camera closed\n'
Feb 13 11:32:09 raspberrypi [ERROR] MainProcess libcamera.getCcdExposureStatus() #221: libcamera-still error: b'Tearing down requests, buffers and configuration\n'
Feb 13 11:32:09 raspberrypi [ERROR] MainProcess libcamera.getCcdExposureStatus() #221: libcamera-still error: b'Camera stopped!\n'
Feb 13 11:32:09 raspberrypi [ERROR] MainProcess libcamera.getCcdExposureStatus() #221: libcamera-still error: b'Closing Libcamera application(frames displayed 0, dropped 0)\n'
Feb 13 11:32:09 raspberrypi [INFO] MainProcess allsky.run() #1142: Total time since last exposure 15.0102 s
Feb 13 11:32:09 raspberrypi [INFO] MainProcess libcamera.setCcdExposure() #181: image command: libcamera-still --immediate --nopreview --raw --denoise off --awbgains 1,1 --gain 1 --shutter 1000 --metadata /tmp/tmprmdl_eew.json --metadata-format json --output /tmp/tmpuw5wsrgt.dng
Feb 13 11:32:09 raspberrypi [INFO] MainProcess allsky.shoot() #1720: Taking 0.00100001 s exposure (gain 1)
Feb 13 11:32:01 raspberrypi [INFO] MainProcess allsky._queueManualTasks() #2295: Checking for manually submitted tasks
Feb 13 11:32:01 raspberrypi [INFO] MainProcess indi.getTelescopeRaDec() #834: Telescope Coord: RA 21.12, Dec 58.29
Feb 13 11:32:01 raspberrypi [INFO] MainProcess allsky.detectMoonMode() #1519: Moon altitide: -16:16:12.9, phase 52.6%
Feb 13 11:32:01 raspberrypi [INFO] MainProcess allsky.detectNight() #1502: Sun altitude: 17:55:01.2
Feb 13 11:32:01 raspberrypi [INFO] MainProcess allsky.run() #933: Exposure state: READY
Feb 13 11:32:01 raspberrypi [INFO] MainProcess allsky.run() #932: Camera last ready: 7.2s
Feb 13 11:31:54 raspberrypi [ERROR] ImageWorker001 image.saferun() #256: Frame not found: /tmp/tmpu219gxwm.dng"

What am I missing here? Some settings and additional configuration to be made?
Last edit: 1 year 1 month ago by Simon Andersson. Reason: Quoting did not work
1 year 1 month ago #90507

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

  • Posts: 207
  • Thank you received: 14
Aaron. Not sure if that reply was for me, I'm using an F2 1.55mm lens, pi4 running arm64 bullseye, pi HQ camera (IMX477), Astroberry arm64 repo (indi 1.9.x).I've changed to SNCR (Maximum Neutral). The exposures are at default settings I think. The colours are still quite greenish but not as bad as before.A few other points. As someone else has remarked the web configuration throws an error (no error actually shown). Presently I am editing/etc/indi-allsky/config.json and then go to "system->services-Reload Config" to update the values. Also the original allsky allows to see live image during the day without having to save .jpg files.I've turned off day capture and that seems to have turned off latest.jpg.Is it possible to make it work like the old one so I can keep an eye on the weather during the day via web page, without fillling up the drive ?
Lastly, I don't seem to get a night timelapse - I get message saying timelapse failed. I downloaded the night .jpg's and ran them through ffmpeg for now.

Many thanks.
Nick
1 year 1 month ago #90531
Attachments:

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

  • Posts: 255
  • Thank you received: 65
Are you running Raspbian 11 64-bit? If you are, try running "sudo apt-get update" and "sudo apt-get upgrade" to get the latest packages. Raspbian 10 will not work for the libcamera support.
1 year 1 month ago #90534

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

  • Posts: 255
  • Thank you received: 65
If you pull down the latest code, it should correct the issue with saving the config.

If you want daytime images, but no daytime timelapse, you can enable "Daytime Capture" but disable "Daytime Timelapse". This will create the latest.jpg, but not save the files historically.

The night time timelapse probably failed due to out of memory errors. Even 4GB is not enough memory to build a full 4K timelapse. If you set the "FFMPEG Scaling" option to 75%, that should allow the timelapse to be built.
1 year 1 month ago #90535

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

  • Posts: 207
  • Thank you received: 14
Hi Aaron. Yes correct version:

PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="www.debian.org/"
SUPPORT_URL="www.debian.org/support"
BUG_REPORT_URL="bugs.debian.org/"
pi@picam:~ $ arch
aarch64
1 year 1 month ago #90536

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

Time to create page: 2.166 seconds