×

INDI Library v1.9.7 Released (29 Jul 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

Python command to get location set by phone?

  • Posts: 3
  • Thank you received: 0
I'm using Stellarmate OS and am able to successfully sync the time and location to my device using the Android app. What I would like to do once that is complete is get the GPS location KStars is using into a Python script that I have which sets up my mount. Currently it prompts for me to enter a location or defaults to my home location. The mount that I am using does not accept location from KStars which is why I have a script to set that up initially. Once that initial setup is complete everything else works fine, so I just need to figure out how to pull the current location out of KStars or wherever the Stellarmate app stores it on the Pi. I have tried looking at the dbus example for controlling KStars but that is all over my head.

Thanks
5 months 4 weeks ago #80429

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

What's your mount?
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
5 months 4 weeks ago #80432

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

  • Posts: 3
  • Thank you received: 0
OpenAstroTracker is the mount that I'm using.
5 months 1 week ago #80874

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

  • Posts: 200
  • Thank you received: 40
5 months 1 week ago #80882

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

Time to create page: 0.495 seconds