Add MQTT RX status events and fix periodic status publishing

Periodic MQTT status was missing dynamic fields (trunks, cluster_tgs,
local_prefix, etc.) because they were only rebuilt during HTTP requests.
Extract status-building into refreshStatus() called from both paths.

Add per-client RX status MQTT events (client/{callsign}/rx) published on
every signal strength update, supporting multiple receivers per node.
This commit is contained in:
Audric committed 2026-04-09 12:59:52 +02:00
1 parent 4a9cba6edb
commit a2eefac1f2
8 files changed
+86 -18

No files matched your search

+2 -2
View File
@@ -55,8 +55,8 @@ automatically.
- **HTTP `/status` endpoint** — JSON status with trunk state,
active talkers, satellite connections, and static configuration
- **MQTT publishing** — real-time event-driven updates (talker, client,
trunk state) to an external MQTT broker, plus configurable periodic
full status dumps
trunk state, receiver signal levels) to an external MQTT broker, plus
configurable periodic full status dumps
- SvxLink client nodes are **unmodified** — they connect to their local
reflector as normal and are unaware of the trunk