×
INDI Library v1.8.1 Released (09 Sep 2019)

Monthly maintenance release INDI v1.8.1

Status reporting

3 months 4 weeks ago
gordtulloch
Fresh Boarder
Fresh Boarder
Posts: 6
More
Topic Author
Status reporting #39360
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?

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

3 months 4 weeks ago
knro
Administrator
Administrator
Posts: 7170
Karma: 51
Status reporting #39362
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

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

3 months 4 weeks ago
mikefulb
Expert Boarder
Expert Boarder
Posts: 90
Karma: 2
More
Status reporting #39363

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

3 months 3 weeks ago 3 months 3 weeks ago by gordtulloch.
gordtulloch
Fresh Boarder
Fresh Boarder
Posts: 6
More
Topic Author
Status reporting #39381
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...

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

3 months 3 weeks ago
mikefulb
Expert Boarder
Expert Boarder
Posts: 90
Karma: 2
More

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

Time to create page: 0.520 seconds