One more output. A few minutes.
If your receiver already feeds a network or a plotter, adding AISMesh is one more destination in the program you run. Nothing you have set up today is replaced.
feed.aismesh.com and TOKEN on this page are placeholders until then. Stations share one address; yours is known by its token.
A receiver, an antenna and the internet.
No special hardware. If your receiver can hand its messages to a computer on your network, it can feed AISMesh.
- An AIS receiver. An RTL-SDR dongle with AIS-catcher, a dAISy, or a dedicated AIS receiver with a network output.
- An antenna outdoors. VHF marine band, as high as you can with a clear view of the sea. Height matters more than anything else for range.
- An internet connection. The feed is small. A home connection is plenty.
- A computer that stays on. A Raspberry Pi is enough. Many owners already run one for their receiver.
From your receiver to your station page.
Register your station
Give your station a name and an email address where we can reach you about it. You confirm your email and accept the contributor terms. You get a station token that belongs to your station alone.
Add one output to your receiver software
Pick your program below and copy the lines across, with your own station token in place of the placeholder.
Open your station page
Within a few minutes of the first messages your station page shows the vessels your station hears. It keeps filling in from there: range by bearing, busiest hours, records and your level. After 7 days online your station can qualify for its key to the worldwide feed, from launch. After 30 days of steady feeding the same key opens the hourly files with every message.
Pick your program.
Most receiver programs can send the same messages to several places at once. AISMesh is added next to what you already feed. There are two ways in: HTTPS with your station token, or the AISMesh Relay, which adds the token for programs that only speak plain UDP.
AIS-catcher
Over HTTPS with your station token: add one output to the command you already run. Encrypted and each batch gets a reply.
# your existing command, plus one output AIS-catcher ... -H https://[email protected]/v1/feed interval 5
Leave the protocol on its default (AISCATCHER): its JSON carries each NMEA sentence. The token before the @ goes out as a Bearer header and AIS-catcher keeps it out of its log. With 5 seconds between batches your delay stays inside the feed key rule.
Or, if the AISMesh Relay runs on the same computer, add -u localhost 10110 instead. Choose one of the two, not both.
docker-shipfeeder
Run the AISMesh Relay container next to shipfeeder and add it to the generic UDP list. If the variable already has entries, add it after a comma.
UDP_FEEDS=...existing entries...,aismesh-relay:10110
Restart the container. The networks you already feed carry on as before.
AIS Dispatcher
Configuration, Output: add a destination pointing at the AISMesh Relay, which adds your token and sends on to AISMesh. Or replace AIS Dispatcher with the Relay, which does the same job and feeds your other networks too.
- Address
- the local network address of the computer that runs the Relay
- UDP port
- 10110
Keep AIS Dispatcher enabled and save. The destinations you already have stay as they are.
OpenCPN
Options, Connections, Add Connection. Under output filtering, transmit only VDM sentences.
- Connection
- Network
- Protocol
- UDP
- Address
- localhost
- DataPort
- 10110
- Receive input on this port
- off
- Output on this port
- on
Your plotter then forwards what your receiver hears to the AISMesh Relay while it runs.
kplex
Add this block to your kplex configuration and restart kplex.
[udp] direction=out address=localhost port=10110 ofilter=+AIVDM:-all
rtl_ais, dAISy and other forwarders
Send plain NMEA sentences (!AIVDM) by UDP, one sentence per line and unchanged, to the AISMesh Relay. A dAISy or another USB receiver with NMEA output can also plug straight into the computer that runs the Relay.
- Host
- localhost (or the computer that runs the Relay)
- Port
- 10110, the Relay input, the same for everyone
Your setup stays yours.
- Keep feeding other networks. AISMesh asks for no exclusivity. Your receiver keeps sending everywhere it sends today.
- Send only what your receiver hears. Raw messages from your own antenna, unchanged. No data from other sources.
- A receiver box from another network may be set to send only to that network. If it was given to you, check the terms it came with before you pass its data on.
- Stop whenever you like. Remove the output and your station stops sending. Nothing else to do.