How to Feed
Feeding requires that you have active reception of aviation data (coming from aircraft, ground stations, etc) already using one or more SDRs.
Airframes Installers (Recommended for Beginners)
The easiest way to get started is the Airframes Installers. Run this in a terminal on the machine your SDR is plugged into (Linux, macOS, or Windows via WSL):
curl -sSL https://install.airframes.sh/installer | bash
By default it sets up xng. One xng process gives every SDR a job (ACARS, VDL2, HFDL, AIS, airband voice or ADS-B) and feeds each mode to Airframes. The installer:
- signs you in with a code you enter at app.airframes.io/device on any phone or computer, and puts the station on your account right away. It also shows a QR code you can scan with your phone's camera to open the sign-in page with the code filled in, and a link to your station's page on Airframes once it's registered
- reads your receiver position from PiAware or readsb if they are installed, or asks for it
- asks what each SDR should do, and leaves a dongle your ADS-B decoder already uses alone
- offers airband channels from the Airframes ATC directory near you
- runs xng as the
xng-stationsystemd service (check it withsystemctl status xng-station), or in Docker when the xng build doesn't run on your system, such as a 32-bit Pi
The xng dashboard is at http://<your-machine>:8080 (or the next free port, such as 8081 on a PiAware box, where SkyAware uses 8080; the installer prints it). Your feeds show up as STATION-ACARS, STATION-VDL2, and so on. At the end, the installer checks that xng is running and shows what each SDR is decoding. If xng doesn't start, it shows the log and what usually fixes it. Before it starts, it warns if the clock is off, the disk is nearly full, or GitHub or Airframes can't be reached, and it checks each download against the release's SHA-256 checksums.
Switching from acarsdec, dumpvdl2, dumphfdl or AIS-catcher
Already feeding with separate decoders? The installer finds acarsdec, dumpvdl2, dumphfdl, vdlm2dec and AIS-catcher set up as systemd services (including the airframes-acarsdec-style services from earlier versions of this installer), as Docker containers (such as the SDR Enthusiasts images), or as the docker-compose.yml files the earlier installer wrote to /opt/airframes/config. It lists them and offers to switch them to xng:
- each SDR keeps its job: the dongle that ran acarsdec decodes ACARS in xng, and so on
- each feed keeps its station name (
MY-STATION-ACARS1staysMY-STATION-ACARS1), so your stats and history on Airframes carry on - gain and frequencies carry over
- the old decoders are stopped and kept from starting at boot, but not removed
Changed your mind? This stops xng and starts the old decoders again, as they were:
curl -sSL https://install.airframes.sh/installer | bash -s -- restore-decoders
With -y, the installer switches them without asking. Add --keep-old-decoders to leave them running instead; xng then doesn't touch their SDRs. ACARS Hub is not switched; stop it first if xng should use its SDRs. The list of what was stopped is in /opt/airframes/config/old-decoders.tsv.
Checking, updating and removing
# Check the station and when Airframes last heard each feed; paste the report in Discord if you need help (it has no passwords or tokens)
curl -sSL https://install.airframes.sh/installer | bash -s -- status
# Find and repair common problems, asking before each fix (-y fixes them all)
curl -sSL https://install.airframes.sh/installer | bash -s -- fix
# Update xng to the latest release, keeping its configuration and sign-in
curl -sSL https://install.airframes.sh/installer | bash -s -- update
# Put a station you set up without signing in on your Airframes account
curl -sSL https://install.airframes.sh/installer | bash -s -- sign-in
# Update xng automatically every week (setup asks; "off" turns it off)
curl -sSL https://install.airframes.sh/installer | bash -s -- auto-update on
# Remove xng (add --purge to also remove /etc/xng and the sign-in)
curl -sSL https://install.airframes.sh/installer | bash -s -- uninstall
fix checks for the problems that most often stop a station, explains each one it finds and what it will change, and asks before changing anything:
- xng is stopped or has failed (it starts it again), or isn't enabled to start at boot
- the udev rule that lets xng open the SDRs is missing
- the TV tuner (DVB-T) kernel driver isn't blocked, or is still loaded and holds an RTL-SDR
- the clock is more than 5 minutes off, or network time sync is off
- an SDR in
/etc/xng/station.tomlisn't plugged in because it was swapped or its serial changed: when exactly one other SDR of that kind is plugged in with no job, it gets the job (the old file is kept asstation.toml.bak); otherwise run the installer again to choose - the weekly automatic update is broken (a unit is missing, the timer isn't enabled, or the last run failed)
It restarts xng when a fix needs it and checks that it comes up. With -y it applies every fix without asking; without a terminal and without -y it only lists what it would change. It exits with an error when a problem is left, so you can run it from a script.
To change what each SDR does, run the installer again.
The QR code needs qrencode, which the installer tries to install. When it can't, or the terminal is too narrow for the code, the installer shows the sign-in link instead; open it on any device. Set AIRFRAMES_NO_QR=1 to always skip the QR code. status also prints the link to your station's page.
To skip the questions (for example over SSH without a terminal, or in a script), use -y xng. Add --sign-in to link the station to your account (it still shows the code and waits for you), and --modes to choose each SDR's job by serial or number:
curl -sSL https://install.airframes.sh/installer | bash -s -- -y xng --sign-in --modes "0=acars,1=vdl2"
The separate decoders are still available: pick them in the menu, or name one (acarsdec, dumpvdl2, dumphfdl, vdlm2dec, all):
curl -sSL https://install.airframes.sh/installer | bash -s -- -y acarsdec --station-id MY-STATION
On Linux this installs acarsdec and starts it as the airframes-acarsdec systemd service. Use the Station ID from your station's page on app.airframes.io; without it, your feed shows up as an anonymous station.
Everything after bash -s -- is passed to the installer. Useful options:
| Option | What it does |
|---|---|
-y | Don't ask for confirmation |
--sign-in / --no-sign-in | xng: sign in to Airframes even with -y, or don't sign in |
--modes "0=acars,1=vdl2" | xng: job per SDR (by serial or number): acars, vdl2, hfdl, airband, ais, adsb, uat, sonde, iridium or off |
--airband "120.500,119.100" | xng: airband channels from the Airframes ATC directory, or nearest |
--keep-old-decoders | xng: leave acarsdec, dumpvdl2, dumphfdl and AIS-catcher set up before running, instead of switching them to xng |
--xng-method docker | xng: native or docker (default: native, else Docker) |
--lat 38.68 --lon -120.99 | Receiver position |
--station-id MY-STATION | Your Station ID from app.airframes.io |
--region north_america | Default frequencies for north_america, europe, asia_pacific or global |
--sdr airspy | SDR type: rtlsdr (default), airspy or sdrplay |
--device 00000002 | Which RTL-SDR to use, by index or serial |
--method docker | Install with binary (default), source or docker |
--no-service | Only print the command to run, don't create a service |
--report / --no-report | Send the anonymous install report without asking (also with -y), or don't ask |
--help | All options |
Anonymous install report
At the end of a run, or when it fails, the installer shows a short report and asks whether to send it to Airframes. The answer defaults to no, and with -y it isn't sent unless you add --report. It helps us see which systems and SDRs the installer fails on, and at which step. The report contains only:
- the installer version, operating system, distribution, CPU architecture, and whether it runs under WSL
- what was set up (xng, separate decoders, ADS-B), the install method and the xng version
- the SDR types (such as
rtlsdr) and each SDR's mode (such asacarsorvdl2) - whether you signed in (yes or no), and how long the run took
- whether it worked, or the step it failed at (such as
xng-install-native) and the exit code
It never contains your station ID, account, hostname, SDR serial numbers, position or anything you typed. Airframes doesn't store the IP address it came from. Use --no-report to never be asked.
ADS-B
Airframes doesn't ingest ADS-B itself; ADS-B goes to Airframes' partner networks, Airplanes.Live and Plane Watch. The installer sets that up too: pick ADS-B in the menu, or name adsb:
curl -sSL https://install.airframes.sh/installer | bash -s -- -y adsb --lat 38.68001 --lon -120.99436 --alt 120m
- Already running PiAware, readsb, ultrafeeder or another ADS-B decoder? The installer feeds the partners from it (port 30005) and leaves it as it is.
- No ADS-B decoder yet? It installs readsb (or ADS-B Ultrafeeder with
--method docker) on an SDR of its own. - Airplanes.Live is set up with their feed client, including MLAT. For Plane Watch, create a feeder at atc.plane.watch and pass
--planewatch-key <key>(it runs in Docker). --lat,--lonand--alt(inmorft) give the antenna position for MLAT; it's never shown exactly.--mlat-namesets the name on the MLAT map. In a terminal, the installer asks for these.
ACARS, VDL2 and HFDL for Airframes need an SDR of their own (an unfiltered one, since ADS-B dongles are often filtered for 1090 MHz). On a machine that already feeds ADS-B, plug in a second SDR and pick a decoder. The installer tries to leave the ADS-B dongle alone: it reads the PiAware, dump1090 and readsb settings, and asks you which dongle to use when it can't tell (with -y it stops instead). Check the device it reports before you go on, and pass --device <index|serial> to choose one yourself. rtl_test lists the plugged-in RTL-SDRs with their serials.
Docker with ACARS Hub (Recommended for Experienced Users)
ACARS Hub by the SDR Enthusiasts community is a Docker-based system that runs multiple decoders and provides a local web dashboard for viewing your received messages. It uses acars_router to deduplicate messages and feed them to aggregation services like Airframes.
See Feeding with Docker for the complete setup guide.
Feeder Clients
Feeder clients are small pieces of software, often in the form of scripts, that take the output from your receiver software and shuttle the data off to a remote server.
Some feeder clients are sophisticated, in that they might filter and optimize what data is sent. Other feeder clients simply send everything completely unfiltered.
Direct feeding from decoders
Most modern decoders can feed Airframes directly without a separate feeder client. Here are the Airframes ingest endpoints:
| Data Type | Protocol | Endpoint | Port |
|---|---|---|---|
| VHF ACARS | UDP | feed.airframes.io | 5550 |
| VDL2 | UDP | feed.airframes.io | 5552 |
| VDL2 | TCP | feed.airframes.io | 5553 |
| HFDL | TCP | feed.airframes.io | 5556 |
See the individual decoder guides for the exact command-line flags:
- acarsdec — Use
-j feed.airframes.io:5550 - dumpvdl2 — Use
--output decoded:json:udp:address=feed.airframes.io,port=5552 - dumphfdl — Use
--output decoded:json:tcp:address=feed.airframes.io,port=5556
Manual Installation
For those who prefer to build and configure everything from scratch:
- thebaldgeek's documentation — Comprehensive guides covering hardware setup, software configuration, and feeding for every ACARS medium (VHF, VDL, HFDL, Inmarsat L-Band/C-Band, and Iridium). TBG's documentation has been an inspiration for the Airframes project and remains one of the best community resources for getting started. Start here if you're unsure which path to take.
- acarsdec via wiedehopf's install script
- dumpvdl2 via wiedehopf's install script
AirwavesOS (formerly Airframes Receiver OS / AROS)
If you are using the AirwavesOS, feeder clients are already installed for most services and ready for you to configure as an Output. You are able to feed multiple aggregation services. This will be the easiest way to get going for just about everyone.
In development.
Other Distributions
If you are using an OS distribution from one of the other aggregation services, you will need to install and/or configure a feeding client in order to feed your data to these services. The rule of thumb is that the aggregator that put together the OS distribution will likely have already included their own feeder client, but you will likely need to add the feeder clients for any other aggregation service that you would like to feed to.