×
INDI Library v1.8.5 Released (19 Apr 2020)

April 2020 release of INDI Library v1.8.5 introduces new drivers while providing fixes and improvements to existing devices and core framework.

Re:Kstars and several scopes ...

1 year 5 months ago
Marc2b
Expert Boarder
Expert Boarder
Posts: 114
Karma: 1
More
Topic Author
Re:Kstars and several scopes ... #33771
Hello Jaseem,

First of all, a big thank you to you all for this fantastic suite of yours (Kstars/Indi/Ekos).
Even if this is the first time I'm posting here, I've been using it for decades (Kstars first in RedHat 7 or 8 ) and for years for INDI/Ekos.

Now here's an idea, I hope not so silly, about one purpose I'm trying to achieve. My idea is to manage 4 telescopes (identical) with a single (client) computer.

Reasons are :
- Power consumption. I have only a 800/1000 peak Watts generator on site, so (60W*4 for the mounts) + (100W*4 for the laptops) + accessories (4*Raspis, 1 router, red lights etc...) Well it's too close to the limit of the generator and a bigger generator means more weight (much more actually, from 12kgs to 33).

- 4 times more light gathered with four scopes while you only move the weight of ONE Scope at a time.
( Don't laugh, you'll see when you're 62 :) ) It's getting very interesting with 4 C11 ie...)

- It's also interesting in a club where several members use the same scopes/mounts.

So far, I can manage several scopes, as long as the mounts are different. I tried one Losmandy + one EQmod and it seems promissing. But if I try with 2 Losmandys or 2 EQmods, then it's game over :(

So here comes my asking: Would it be possible to give something like a simple index to an indi_* module so we can start several of them and address them all in one Kstars ?
Something like: ln -s /usr/bin/indi_simulator_telescope /usr/bin/indi_simulator_telescope1
ln -s /usr/bin/indi_simulator_telescope /usr/bin/indi_simulator_telescope2
then:
indiserver -v indi_simulator_telescope1 indi_simulator_telescope2 ... ...

then in Kstars, click right and you find your 2 scopes in the menu... QED.

Well, I'm aware it's not that simple :) You also need to be able to switch the mount in Ekos, etc...

Thanks for listening! Or am I really crazy ?

Marc.

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

1 year 5 months ago
TallFurryMan
Platinum Boarder
Platinum Boarder
Posts: 890
Karma: 13
More
Re:Kstars and several scopes ... #33776
As far as I know, you can give different names to drivers to avoid clashes. But the blocking point is on KStars.
If I can throw my 5 cents, I fiddled a bit with the possibility of controlling two CCDs by instantiating two Capture modules, but the code requires much tweaking. Scheduler on its own would be nearly able to control multiple CCDs in parallel by relying on multiple sequence files.
Controlling two mounts is also challenging in terms of code, except that in that situation everything is duplicated, a bit like two full Ekos running in parallel. Manager and Scheduler could remain unique, but must be refactored before being able to handle multiple configurations like this.
Specifically, there is a need for the ability to save the settings of Guider and Aligner in an XML file that could be reloaded later. Currently those are stored as single-instance KStars settings. Scheduler could make use of those configuration files too.
All this, of course, being cristal-clear and ergonomically obvious to everyone ;)

-Eric

HEQ5-Pro - Atik 314E - Orion ED80T - DMK21 on Orion 50mm
DIY 3D-printed Moonlite and FWheel RGB/LPR
KStars and indiserver on two Atom 1.6GHz 1GB RAM Linux, VPN remote access

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

1 year 5 months ago
Marc2b
Expert Boarder
Expert Boarder
Posts: 114
Karma: 1
More
Topic Author
Re:Kstars and several scopes ... #33778
One other solution would be to create four different accounts each account launching one instance of Kstars. On the client side, you switch between accounts with ctrlaltF2 ctrlaltF3, etc... ctrlaltF1 bringinig you back to GDM.

The scheduler being unique, you create one master and three slaves, the slaves being simply a symlink to the master scheduler file. Also the four indiservers on the four Raspis take sync to the Kstars computer through chronyd and the Kstars clients update the indiservers except for the time. a small GPS module gives the exact time and location.

A bit heavy, but it should work. Not sure I'm crystal clear myself ;)

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

1 year 5 months ago
knro
Administrator
Administrator
Posts: 8087
Karma: 51
Re:Kstars and several scopes ... #33789
Interesting idea, thanks for sharing.

I tried to work on the idea on controlling two CCDs at the same time (it was requested several times), but even that is quite challenging and would require quite a bit of rework. If we plan to add support for controlling multiple items, then it needs to be done for N items, not just two or three, but any arbitrary number. Different cameras also have different downloading times, so the scheduler/sequence have to wait until the slowest one finishes before it can move forward.

In KStars, you can assign Driver Aliases from the Custom Drivers tool. It's found in Tools --> Devices --> Custom Drivers. Here you can assign as many aliases as you want and then select them from Ekos. For managing different users, there is no solution currently to handle this in KStars. One would is to have each of time a different account on a Linux machine so they have to login to have their own settings applied.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

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

1 year 5 months ago
TallFurryMan
Platinum Boarder
Platinum Boarder
Posts: 890
Karma: 13
More
Re:Kstars and several scopes ... #33805
The multi-client facet (one kstars per setup) is relatively easy to consolidate, as long as you know what data should be shared (the observation plan) and what configuration is unique (the scope/focus/align settings). Currently the sequence embeds the CCD to which it applies, and the schedule embeds à number of séquences ? Thus to keep the schedule unique requires similar CCD/scope names for all setups.
Probably quite a few other points, but, well, in the end, that's like multiple users working in parallel. Is there a real added value facilitating this configuration from the kstars code? I suppose, but not to the extent of everything duplicated.
So yeah I'm under the impression that what we need (need? really?) to support is mainly that kind of stuff: astronomynow.com/2015/05/26/dragonflys-c...nt-galaxy-structure/ . Still a fairly limited amount of users I suppose. But oh the hype around kstars...

-Eric

HEQ5-Pro - Atik 314E - Orion ED80T - DMK21 on Orion 50mm
DIY 3D-printed Moonlite and FWheel RGB/LPR
KStars and indiserver on two Atom 1.6GHz 1GB RAM Linux, VPN remote access

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

1 year 5 months ago
Marc2b
Expert Boarder
Expert Boarder
Posts: 114
Karma: 1
More
Topic Author
Re:Kstars and several scopes ... #33806
Thanks for your answer Jasem,

I suppose the whole Ekos is a block in terms of programming. So, why not "pthread" it so each time you connect to a new indiserver, you start a new instance of Ekos. As for the data, you just store them in a folder, the name of the folder being the address of the indiserver. So, Ekos_1 stores in /home/user/.local/kstars/fedberry_1, ..., Ekos_n stores in /home/user/.local/kstars/fedberry_n.

Thanks for your time.

-Marc

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

1 year 5 months ago
kengs
Expert Boarder
Expert Boarder
Posts: 153
Karma: 3
More
Re:Kstars and several scopes ... #33831
Maybe the answer is a new kind of driver that acts as the hub for the other drivers. So EKOS could talk to that one driver and have it route the requests to each of the connected drivers.

Ubuntu 16.04 AMD64 VM, RPi3 Ubuntu Mate 16.04, Windows 10 AMD64, Ubuntu 16.04 AAEON UP Core
Avalon M-Uno, EQ6 Pro, Atik420, ASI1600MM-C, ASI120MM-S, DBK21AU04, ZWO EFW, Optec TCFSi
Vixen R150S, GSO RC8, ST80

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

Time to create page: 0.196 seconds