Before I run out and buy a new lock, I thought I'd ask the question here first.
I'm an ISY990 convert, loving this platform, and have now re-created most of my automation.
The one that I am struggling with is setting a scene when I lock my back door. In the past I was able to action on "Door Locks", "Door Locks via code", or "Door Locks via Lock Button". I used to set my Away scene based on the "Door Look via Lock Button". Sadly I can not find that with in the Hubitat environment.
Under trigger for a door lock you should have lock and lock codes. After the trigger if you look at the %device% and %value% variables you should be able to determine how the door was locked.
I'm not sure Lock Code is what I'm looking for. I have a lock button, and that's what I want to trigger off. With the Lock Code action, all I see is Any Lock Code, and then a list of all the individual lock codes. There is no "Lock Button" in the list. I will try Any Lock Code and see of the Lock button is included in that.
Thanks - Ideally I don't want to have to put in a code to lock the door, especially when there is a lock door button.
I'm getting the impression that this functionality is not present in Hubitat. We may have to revert back to telling Alexa to "Turn on Away" as we leave the house. Not ideal and hopefully the software will mature to allow different lock methods to be surfaced up to the UI.
I have a Kwikset 910 and the way I know if someone pressed the lock button is via the last event. I have a rule in Rule Machine (RM) publish this event to a variable and then use that variable in rules.
When you lock or unlock the lock, the last event status will be something along the lines of manually locked|unlocked the lock. For example my front door event variable right now has "Front Door Lock was locked manually [physical]". Meaning I locked it from the inside via the knob. Had I pressed the lock button, the [physical] would read [digital]. At least I think it does. The event trigger is different if HE triggered/commanded the lock to lock too. And when someone unlocks the door, it says "Front Door Lock was unlocked by "
I can use these within rules now when the variable contains "XXXX". For example, my cabin. I have a calendar entry for when I know visitors will be there. The entry will go away X number of hours before they depart. When the calendar entry is gone, and the Lock button is pressed, run a bunch of commands. One of them being to set my HE mode from "Occupied" to "Unoccupied".
Happy to help more or share some screenshots if needed.
You are correct. I was going off memory, which is not always such a good idea. "Front Door Lock was locked via keypad [physical]". That is my variable value at the moment.
I use another contains string of "is jammed" to alert me when the lock failed for some reason or another. I/E someone didn't close the door all the way, but far enough for the door sensor to think it was closed to trigger an auto lock.