×

INDI Library v1.8.9 Released (01 Mar 2021)

INDI monthly update. In addition to driver improvements, major code refactoring is in progress by @pawel-soja to modernize and improve INDI aging code.

New forum users, please go here first: indilib.org/forum/new-forum-users.html

Connecting ekos to multiple INDI servers

  • Posts: 58
  • Thank you received: 6
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?
5 years 7 months ago #4856

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

  • Posts: 72
  • Thank you received: 21
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
5 years 7 months ago #4857

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

  • Posts: 58
  • Thank you received: 6
Thank you.

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

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

  • Posts: 18
  • Thank you received: 14
You can also use indiserver -v *@192.168.125.10 indi_simulator_focus for all the drivers of the first server
Last edit: 5 years 7 months ago by farom.
5 years 7 months ago #4861

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

  • Posts: 314
  • Thank you received: 34
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! :)
5 years 7 months ago #4873

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

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

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

  • Posts: 314
  • Thank you received: 34
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! :)
5 years 7 months ago #4891

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

  • Posts: 116
  • Thank you received: 5
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
5 years 1 month ago #7054

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

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
5 years 1 month ago #7055

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

  • Posts: 193
  • Thank you received: 46

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.
5 years 1 month ago #7067

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

Time to create page: 1.003 seconds