Chris Johnson created a new topic ' Remote Dynamic INDI' in the forum. 2 years ago

I have a question regarding dynamicly starting and stopping of indi drivers that are running on a remote server.

We currently have a bunch of indi drivers running on our local machine. We start them dynamically by creating a fifo, starting indiserver with the '-f' option, and sending the paths of the various drivers to the fifo. Some drivers are more reliable than others so we have a nice little bash script that astronomers can use to start/stop/restart each of the drivers individually.... This works our really well and has minimized late night calls.

I am at a point where I need to split up my indi drivers among multiple indiservers on different machines... for example we are now installing a zwo asi camera as our autoguider. The camera is really far away from the control computer so I put the indi driver for that camera on a pi board colocated with the camera, and phd2 is on the control computer talking to it remotely... This wotks fine, but I'd like to be able to load the indi driver dynamically, on the pi, from my main control computer.

If I start the indiserver on the pi in fifo mode, is there a way to communicate between indiservers to tell a remote server to start/stop/reload a driver? for example.. can I do something like:

echo "stop /usr/bin/indi_asi_ccd@10.0.0.2:7624" > /tmp/indififo

I tried that and it didn't seem to like it. Is there any functionality like this available? I know I can cobble something together with SSH, or maybe I can forward indififo with socat.. but sometimes its better to ask whats available and see what others have come up with.

Read More...