#Trigger if no MQTT message in X timeframe

1 messages · Page 1 of 1 (latest)

unique verge
#

I'm trying to detect when a controller utilizing MQTT stops sending messages (implying the controller has crashed). I have a sensor recording a timestamp that is in an MQTT message being sent by the controller but that is cluttering the device history. Is there an easier way to track "time since last time I received "X MQTT topic" and when it is greater than say 1 minute execute an automation?

#

wait think i found a solution, set an automation that executes when the mqtt is recieved, but with a countdown timer that then restarts the timer when it recieves another message