Skip to content

Resume a running APRS decoder when the dashboard is reopened - #380

Merged
smittix merged 2 commits into
mainfrom
fix/aprs-dashboard-resume
Oct 15, 2026
Merged

smittix merged 2 commits into
mainfrom
fix/aprs-dashboard-resume

Conversation

@smittix

@smittix smittix commented Oct 14, 2026

Copy link
Copy Markdown
Owner

Problem

The APRS dashboard showed standby while a decoder it had started earlier (another tab, or before the page was closed) kept running server-side, so it could not be stopped or watched from the page.

Changes

  • /aprs/status reports the frequency the decoder is running on (null once stopped).
  • The dashboard checks status on load and, if a decoder is running, restores its counts, controls and live stream (resumeAprs() / showAprsRunning(), split out of startAprs()).
  • Welcome page: running APRS and Meshtastic decoders get chips linking to their dashboards, and any /<mode>/dashboard catalog card is marked running.

Tests

  • test_aprs_status_reports_the_frequency_it_is_running_on (tests/test_mode_lifecycle.py)
  • test_health_reports_a_connected_meshtastic_node (tests/test_routes.py)

Not yet run: the authoring machine had no Python environment. Please run pytest tests/test_mode_lifecycle.py tests/test_routes.py, and check by hand: start APRS, close the tab, reopen /aprs/dashboard; it should show TRACKING with the live counts.

🤖 Generated with Claude Code

Smittix and others added 2 commits October 14, 2026 22:00
The APRS dashboard showed standby while a decoder it started earlier kept
running server-side. /aprs/status now reports the active frequency, and the
dashboard takes over a running decoder on load.

The welcome page also links running APRS and Meshtastic decoders to their
dashboards, and marks any /<mode>/dashboard catalog card as running.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@smittix
smittix merged commit 7e0438d into main Oct 15, 2026
5 checks passed
@smittix
smittix deleted the fix/aprs-dashboard-resume branch October 15, 2026 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant