Skip to content

v2.24.0 — MQTT status topics for dashboards

Choose a tag to compare

@vu2cpl vu2cpl released this 07 Nov 12:13
· 25 commits to main since this release

DXCA can now publish its state to MQTT, not just spots, so a dashboard such as Home Assistant can show your DXCC totals, cluster health and recent alerts without logging in to DXCA.

Status topics

Tick the new Status column on an MQTT destination (Settings › MQTT). Once a minute DXCA then publishes, retained, QoS 1, under that destination's base topic:

Topic Payload
<base>/status version, clusters (each node's state, connected, spot count, last spot), clusters_online, clusters_total, spots_per_source
<base>/status/<CALL> stats and stats_current (DXCC and slots worked/confirmed), award_stats, qso_count, last_refresh_unix, recent_alerts (last five: callsign, band, mode, DXCC name, level)

Every payload carries ts (Unix seconds). An account with no ClubLog log loaded publishes no per-account topic, rather than a row of zeroes. Delivery detail (channels, errors) stays behind the login.

Status is off on every destination until you tick it. On an install with several accounts, the per-account topics put every account's log totals on that broker, so only tick it on a broker you control. The README has a Home Assistant example (expire_after: 180).

Updating

Re-running the installer is the update, on every platform, and nothing you configured is touched: config/dxca.toml and data/ are written only when absent. There is no database migration; an older release ignores the new setting, so rolling back is safe.