×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Ekos autofocus and focuser connected with windi

  • Posts: 34
  • Thank you received: 9
Hi,

I am trying to use a Focuser throught Windi server. I use the great chaining capability of indi, that is, my main indi server runs on a raspberrypi which sends commands to the focuser connected to a intel nuc or my laptop running windows 10 and Windi 32 bits version.

Once the devices are connected, every thing woks fine, all devices woks, including the focuser which responds correctly to commands sent with Ekos indi devices control panel. The content of the Windi server logs also confirms the commands as you can see hereafter.

2016-08-26 18:45:44.80 LISTENER = Starting server listener loop on 0.0.0.0:7624
2016-08-26 18:45:48.10 LISTENER = Creating protocol handler #2
2016-08-26 18:45:48.10 LISTENER = Creating wrapper for FocusSim.Focuser
2016-08-26 18:45:48.10 HANDLER#2 = Starting protocol handler loop
2016-08-26 18:45:48.10 HANDLER#2 > <getProperties device='Focuser' version='1.7'/>
2016-08-26 18:45:48.10 HANDLER#2 < <defSwitchVector device='FocusSim Focuser' name='CONNECTION' label='Connection' group='Main Control' state='Idle' perm='rw' rule='OneOfMany' timeout='0' timestamp='2016-08-26T18:45:48.1'>
2016-08-26 18:45:48.10 HANDLER#2 < <defSwitch name='CONNECT' label='Connect'>Off</defSwitch>
2016-08-26 18:45:48.10 HANDLER#2 < <defSwitch name='DISCONNECT' label='Disconnect'>On</defSwitch>
2016-08-26 18:45:48.10 HANDLER#2 < </defSwitchVector>
2016-08-26 18:45:48.10 HANDLER#2 < <defTextVector device='FocusSim Focuser' name='DRIVER_INFO' label='Driver Info' group='Options' state='Idle' perm='ro' timeout='0' timestamp='2016-08-26T18:45:48.1'>
2016-08-26 18:45:48.10 HANDLER#2 < <defText name='DRIVER_NAME' label='Name'>FocusSim Focuser</defText>
2016-08-26 18:45:48.10 HANDLER#2 < <defText name='DRIVER_EXEC' label='Exec'>INDI.exe</defText>
2016-08-26 18:45:48.10 HANDLER#2 < <defText name='DRIVER_INTERFACE' label='Interface'>8</defText>
2016-08-26 18:45:48.10 HANDLER#2 < <defText name='SERVER' label='Server'>INDI Server for Windows 2.0</defText>
2016-08-26 18:45:48.10 HANDLER#2 < <defText name='SOFTWARE_HOME' label='Home URL'>www.cloudmakers.eu
2016-08-26 18:45:48.10 HANDLER#2 < </defTextVector>
2016-08-26 18:46:14.92 HANDLER#2 > <getProperties version="1.7"/>
2016-08-26 18:46:14.92 HANDLER#2 < <defSwitchVector device='FocusSim Focuser' name='CONNECTION' label='Connection' group='Main Control' state='Idle' perm='rw' rule='OneOfMany' timeout='0' timestamp='2016-08-26T18:46:14.9'>
2016-08-26 18:46:14.92 HANDLER#2 < <defSwitch name='CONNECT' label='Connect'>Off</defSwitch>
2016-08-26 18:46:14.92 HANDLER#2 < <defSwitch name='DISCONNECT' label='Disconnect'>On</defSwitch>
2016-08-26 18:46:14.92 HANDLER#2 < </defSwitchVector>
2016-08-26 18:46:14.92 HANDLER#2 < <defTextVector device='FocusSim Focuser' name='DRIVER_INFO' label='Driver Info' group='Options' state='Idle' perm='ro' timeout='0' timestamp='2016-08-26T18:46:14.9'>
2016-08-26 18:46:14.92 HANDLER#2 < <defText name='DRIVER_NAME' label='Name'>FocusSim Focuser</defText>
2016-08-26 18:46:14.92 HANDLER#2 < <defText name='DRIVER_EXEC' label='Exec'>INDI.exe</defText>
2016-08-26 18:46:14.92 HANDLER#2 < <defText name='DRIVER_INTERFACE' label='Interface'>8</defText>
2016-08-26 18:46:14.92 HANDLER#2 < <defText name='SERVER' label='Server'>INDI Server for Windows 2.0</defText>
2016-08-26 18:46:14.92 HANDLER#2 < <defText name='SOFTWARE_HOME' label='Home URL'>www.cloudmakers.eu
2016-08-26 18:46:14.92 HANDLER#2 < </defTextVector>
2016-08-26 18:46:15.06 HANDLER#2 > <enableBLOB device="FocusSim Focuser">
Also
</enableBLOB>
2016-08-26 18:46:17.14 HANDLER#2 > <newSwitchVector device="FocusSim Focuser" name="CONNECTION">
<oneSwitch name="CONNECT">
On
</oneSwitch>
</newSwitchVector>
2016-08-26 18:46:17.14 HANDLER#2 < <defSwitchVector device='FocusSim Focuser' name='CONNECTION' label='Connection' group='Main Control' state='Ok' perm='rw' rule='OneOfMany' timeout='0' timestamp='2016-08-26T18:46:17.1'>
2016-08-26 18:46:17.14 HANDLER#2 < <defSwitch name='CONNECT' label='Connect'>On</defSwitch>
2016-08-26 18:46:17.14 HANDLER#2 < <defSwitch name='DISCONNECT' label='Disconnect'>Off</defSwitch>
2016-08-26 18:46:17.14 HANDLER#2 < </defSwitchVector>
2016-08-26 18:46:17.15 HANDLER#2 < <defTextVector device='FocusSim Focuser' name='DRIVER_INFO' label='Driver Info' group='Options' state='Idle' perm='ro' timeout='0' timestamp='2016-08-26T18:46:17.1'>
2016-08-26 18:46:17.15 HANDLER#2 < <defText name='DRIVER_NAME' label='Name'>FocusSim Focuser</defText>
2016-08-26 18:46:17.15 HANDLER#2 < <defText name='DRIVER_EXEC' label='Exec'>INDI.exe</defText>
2016-08-26 18:46:17.15 HANDLER#2 < <defText name='DRIVER_VERSION' label='Version'>0.0</defText>
2016-08-26 18:46:17.15 HANDLER#2 < <defText name='DRIVER_INTERFACE' label='Interface'>8</defText>
2016-08-26 18:46:17.15 HANDLER#2 < <defText name='SERVER' label='Server'>INDI Server for Windows 2.0</defText>
2016-08-26 18:46:17.15 HANDLER#2 < <defText name='SOFTWARE_HOME' label='Home URL'>www.cloudmakers.eu
2016-08-26 18:46:17.15 HANDLER#2 < </defTextVector>
2016-08-26 18:46:17.15 HANDLER#2 < <defSwitchVector device='FocusSim Focuser' name='FOCUS_MOTION' label='Focus motion direction' group='Main Control' state='Ok' perm='rw' rule='OneOfMany' timeout='0' timestamp='2016-08-26T18:46:17.1'>
2016-08-26 18:46:17.15 HANDLER#2 < <defSwitch name='FOCUS_INWARD' label='Inward'>Off</defSwitch>
2016-08-26 18:46:17.15 HANDLER#2 < <defSwitch name='FOCUS_OUTWARD' label='Outward'>On</defSwitch>
2016-08-26 18:46:17.15 HANDLER#2 < </defSwitchVector>
2016-08-26 18:46:17.15 HANDLER#2 < <defNumberVector device='FocusSim Focuser' name='FOCUS_STEP' label='Focus inward/outward' group='Main Control' state='Ok' perm='rw' timeout='0' timestamp='2016-08-26T18:46:17.1'>
2016-08-26 18:46:17.15 HANDLER#2 < <defNumber name='FOCUS_STEP_VALUE' label='Focus steps' format='%5.0f' min='0' max='0' step='0'>100</defNumber>
2016-08-26 18:46:17.15 HANDLER#2 < </defNumberVector>
2016-08-26 18:46:17.15 HANDLER#2 < <setSwitchVector device='FocusSim Focuser' name='CONNECTION' state='Ok' timeout='0' timestamp='2016-08-26T18:46:17.1' message='Connected...'>
2016-08-26 18:46:17.15 HANDLER#2 < <oneSwitch name='CONNECT'>On</oneSwitch>
2016-08-26 18:46:17.15 HANDLER#2 < <oneSwitch name='DISCONNECT'>Off</oneSwitch>
2016-08-26 18:46:17.15 HANDLER#2 < </setSwitchVector>
2016-08-26 18:46:18.12 DRIVER#2 < <setNumberVector device='FocusSim Focuser' name='FOCUS_STEP' state='Ok' timeout='0' timestamp='2016-08-26T18:46:18.1'>
2016-08-26 18:46:18.12 DRIVER#2 < <oneNumber name='FOCUS_STEP_VALUE'>100</oneNumber>
2016-08-26 18:46:18.12 DRIVER#2 < </setNumberVector>


