Wow, the forums have changed! I admit I have not recently updated my stellarmate for fear I run into issues, but anyways, here’s a workaround I ran into for getting more than one Astromechanics focuser working- I plan on adding more to a single mount, with multiple cameras so this was an important hurdle for me.
Setup
- KStars/Ekos stable-3.8.5 on Win11, connecting remotely to the StellarMate (INDI server on port 7624, with INDI Web Manager enabled in the Ekos profile)
- StellarMate 1.8.8, INDI 2.1.3 (libindi1 2.1.3+z+stable~20250405142126, arm64)
- Two Astromechanics focuser controllers (
indi_astromechfocv0.2), both FTDI FT232R, at 38400 baud with auto-search off - Also on the rig: Pegasus NYX-101, Pegasus UPB, ZWO ASI1600MM Pro, ASI183MC Pro, ASI120MM Mini, ZWO EFW
Problem
indi_astromechfoc runs one device per driver process, so a second unit needs a second driver instance with its own name. I made an alias in KStars (Tools → Devices → Custom Drivers): name and label “Astromechanics FOC 2”, exec indi_astromechfoc. It showed up in the Focuser list and I added it to the profile. But after restarting KStars and the profile, the INDI Control Panel still had only one “Astromechanics FOC” tab. The log repeated Port /dev/serial/by-id/...AG0KYLDE-if00-port0 is already used by another driver or process.
Cause
Asking the Web Manager’s API (/api/server/drivers) for its running drivers showed it had started only one Astromechanics FOC. The alias exists only in KStars’s local database on the client. The Web Manager on the Pi has no driver by that label, so it silently drops it when Ekos sends the profile. No error appears on the client side.
Fix
I couldn’t SSH in, so I ran this from a terminal on the StellarMate itself:
sudo tee /usr/share/indi/astromech_foc2.xml >/dev/null <<'EOF'
<driversList><devGroup group="Focusers"><device label="Astromechanics FOC 2" manufacturer="Astromechanics"><driver name="Astromechanics FOC 2">indi_astromechfoc</driver><version>0.2</version></device></devGroup></driversList>
EOF
sudo reboot
(systemctl restart indiwebmanager failed because there’s no unit by that name on StellarMate, so I rebooted instead.)
After reboot I restarted the profile from Ekos. Both tabs appeared, and I pinned each focuser to its own /dev/serial/by-id/ port (Connection tab, auto-search off), connected them, and saved each config. Seems to be working fine now. We’ll see what other issues might come up when I have the dual-lens rig under clear skies ![]()
Suggestions
- When Ekos sends a profile to a remote Web Manager, it could send custom/alias drivers too, or at least warn when the server doesn’t know a driver label.
- The Custom Drivers dialog could say that aliases are client-only when the profile is remote.