×

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

Bi-monthly release with minor bug fixes and improvements

Skywatcher AZ GTi with Ekos

Yes, INDI on RPI3 needs to be on the mount WiFi network in order to communicate over the same network.

Please turn on Mount logging in Ekos, and then attach it here.
5 years 8 months ago #27525

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

  • Posts: 125
  • Thank you received: 24

Replied by Tarun on topic Skywatcher AZ GTi with Ekos

Attached the logs. Some more debug driver logs as below.

tar@tar-desktop:~/.indi/logs/2018-07-18/indi_synscan_telescope$ cat indi_synscan_telescope_02:45:30.log
INFO 33.666106 sec : Session log file /home/tar/.indi/logs/2018-07-18/indi_synscan_telescope/indi_synscan_telescope_02:45:30.log
INFO 41.036448 sec : Connecting to 192.168.4.2@11882 ...
ERROR 41.106719 sec : Failed to connect to mount 192.168.4.2@11882: Connection refused.
INFO 42.286021 sec : Connecting to 192.168.4.2@11882 ...
ERROR 42.335596 sec : Failed to connect to mount 192.168.4.2@11882: Connection refused.
tar@tar-desktop:~/.indi/logs/2018-07-18/indi_synscan_telescope$

tar@tar-desktop:~/.indi/logs/2018-07-18/indi_synscan_telescope$ cat indi_synscan_telescope_02:34:37.log
INFO 8.353158 sec : Session log file /home/tar/.indi/logs/2018-07-18/indi_synscan_telescope/indi_synscan_telescope_02:34:37.log
INFO 35.142521 sec : Connecting to 192.168.4.2@11882 ...
ERROR 35.156510 sec : Failed to connect to mount 192.168.4.2@11882: Connection refused.
INFO 39.312678 sec : Connecting to 192.168.4.2@11882 ...
ERROR 39.320977 sec : Failed to connect to mount 192.168.4.2@11882: Connection refused.
INFO 50.982383 sec : Connecting to 192.168.4.2@11881 ...
DEBUG 50.982764 sec : Connection successful, attempting handshake...
INFO 51.002177 sec : Synscan Mount not responding
DEBUG 51.002343 sec : Handshake failed.
INFO 52.882429 sec : Connecting to 192.168.4.2@11881 ...
DEBUG 52.882732 sec : Connection successful, attempting handshake...
INFO 52.909325 sec : Synscan Mount not responding
DEBUG 52.909613 sec : Handshake failed.

Ping the mount
tar@tar-desktop:~$ ping 192.168.4.1
PING 192.168.4.1 (192.168.4.1) 56(84) bytes of data.
64 bytes from 192.168.4.1: icmp_seq=1 ttl=255 time=4.35 ms
64 bytes from 192.168.4.1: icmp_seq=2 ttl=255 time=4.05 ms
64 bytes from 192.168.4.1: icmp_seq=3 ttl=255 time=5.84 ms
^C
--- 192.168.4.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 4.059/4.755/5.847/0.781 ms

tar@tar-desktop:~$ ping 192.168.4.2
PING 192.168.4.2 (192.168.4.2) 56(84) bytes of data.
64 bytes from 192.168.4.2: icmp_seq=1 ttl=64 time=15.7 ms
64 bytes from 192.168.4.2: icmp_seq=2 ttl=64 time=43.7 ms
64 bytes from 192.168.4.2: icmp_seq=3 ttl=64 time=23.5 ms
^C
--- 192.168.4.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 15.713/27.699/43.796/11.828 ms

tar@tar-desktop:~$ nc -v 192.168.4.2 11880
nc: connect to 192.168.4.2 port 11880 (tcp) failed: Connection refused
tar@tar-desktop:~$ nc -v 192.168.4.2 11882
nc: connect to 192.168.4.2 port 11882 (tcp) failed: Connection refused
tar@tar-desktop:~$ nc -v 192.168.4.2 11881
nc: connect to 192.168.4.2 port 11881 (tcp) failed: Connection refused

