I’ve been diving into the world of MQTT and Home Assistant, and I’m really enjoying the flexibility it offers. However, I’ve come across an issue that I’m hoping the community can help me with. I’m using Home Assistant on a Raspberry Pi 4, paired with an Ubuntu Server acting as my MQTT broker. I’ve got several Raspberry Pis set up to handle specific tasks and feed data into HA via MQTT. Everything works smoothly when all devices are online, but I’m looking for a reliable way to monitor when a device stops sending data.
Currently, I have MQTT auto-discovery enabled, and HA is reading the data without any issues. I’ve also set up some automations based on the data coming in. My thought was to set up a notification if one of the entities doesn’t update for a certain period. But I’m wondering if there’s a more efficient way to achieve this, perhaps by leveraging the MQTT client or device name directly.
I’d love to hear from anyone who has tackled this problem before. Are there specific MQTT topics or plugins that can help monitor device status more effectively? Any tips or tricks would be greatly appreciated! Let’s keep the conversation positive and collaborative. Thanks in advance for your insights!