Kevin replied to the topic 'Astroberry + macOS Shortcuts + Siri PoC' in the forum. 1 year ago

Placeholder for added REST endpoints on astroberry.

POST /api/indi/schedulers/start (Trigger a schedule)
GET /api/indi/schedulers (array of schedule names to choose from)
GET /api/indi/schedulers/{scheduleName} (returns the schedule in JSON)

Read More...

Kevin replied to the topic 'Astroberry + macOS Shortcuts + Siri PoC' in the forum. 1 year ago

Successfully triggered started schedule.

Read More...

Kevin created a new topic ' Astroberry + macOS Shortcuts + Siri PoC' in the forum. 1 year ago

Hi all. Not sure where I'll take this, but I just completed a proof of concept to control INDI devices via Siri & macOS shortcuts.

What I did.
Created a Python script to get the RA + DEC of a target in the sky from the catalog name like "M31".
Send this using iface.sendProperty.
Created a REST endpoint on the RPi4 to receive what target to trigger and then route this request to the above Python script.
Finally, call the REST endpoint via Siri Shortcut

I do have an issue right now where there is an exception thrown on the 3rd or 4th image capture.

I'm thinking of other ideas such as:
Sub duration
Total target time
Trigger a schedule

Takeaways:
On device target to RA/DEC library instead of external API call
Best way to get "best for tonight" list?
What safety checks work out of the box? (below horizon, Sun, etc...)


Original post
www.cloudynights.com/topic/850540-astrob...-shortcuts-siri-poc/

Read More...

So it's almost been a week that I've been stuck. I don't know if I have a driver corruption, or some other incompatibility. I get stability issues as a developer so let's work through this...

All I'm trying to do is use Ekos to polar align. And it just hangs in capturing. Should it take minutes? I can capture images in Canon or GPhoto and see them in the FITS viewer. However, if I switch from Native to FITS format in capture, it also hangs. Could these be related since polar alignment uses FITS? I'm also downloaded Astrometry index files to my Mac which is running KStars. I have "Remote" selected, but the index files are on my Mac and not the pi, is this the issue? What should be the setup?

I've installed KStars 3.5.1 (yup, old polar align assistant doesn't work either), 3.5.2 and 3.5.3 Beta. All the same.

I also attempted to sudo apt-add-repository ppa:mutlaqja/libgphoto2, but that fails because Raspbian/buster distribution.

Pi3B+ running Astroberry v2.0.3.

Read More...

Kevin replied to the topic 'Polar Alignment Fails to parse RAW' in the forum. 3 years ago

I think this is related to this thread. indilib.org/forum/ccds-dslrs/6707-canon-eos-ra.html

Read More...

Kevin replied to the topic 'Polar Alignment Fails to parse RAW' in the forum. 3 years ago

I would say that this is still an issue. I just realized the only way I got this to work with the correct pixel size was that I also set it to JPEG. If I select RAW or cRAW on the INDI driver config, the new 3.5.2 Polar Alignment does not work.

Read More...

Kevin replied to the topic 'Polar Alignment Fails to parse RAW' in the forum. 3 years ago

Oops. The max width and height somehow changed. Even after fixing, I still can't set the bits per pixel to 14.

Read More...

Kevin replied to the topic 'Polar Alignment Fails to parse RAW' in the forum. 3 years ago

I figured out the issue, the pixel size was not correct in KStars. I can't seem to set the Bits per pixel to 14 though, which is what I see on a specification page for my camera. Now I just have to test on a clear night.  



Read More...

Kevin created a new topic ' Polar Alignment Fails to parse RAW' in the forum. 3 years ago

Up front - I just started to use a Pi for Astro. Apparently I'm starting on a new Polar Alignment tool in KStars 3.5.2 running on my Mac. I have Astroberry running on a Raspberry Pi 3B+.

My INDI logs on my Canon EOS RP driver says the following when attempting to image/solve. Also, I'm able to see a single image if I use the camera and "Capture a preview", and I can see each image if I setup a sequence.2021-04-22T02:54:02: [ERROR] Exposure failed to parse raw image.
2021-04-22T02:54:02: [ERROR] Cannot open /tmp/indi_fZDGyw: Unsupported file format or not RAW file

2021-04-22T02:53:59: [INFO] Starting 1 seconds exposure.
2021-04-22T02:53:59: [ERROR] Exposure failed to parse raw image.
2021-04-22T02:53:59: [ERROR] Cannot open /tmp/indi_xJVBv2: Unsupported file format or not RAW file
2021-04-22T02:53:55: [INFO] Starting 1 seconds exposure.
2021-04-22T02:53:55: [ERROR] Exposure failed to parse raw image.
2021-04-22T02:53:55: [ERROR] Cannot open /tmp/indi_havdaa: Unsupported file format or not RAW file
2021-04-22T02:53:50: [INFO] Starting 1 seconds exposure.
2021-04-22T02:52:20: [INFO] Detected Canon.Inc Model Canon EOS RP.Thoughts?

Read More...