I've been reviewing the posts below and apps by @rvrolyk and @chipworkz related to activating events based on logging. What I'm trying to do is similar, I'm trying to generate notifications based on when locks are unlocked and how.
I started with Rule Machine, however what you can report from the device is limited. I can pull state and lastCodeName. It doesn't appear that I can pull more detailed info even though it's being provided in the event. I am able to set a global variable LastName based on lastCodeName and report that event.
lastCodeName only gets updated when a key code is entered which changes lastCodeName, otherwise any event just reports the same name.
Additionally, I have 3 locks and a garage keypad. Ideally I'd like to create a single rule which monitors all four, then just reports the device and description.Text based on an event trigger for any of the devices. My approach would be to set global variables: device (the device name) and last event (descriptionText), then report those through a separate RM app to my cell phone.
I believe there is probably a relatively simple way to do this, just a bit outside my coding ability. Any assistance is greatly appreciated!