Script - 2 Star alignment
Posted: Fri May 08, 2026 2:10 pm
Good morning everyone. I have a Skywatcher Az/GTI and I usually do two-star alignment. But since I have a limited field of view, I ended up creating a script to create a list of two stars and rank them according to their position, magnitude, and separation.
The script connects to the Stellarium server (via localhost:8090), checks the stars' positions relative to my current date, time, and location, and creates the list. Then the script lists the two stars and sends them to the sequencer to perform the alignment. During alignment, the sequencer performs plate solve, syncs the first star, and then goes to the second star and does the same procedure. The script starts automatically when I open Sharpcap and creates the list. Then it's just a matter of running the sequencer for alignment.
Finally, to test the quality, it returns to the second star and checks its centering on the screen.
My question is: the sequence opens a prompt for me to choose the first star to perform the plate solve, then after it finishes, it opens the prompt again for the second star. Instead of opening the prompt, is there a way to make the sequence go directly to the plate solve without showing the prompt for me to choose the star?
I'm waiting clear skies to test it.
The script connects to the Stellarium server (via localhost:8090), checks the stars' positions relative to my current date, time, and location, and creates the list. Then the script lists the two stars and sends them to the sequencer to perform the alignment. During alignment, the sequencer performs plate solve, syncs the first star, and then goes to the second star and does the same procedure. The script starts automatically when I open Sharpcap and creates the list. Then it's just a matter of running the sequencer for alignment.
Finally, to test the quality, it returns to the second star and checks its centering on the screen.
My question is: the sequence opens a prompt for me to choose the first star to perform the plate solve, then after it finishes, it opens the prompt again for the second star. Instead of opening the prompt, is there a way to make the sequence go directly to the plate solve without showing the prompt for me to choose the star?
I'm waiting clear skies to test it.