Skip to content

feat(mqtt): report Wi-Fi signal and LAN throughput telemetry - #404

Merged
gnacho merged 2 commits into
mainfrom
feat/403
Sep 23, 2026
Merged

gnacho merged 2 commits into
mainfrom
feat/403

Conversation

@gnacho

@gnacho gnacho commented Sep 23, 2026

Copy link
Copy Markdown
Owner

The telemetry added in #401 exposed cumulative per-client byte counters, which read
zero on most devices (no per-station accounting), and had no Wi-Fi health figure.

Changes:

  • Report the weakest and the average signal strength of the Wi-Fi clients.
  • Report LAN throughput in Mbit/s, plus the cumulative totals, taken from the LAN
    bridge counters: the same source the panel traffic graph already uses. The bridge
    exists on every device, including the APs that have no WAN at all.

Verification:

  • go test ./... and go vet pass.
  • Deployed on rt3 (arm64) and rt-lab (mipsle): Home Assistant discovery now publishes
    23 entities per router (4 new: weakest signal, average signal, LAN traffic in/out).
  • Live on rt3: rx_bytes 6,037,105,154 and a rate of 0.08 Mbit/s over a 61 s window
    (+593,885 B), which matches the counters. The signal figures read zero until a
    Wi-Fi client is connected; the aggregation is covered by tests (-50/-80 dBm give
    min -80 and average -65).

Closes #403

@gnacho
gnacho merged commit 953e672 into main Sep 23, 2026
1 check passed
@gnacho
gnacho deleted the feat/403 branch September 23, 2026 13:08
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.

feat(mqtt): Wi-Fi signal and LAN throughput telemetry

1 participant