Help with rule for last activity NOT being updated

Hi all...

I have a few devices, dashboard tiles, etc., that are based on external devices through an MQTT integration. I would like to create RM rules to monitor for continued activity on these devices and warn me if there is a lack of expected activity.

Essentially, if last activity on a device has not been updated in the last X mins, then execute further actions.

I can't seem to find a way in RM to access a devices "last activity" timestamp and execute methods on it. I would greatly appreciate any ideas on this for me to try.

Thank You

I don't think there is a way to access that from Rule Machine. However, lots of people use this custom app, which sounds like exactly what you want:

That suggestion indeed took care of it. Thanks!