Howerer if I run the Ekos autofocus module then the commands are not sent anymore to the focuser. The Ekos log says :

2016-08-34T18:47:34 Focusing inward by 100 ms...

but on the windi side, server log reports the only following :

2016-08-26 18:47:35.88 HANDLER#2 > <newSwitchVector device="FocusSim Focuser" name="FOCUS_MOTION">
<oneSwitch name="FOCUS_INWARD">
On
</oneSwitch>
</newSwitchVector>
2016-08-26 18:47:35.88 HANDLER#2 < <setSwitchVector device='FocusSim Focuser' name='FOCUS_MOTION' state='Ok' timeout='0' timestamp='2016-08-26T18:47:35.8' message='Direction set to inward'>
2016-08-26 18:47:35.88 HANDLER#2 < <oneSwitch name='FOCUS_INWARD'>On</oneSwitch>
2016-08-26 18:47:35.88 HANDLER#2 < <oneSwitch name='FOCUS_OUTWARD'>Off</oneSwitch>
2016-08-26 18:47:35.88 HANDLER#2 < </setSwitchVector>

It is just as if the command to move the focuser is not sent.

I can't say if the issue is on the Ekos side or on the windi side. I perfomed the same test with a HitecAstroDC focuser ( which has no indi driver at the moment) connected on the windi server and every things behave the same way as for the ASCOM Focuser simulator (manual operation are ok but autofocus does not send commands).

