Might be a dumb question, RM Rule based on log errors

Hey all,

As the title says, any value in being able to have a rule monitor the log for errors... ?

Thinking of the current Life360 issue, would be nice to know before several days go by that the app has taken a dump again.

Please be kind as I am not a developer :slight_smile:

Rick

Not a dumb question at all. But, it sort of make me smile a bit, picturing Rule Machine firing on a log error thrown by Rule Machine,..

I don't think this is possible.

However, you could make a rule that notifies you if a presence hasn't changed state in a day or something, which would indicate perhaps that Life360 wasn't working.

It would be like this:

Condition: some-presence is present
Rule: some-presence is present
Action for True: Delay (with cancel on truth change) for 24 hours, notify of no change
Action for False: Delay (with cancel on truth change) for 24 hours, notify of no change

You'd have to pick the right time frame, but what would happen is that as long as that presence sensor is coming and going every day, then it would never notify you. But if it's either present or not present for 24 hours, you'd get a notification.,