Repository navigation
Proposal: MQTT metrics + optional Home Assistant MQTT Discovery #16
tytoalba99
started this conversation in
Ideas
Replies: 2 comments
|
Hello, thanks for the idea. I will add this functionality. |
0 replies
|
v1.6.0 You can test now 👍 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I’d like to suggest adding MQTT telemetry so the main device parameters can be monitored remotely and integrated cleanly with Home Assistant.
Proposed MQTT items (examples):
• Availability: LWT on .../availability with online / offline (retained).
• Device: uptime, reboot reason, restart counter.
• Wi‑Fi/network: RSSI, IP, SSID, reconnect count.
• Streaming: RTSP server status, stream uptime, connected client count (if available), audio sample rate/format (if accessible).
• System health: free heap, PSRAM usage (if present), temperature (if supported).
• Firmware/OTA: firmware version/build date, last OTA result; optionally progress/events during updates.
Topic structure idea:
• Base topic: birdnetgo-esp32-rtsp-mic/<device_id>/...
• Either a single retained JSON .../state plus a few separate “fast changing” topics, or fully split topics per sensor (whichever you prefer).
• Publish interval: every 30–60 seconds, plus immediate publish on important events (boot, reconnect, stream start/stop).
Home Assistant:
• MQTT Discovery would be ideal so entities appear automatically, but even a documented topic list + payload examples would already make integration straightforward.
All reactions