Community. Driven. Weather. Data.Always Ad-FreeDeveloper FriendlyChecking statusDiscord
Become a supporter
Sign in

One-command SDR to APRS installer

Turn a Raspberry Pi and a $30 RTL-SDR dongle into an APRS-IS weather beacon for the 433 MHz station already in your yard. One command, a few questions, and your callsign is on aprs.fi.


Most cheap consumer weather stations, AcuRite, La Crosse, Fine Offset and their many rebadges, talk to their indoor console over 433 MHz. An RTL-SDR dongle can hear those same transmissions, which means the console is optional and the station can go straight onto APRS-IS without a vendor gateway.

The installer sets that whole chain up on a Raspberry Pi with one command:

curl -fsSL https://wxalerts.org/install-sdr-aprs.sh | sudo bash

It is interactive. It will ask you which station to publish, your callsign, and where the sensors are, and then it starts a beacon that runs on its own from then on.

What you need

A Raspberry Pi Any model that runs Raspberry Pi OS; a Zero 2 W is enough. Debian and Ubuntu also work. It needs to be on the internet.
An RTL-SDR dongle RTL2832U based: RTL-SDR Blog V3 or V4, Nooelec NESDR, or a generic “DVB-T” stick.
A 433 MHz station Anything rtl_433 decodes. The installer has the best support for the AcuRite 5-in-1.
A callsign Your own, as a licensed ham.
Your station’s coordinates In decimal degrees, and ideally the altitude too.
About 20 minutes Most of it is the system update at the start.

Have the station running and within range when you start, because part of the install is a live scan of the airwaves.

Running it

Run the one-line command above in a terminal on the Pi, over SSH or with a keyboard and screen. If you would rather read the script before running it, which is a good habit with anything piped into sudo bash, download it first:

curl -fsSL https://wxalerts.org/install-sdr-aprs.sh -o /tmp/wxalerts-install.sh
less /tmp/wxalerts-install.sh
sudo bash /tmp/wxalerts-install.sh

The installer needs a terminal to ask its questions. Over SSH that is the default. If you are driving it from another script, use ssh -t.

What it asks you, in order

  1. License confirmation. Type YES. Anything else stops the install.

  2. Plug in the dongle, if it is not already. The installer waits until the dongle shows up on USB.

  3. Which station to publish. After a 60-second scan it lists every sensor it decoded, strongest signal first, with the latest readings from each:

      [1] Acurite-5n1  id=2002  signal -6.2 dB  packets=12
          60.2°F (15.7°C), 91% RH, wind 2.2 mph from 45°, rain counter 1.04 in
      [2] Acurite-5n1  id=1862  signal -14.0 dB  packets=9
          60.4°F (15.8°C), 99% RH, wind 3.2 mph from 202°, rain counter 96.42 in
      [0] Enter model/id manually

    Type the number in brackets, not the ID. See Picking your station for how to tell which one is yours. If the scan found nothing, you can type the rtl_433 model name and ID by hand.

  4. Callsign, for example W1AW or W1AW-13. If you leave off the SSID it asks for one, and suggests 13, the usual SSID for a weather station. The installer works out your APRS-IS passcode from the callsign and shows it to you.

  5. Location. Latitude and longitude in decimal degrees, north and east positive. You can paste a 33.4484, -112.0740 pair straight from Google Maps. Then the altitude in feet above sea level, which can be left at 0. Use the position of the sensors, not your house’s street address and not the Pi’s.

  6. Comment, the text shown after the weather on aprs.fi. It defaults to WXAlerts RTL-SDR and is trimmed to 43 characters.

After the last answer it starts the beacon and prints a summary with your callsign, passcode, station and the commands to watch it.

Picking your station

433 MHz carries a long way. In a neighborhood the scan will often find other people’s weather stations, and sometimes car tire pressure sensors and wireless thermometers too. Two stations of the same model, like the two AcuRite 5-in-1s above, are completely separate units: different IDs, different readings, and only one of them is yours. Picking the wrong one puts your callsign on your neighbor’s weather.

Ways to tell them apart, most reliable first:

  • Match the readings to your own console. Temperature, humidity and wind direction are the easiest to compare. In the example above the two stations agree on temperature within a few tenths but disagree on humidity by 8% and on wind direction by 150°, so the console settles it at a glance.
  • Make your station do something. Spin the anemometer by hand, or turn the wind vane to point a known way, and re-run the scan. The station whose wind changed is yours.
  • Signal strength. The list is sorted strongest first, and the nearest station is usually the strongest. It is a hint, not proof: a station on your roof can read weaker than one on a neighbor’s pole with a clear line of sight.

The packet count is not a good guide. It depends on distance, antenna and where the 60-second window happened to fall in each station’s transmit cycle, and says little about whose station it is.

After it is running

Watch the beacon work:

journalctl -u wxalerts-aprs -f

You should see update lines as the station transmits, roughly every half minute for most sensors, and a TX line with the full packet every five minutes. A few minutes after the first TX, look your callsign up on aprs.fi. Then register the station with CWOP, as described in Getting an ID. Registering is what gets a ham callsign’s data quality-controlled by MADIS and passed on to the NWS.

If it did not work

The installer names the process when something is holding the dongle, and the journal command above shows what the beacon is doing. The troubleshooting section of the installer reference covers the usual problems: no packets from the scan, nothing on aprs.fi, wind or rain showing as dots, and a missing terminal.

For what the installer changed on your Pi, the settings you can adjust, re-running it and removing it, see the installer reference.

View this page as Markdown

May we use Microsoft Clarity to see how pages are used (clicks, scrolling and replays of a visit, with anything you type hidden), plus a random ID linking that to crash reports? Only to find bugs and confusing screens. Never advertising, never sold.