×

INDI Library v1.9.8 Released (29 Sep 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

problem with Indi and EQdirect

  • Posts: 5
  • Thank you received: 0
Hi all,
I am new to Indi, and I am trying to use it to control an EQ-G mount from a Raspberry Pi using this cable
www.pierro-astro.com/materiel-astronomiq...-orion-sirius_detail


When I try launching these commands

indiserver -v indi_eqmod_telescope

or

indiserver -v indi_synscan_telescope

I get the following output:
indiserver -v indi_eqmod_telescope
2022-06-04T20:22:40: startup: indiserver -v indi_eqmod_telescope
2022-06-04T20:22:40: Driver indi_eqmod_telescope: pid=31385 rfd=3 wfd=6 efd=7
2022-06-04T20:22:40: listening to port 7624 on fd 4
2022-06-04T20:22:40: Driver indi_eqmod_telescope: snooping on GPS Simulator.GEOGRAPHIC_COORD
2022-06-04T20:22:40: Driver indi_eqmod_telescope: snooping on GPS Simulator.TIME_UTC
2022-06-04T20:22:40: Driver indi_eqmod_telescope: snooping on Dome Simulator.DOME_PARK
2022-06-04T20:22:40: Driver indi_eqmod_telescope: snooping on Dome Simulator.DOME_SHUTTER
2022-06-04T20:22:40: Driver indi_eqmod_telescope: Using prefix /usr/share/indi//indi_eqmod_sk.xml
2022-06-04T20:22:40: Driver indi_eqmod_telescope: Using prefix /usr/share/indi//indi_align_sk.xml
2022-06-04T20:22:40: Driver indi_eqmod_telescope: Using prefix /usr/share/indi//indi_eqmod_simulator_sk.xml
2022-06-04T20:22:40: Driver indi_eqmod_telescope: Using prefix /usr/share/indi//indi_eqmod_scope_limits_sk.xml
2022-06-04T20:22:40: Driver indi_eqmod_telescope: EnumeratePlugins - found plugin Nearest Math Plugin
2022-06-04T20:22:40: Driver indi_eqmod_telescope: EnumeratePlugins - found plugin SVD Math Plugin

indiserver -v indi_synscan_telescope
2022-06-04T20:26:25: startup: indiserver -v indi_synscan_telescope
2022-06-04T20:26:25: Driver indi_synscan_telescope: pid=31397 rfd=3 wfd=6 efd=7
2022-06-04T20:26:25: listening to port 7624 on fd 4
2022-06-04T20:26:25: Driver indi_synscan_telescope: snooping on GPS Simulator.GEOGRAPHIC_COORD
2022-06-04T20:26:25: Driver indi_synscan_telescope: snooping on GPS Simulator.TIME_UTC
2022-06-04T20:26:25: Driver indi_synscan_telescope: snooping on Dome Simulator.DOME_PARK
2022-06-04T20:26:25: Driver indi_synscan_telescope: snooping on Dome Simulator.DOME_SHUTTER

It looks like indiserver is connecting to a simulator in both cases. Is it the case?
What makes me think this is the case is that the output does not change when I run the command when the mount is disconnected or off.

Any idea of how to debug this?

I am able to control the mount using EQMac and the EQDirect driver.
Is there an EQdirect equivalent for indi?

Thanks

bye

Dave
4 months 1 day ago #83366

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

  • Posts: 429
  • Thank you received: 156
Snooping is a term used in INDI for getting information from other devices in the system. In this case the mount driver can utilitize time and location information from a GPS driver and as you probably don't have any specified, it uses the simulators by default. That doesn't actually do anything unless you start changing location or time in the simulator so it's harmless, nothing to do with controlling the mount as such. For EQDirect cable you should use EQMod driver, Synscan driver is used to drive the mount via the hand controller serial port in non-PC direct mode. In both cases you need to select the serial port and connect to it from a client application like KStars before there is any more output from the driver.
Remote observatory running Ubuntu 21.10 x64 with ScopeDome 2M, Skywatcher EQ8, TS 8" RC, Atik 383L+, ASI178MC, ASI120MM-S, SX Lodestar X2, SX USB wheel with OAG, ZWO EAF, Gemini SnapCap, USB_DewPoint, KomaHub
Last edit: 4 months 4 hours ago by Jarno Paananen.
4 months 4 hours ago #83376

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

  • Posts: 5
  • Thank you received: 0
Thanks Jarno for your reply!
I am not sure if I understand what you mean by selecting the port via kstars.
Here is what I had understood and was planning to do. Please tell me if I was wrong and how.

I thought I would run indiserver on the rPi which is connected to the scope, tell indiserver (how?) to use a given serial port, and then connect the application to indiserver using TCP-IP (address and port).

Is that correct?
If so, how can I select the serial port on the application?

Also, I have two ports on the mount: one says hand controller, the other says auto guider. The cable I have fits the "hand controller" port.

Thanks

bye

Dave
4 months 3 hours ago #83377

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

  • Posts: 429
  • Thank you received: 156
I mean the EQDirect cable shows up as a serial port device to the Raspberry, probably named /dev/ttyUSB0 if you don't have other devices connected. By default the driver doesn't know which port to use and doesn't connect automatically, so they need to be controlled by the client application, for example KStars. Connecting the cable to hand controller port is normal for EQDirect cable. So after you connect the cable to Raspberry and start indiserver -v indi_eqmod_telescope, connect to the indiserver from KStars (possibly from other machine via TCP or locally) and open INDI control panel tab. There select EQMod mount and go to connection tab, scan for system ports and select the correct one (probaly only one shows up). This should look something like this:



I have multiple serial port devices connected and they show up in random order each reboot so I have configured a link to the correct port to be as /dev/mount, but you don't need that unless there are multiple serial port devices connected. Then go to main control tab and select Connect. That initiates the actual connection to the mount and then you can control the mount normally.



KStars can also be set up to automatically connect devices when connecting to the INDI server and that can be used after the configurations have been finalized. Don't forget to save the configuration in INDI control panel too.
Remote observatory running Ubuntu 21.10 x64 with ScopeDome 2M, Skywatcher EQ8, TS 8" RC, Atik 383L+, ASI178MC, ASI120MM-S, SX Lodestar X2, SX USB wheel with OAG, ZWO EAF, Gemini SnapCap, USB_DewPoint, KomaHub
The following user(s) said Thank You: Davide Frey
4 months 2 hours ago #83378
Attachments:

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

  • Posts: 5
  • Thank you received: 0
Thanks a lot!!!!
This is very clear now!
Thanks!
4 months 2 hours ago #83379

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

  • Posts: 5
  • Thank you received: 0
Quick update!
Everything works now! In addition to not understanding indi's behavior, I was missing a modprobe rule for the cable so the device file was not being created. I now managed to get it to work with Stellarium (I also had to update it to the latest version as mine was several years old BTW ;))

thanks again!
3 months 4 weeks ago #83402

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

Time to create page: 0.726 seconds