INDI Web Manager is a simple Web Application to manage INDI server. It supports multiple driver profiles along with optional custom remote drivers. It can be used to start INDI server locally, and also to connect or chain to remote INDI servers. It is especially useful to install on remote Raspberry PIs installations where you can easily startup INDI server without needing to SSH into the device. Furthermore, the Web Manager provides a RESTful API where you can issue simple calls to start and stop INDI services over the network.
For more information on the API, check the project's GitHub page.
Download the INDI Web Manager zip file. Extract the zip file:
unzip indiwebmanager-master.zip cd indiwebmanager-master
sudo apt-get -y install python-requests python-psutil python-bottle
Copy the servermanager folder to your $(HOME) (e.g. on Raspberry PI it is /home/pi) or any folder where the user has read and write access. The following command copies the servermanager directory to your home directory.
cp -rf servermanager ~/
You can perform all these operations in any file manager (e.g. Dolphin) as well. You can use the console commands where you do not have a graphical access on the target system.
The INDI Web Manager can run as a standalone server. It can be started manually by invoking python:
cd servermanager python drivermanager.py
Then using your favorite web browser, go to
http://localhost:8624 if the INDI Web Manager is running locally. If the INDI Web Manager is installed on a remote system, simply replace localhost with the host name or IP address of the remote system.
- Auto Start
To enable the INDI Web Manager to automatically start after a system reboot, a systemd service file is provided for your convenience:
[Unit] Description=INDI Web Manager After=multi-user.target [Service] Type=idle User=pi ExecStart=/usr/bin/python /home/pi/servermanager/drivermanager.py ExecStart=/usr/bin/python /home/pi/servermanager/autostart.py Restart=always RestartSec=5 [Install] WantedBy=multi-user.target
The above service files assumes you copied the servermanager directory to /home/pi, so change it to where ever you installed the directory on your target system. The user is also specified as pi and must be changed to your username.
Copy the indiwebmanager.service file to /lib/systemd/system:
sudo cp indiwebmanager.service /lib/systemd/system/ sudo chmod 644 /lib/systemd/system/indiwebmanager.service
Now configure systemd to load the service file during boot
sudo systemctl daemon-reload sudo systemctl enable indiwebmanager.service
Finally, reboot the system for your changes to take effect:
After startup, check the status of the INDI Web Manager service:
sudo systemctl status indiwebmanager.service
If all appears OK, you can start using the Web Application using any browser.
The Web Application provides a default profile to run simulator drivers. To use a new profile, add the profile name and then click the plus icon. Next, select which drivers to run under this particular profile. After selecting the drivers, click the Save icon to save all your changes. If you check Auto Start, then the profile drivers will be started on system boot up.