×
INDI Library v1.8.1 Released (09 Sep 2019)

Monthly maintenance release INDI v1.8.1

indiserver: How to define the device name for a driver module?

3 months 6 days ago 3 months 6 days ago by DerPit.
DerPit
Gold Boarder
Gold Boarder
Posts: 217
Karma: 1
More
Topic Author
indiserver: How to define the device name for a driver module? #40159
So far I had manually started indiserver on my small PC at the mount, and then used EKOS on my laptop to connect to it:
indiserver indi_asi_ccd indi_asi_wheel indi_dmfc_focus  indi_ieq_telescope

Today I wanted to check if the computer is powerfull enough to also run kstars/ekos on it, and wanted to make use of ekos starting indiserver by itself. For that I had to select a mount (CEM60). This created a new configuration in ~/.indi, named iOptron CEM60_config.xml. The other one, created when running the manual indiserver command, was called iEQ_config.xml. And of course, after that change, PHD2 didn't find the mount anymore, as it was looking for the iEQ device :(
So I checked the running indi programs, but that didn't give a hint how the name had been passed to the indi_ieq_telescope program. I'd really like to use the same name for both methods so I can easily switch without having to change the configuration of PHD2. I tried 'indiserver --help' but that doesn't mention driver options...

How would I have to start indiserver to use the new device configuration file?

openSUSE Tumbleweed KStars git INDI git
GPDX+EQMOD, CEM60EC, ASI1600+EFW+ASI290 mini

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

3 months 5 days ago
wotalota
Expert Boarder
Expert Boarder
Posts: 97
More
indiserver: How to define the device name for a driver module? #40177
With EKos and INDI both running on your small remote machine, where is PHD2 running?

Mach1, ES80 x0.8, ASI071, ASI120 OAG, focusPro

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

3 months 5 days ago
DerPit
Gold Boarder
Gold Boarder
Posts: 217
Karma: 1
More
Topic Author
indiserver: How to define the device name for a driver module? #40179
That's also on the PN40. The Gemini Lake Celerons are quite powerful...

It's not the default configuration, usually I have it doing only INDI and PHD2, and connect from EKOS running on my laptop which then also does plate solving and storage. But as that has the inherent danger that things stop when the network is down I'd like to have a fallback running everything there via an x11vnc session.

I've currently switched to also manually start indiserver when running EKOS on the PN40 and connect 'remotely' to localhost. Then I get the iEQ config, just like when connecting from the laptop.

But I'd still like to know how EKOS starts indiserver/indi_ieq_telescope to use a different config name/file :o

openSUSE Tumbleweed KStars git INDI git
GPDX+EQMOD, CEM60EC, ASI1600+EFW+ASI290 mini

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

3 months 5 days ago
wotalota
Expert Boarder
Expert Boarder
Posts: 97
More
indiserver: How to define the device name for a driver module? #40193
Terminology might be different but when operating locally you use the driver name and when
indi is remote from Ekos use the display/label name. In the Ekos profile hovering on the name will show you both. I think they are also shown if you use -vv switch when running adminserver.

Mach1, ES80 x0.8, ASI071, ASI120 OAG, focusPro

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

3 months 4 days ago
knro
Administrator
Administrator
Posts: 7170
Karma: 51
indiserver: How to define the device name for a driver module? #40206

DerPit wrote: So far I had manually started indiserver on my small PC at the mount, and then used EKOS on my laptop to connect to it:
<code>indiserver indi_asi_ccd indi_asi_wheel indi_dmfc_focus indi_ieq_telescope</code>

Today I wanted to check if the computer is powerfull enough to also run kstars/ekos on it, and wanted to make use of ekos starting indiserver by itself. For that I had to select a mount (CEM60). This created a new configuration in ~/.indi, named iOptron CEM60_config.xml. The other one, created when running the manual indiserver command, was called iEQ_config.xml. And of course, after that change, PHD2 didn't find the mount anymore, as it was looking for the iEQ device :(
So I checked the running indi programs, but that didn't give a hint how the name had been passed to the indi_ieq_telescope program. I'd really like to use the same name for both methods so I can easily switch without having to change the configuration of PHD2. I tried 'indiserver --help' but that doesn't mention driver options...

How would I have to start indiserver to use the new device configuration file?


If you start INDI Server in FIFO mode, you can start drivers with specific names (see indilib.org/develop/developer-manual/92-indi-server.html ). Ekos always uses FIFO mode so that it can dynamically start/stop drivers and renames the default name (e.g. iEQ) to a more friendly label (e.g. "iOptron CEM60").

If you don't want to use Ekos and have INDI Web Manager installed and running, you can make an web API call and it would a profile with all the "correct" labels always.

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 DerPit

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

3 months 3 days ago
DerPit
Gold Boarder
Gold Boarder
Posts: 217
Karma: 1
More
Topic Author
indiserver: How to define the device name for a driver module? #40238
Thanks Jasem!
I had not looked into developer info, but that indeed explains things very well :D

openSUSE Tumbleweed KStars git INDI git
GPDX+EQMOD, CEM60EC, ASI1600+EFW+ASI290 mini

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

Time to create page: 0.694 seconds