I made a rule that when someone else than me, my wife and daughter unlocks the door with our code, a notification is sent out to me and wife that xxx person unlocked the door on DATE at TIME. Everything works great except that when we unlock the door from the inside of the house with he deadlock, we get a notification that the door was unlocked by ____ no one ___. So I'm looking to not get these messages but can't figure out what to do as locks don't have many attributes in Rule Machine (or I'm not seeing them).
Note that the %text" variable will have the a name of person right after the word unlocked, might be able to do a compare here to decide to send the notification or not but if so, how do I do that?
Any ideas here or will I need to ask to add more support for locks to be able to do this?
But briefly, begin the rule by putting the descriptionText into a text variable. Do not notify if the text variable contains the word "Physical". Finally, clear the text variable at the end of rule.
My locks behave differently. I don't see that event for code unlocks (I see what @jkudave sees). Here's what I see for manual unlock and then locking via the button:
Service worker, dog nanny, neighbor/friend in case of a problem and extended family all have codes, just want to monitor when any of those unlocks the door although we do have good security cameras.
No keys on main door lock, only pin code, see above for who has codes.
Yes
Exactly, don't want notifications by any other means than service workers/extended family/etc.
I use a super simple automation from the built-in notifications app to do this on my front door.
Since you have a short list of PIN codes that are the only thing you’re looking to get notified about (assuming I’m following you), I think this should work for you too? This tells me who unlocked the door with the keypad on the outside.