a-bali/janitor

Notify issues via MQTT

Closed this issue · 3 comments

ax42 commented

Would if be possible to report the fact that an IoT device is down via MQTT? I use HomeAssistant (seen you in the forums there), and would like to be able to trigger things when a sensor stops sending, and this would be an easy way to inform HA.

Yes, I can add this, any ideas for how it should work exactly? Is it sufficient to be able to configure one MQTT topic where all alerts will be posted?

ax42 commented

Probably, that and a json payload should allow one to configure appropriate template switches in HA.

I added this functionality. Please report back in case of any issues.