Skip to main content

AIS (ships)

AIS (Automatic Identification System) is how ships broadcast who they are, where they are going and how fast. Airframes stores AIS from feeders as vessels, voyages and positions, and shows ships on its maps beside aircraft and balloons.

Band
161.975 and 162.025 MHz (channels A and B); 156.775 and 156.825 MHz for long-range message 27
Hardware
RTL-SDR or a dedicated receiver (dAISy), marine VHF antenna
Feed to
HTTP 5599 (AIS-catcher JSON), UDP 5597 (raw NMEA), or QUIC 5580 from xng
Shows up as
Vessels, voyages and tracks on Desktop, Mobile and Globe

Why feed it​

Ships are part of the same picture: the coast, ports and the sea lanes aircraft fly over. Your AIS reception adds vessels, their static data (name, call sign, type, size, destination) and their tracks. A station near a coast or a busy river hears ships tens of miles out.

What you need​

  • An RTL-SDR (both AIS channels fit in one capture) or a dAISy hardware receiver.
  • A marine VHF antenna, as high as you can. AIS is line of sight; height is range.

Feed it​

xng listen --sdr driver=rtlsdr --mode ais -r 2400000 -c 162.000M \
--channels 161.975,162.025 \
--feed-airframes --station-id XX-KSEA-AIS

xng batches messages every 5 seconds and posts them gzipped to HTTP 5599 in AIS-catcher's JSON shape. It also serves NMEA (--nmea-tcp 0.0.0.0:10110) for OpenCPN or a chart plotter on your network.

Why xng here: one process for AIS and your aviation modes, field decode for every message type (including inland and regional application messages and SART/MOB/EPIRB distress tags), and an AIS map on its dashboard. AIS-catcher still decodes more weak messages (xng reaches 91% of its haul with no false decodes), so a coastal station that wants every last ship may prefer it.

Wrong port, lost data

Send AIS only to 5599 or 5597. AIS sentences sent to an ACARS port are counted as rejected and not stored.

Check it works​

Your station's page shows AIS counts. Ships you hear appear on the Desktop and Mobile maps and on the Globe, each with its voyage and track. See Ships.