I didn't use Capture sequence scripts. All the KStars interaction for this is via DBus calls & signals. All the Siril interaction is via the siril_commmand.in & siril_command.out pipes.

What I do is test to make sure the Capture job queue is empty and then call the Capture start function. This creates a one frame preview job using the current settings (the same as clicking the Capture start button with no jobs in the table. Once the frame is received I pass it to Siril and watch for the stacked result. When that's ready I pass it back to Ekos for display and start Capture again. Repeat until stopped by the user.

If you want to go a similar route, learning about DBus is a good start. As well as reading around the subject I'd recommend the D-Feet and Bustle applications for manually interacting with and monitoring the DBus interfaces.

Read More...