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
How do I connect two SignalK to each other
#1
Hi

What I want to achive is:
1-Have an RPI with OpenPlotter in my boat that collects data like GPS position, AIS data and so on,

2-The RPI should bridge internet via an Android for devices onboard, like the kids phones, grib download files for my openCPN laptop 

3-The boat OpenPlotter RPI shall send data collected to SignalK system at "home" via internet, like GPS position. So if others are using my boat I can follow them in my Home SignalK system.


#1 and #2 is working with OpenPlotter 

I cant get my head around #3
-I have tried to setup NMEA0183 over internet, but the connection I need is in setup in the wrong direction.
I can configure my home system to connect via NMEA0183 to the boat RPI when I know the boat RPIs ip-address (like when testing in my home network). However that is not working in my case as the setup is in the wrong direction and  I want the connection to be the other way around!  
Can I configure the Boat RPI to send NMEA0183 to a host and port (like my home SignalK system)? 

-I have tried mqtt with "Signal K - MQTT Gateway"
  -send position data to a TLS and usernmae/passwd secured mqtt server att home
  -bridged that to the unsecure mqtt in my home SignalK server and started that with "Signal K - MQTT Gateway"
  -verified that the posttion data from my boat is in the home SignalK mqtt server
  -but no data shows up in SignalK
  -I thought one of the ideas of that plugin was to both send and retrieve data via mqtt, so I can have a central SignalK system and get data from several vessels?

Is there a way to send SignalK data to a remote SignalK system and let the connection be initiated from the boat system to a known ip adress?

Thanks
PeterA
Reply
#2
I"m not sure how to do it, but I'm hoping in the future signalk will send subscriptions in both directions that servers can be chained together efficiently.
Reply
#3
Signalk-net-relay plugin seems to be able to send data over UDP, so that might be a solution: add a UDP connection on your home server, either 0183 or Signal K and configure net-relay to send there.

Signal K Cloud plugin will allow you to send data to cloud.signalk.org and configure your home server to get data from there or on iOS you can use Wilhelm SK to see the data off the cloud server.

But you don't need to run a home server to be able to see your boat's data, you can provide remote access to the server onboard with Zerotier or ngrok.

https://www.zerotier.com/
https://ngrok.com/

Adding the ability to publish sk data to another sk server is something we definitely need to do - frankly I am surprised that this isn't there at this day and age.
Reply
#4
(2020-08-21, 06:38 AM)tkurki Wrote: Signalk-net-relay plugin seems to be able to send data over UDP, so that might be a solution: add a UDP connection on your home server, either 0183 or Signal K and configure net-relay to send there.

Signal K Cloud plugin will allow you to send data to cloud.signalk.org and configure your home server to get data from there or on iOS you can use Wilhelm SK to see the data off the cloud server.

But you don't need to run a home server to be able to see your boat's data, you can provide remote access to the server onboard with Zerotier or ngrok.

https://www.zerotier.com/
https://ngrok.com/

Adding the ability to publish sk data to another sk server is something we definitely need to do - frankly I am surprised that this isn't there at this day and age.

Thanks for the ideas. I'll spend some time fiddling with it.

Regards
Peter
Reply
#5
Found this that seems todo the trick without the need to pay and can have a non random url.
https://jerrington.me/posts/2019-01-29-s...ngrok.html

Thanks
Peter
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)