Kstars Geography


Written by Jonathan Eames
November 11, 2022
Background & System Architecture
It is really useful to know how Astroberry uses location information in its architecture and I highly recommend you review the Astrobeery configuration page to look at this in more detail but to summarise, your RPi runs a service called GPSD to provide location information to Astroberry itself and also your INDI GPSD service (KStars can use this).
A picture says a thousand words so please assimilate this one… complicated isn’t it.

So lets summarise this picture..
If you just use the virtual GPS service
How to connect to KStars / Ekos on your RPi desktop directly using VNC viewer
- Download and install VNC viewer on your chosen device(s);
- Create an account so your connections sync across all your devices (recommended);
- Create a new connection (File/ New Connection)
- Use most default values except for
- Enter the Static IP address (1) of your RPi and the connection a descriptive name (2);
- If you do not know it, you will need to find it from your router’s dhcp client list or from the RPi itself if it is allocated dynamically – best practice would be to assign a fixed IP to your RPi for ease, especially in the field. The default is http://astroberry.local or http://10.42.0.1 (which is the default IP address assigned by Astroberry).
- Double click the new connection to start it – you will be asked fo the astroberry password and to accept the certificate offered – save for future use when offered.
- When the Astroberry desktop opens, start KStars and configure your session etc.

How to connect to KStars / Ekos on you own Laptop / Desktop running KStars using Indi Server
- Open KStars on your remote device – start EKOS from the toolbar button to display the EKOS main window;
- Create a new profile to your RPi
- Set the mode to Remote (1);
- Tick INDI Web Manager (2);
- Enter the Host (Web Manager) IP Address (3);
- If the IP Address is not known, click Scan (4) and if a web manager is found, its IP address will be shown (5) for use above;
- Save the new Profile;
- Start the new profile and use EKOS as if connected directly.
NB In the Capture module, remember that saving images locally is on the remote computer whereas on the RPi is remote – this is reversed from a direct connection with VNC viewer.

My Conclusions
Whilst both scenarios have their use case, I prefer connecting to KStars using VNC viewer and having everything on the mount. I like that I can use a tablet to check on progress even when under a duvet!
What do you think? I welcome comments as always…
You may also like…
Astronomy automation 101
A beginners introduction to the different terms and principles of amateur astronomy automation. We...
Raspberry Pi – easier to build than you think
For the non-technical amongst us, building a Raspberry Pi for astronomy automation looks daunting...
Connecting to KStars
When connecting to KStars using a Rasperry Pi running Astroberry, there are multiple way to...
0 Comments