Skip to content
SP9TKNPublic
forked from SQ9MDD/APRSBox

About

APRSBox for Windows — native desktop port of SQ9MDD's Linux APRSBox: PySide6 window, map with RF paths and offline tiles, CWOP, weather charts; part of the SP9TKN APRS station (program in Polish)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

610 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APRSBox for Windows — SP9TKN port

🇵🇱 Polish version: README.pl.md

📡 Part of the SP9TKN APRS station — see how the pieces work together.

Note

This is a fork of APRSBox by SQ9MDD. The original is a Linux application — for Raspberry Pi and Linux servers, with a web panel in the browser (FastAPI), Docker images and systemd / OpenRC installers. Its README is kept as README.aprsbox.md. This fork is a native Windows desktop program: the same APRS service code, but a normal Windows window (PySide6 / Qt) instead of the web panel, a portable package with Python inside, and additional changes — a native map with RF paths, an offline tile cache and extra base maps, CWOP weather stations, weather history charts, Windows serial ports, tray and autostart, and a series of reliability fixes.

Important

🇵🇱 The program is in Polish (the window texts are translated to Polish). Detailed usage notes in Polish: README-WINDOWS.md.

APRSBox for Windows: native map with stations, RF paths, range circle, distance tool and the last-packet panel

The native map: stations with APRS symbols, RF paths ("who heard whom through which digipeater"), range circle, Maidenhead grid, distance tool and the list of the last frames. Rendered off-screen from simulated traffic with fictitious callsigns (scripts/desktop_screenshots.py).

Linux original vs Windows port

APRSBox (SQ9MDD) APRSBox for Windows (this fork)
System Linux, Raspberry Pi, Docker Windows 10 / 11, 64-bit
User interface web panel in a browser, login native window (PySide6 / Qt) with all the pages and sub-pages, tray icon, autostart
Installation install script / Docker image portable ZIP with Python 3.13 inside, or a venv from source
APRS logic app.core_main runtime + app.main web app the same services, running inside the window's process
Serial KISS TNC POSIX termios / select a pyserial backend: COM3, \\.\COM12, socket://host:port, loop://

Added or changed in this fork:

  • Native map — map sources from the settings, disk cache of tiles (areas already seen work offline, size limit 1 GB), base map switcher on the toolbar, base map brightening (+10…+50 %), "super zoom" past the source's maximum, an elevation map (AWS terrain), seamless tiles.
  • RF paths on the map — like APRSIS32: for every heard frame the line goes source → digipeaters (WIDE1, WIDE2 …) → your station; frames from APRS-IS are drawn to the IGate that heard them (qAR/qAO); time window and RF / APRS-IS filters next to the button.
  • Station details on the map — information after a click, the station card after a double click, time of reception over RF and over APRS-IS, all frames from the retention period.
  • CWOP weather stations on the map — a read-only client of cwop.aprs.net with a range filter around your station (APRS-IS never carries them).
  • Weather history — every weather report heard over RF, APRS-IS or CWOP kept for 7 days in metric units, with charts on the station card.
  • Messages: the "RF traffic" channel — every message frame heard or sent on RF (2 m, LoRa), each copy with its band and path, telemetry and ACKs included; read only, kept for good, cleared on request like a conversation.
  • Station search — a callsign field on the Stations page (Enter narrows the table, together with the type filter).
  • Traffic analyzer on the station card — SP9DLM's analysis rules (used with his consent) over 1–96 h of APRSBox's own traffic and daily logs, optionally findu.com: WIDE path, copies per frame, beacon interval, digipeater work, IS→RF, who hears the station, with plain-language conclusions.
  • Remote receiver page — another station's APRS ANALIZER receive page (Settings → Desktop application), read every minute: shown in the analyzer's "who hears it" and as an extra row in the Traffic monitor.
  • Route map in the traffic analyzer — who heard whom, drawn on the APRSBox map: arrows between the stations along the frames' paths, as thick as the number of frames in the period (1–96 h). Switchable layers: the station's frames to the receivers (ours and a remote receive page), the iGates that put them into APRS-IS, whose frames it repeats, and — on the own station's card — the whole network we hear on RF. Idea after SP9DLM's gateway analysis map.
  • APRS journal (Dziennik APRS) — a daily report (at 21:00) and a monthly summary of the APRS network in Silesia, written in Polish from the station's own reception, APRS-IS and the weather stations: traffic per system (2 m, LoRa, internet), the busiest iGates and digipeaters, records, the weather with on-air IMGW warnings and snow, batteries judged by their nominal series, anomalies (teleports, corrupted frames, badly written coordinates, gateways putting internet traffic on the air), devices and messages. Its own window with charts, a book icon in the side panel that lights up until the report is read. Privacy rules are built in (no times or places of other stations' activity), callsigns can be hidden in data/dziennik/pomijane-znaki.txt. A local phrase model — no AI service, nothing leaves the PC.
  • Traffic analyzer: PDF report and better maps — "Generate PDF" (summary, map, table of routes, every frame of the period); the map fits the station's own traffic, the mouse wheel scrolls the page and zooms the map only for 5 s after a click, a dark map by default with a map source switch.
  • Windows integration — the taskbar / tray icon is your own APRS symbol, start minimised, autostart without admin rights, a sound for EMERGENCY / alert pop-ups, slower refreshes when nobody uses the PC.
  • Digipeater — frames with Polish letters and emoji are digipeated.
  • Reliability — the background loops (transmit queue, beacon, object, bulletin, WX schedulers) survive a database error instead of stopping silently; a Qt crash (signals through deleted objects, garbage collection on worker threads) removed; memory leaks in background tasks and the map fixed; warnings and errors kept in the event log for 30 days.
  • Tests — window tests run without a display (QT_QPA_PLATFORM=offscreen) on a temporary database with simulated traffic; an end-to-end test runs the real runtime against a fake KISS TNC and a fake APRS-IS server on localhost.

