×

INDI Library v1.7.8 Released (11 May 2019)

Mid year release of INDI Library v1.7.8 comes with a few drivers and improvements to to existing drivers.

Connecting ekos to multiple INDI servers

  • Posts: 58
  • Thank you received: 6

Connecting ekos to multiple INDI servers was created by sarkkipas

Can you make ekos connect to mutipe INDI servers running different gear sets? i.e one server has mount, guider and focuser and another has imaging ccd.
Kstars has this ability allready in device manager but not in Ekos?
3 years 9 months ago #4856

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

  • Posts: 71
  • Karma: 1
  • Thank you received: 21

Replied by Besson on topic Connecting ekos to multiple INDI servers

Hello.
You can chain the indiserver as you indiserver is a kind of device.

Have look with "indiserver --help"

As example with simulator you can do:
On first indiserver instance (As example 192.168.125.10) lunch the server with it requested drivers For example :<<indiserver -v indi_simulator_telescope>> It would run one instance connected to the telescope
On the second server you lunch it with <<indiserver -v "Telescope Simulator"@192.168.125.10 indi_simulator_focus>> It would connect the the first server and to the local fosuser.
-> "Telescope Simulator" is the name from the GetDefaultName() function. This is the name of the device you use when configure EKOS to work remote instead of local in KStars configuration.

Then you can connect via EKOs, or throuhg the device mannager (Ctrl-D) to the last indi server.

That's it. Regards
Philippe Besson
Skywatcher HEQ5, Televue 101-IS, Takahashi FS-60CB
Focus Boss II with OptecInc TCF-S focuser and Starlight Instruments HSM20 handy stepper motor
Guiding camera ZWO ASI120MM
Filterwheel OptecInc IFW
Camera not set yet
Switzerland
The following user(s) said Thank You: sarkkipas, Kaczorek, gerardvs
3 years 9 months ago #4857

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

  • Posts: 58
  • Thank you received: 6

Replied by sarkkipas on topic Connecting ekos to multiple INDI servers

Thank you.

I didn't even think of chaining them at server startup. I'll try it tonight =)
3 years 9 months ago #4858

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

  • Posts: 16
  • Karma: 1
  • Thank you received: 12

Replied by farom on topic Connecting ekos to multiple INDI servers

You can also use indiserver -v *@192.168.125.10 indi_simulator_focus for all the drivers of the first server
Last edit: 3 years 9 months ago by farom.
3 years 9 months ago #4861

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

  • Posts: 346
  • Karma: 3
  • Thank you received: 35

Replied by pauledd on topic Connecting ekos to multiple INDI servers

Do I understand this rightly? Could I start on my kstars machine an indiserver that connects only eqmod and ghoto ccd and then start another one on my raspi that only uses the focuser but also includes the kstars machine and then I connect ekos to the raspi and I should get eqmod gphoto and fokuser accessible? (sorry for the many and's) :lol: This would solve A LOT of my problems.
--= human, without Windows™ =--
pls excuse my bad english! :)
3 years 9 months ago #4873

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

Replied by knro on topic Connecting ekos to multiple INDI servers

Yup!
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
3 years 9 months ago #4874

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

  • Posts: 346
  • Karma: 3
  • Thank you received: 35

Replied by pauledd on topic Connecting ekos to multiple INDI servers

Awsome, it works! But i had to use this syntax:
indiserver -v "Astroberry Focuser"@rp:7624 indi_eqmod_telescope indi_gphoto_ccd
--= human, without Windows™ =--
pls excuse my bad english! :)
3 years 8 months ago #4891

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

  • Posts: 129
  • Thank you received: 5

Replied by noste99 on topic Connecting ekos to multiple INDI servers

Amazing as long as you work with commandline instructions. But what with ekos in Kstars?
Is it right that under ekos options you connect to a remote server being on localhost? Is ekos then launching a second indiserver on the local machine connecting to the one launched with a commandline instruction? Or is it just connecting as a client to the local commandline launched server?
I would avoid multiple indiservers passing data to each other even running on the local machine. Doesn't seem efficient to me.
Pentax K-5; Samyang 800mm F8.0;Sky-Watcher ED80 D=80mm F=600mm;ZWO ASI120MC
3 years 3 months ago #7054

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

Replied by knro on topic Connecting ekos to multiple INDI servers

I'm writing a tutorial on this topic now, so hopefully it should clear up any issues.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The following user(s) said Thank You: noste99
3 years 3 months ago #7055

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

  • Posts: 197
  • Karma: 3
  • Thank you received: 48

Replied by gerryr on topic Connecting ekos to multiple INDI servers

noste99 wrote: I would avoid multiple indiservers passing data to each other even running on the local machine. Doesn't seem efficient to me.


If you have a camera located remotely on a 'pig slow' network, ie, a wifi link, and multiple clients taking the same data, then it's more efficient to use a local server chained to the remote server. Using my example, for a year my all-sky camera was on the other end of a wifi link, and two clients taking the images from it. If both clients connect directly to the remote server, then two copies of each image are sent over wifi. But with a local server daisy chained to the remote end, then only one copy of the image is sent over the wifi link, and the local server sends one copy to each local client.

What is most efficient really depends on the rest of what is happening, and no one size fits all in this case.
3 years 3 months ago #7067

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

Time to create page: 1.382 seconds