This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
tinypilot beta image
#24
seandepagnier
pypilot automatically detects and connects to a signalk server on the network.    So this uses zero conf, and no configuration is needed whether pypilot runs on openplotter, or pypilot is running on a separate computer like tinypilot connected to openplotter by network.

So to utilize signalk you only need to communicate with signalk-node-server which by default is running on openplotter.   This is not really specific to pypilot anymore, but the default port is usually 3000 and it uses websockets or other transports, check the signalk documentation.



I moved this from the multi function display topic, since it seems like it is more appropriate here.

I start my computer before the tinypilot.
When the tinypilot starts there is no automatic connection from the SignalK server in the tinypilot
When I connect to port 3000 either TCP or websocket, I get connection refused
When I connect to port 20220 (NMEA0183) I get the tinypilot paths added to the SignalK data browser

Frankly I don't care about the autoconnect, but as I read above correctly the connection on port 3000 should not be refused.

Tinypilot configured to connect to an existing SSID and a fixed IP-address.
SignalK from the standard setup as mentioned on the github page on both ARM64 and X86_64
Tinypilot SK connected to the ARM64 and via the ARM64 to the X86_64.
OS Ubuntu 20.04 Focal / ARM64 (odroid N2), with github OpenCPN 5.2.x
OS Ubuntu 20.04 Focal / x86_64 (laptop i5) with stable OpenCPN 5.2.0

Also the missing keys on the pypilot plugin:
every start from OpenCPN I have to first select 127.0.0.1 and then the client IP address from the tinypilot. (This might be more appropriate in the pypilot_pi thread though).
Both on ARM64 and laptop.
I mention it here since it might be somehow related.

If I might roundup, I read there is supposed to be some automatic connection feature, which I I don't understand.
Therefore it is hard to trace the problems I face.

I will check tomorroe if the autoconnecting works as intended when the tinypilot provides the host AP.

One last thing:
tc@box:~$ netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       
tcp        0      0 (null):20220            (null):*                LISTEN      
tcp        0      0 (null):2947             (null):*                LISTEN      
tcp        0      0 (null):80               (null):*                LISTEN      
tcp        0      0 (null):33333            (null):*                LISTEN      
tcp        0      0 (null):22               (null):*                LISTEN      
tcp        0      0 (null):23322            (null):*                LISTEN      
tcp        0      0 (null):23322            (null):52482            ESTABLISHED
tcp       19      0 box:38404               box:23322               ESTABLISHED
tcp        0    152 (null):22               (null):58756            ESTABLISHED
tcp        0      0 (null):20220            (null):40060            ESTABLISHED
tcp        0      0 box:35268               box:2947                ESTABLISHED
tcp        0      0 box:23322               box:38402               ESTABLISHED
tcp        0      0 box:38402               box:23322               ESTABLISHED
tcp        0      0 box:2947                box:35268               ESTABLISHED
tcp        0      0 box:23322               box:38404               ESTABLISHED
udp        0      0 box:5353                (null):*                            
udp        0      0 (null):5353             (null):*                            
udp        0      0 (null):5353             (null):*                            
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node Path
unix  2      [ ACC ]     STREAM     LISTENING      13101 /tmp/gpsd.sock
unix  2      [ ACC ]     STREAM     LISTENING      18092 /var/run/lirc/lircd
unix  2      [ ]         DGRAM                     18152 /var/run/wpa_supplicant/wlan0
unix  2      [ ACC ]     SEQPACKET  LISTENING       6644 /run/udev/control
unix  3      [ ]         STREAM     CONNECTED      21048
unix  3      [ ]         STREAM     CONNECTED      20894
unix  3      [ ]         STREAM     CONNECTED      21049 /var/run/lirc/lircd
unix  3      [ ]         DGRAM                      6652
unix  3      [ ]         STREAM     CONNECTED      20895
unix  3      [ ]         DGRAM                      6653

No port 3000...
Reply


Messages In This Thread
tinypilot beta image - by seandepagnier - 2020-10-01, 04:02 AM
RE: tinypilot beta image - by rastam4n - 2020-10-01, 09:55 PM
RE: tinypilot beta image - by seandepagnier - 2020-10-02, 03:24 AM
RE: tinypilot beta image - by htwt - 2020-10-02, 01:41 PM
RE: tinypilot beta image - by rastam4n - 2020-10-02, 07:22 PM
RE: tinypilot beta image - by seandepagnier - 2020-10-02, 07:52 PM
RE: tinypilot beta image - by rastam4n - 2020-10-02, 08:32 PM
RE: tinypilot beta image - by hreuver - 2020-10-05, 06:52 AM
RE: tinypilot beta image - by seandepagnier - 2020-10-03, 12:34 AM
RE: tinypilot beta image - by rastam4n - 2020-10-03, 12:49 AM
RE: tinypilot beta image - by seandepagnier - 2020-10-03, 04:47 AM
RE: tinypilot beta image - by rastam4n - 2020-10-03, 11:52 AM
RE: tinypilot beta image - by hreuver - 2020-10-03, 04:21 PM
RE: tinypilot beta image - by Jean-Marc Douroux - 2020-10-05, 03:27 PM
RE: tinypilot beta image - by seandepagnier - 2020-10-06, 04:09 AM
RE: tinypilot beta image - by rastam4n - 2020-10-09, 04:42 PM
RE: tinypilot beta image - by hans-martijn - 2020-10-06, 10:21 AM
RE: tinypilot beta image - by rastam4n - 2020-10-06, 11:09 AM
RE: tinypilot beta image - by hans-martijn - 2020-10-06, 04:24 PM
RE: tinypilot beta image - by seandepagnier - 2020-10-06, 04:20 PM
RE: tinypilot beta image - by rastam4n - 2020-10-06, 05:28 PM
RE: tinypilot beta image - by seandepagnier - 2020-10-07, 02:41 AM
RE: tinypilot beta image - by hreuver - 2020-10-07, 09:00 PM
RE: tinypilot beta image - by seandepagnier - 2020-10-08, 05:39 PM
RE: tinypilot beta image - by hreuver - 2020-10-09, 07:49 AM
RE: tinypilot beta image - by seandepagnier - 2020-10-09, 11:09 PM
RE: tinypilot beta image - by rastam4n - 2020-10-10, 01:10 AM
RE: tinypilot beta image - by rastam4n - 2020-10-19, 09:05 PM
RE: tinypilot beta image - by Andreas29 - 2020-10-20, 07:21 AM
RE: tinypilot beta image - by seandepagnier - 2020-10-20, 04:05 PM
RE: tinypilot beta image - by rastam4n - 2020-10-21, 02:17 PM
RE: tinypilot beta image - by seandepagnier - 2020-10-22, 06:58 PM
RE: tinypilot beta image - by Siusb - 2021-01-05, 02:10 PM

Forum Jump:


Users browsing this thread: 6 Guest(s)