×

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

Bi-monthly release with minor bug fixes and improvements

Status reporting

  • Posts: 56
  • Thank you received: 6
Hi there - this is probably a simple question but I'm not seeing the answer in the docs - I've written a client for the Raspberry Pi that shows the current object being pointed at, RA/DEC, localtime/UT, and IP for a telescope connected to the Pi . The Pi has a 320x480 touchscreen display. It will sit in the secondary cage of my new 16" project and eventually allow me to set up object tours and so on from the touchscreen, as well as obviously allowing control of the scope through remote INDI clients.

I'd like to display the current telescope status (ie PARKED/SLEWING/TRACKING) on the display screen but don't see an attribute that shows this status. Is there anything in the API I can use?
4 years 10 months ago #39360

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

Replied by Jasem Mutlaq on topic Status reporting

Status of EQUATORIAL_COORD

Idle --> Idle
OK --> Tracking
Busy --> Slewing
Alert --> Problem

For parking, check the TELESCOPE_PARK property and the corresponding switches to know if mount is parked or not.
4 years 10 months ago #39362

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

  • Posts: 105
  • Thank you received: 30
4 years 10 months ago #39363

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

  • Posts: 56
  • Thank you received: 6

Replied by Gord Tulloch on topic Status reporting

Sorry, I'm a python newbie and it doesn't seem real clear how to access these attributes - I only seem to get NONE when I try to access using:

telescope_status=device_telescope.getNumber("EQUATORIAL_COORD")

How do you access this data? The API document implies that only RA and DEC are stored in this array which is also confusing...
Last edit: 4 years 10 months ago by Gord Tulloch.
4 years 10 months ago #39381

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

  • Posts: 105
  • Thank you received: 30
4 years 10 months ago #39383

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

Time to create page: 0.624 seconds