HFDL Receiver and Antenna: dumphfdl Setup Guide
Which SDRs tune HF, which antennas work, and how to run dumphfdl (Docker or native) so one HFDL receiver feeds airframes.io and AvioADSB.
An HFDL receiver needs three things: an SDR that tunes shortwave, an HF antenna, and the decoder dumphfdl. This guide covers each, then runs dumphfdl in Docker or natively and sends the decoded JSON to airframes.io and AvioADSB at the same time.
What HFDL is
HFDL (High Frequency Data Link) is ACARS over shortwave. Airframes' documentation describes it as long-range air-ground data communication "where VHF coverage is unavailable", operating roughly 2 to 22 MHz, and also carrying ADS-C position reports and CPDLC messages (Airframes HFDL intro). Aircraft use it over oceans and polar routes. HF signals bounce off the ionosphere, so one receiver can hear aircraft far beyond line of sight.
Each ground station uses several frequencies, and which ones are active changes through the day. The Airframes docs point to hfdl.observer for current activity, and their dumphfdl guide says lower HFDL frequencies generally perform better at night and higher ones during the day (install guide). This post does not give a "best channel list" because it would go stale. The system table that ships with dumphfdl (see below) lists every ground station and frequency.
Whether you may receive these transmissions, and whether you may share them with an aggregator, depends on your country. Check your local rules. This is not legal advice.
Which SDRs can tune HF
HFDL channels sit between roughly 2 and 22 MHz, so the SDR must tune below the roughly 24 MHz floor of a standard RTL-SDR. The dumphfdl README says it was tested with the Airspy HF+ and the SDRplay RSP1A, and that "popular RTL-SDR dongles are not suitable, because they can't tune down below 24 MHz" (dumphfdl README). It lists the RTL-SDR Blog V4 as a decent low-budget option.
| SDR | HF tuning, per the maker | Notes |
|---|---|---|
| Airspy HF+ Discovery | "HF coverage between 0.5 kHz .. 31 MHz" (Airspy) | Tested by the dumphfdl author (HF+ family). |
| SDRplay RSP1A | 1 kHz to 2 GHz (SDRplay datasheet) | Tested by the dumphfdl author. |
| SDRplay RSP1B, RSPdx | 1 kHz to 2 GHz (RSP1B, RSPdx) | Same family as the RSP1A. Not named in the dumphfdl README. |
| RTL-SDR Blog V4 | Tune to 0 to 28.8 MHz for HF, no offset needed (RTL-SDR Blog) | Built-in upconverter. The article says it brings "improved sensitivity, and adjustable gain on HF" compared with the V3. |
| RTL-SDR Blog V3 | Direct sampling, 500 kHz to 24 MHz in the datasheet (user guide) | See limits below. |
The V3 user guide says direct sampling can show mirror images of strong signals because of the 28.8 MHz sample rate, and that overload is a known issue. It is usable for a first try, but expect a worse result than with the other SDRs. Direct sampling on a V4 "will yield no results" (RTL-SDR Blog), so do not enable it there.
Check what your install sees with SoapySDRUtil --info and SoapySDRUtil --probe=driver=<driver_name> (dumphfdl README).
Antennas
The Airframes docs recommend "an HF wire antenna (random wire, end-fed, or loop) at least 10 meters long, as high as possible" and say even a simple wire over a tree can work (Airframes HFDL intro). The options:
- Long wire or random wire with a 9:1 unun. The RTL-SDR Blog V3 guide recommends a long wire with a 9:1 unun for HF (user guide). It is the cheapest option. A wire picks up the electric component of noise, so it is the most sensitive to household interference.
- End-fed wire. Listed with random wire and loops in the Airframes recommendation above. The OARC wiki asks for an HF antenna "you can leave listening", and warns that if you also transmit from the same site you may need an antenna switch or isolator (OARC wiki).
- Active loop. rtl-sdr.com describes loops as useful for noise: a loop mostly responds to the magnetic part of a wave, and an active loop can be used to locate noise sources such as lighting and power adapters (noise-hunting article, example active loop).
Whatever you pick, keep it away from noise. Switch-mode power supplies, LED lighting, USB cables and powerline adapters all radiate on HF. rtl-sdr.com has an article on shielding switch-mode supplies. Put the antenna as far from the house electronics as you can, outdoors if possible, and run coax to the SDR rather than a long USB cable.
Run dumphfdl with Docker
This uses docker-dumphfdl to decode and acars_router to forward. acars_router accepts several targets in one variable, separated by ;.
Variables you will set, from the docker-dumphfdl README:
SOAPYSDRDRIVER: the SoapySDR driver string (for an Airspy HF+,driver=airspyhf).GAIN_TYPEandGAIN:--gainor--gain-elements, and its value. The format depends on the SDR.SOAPYSAMPLERATE: a sample rate your SDR supports.FEED_ID: the name that identifies your feed on aggregators. Pick something you will recognise.ZMQ_MODEandZMQ_ENDPOINT: how acars_router reads the decoder output (serverandtcp://0.0.0.0:45556below).FREQUENCIES(optional): a space-separated fixed list. If you leave it unset, the container runs a frequency selector that tests channels (TIMEOUTseconds per group, 90 by default) and keeps the best ones. It re-runs it if the message rate drops.
Save this as docker-compose.yml:
services:
dumphfdl:
image: ghcr.io/sdr-enthusiasts/docker-dumphfdl:latest
container_name: dumphfdl
restart: always
device_cgroup_rules:
- "c 189:* rwm"
volumes:
- /dev:/dev:ro
environment:
- SOAPYSDRDRIVER=driver=airspyhf
- GAIN_TYPE=--gain
- GAIN=<gain-for-your-sdr>
- SOAPYSAMPLERATE=768000
- FEED_ID=<station-name>
- ZMQ_MODE=server
- ZMQ_ENDPOINT=tcp://0.0.0.0:45556
tmpfs:
- /run:exec,size=64M
- /var/log
acars_router:
image: ghcr.io/sdr-enthusiasts/acars_router:latest
container_name: acars_router
restart: always
environment:
- AR_ENABLE_DEDUPE=true
- AR_RECV_ZMQ_HFDL=dumphfdl:45556
- AR_SEND_TCP_HFDL=feed.airframes.io:5556;feed.avioadsb.org:31007
tmpfs:
- /run:exec,size=64M
- /var/logThe device mapping (c 189:* rwm plus a read-only /dev mount) is what the docker-dumphfdl README uses to pass USB SDRs through. The settings under dumphfdl are an example for an Airspy HF+. For an SDRplay or other SDR, change SOAPYSDRDRIVER, the gain values and the sample rate, and read the README for that hardware. Then run:
docker compose up -d
docker compose logs -f dumphfdlTo force a new channel selection later, the README gives docker exec -it dumphfdl /reset-dumphfdl.sh.
The Airframes docs list feed.airframes.io port 5556 for HFDL (aggregator docs), and the acars_router README uses the same host and port in its example. AvioADSB takes HFDL JSON on feed.avioadsb.org TCP 31007 (HFDL protocol page).
Run dumphfdl natively
Build or install dumphfdl from its repository, with SoapySDR and the driver for your SDR. dumphfdl can send TCP itself and accepts several --output options (README), so no acars_router is needed:
dumphfdl --soapysdr driver=airspyhf --sample-rate 384000 \
--station-id <station-name> \
--output decoded:json:tcp:address=feed.airframes.io,port=5556 \
--output decoded:json:tcp:address=feed.avioadsb.org,port=31007 \
8927 8912 8894 8885 8834How the pieces work, per the README and the Airframes dumphfdl guide:
- Channel frequencies are in kHz. The list above (8927, 8912, 8894, 8885, 8834) is the one in the Airframes example. Pick channels from the active ground stations at hfdl.observer for your location.
--sample-rateis mandatory, in Hz. Pick a rate your radio supports (check with SoapySDRUtil): an unsupported rate may be accepted and then nothing decodes. Usable bandwidth is roughly 80 percent of the sample rate, and all channels must fit inside it. The Airframes guide says 250 kHz covers roughly five to eight channels of one ground station.--centerfreqis usually unnecessary: the README says to rely on automatic configuration, which centres between the lowest and highest channel.--outputis<what>:<format>:<transport>:<parameters>. TCP is client mode and needsaddressandport. UDP exists but the README warns it does not guarantee delivery, and AvioADSB does not accept UDP in any case. ZeroMQ is also supported.--station-idnames your receiver ("Receiver site identifier" in the option list in dumphfdl's source). The Airframes guide uses it too. Very old builds may lack it:dumphfdl --helpshows whether yours has it. Without a station name, AvioADSB cannot add your feed to an account.--system-tableloads a ground station table so logs show station names instead of numeric IDs. The file is not required. The README says the current copy isetc/systable.confin the source tree. dumphfdl can also receive newer tables over the air, and--system-table-savestores them.- Use
--gain <dB>or--gain-elements <spec>for gain, depending on the SDR.
Do not use --freq-as-squawk. The README says it is only for private Virtual Radar Server instances and that position data should not go to public networks.
To keep it running, wrap the command in a systemd unit with Restart=always, as the Airframes guide does.
Check that it works
- Watch the decoder output. In Docker,
docker compose logs -f dumphfdl. Natively, add--output decoded:text:file:path=-(dumphfdl's default output when you give none) to see decoded frames on screen as well. - Find your station on the Airframes stations page by your station name. The Airframes guide says volume depends on time of day, propagation and traffic near your chosen ground station.
- Open avioadsb.org/feed-status from the same network as the receiver. Datalink feeds are listed there.
- HFDL messages show on the live datalink page and through
/v1/acars?type=hfdlin the API. Position reports carrylatandlon. To claim the station, open the dashboard from the same network while it sends and add it by its station name (HFDL protocol page).
HF is slow. Allow up to an hour for the first messages.
Troubleshooting
- Nothing decodes. Check the sample rate is one your SDR supports and that every channel fits inside about 80 percent of it.
- Plenty of noise, few frames. Move the antenna away from power supplies, lighting and USB cables. Try a ferrite on the cables, and compare a different time of day.
- Quiet at the wrong hour. Active channels change with the time of day. Check hfdl.observer, then change
FREQUENCIESor the native channel list, or leaveFREQUENCIESunset in Docker so the selector chooses. - Container cannot see the SDR. Confirm
device_cgroup_rulesand the/devmount, and that SoapySDR lists the device on the host. - Gain errors.
GAIN_TYPE=--gaintakes one value,--gain-elementstakes a per-stage string. The right values depend on the SDR. - RTL-SDR Blog V3 shows mirror images or overload. That is the direct sampling limit described in its user guide. A V4 or an HF-native SDR avoids it.
- Feed shows unnamed or missing on AvioADSB. Set
FEED_ID(Docker) or--station-id(native), and open feed-status from the receiver's network. - No messages on one aggregator only. Check outbound TCP to
feed.airframes.io:5556andfeed.avioadsb.org:31007is allowed by your firewall.
Next steps
The feed hub at /getting-started lists the other protocols you can add. To confirm your HFDL feed, open avioadsb.org/feed-status, then add the station on the dashboard by its station name.