Hello,

I am having an issue connecting Stellarmate OS/KStars/Ekos/INDI to my mount over the network. Specifically, I am working with the following:

  • Stellarmate OS 1.5.7 (IP: 10.250.250.1)
  • Losmandy GM-8 Gemini
  • Elfin EW-10 Wi-Fi serial adapter (10.250.250.10)
For software testing with Windows I'm using:
  • USC VCOM software
  • TheSky6
What I expect to work
When I try to connect to the Gemini serial connection over IP, I receiver the error in the log:

2021-03-22T21:55:36: [ERROR] Error reading from device Read Error: Resource temporarily unavailable (-1)
2021-03-22T21:55:31: [INFO] Connecting to 10.250.250.10@8899 ...

An attempt at a work around
I created a virtual com port with the following:

sudo socat pty,link=/dev/virtualcom0,raw tcp:10.250.250.10:8899&
sudo chmod a+rw /dev/pts/1

Attempting to use the /dev/virtualcom0 results with the following. The first attempt to connect produces the ERROR message. The second attempt to connect produces the WARNING message:
 

Proof of concept - does the network serial adapter actually work?
With Windows, if I create a virtual COM port with USC VCOM, I can successfully connect to and control the Gemini mount over WiFi  with TheSky6.

Stellarmate OS - Working right after connecting to the mount with Windows software!
If I exit TheSky6 and disconnect the Windwos virtual COM port and then startup Stellarmate OS, and create the /dev/virtual0 device, Stellaramte OS/KStars/Ekos/INDI will connect to and control the Gemini mount!
 
 

Here is the log when successfully connecting with /dev/virtualcom0:

2021-03-22T21:47:33: [INFO] Observer location updated: Latitude 49:01:59.9 (49.0333) Longitude -119:27:00.0 (-119.45)
2021-03-22T21:47:33: [INFO] Site location in the mount updated to Latitude 49:01:59.9 (49.0333) Longitude 240:33:00.0 (240.55) (Longitude sign in carthography format)
2021-03-22T21:47:33: [INFO] Time updated, updating planetary data...
2021-03-22T21:47:32: [INFO] Device configuration saved.
2021-03-22T21:47:32: [INFO] Saving device configuration...
2021-03-22T21:47:32: [INFO] Device configuration applied.
2021-03-22T21:47:32: [INFO] Startup mode will take effect on future connections.
2021-03-22T21:47:32: [INFO] Pulse guiding is enabled.
2021-03-22T21:47:32: [INFO] Dome Policy set to: Dome ignored. Mount can park or unpark regardless of dome parking state.
2021-03-22T21:47:32: [INFO] Loading device configuration...
2021-03-22T21:47:31: [INFO] Device configuration saved.
2021-03-22T21:47:31: [INFO] Saving device configuration...
2021-03-22T21:47:31: [INFO] Mount has Latitude 49:02:0.0 (49.0333) Longitude -119:27:0.0 (-119.45) (Longitude sign in carthography format)
2021-03-22T21:47:31: [INFO] Losmandy Gemini is online.
2021-03-22T21:47:31: [INFO] Mount is unparked.
2021-03-22T21:46:49: [ERROR] Failed to connect to port (/dev/ttyUSB0). Error: Port failure Error: No such file or directory. Check if device is connected to this port.

First time lucky :-(
Now seeing StellarmateOS/KStars/Ekos/INDI working, I manually Disconnect, then immediately try to Connect again - and it does not work:
 

What I've learned and the outstanding question:
  • Does Stellarmate OS work with a Elfin EW-10 Wi-Fi Serial adapter to connect with a Losmandy Gemini? Qualified No
  • Does Windows and TheSky work with a Elfin EW-10 Wi-Fi Serial adapter to connect with a Losmandy Gemini? Yes, no problem
  • Can Stellarmate OS work with a Elfin EW-10 Wi-Fi Serial adapter to connect with a Losmandy Gemini, using a manually created virtual com port? Yes, but it looks like other software needs to initialize the Losmandy Gemini first.
  • If Windows and TheSky6 "initializes" the Gemini, will the INDI Connection Mode "Ethernet" work like the /dev/virtualcom0? No.
Any advice on how to get Stellarmate OS/KStars/Ekos/INDI to work as expected (Using the INDI Control Panel "Ethernet" Connection Mode) would be much appreciated.

Thanks

Read More...

(Attempt 3 to post this New Topic)

Trying to connect to the Gemini using Ethernet with Stellarmate OS:
 



Trying with manually created /dev/vitualcom0:
 

Connecting to the mount with Windows, Virtual COM Port driver and TheSky6 works. So this is not an issue with the Wi-Fi/Serial adapter.

Immediately after connecting to the mount with Windows, restarting Stellarmate OS and creating /dev/virtualcom0:
 
 

2021-03-22T21:47:33: [INFO] Observer location updated: Latitude 49:01:59.9 (49.0333) Longitude -119:27:00.0 (-119.45)
2021-03-22T21:47:33: [INFO] Site location in the mount updated to Latitude 49:01:59.9 (49.0333) Longitude 240:33:00.0 (240.55) (Longitude sign in carthography format)
2021-03-22T21:47:33: [INFO] Time updated, updating planetary data...
2021-03-22T21:47:32: [INFO] Device configuration saved.
2021-03-22T21:47:32: [INFO] Saving device configuration...
2021-03-22T21:47:32: [INFO] Device configuration saved.
2021-03-22T21:47:32: [INFO] Saving device configuration...
2021-03-22T21:47:32: [INFO] Device configuration applied.
2021-03-22T21:47:32: [INFO] Startup mode will take effect on future connections.
2021-03-22T21:47:32: [INFO] Pulse guiding is enabled.
2021-03-22T21:47:32: [INFO] Dome Policy set to: Dome ignored. Mount can park or unpark regardless of dome parking state.
2021-03-22T21:47:32: [INFO] Loading device configuration...
2021-03-22T21:47:31: [INFO] Device configuration saved.
2021-03-22T21:47:31: [INFO] Saving device configuration...
2021-03-22T21:47:31: [INFO] Mount has Latitude 49:02:0.0 (49.0333) Longitude -119:27:0.0 (-119.45) (Longitude sign in carthography format)
2021-03-22T21:47:31: [INFO] Losmandy Gemini is online.
2021-03-22T21:47:31: [INFO] Mount is unparked.
2021-03-22T21:46:49: [ERROR] Failed to connect to port (/dev/ttyUSB0). Error: Port failure Error: No such file or directory. Check if device is connected to this port.


After seeing Stellarmate OS successfully connect to the mount over the network, via a manually created virtual port, I try disconnecting and immediately reconnecting:
 

Anyone know how to get Stellarmate OS to correctly connect to a network attached mount (Losmandy Gemini)?

Thanks

 

Read More...