If additional informations are needed to help debugging, please let me know.

Regards,
Sebastien
7 years 7 months ago #9795

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

Does the focuser respond to commands sent within Ekos Focus module? the focus in/out buttons?
7 years 7 months ago #9818

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

  • Posts: 34
  • Thank you received: 9
No, It doesn't. Same behaviour as for autofocus: only the inward/outward commands are sent, but not the microsteps to walk.
The only way to move the focuser is to use the device control panel.
7 years 7 months ago #9825

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

Oh I just double checked the log above and the wINDI ASCOM simulator is not using INDI standard properties, will inform Peter.
7 years 7 months ago #9826

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

  • Posts: 712
  • Thank you received: 174
Fixed in version 2.2. Sebastien, pls. can you try it if it does work with your focuser? Peter

www.cloudmakers.eu/windi/
7 years 7 months ago #9919

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

  • Posts: 34
  • Thank you received: 9
Hi Peter,

Sorry for that late reply.
I just made some tests with wIndi 2.2.0, and unfortunately, the focuser still doesn't move when using the Ekos focuser module(manual ro auto). As before, wINDI logs only report direction changes but not the microsteps to move. Howerver, as I already said, everything works fine when using the indi device manager.

Let me know if you need additional informations (windi logs or ekos verbose logs).

Sebastien
7 years 7 months ago #10100

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

Time to create page: 0.671 seconds