×

INDI Library v1.7.9 Released (23 Jun 2019)

INDI Library v1.7.9 is mostly a maintenance release to fix a few bugs in several drivers.

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

  • Posts: 75
  • Thank you received: 18

indiserver: How to define the device name for a driver module? was created by DerPit

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
Last edit: 1 week 4 days ago by DerPit.
1 week 4 days ago #40159

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

  • Posts: 82
  • Thank you received: 13

Replied by wotalota on topic indiserver: How to define the device name for a driver module?

With EKos and INDI both running on your small remote machine, where is PHD2 running?
Mach1, ES80 x0.8, ASI071, ASI120 OAG, focusPro
1 week 3 days ago #40177

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

  • Posts: 75
  • Thank you received: 18

Replied by DerPit on topic indiserver: How to define the device name for a driver module?

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
1 week 3 days ago #40179

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

  • Posts: 82
  • Thank you received: 13

Replied by wotalota on topic indiserver: How to define the device name for a driver module?

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
1 week 3 days ago #40193

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

Replied by knro on topic indiserver: How to define the device name for a driver module?

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
1 week 2 days ago #40206

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

  • Posts: 75
  • Thank you received: 18

Replied by DerPit on topic indiserver: How to define the device name for a driver module?

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
1 week 1 day ago #40238

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

Time to create page: 0.478 seconds