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 (recommended)
- AIS-catcher
- rtl_ais, dAISy, raw NMEA
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.
AIS-catcher posts JSON batches over HTTP:
AIS-catcher -d 0 -H http://feed.airframes.io:5599 ID XX-KSEA-AIS INTERVAL 10 RESPONSE off
ID is your station ident, carried as stationid in each batch. If you already send UDP NMEA elsewhere, you can add Airframes as a raw NMEA target instead (next tab).
Any source of raw !AIVDM sentences can send them by UDP to port 5597:
rtl_ais -n -h feed.airframes.io -P 5597
- dAISy: forward its serial NMEA with a small relay, for example
socat -u /dev/ttyACM0,b38400,raw UDP:feed.airframes.io:5597. - AIS-catcher:
-u feed.airframes.io 5597.
Raw NMEA carries no station name, so these feeds are credited to a station named after your public address (AIS-<a>-<d>). Claim it from app.airframes.io/myip. Use the HTTP feed when you want your own ident.
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.