×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Can not connet my Dobson SW Flextube 300P SynScan via Wifi

  • Posts: 10
  • Thank you received: 0
Hi, as in the subject, I can't get my Dobson working with StellarMate because StellarMate can't connect to the SynScan control.
The INDI driver info I'm using are:
Name: SynScan
Exec: indi_synscan_telescope
Version: 2.0
Interface: 5
Connection Mode: Ethernet
Server: 192.168.1.109:11882
Conection type: TCP

Trying to connect the mount, INDI claims that
"SynScan failed to connect. Please ensure the device is connected and powered on"
The mount is aligned via SynScan Pro App connected via Wifi by the same Wifi Home network used by StellarMate, so the connection is there; obviously the mount is powered on; so I can't see any other fix for the failure.
Where am I wrong?
 
2 years 8 months ago #73161

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

  • Posts: 8
  • Thank you received: 0
Hey Marco,

Try using Port 11880 and UDP. That could do the trick.
2 years 8 months ago #73182

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

  • Posts: 10
  • Thank you received: 0
Thanks for your reply Karma, but it did'nt work: same error message.
But... instead to refuse immediately the connection, with the configuration you suggested, the "led" remains yellow for a pair of seconds.
Last edit: 2 years 8 months ago by Marco Voli.
2 years 8 months ago #73222

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

Can you ping that IP address from StellarMate?
2 years 8 months ago #73230

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

  • Posts: 10
  • Thank you received: 0
Yes indeed. I connected the SynScan to my home network via WiFi; I can use it through my android tablet with the SynScan App, who shows the IP number found by the scanning of the net. More over the same IP number appears on che connection list of the router (and so the Raspberry does), so I suppose the Raspberry shoud not have problems connecting the SynScan which lays on the same network.
2 years 8 months ago #73235

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

Is the mount already aligned using 2-star alignment?
2 years 8 months ago #73238

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

  • Posts: 10
  • Thank you received: 0
In reality, during my attempts I always used the bright star alignment; I can't suspect any difference in order to have the telescope able to be connected by the INDI driver.
Today I'll try with the other alignment methods, if it works I'll remain curious about why a different alignment method makes the difference: in the end any method only define the sky model used by SynScan to calculate the movements of the telescope to point at a new object, I can't see any reason to deny the connection; that seems to me a pure software choice for which I can't understand the reasons.
2 years 8 months ago #73257

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

It shouldn't make a difference. I just meant that ANY alignment method would work. At this stage, please enable the log, there is some communication issue between you and the mount.
2 years 8 months ago #73258

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

  • Posts: 10
  • Thank you received: 0
Here are the logs I've got:

[2021-07-06T17:43:30.085 CEST INFO ][           org.kde.kstars.ekos] - Websocket Message "{\"type\":\"device_property_set\",\"payload\":{\"device\":\"SynScan\",\"property\":\"CONNECTION\",\"elements\":[{\"name\":\"CONNECT\",\"state\":1},{\"name\":\"DISCONNECT\",\"state\":0}]}}"
[2021-07-06T17:43:30.147 CEST INFO ][           org.kde.kstars.indi] - SynScan :  "[INFO] Connecting to 192.168.1.109@11882 ... "
[2021-07-06T17:43:30.149 CEST DEBG ][           org.kde.kstars.indi] - SynScan : "[DEBUG] Connection successful, attempting handshake... "
[2021-07-06T17:43:30.149 CEST DEBG ][           org.kde.kstars.indi] - SynScan : "[DEBUG] CMD <Kx> "
[2021-07-06T17:43:30.153 CEST INFO ][           org.kde.kstars.indi] - SynScan :  "[ERROR] Serial read error: Read Error: Connection refused. "
[2021-07-06T17:43:30.154 CEST DEBG ][           org.kde.kstars.indi] - SynScan : "[DEBUG] Handshake failed. "
[2021-07-06T17:43:30.154 CEST DEBG ][           org.kde.kstars.ekos] - "SynScan"  is disconnected.
[2021-07-06T17:43:30.155 CEST INFO ][           org.kde.kstars.ekos] - "SynScan failed to connect.\nPlease ensure the device is connected and powered on."
 
2 years 8 months ago #73274

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

  • Posts: 10
  • Thank you received: 0
[[2021-07-06T17:43:30.147 CEST INFO ][           org.kde.kstars.indi] - SynScan :  "[INFO] Connecting to 192.168.1.109@11882 ... "
[2021-07-06T17:43:30.149 CEST DEBG ][           org.kde.kstars.indi] - SynScan : "[DEBUG] Connection successful, attempting handshake... "

This seems to me to confirm that the ethernet connction does exist.

[2021-07-06T17:43:30.149 CEST DEBG ][           org.kde.kstars.indi] - SynScan : "[DEBUG] CMD <Kx> "
[2021-07-06T17:43:30.153 CEST INFO ][           org.kde.kstars.indi] - SynScan :  "[ERROR] Serial read error: Read Error: Connection refused. "
[2021-07-06T17:43:30.154 CEST DEBG ][           org.kde.kstars.indi] - SynScan : "[DEBUG] Handshake failed. "
[2021-07-06T17:43:30.154 CEST DEBG ][           org.kde.kstars.ekos] - "SynScan"  is disconnected.

This, instead, seems to show an error in the code which continues to use a "serial" connection while it should use the ethernet one.
Am I wrong?
Last edit: 2 years 8 months ago by Marco Voli.
2 years 8 months ago #73303

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

No it's still over TCP/IP. There is no response from the mount. You can use socat to connect directly.
socat - UDP:192.168.1.109:11882

Then after connection, simply type in Kx and press enter. Do you get any response?
2 years 8 months ago #73308

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

  • Posts: 10
  • Thank you received: 0
I can't try right away, I hope I have the chance tomorrow or later.
Meanwhile, I got an idea: is it possible that the connection to the SynScan App on my tablet can inhibit other connections such as the one attempted by the INDI driver on the Raspberry?
Last edit: 2 years 8 months ago by Marco Voli.
2 years 8 months ago #73327

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

Time to create page: 0.523 seconds