Skip to content

feat(rf): RF Environment tab exposing spectral scan + noise floor#79

Merged
KMX415 merged 3 commits into
KMX415:mainfrom
iceice400:feat/spectrum-analyzer-tab
Jul 8, 2026
Merged

feat(rf): RF Environment tab exposing spectral scan + noise floor#79
KMX415 merged 3 commits into
KMX415:mainfrom
iceice400:feat/spectrum-analyzer-tab

Conversation

@iceice400

Copy link
Copy Markdown
Contributor

Summary

  • Add GET /api/rf/status exposing NoiseFloorTracker snapshot and spectral-scan service state (enabled/supported/running, scan counters, latest histogram).
  • Retain the most recent scan histogram on SpectralScanService for the RF dashboard (no new HAL code).
  • Add RF Environment sidebar tab with noise-floor sparkline, live vs packet-fallback badges, calibration state, and Chart.js spectral histogram.

Test plan

  • python -m unittest tests.test_rf_routes tests.test_spectral_scan_service -v (7 passed)
  • Open RF Environment tab — noise floor readout and sparkline populate
  • With spectral_scan_interval_seconds: 0 — tab shows disabled scan message, packet fallback badge
  • On hardware with scan enabled — histogram renders after first scan; badge shows Live scan
  • Sidebar telemetry rail still works independently

AI disclosure

Implemented with Cursor AI assistance; reviewed and tested locally.

iceice400 and others added 3 commits June 7, 2026 21:31
Add GET /api/rf/status, retain latest scan histogram on SpectralScanService, and a dashboard tab with noise-floor sparkline and spectral histogram.
Badge and Chart.js label colors read canonical --text-* and --accent-*
tokens instead of standalone hex values.

Co-authored-by: Cursor <cursoragent@cursor.com>
Console-style RF ENV footer with noise floor, source, samples, and scan stats.

Co-authored-by: Cursor <cursoragent@cursor.com>
iceice400 added a commit to iceice400/AA_Testing_meshpoint that referenced this pull request Jun 12, 2026
Link PR 17 to KMX415#90, mark PR 19 partial on KMX415#72/KMX415#79/KMX415#80, note heatmap branch.

Co-authored-by: Cursor <cursoragent@cursor.com>
KMX415 added a commit that referenced this pull request Jul 1, 2026
Stats tab TRAFFIC footer, MQTT runtime banner on Configuration, topology GPS hint, and HA cookbook. Resolved index.html conflict to keep rf_tab.js from #79.
@KMX415 KMX415 merged commit aa370fe into KMX415:main Jul 8, 2026
1 check passed
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.

2 participants