OSSAStations

Run a station

Add your station

A station is a receiver that records UHF spectrograms around the clock, and a container beside it that sends them here hour by hour, with the narrowband tracks it finds in them. If you already run STRF's rffft, you add that container and nothing in your receiving chain changes. Setting it up takes about five minutes.

What you need

1. Start it

In a folder of its own, fetch the compose file, say where rffft writes, and start it:

mkdir ossa-station && cd ossa-station
curl -fsSLO https://gitlab.com/librespacefoundation/ossa/-/raw/main/services/station/compose.yml
echo "STRF_DIR=/home/you/strf/data" > .env
docker compose up -d

Replace /home/you/strf/data with your folder. It is mounted read-only. Two containers start: station, which encodes and sends, and serves its console; and detect, which follows the same folder and finds the tracks. detect has no network.

2. Set it up

Open http://<that computer>:8080 from any computer on the same network. The console takes you through four steps:

  1. Your station. A name to offer OSSA (3 to 32 lowercase letters, digits and dashes), where the antenna is (passes are predicted from it), and an admin password for the console's settings.
  2. Your data. The console lists the rffft folders it finds, each with its bands and the age of its newest row. Pick yours.
  3. Join OSSA. The console shows a code such as OSSA-7K2Q-9MPR.
  4. Done. The console moves on by itself once the station is added.

"See the station first" opens the console before joining: the station encodes meanwhile and sends nothing.

3. Add it to OSSA

Go to ossa.libre.space/claim, sign in with your LSF account, and type the code. You see what the station says of itself, its name and bands, before you add it, and you confirm the name its data will carry: name-402-20261020 for a day of the 402 MHz band. The code comes from a key the station made itself: it holds no password and works once, while the station is on.

What it sends, and where it goes

While the station cannot reach OSSA, hours wait on its disk and go out when it can: nothing is lost. Sending can be turned off in the console's settings.

Day to day

The console's overview says in one line whether everything works, shows the last ten minutes of every band, and lists what needs you. In the folder with compose.yml:

docker compose logs -f station               # its log; the first lines give the code
docker compose pull && docker compose up -d    # update to the newest build

The station volume holds the station's key, its identity on OSSA. Keep it when updating; a station whose key is lost is added again with a new code.

When something is wrong

The console names the part and says what to do. The ones you are most likely to meet:

PartIt saysWhat to do
ReceiveNo folderCheck STRF_DIR in .env, then docker compose up -d.
ReceiveNo readingThe station runs as a user of its own: chmod -R o+rX on the folder.
ReceiveNo spectrograms, Stoppedrffft is not writing there, or stopped more than 5 minutes ago.
DetectNot running, Stoppeddocker compose up -d; docker compose logs detect says why.
NetworkOfflineThe station's internet connection; the reason follows. Nothing is lost meanwhile.

On an OSSA station

OSSA's own stations run the same container from their station stack, reading capture's spectrograms instead of rffft's; the console is the same, on port 8080.

The station software is new: tested against this server and with recorded and made-up data, not yet run at a station for long. Tell us what goes wrong, and what reads badly, in OSSA's issues. How it works: services/station and ADR 0020.