tar@tar-desktop:~$ nc -v -u 192.168.4.1 11882
tar@tar-desktop:~$ nc -v -u 192.168.4.2 11882
tar@tar-desktop:~$ nc -v -u 192.168.4.2 11881
Connection to 192.168.4.2 11881 port [udp/*] succeeded!
Unknown,XUnknown,XUnknown,XUnknown,XUnknown,X
Unknown,
^C
Last edit: 5 years 8 months ago by Tarun.
5 years 8 months ago #27539
Attachments:

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

  • Posts: 125
  • Thank you received: 24

Replied by Tarun on topic Skywatcher AZ GTi with Ekos

This was the response from SynScan team:

1. Ping from the Linux host to the IP address to confirm the network connection is right.
You may ping 192.1684.1(Mount/Access Point) first and then try 192.168.4.2
2. Connect to the mount in the SynScan App, recommend to do an alignment first.
3. On the Linux host, use a Linux tools/application to send a command to the device that runs the SynScan App. Using the device’s IP address and TCP port 11882 for “SynScan Serial Communication Protocol”, use UDP Port 11881 for SynScanMobile CommandSet . The command set can be found here: www.skywatcher.com/download/manual/application-development/
4. You might need to check the firewall settings of the Linux host.


Side note: On the mount driver list there is Sky Scan and SynScan, when I hovered over both pointed to same indi driver? Also tested with Skywatcher AltAZ drivers , same result.
5 years 8 months ago #27540

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

  • Posts: 125
  • Thank you received: 24

Replied by Tarun on topic Skywatcher AZ GTi with Ekos

So all the above attempts were with IOS app which never succeded. Gave a try with android app, Atleast ekos was able to connect to the app and then it crashed.
Attached the crash logs for investigation
5 years 8 months ago #27566
Attachments:

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

  • Posts: 149
  • Thank you received: 10
I was able to connect to iOS and it crashed the as well. So behaviour between iOS and Android is consistent.
Skywatcher Newton 200/1000, Sharpstar 60ED, Canon Lenses
Skywatcherr EQ-6 R, AZ-GTI
StellarMate @ Raspberry Pi 3B+
ASI 183 MC Pro
ASI 290 MC guiding cam on APM 60 ImageMaster
Sesto Senso 2 Focuser + Astromechanics Canon Focuser

5 years 8 months ago #27567

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

  • Posts: 125
  • Thank you received: 24

Replied by Tarun on topic Skywatcher AZ GTi with Ekos

Thanks for that, I will try with another iPhone in that case.
Looking at the code it may be crashing while getting version no from the mount. Will wait for Jasem to check.
5 years 8 months ago #27574

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

I just pushed some code that adds more debugging and supposed to catch the exception that caused the crash. So please pull from Github and compile and test.
5 years 8 months ago #27587

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

  • Posts: 125
  • Thank you received: 24

Replied by Tarun on topic Skywatcher AZ GTi with Ekos

Yes! It works now.Thank you so much.

Compiled the code on Raspberry Pi and tested using android . Mount came online and was able to issue commands from ekos / kstars.

I must appreciate the code refactoring you did around this. Big thinking !
5 years 8 months ago #27631

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

Great! I'd like to ask for one favor though. Can you please write a guide for new users on how to do this? Not the compiling part, but the rest. Then we'll add it to the driver documentation and everyone benefits from this information. Appreciate it!
5 years 8 months ago #27632

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

  • Posts: 149
  • Thank you received: 10
Cool stuff that It works on the Raspberry Pi. I reckon most users won't want to connect a Raspberry Pi though to the Small AZ GTi, but rather connect from their desktop KStars. Can you let me know, when this fix goes into the desktop versions of KStars. I am happy to test it then on MacOS.
Skywatcher Newton 200/1000, Sharpstar 60ED, Canon Lenses
Skywatcherr EQ-6 R, AZ-GTI
StellarMate @ Raspberry Pi 3B+
ASI 183 MC Pro
ASI 290 MC guiding cam on APM 60 ImageMaster
Sesto Senso 2 Focuser + Astromechanics Canon Focuser

5 years 8 months ago #27633

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

It doesn't matter if it is from RPI3 or Mac, what matters is you are all in the same network so you can communicate with each other.
5 years 8 months ago #27635

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

  • Posts: 149
  • Thank you received: 10
I know, but that was not my issue, I had the same crashes when connecting.

My point is, I can't test it unless it is in the next release of KStars. I can't compile the source.
Skywatcher Newton 200/1000, Sharpstar 60ED, Canon Lenses
Skywatcherr EQ-6 R, AZ-GTI
StellarMate @ Raspberry Pi 3B+
ASI 183 MC Pro
ASI 290 MC guiding cam on APM 60 ImageMaster
Sesto Senso 2 Focuser + Astromechanics Canon Focuser

5 years 8 months ago #27636

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

Time to create page: 1.918 seconds