An INDI client is defined as any software that communicates with either INDI server and/or drivers using the INDI XML Protocol. While clients may communicate with INDI drivers directly, in practice this is uncommon and all existing clients communicate with drivers via the INDI server.

Since INDI is an XML-based protocol, it supports a wide-variety of methods to communicate with the INDI server and drivers. You can even use Telnet to communicate with INDI server and type in the XML messages directly!

To test this simple method, launch INDI server in one terminal window:

indiserver -v indi_simulator_telescope

This will launch INDI server on the default port 7624 and runs a single driver: Telescope Simulator. You should see the following output:

2017-03-01T06:51:25: Driver indi_simulator_telescope: pid=2496 rfd=3 wfd=6 efd=7
2017-03-01T06:51:25: listening to port 7624 on fd 4
2017-03-01T06:51:25: Driver indi_simulator_telescope: snooping on GPS Simulator.GEOGRAPHIC_COORD
2017-03-01T06:51:25: Driver indi_simulator_telescope: snooping on GPS Simulator.TIME_UTC
2017-03-01T06:51:25: Driver indi_simulator_telescope: snooping on Dome Simulator.DOME_PARK
2017-03-01T06:51:25: Driver indi_simulator_telescope: snooping on Dome Simulator.DOME_SHUTTER

Now open another terminal window and use Telnet to connect to the INDI server:

telnet localhost 7624

After connecting, simple type in the following to get a list of properties:

<getProperties version="1.7"/>

You should immediately see properties getting defined (only part of the properties are listed below):


Telescope Simulator

Using Telnet can be useful to test INDI server, but not useful to developed client application. For this there are multiple options:

  • C/C++ Application Development: INDI::BaseClient for POSIX systems and INDI::BaseClientQt for cross-platform development based on the Qt5 toolkit.
  • C# Application Development: INDI Sharp project consists of a .NET/Mono assembly containing a simple INDI client and a WinForm that permits to connect to astronomical equipment INDI server, and to use drivers connected at it.
  • Python Application Development: PyINDI provides all the functionality requires to communicate with INDI server and drivers.
  • Others: You can investigate many existing INDI clients, some of which are Open Source.

Officially, INDI Library provides BaseClient and BaseClientQt5 classes that encapsulates the most common functions required for a minimal INDI client. It supports:

  • Connecting to INDI servers.
  • Creation & manipulation of virtual devices: The class keeps a list of devices as they arrive from INDI server. It creates a virtual device to manage setting and retrieving the driver properties and status.
  • Event notifications: The class sends event notification when:
    • New device is created.
    • New property vector is defined.
    • New property vector is set.
    • New message from driver.
    • device property is removed
    • device is removed
    • Server connected/disconnected.

INDI is shipped with a simple client example. To find more information, read the INDI Client Development Tutorial


3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!