Skip to content
Etmar
ENDE

Onboard network (NMEA)

Etmar on the onboard network

A Wi-Fi gateway on the NMEA bus, and the iPhone shows wind and speed through water, records everything and casts off by itself. The connection is free, in every tier.

What you need

  • A boat with NMEA 2000 or NMEA 0183 and at least one sensor (wind, log, depth sounder, compass).
  • A Wi-Fi gateway on the bus. For NMEA 2000, one that sends the RAW format over TCP, for example the Yacht Devices YDWG-02N. For NMEA 0183, any Wi-Fi gateway or multiplexer that outputs the sentences over TCP or UDP.
  • An iPhone or iPad with Etmar. No paid tier is needed for this.
ProtocolTransportUsual port
NMEA 2000 (RAW)TCP1456
NMEA 0183TCP or UDP10110

The app only reads. It sends nothing onto the bus, and the connection stays within the boat’s local network.

No gateway at hand? Demo mode simulates an onboard network. That shows you the instruments, wind on the track and automatic departure before you buy anything.

Setup in three steps

With the YDWG-02N in factory state

  1. Join the gateway’s Wi-Fi with the iPhone. iOS Settings → Wi-Fi, choose the gateway’s network.
  2. Open the connection in Etmar. Tools → Settings → NMEA connection. Transport TCP, host 192.168.4.1, port 1456 are already filled in. Tap “Connect”.
  3. Switch on “Connect automatically”. After that the app connects by itself at launch and every time it returns to the foreground. The first time, iOS asks for access to the local network; without it no connection is made.

Once connected, the settings show the detected data format, and the dashboard gains the “Wind” and “Boat” pages.

If the app shows “NMEA 0183”, the gateway outputs NMEA 0183 on this port; on the YDWG-02N that is the factory setting. Etmar reads that too. For NMEA 2000, open the gateway’s web interface in the browser (http://192.168.4.1), go to the “NMEA Server” page and set the data protocol of server 1 to “RAW”. Engine RPM and the device list are available over NMEA 2000 only.

NMEA 0183

  • TCP: enter the gateway’s address and port, usually port 10110. Where TCP is possible, it is the steadier choice.
  • UDP: the app only listens on the port; no address is needed. Gateways that broadcast on the port are heard. If nothing arrives all the same, use TCP.
  • Over UDP the app reads one device: the first to send after connecting. A second sender on the same Wi-Fi is ignored and named below the status.

The sentences read are RMC, GGA, GLL, VTG, HDG, HDT, HDM, MWV, VWR, MWD, DPT, DBT, VHW, MTW and XDR.

Keep mobile data alongside

The gateway’s Wi-Fi has no internet but presents itself to the iPhone as a router. iOS then sends internet traffic nowhere: maps stop loading, and wind from open sources stays away. The remedy is a fixed address without a router:

  1. iOS Settings → Wi-Fi → ⓘ next to the boat’s Wi-Fi → “Configure IP” → Manual.
  2. IP address 192.168.4.20, subnet mask 255.255.255.0, leave the “Router” field empty (values for the YDWG-02N in factory state).
  3. Disconnect from the boat’s Wi-Fi once and reconnect.

The instructions are in the app as well, right below the connection status (“Use mobile data in parallel”). Boats with their own router can join the gateway to the router’s Wi-Fi instead and enter its fixed address as the host.

What you get with an onboard network

FeatureWhat happensTier
InstrumentsSpeed through water, true and apparent wind, heel, water temperature and engine RPM, large at the helm. Depth is recorded, not shown.Free
Automatic departureAfter a minute above 1.5 kn the departure entry is created by itself.Free
Wind on the trackTrue wind and tack at every track point; the track is coloured by tack.Free
Weather in the voyage journalWind and air pressure are pre-filled in the entry.Free
In pre-start and raceStart line bias, tacking angle to the wind.Free
Raw dataThe bus as a raw log, with an archive.Free
Own pages, sailing compass, regatta pageBuild instrument pages yourself; target angles and VMG against the polar, live.Pro
Analysis with windSailed polar, wind & shifts, manoeuvre loss in metres, sail crossover, calibration findings.Pro

The full list is under Features → Onboard network.

What the app does by itself

  • Connecting: at launch and on returning to the foreground, when “Connect automatically” is on.
  • Reconnecting: after a drop, and also when the connection is up but nothing has arrived for more than 20 s. After a minute of silence you get one notification.
  • Showing age: a value older than 3 s turns pale with an orange frame; after 10 s it shows “--” with the age of the last value.
  • Working out true wind: if the bus delivers apparent wind only, the app works out true wind from apparent wind and speed.
  • Detecting departure: as long as data arrives from the onboard network, the iPhone is certainly on board. Then one minute under way starts the voyage in the voyage journal.

Calibrate and check

  • Check instruments (dashboard menu): for each sensor, whether it is delivering, silent, stuck or implausible.
  • Calibration on the boat: masthead offset, log factor, heel offset.
  • Mirror wind angle: if the sensor swaps sides. Test: wind from starboard must give an angle between 0 and 180°.
  • Damping: one time constant each for wind, speed and course. It smooths the display; the track keeps the measured values.
  • Manual variation: for compass sensors that send magnetic heading when the bus delivers no variation.

When nothing arrives

“Gateway not reachable yet”

Two causes are the most common. First: the iPhone has left the boat’s Wi-Fi, because iOS likes to switch back to mobile data on a Wi-Fi without internet. Test: http://192.168.4.1 in Safari must show the gateway’s interface. Second: access to the local network is missing (iOS Settings → Etmar → Local Network). After that, check address and port and power-cycle the gateway once.

“No data from the gateway”

The connection is up, but the gateway sends nothing. Usually the bus has no power or the gateway is not on the bus. With UDP: switch to TCP.

A single value is missing

“Check instruments” in the dashboard menu shows for each sensor whether it is delivering. If it is silent there, the cause is on the bus, not in the app.

The wind angle is on the wrong side

Switch on “Mirror wind angle” in the calibration. You can also spot the error by the tack colouring of the track being swapped.

The display jumps about

Raise the damping for wind, speed or course (NMEA connection → Advanced).

Maps stop loading once the iPhone is on the boat’s Wi-Fi

That is the gateway’s router entry. The remedy is above under Keep mobile data alongside.

Anything else

The diagnostic log under NMEA connection → Advanced shows the latest connection events and can be shared. Send it to support@etmar.app.

Without an onboard network

Nothing stays empty. Course and speed over ground and the position come from the iPhone’s GPS. Air pressure comes from the sensor in the iPhone. The app fetches wind from the nearest station or the model, on the map before and after the voyage, in the entry and after the session for the analysis. Casting off is then one tap; the app still detects mooring by itself.

Read more in the handbook

↑ Back to top