Detecting loss of MQTT traffic

I have a device that stays connected but stops transmitting via MQTT sometimes.
What’s the best way do determine if I received something via MQTT or not?

Hi Lars,

I think you have a couple of options here based on your use case, but I am interpreting your question to mean you are only receiving state to the device through MQTT. If you know the frequency of transmission, you could use a Device: Inactive Trigger to notify you of a set duration of inactivity. You could also use a Timer Node then check when the last state report was and if the device is still connected, once it has been longer than x amount of time, you could notify yourself.

Let me know if this was not what you had in mind, or your use case is different than I interpreted!
Thanks,
Julia