Every change is described, newest first, in CHANGES-WINDOWS.pl.txt (Polish).

Screenshots

Dashboard
Dashboard: station status, activity charts, station readiness
Traffic monitor
Traffic monitor: RF and APRS-IS frames, filters
Stations
Stations: type, last activity, APRS icon, position, distance
Statistics
Statistics
WX
WX: own weather beacon configuration and data sources
Band condition
Band condition

Rendered off-screen from simulated traffic with fictitious callsigns; host network details on the dashboard are blurred.

APRSBox at the SP9TKN station with real traffic

At the real station: APRSBox with the map and the list of heard stations, next to Audio PTT and Direwolf.

Installation

Portable package (simplest): download APRSBox-windows_….zip from Releases, open its Properties and tick Unblock, unpack it to a folder you can write to (Desktop, Documents, C:\APRS\ — not C:\Program Files) and run APRSBox.exe. Python 3.13 and all libraries are inside; nothing is installed. The station data stays in the program folder (data\, logs\, config\, backups\); the package contains none.

From source (Python 3.13 for Windows):

py -3.13 -m venv .venv
.venv\Scripts\python -m pip install -r requirements-desktop.txt
.venv\Scripts\pythonw.exe APRSBox.pyw

APRSBox.exe is only a small launcher (launcher\APRSBox.cs, built with launcher\build.cmd) that starts APRSBox.pyw with .venv or the bundled python\ without a console window. Options: --minimized, --no-runtime (window only, no interfaces and no transmitting), --page NAME (e.g. map, traffic, messages).

First start: My station (callsign, SSID, position, symbol, path, beacon interval; transmit is off by default) → Interfaces: KISS TCP (e.g. Direwolf 127.0.0.1:8100), KISS over a serial port (COM5), APRS-IS (the passcode is computed from the callsign), OpenWebRX MQTT (receive only) → only then enable TX and the routing rules (digipeater). Details: README-WINDOWS.md.

Station scripts (windows-station/)

The scripts that keep the SP9TKN station running unattended:

Script What it does
start-aprsbox / stop-aprsbox starts the station in order (Direwolf → Audio PTT → APRSBox) and places the windows / stops it and pauses the watchdog
start-watchdog / stop-watchdog the scheduled task "APRSBox-Watchdog": every 30 s it starts whatever stopped, every 5 s it puts the windows back where layout.json says (after a monitor sleep, a KVM switch, a resolution change)
edit-layout / save-layout / fix-layout arrange the windows by hand (the watchdog waits up to 15 min) and save the layout / restore it now

They expect the station layout next to APRSBox: Direwolf in direwolf-1.8.1-aprsbox290r2\…\direwolf.exe and Audio PTT in Audio PTT\AudioPTT.exe. The programs are started through WMI, so stopping the scheduled task never takes the station down with it.

Tests

.venv\Scripts\python -m pip install -r requirements-dev-windows.txt
.venv\Scripts\python -m pytest

