I am making a telescope aiming aid using a camera and plate solving. I am using Alpaca to create a Telescope server that reports the plate-solved ra/dec to Sky Safari. I have this working-- Sky Safari connects to my Telescope server and puts up a bullseye at the ra/dec reported by the telescope, updating it as the telescope moves. Great!
Sometimes plate solving fails-- the telescope is moving too quickly, or the camera is out of focus. When this happens, I want the Sky Safari telescope position indicator to disappear (or change appearance); when the ra/dec becomes available again I want the telescope position indicator to re-appear.
I tried returning errors from the declination() and right_ascension() functions in my Telescope server, but Sky Safari continues to display the most recent non-error telescope position. How do I arrange to have the Alpaca telescope server signal the Sky Safari indicator to be disable and re-enabled?
Thanks,
-Steven