×

INDI Library v1.7.9 Released (23 Jun 2019)

INDI Library v1.7.9 is mostly a maintenance release to fix a few bugs in several drivers.

Status reporting

  • Posts: 2
  • Thank you received: 0

Status reporting was created by gordtulloch

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?
1 month 2 days ago #39360

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

Replied by knro 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.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 month 2 days ago #39362

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

  • Posts: 89
  • Karma: 2
  • Thank you received: 26

Replied by mikefulb on topic Status reporting

1 month 2 days ago #39363

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

  • Posts: 2
  • Thank you received: 0

Replied by gordtulloch 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: 1 month 1 day ago by gordtulloch.
1 month 1 day ago #39381

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

  • Posts: 89
  • Karma: 2
  • Thank you received: 26

Replied by mikefulb on topic Status reporting

1 month 1 day ago #39383

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

Time to create page: 0.541 seconds