Page screenshots without a display: .venv\Scripts\python scripts\desktop_screenshots.py C:\Temp\shots dashboard map traffic --tiles --paths.

Part of the SP9TKN APRS station

Five projects work together as one APRS station on a Windows PC with a Yaesu FT-290R II (2 m). Each part does one job and also works on its own.

Project Role
ESP32 PTT trigger keys the radio's PTT through a PC818 optocoupler (galvanic isolation), red/green TX/RX LEDs
Audio PTT radio audio as a UZ7HO-style waterfall + PTT lamps, read-only
APRSBox for Windows ← you are here the APRS application: iGate, digipeater, beacons, messages, map (Windows port of SQ9MDD's APRSBox)
CYD-Monitor or WS-Monitor an ESP32 display as a wireless monitor: the station screen over Wi-Fi, with touch — the 2.8" "Cheap Yellow Display" or the 7" Waveshare ESP32-S3
Direwolf — SP9TKN package sound-card modem / TNC (AFSK 1200): WB2OSZ's Direwolf 1.8.1 with a dark console window and the station configuration (PTT on DTR, KISS TCP for APRSBox)

The station at work: Audio PTT (top left), Direwolf (bottom left) and APRSBox with the map. Coordinates of other stations in the Direwolf window are blurred. The station at work: Audio PTT (top left), Direwolf (bottom left) and APRSBox with the map. Coordinates of other stations in the Direwolf window are blurred.

flowchart LR
    RIG["Yaesu FT-290R II<br/>2 m transceiver"]
    SC["USB sound card"]
    PTT["ESP32 PTT trigger<br/>PC818 optocoupler"]
    NET(("APRS-IS"))
    PANEL["CYD-Monitor 2.8 in<br/>or WS-Monitor 7 in<br/>Wi-Fi, touch"]
    subgraph PC["Windows PC"]
        DW["Direwolf<br/>AFSK 1200 modem"]
        AB["APRSBox for Windows"]
        AP["Audio PTT"]
        SRV["CYD-Monitor or<br/>WS-Monitor server"]
    end
    RIG <-->|"audio"| SC
    SC <--> DW
    DW <-->|"KISS TCP"| AB
    AB <--> NET
    DW -->|"DTR"| PTT
    PTT -->|"PTT, isolated"| RIG
    SC -.->|"same audio"| AP
    DW -.->|"DTR state, read-only"| AP
    AB -.->|"screen"| SRV
    AP -.->|"screen"| SRV
    SRV -->|"Wi-Fi"| PANEL
Loading

How it works

  1. Receive. Audio from the FT-290R II goes through a USB sound card to Direwolf, which decodes the AFSK 1200 packets and hands them to APRSBox over KISS TCP. APRSBox stores them, draws them on the map, gates them to APRS-IS and digipeats them according to its routing rules.
  2. Transmit. APRSBox queues a beacon, a message or a frame to digipeat and passes it to Direwolf over KISS. Direwolf raises DTR on the USB serial port of the ESP32 PTT trigger (PTT COMx DTR); the board closes the radio's PTT through the PC818 optocoupler and lights the red LED, and Direwolf plays the packet audio.
  3. Watch. Audio PTT shows the same radio audio as a waterfall, with two lamps that follow the PTT line. It reads the DTR state from the port Direwolf holds, without opening the port, so it never gets in the way of transmitting.
  4. From any room. CYD-Monitor or WS-Monitor mirrors the station desktop (APRSBox map, Audio PTT, Direwolf log) over Wi-Fi, with touch: to a 2.8" ESP32 "Cheap Yellow Display" or to a 7" Waveshare ESP32-S3 display. The same panel is also the display of the SP9TKN SDR scanner: CYD-Monitor jumps to the scanner page when SDR Oxide hears something, WS-Monitor shows a bubble with the channel.
  5. Unattended. Watchdog scripts (in the APRSBox repository) restart any program that stops and put the windows back in place after the monitor sleeps; a virtual display keeps the desktop at 1920×1080 while the physical monitor is off.

License

GPL-3.0, the same as the original. APRSBox © SQ9MDD; the Windows port © 2026 SP9TKN.

Tools: the Windows port was developed with Claude Code (Anthropic) — AI assistant used for coding, testing and documentation.

About

APRSBox for Windows — native desktop port of SQ9MDD's Linux APRSBox: PySide6 window, map with RF paths and offline tiles, CWOP, weather charts; part of the SP9TKN APRS station (program in Polish)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages