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
10.10.10.1:10110
#10
Let's start from the beginning - what exactly do you mean by
Quote:I'm trying to connect to OpenCPN remotely using the address: 10.10.10.1:10110 and it doesn't work

From what device, using what application? Your next comment suggests you are using an iPad and a browser? What does "remotely" mean - from outside your boat's network or from another device than your RPi running OpenPlotter? "Connect to OpenCPN" - you mean you'd like to use OpenCPN by sharing its screen on the device? "Connect" could mean many things, like trying to connect to OpenCPN's NMEA0183 output.

Quote:10.10.10.1:3000 (K Server) does work so I assume my iPad is connected to the RPI correctly. Any thoughts?

Yep, but that's about it. How does this relate to your question?

(2020-03-10, 12:56 AM)DoubleDutch Wrote:
(2020-03-09, 06:50 PM)abarrow Wrote: You can do it a couple of different ways. One is to install the SignalK "SignalK to NMEA0183" plugin, and test to see if you are getting anything out on TCP port 10110 (you should). Don't forget to enable to plugin, and check the NMEA strings you want sent out. If you still can't see it, try also installing the "UDP NMEA0183 Sender". That plugin sends out using UDP and does allow you to configure the network (10.10.10.255) and UDP port you need to send data out on (10110 is fine).

If you don't want to mess with SignalK plugins, you can configure an outgoing network connection in OpenCPN. With that one, you have full flexibility to choose port number, TCP or UDP, addresses, etc. Of course, the downside is that you need to have OpenCPN running on your RPI server.

Hi - Me again... This is starting to drive me crazy.... Lets take a step back.
  • I found this URL: http://ais.exploratorium.edu:80 which is AIS information for the San Francisco Bay Area. When I open the URL: you will see what I believe to be NMEA AIS Data
  • On my RPI, in OpenCPN I created an input port and point it to the above URL. Now, when in OpenCPN I look at the SFO Bay area: I see AIS targets! Hooray!
  • I now want to see these same targets in Navionics on my iPad and that bit doesn't work
My questions:

  1. Looking at your post above: given that I added this SFO-AIS data to OpenCPN; I have to create the outgoing network connection in OpenCPN because "Signal K" doesn't know about SFO-AIS? I'm not sure how to do that without restricting it to a specific IP address (of my iPad)

  2. Is configuring SFO-AIS in Signal-K an option / is it best practice to configure all inputs in the Signal-K server, so the only connection in OpenCPN is to the Signal K server and my iPad connects to Signal-K not OpenCPN

  3. With the configuration as I currently have it where, as I understand it OpenCPN is the "aggregator" and given the above SFO-URL and having configured the Access Point in OP - why can I not go to http://10.10.10.1:10110 and see this NMEA data (whilst port 3000 does show the Signal K server so the WiFi configuration must be OK?)
Almost losing sleep over this :-)

Ooh where do I start.....

ais.exploratorium.edu:80 produces a stream of NMEA0183 messages containing AIS messages over TCP.

Browsers, at least Chrome and possibly others, treat port 80 special: they apparently treat it as a text feed. NMEA0183 being essentially lines of text starts flowing on your screen. This will probably not work on any other port - at least when I tried it doesn't work on port 10110 of my Signal K server, even if it produces a similar data stream. So http://10.10.10.1:10110 just will not work.

In OpenPlotter 2 I would set up the connections like so
- Add TCP NMEA0183 connection in SK server to ais.exploratorium.edu:80
=> all SK server nmea0183 input is automatically available at port 10110 and you get the data also in the Signal K system and apps, for example in Freeboard
- Add TCP connection in OpenCPN to localhost 10110
=> this will bring the same data to OpenCPN
- Add NMEA0183 in your navigation app in your iPad/device to 10.10.10.1:10110
Reply


Messages In This Thread
10.10.10.1:10110 - by DoubleDutch - 2020-03-09, 03:40 PM
RE: 10.10.10.1:10110 - by abarrow - 2020-03-09, 03:49 PM
RE: 10.10.10.1:10110 - by DoubleDutch - 2020-03-09, 06:25 PM
RE: 10.10.10.1:10110 - by abarrow - 2020-03-09, 06:50 PM
RE: 10.10.10.1:10110 - by DoubleDutch - 2020-03-09, 08:50 PM
RE: 10.10.10.1:10110 - by Knoet - 2020-03-09, 09:33 PM
RE: 10.10.10.1:10110 - by DoubleDutch - 2020-03-10, 12:56 AM
RE: 10.10.10.1:10110 - by jim321 - 2020-03-09, 10:00 PM
RE: 10.10.10.1:10110 - by DoubleDutch - 2020-03-10, 06:34 PM
RE: 10.10.10.1:10110 - by tkurki - 2020-03-10, 08:01 PM
RE: 10.10.10.1:10110 - by Jlsail - 2020-03-16, 12:58 PM
RE: 10.10.10.1:10110 - by Arruba - 2020-03-16, 04:13 PM
RE: 10.10.10.1:10110 - by Arruba - 2020-03-18, 11:13 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)