5iver
(Scott Rushworth)
February 27, 2018, 1:49pm
2530
Some locks, including the Schlage Connect series, do not report lock/unlock through the lock_door channel. You will need to create some rules and utilize the alarm_raw channel if you want to have a single Switch item to display the lock state. Here is an example…
Here is my current rule for parsing alarm_raw. My locks (Schlage BE469) do not update the lock_door channel, so I use alarm_raw to update the items linked to lock_door, and base rules off of that item’s state. Maybe all locks behave this way? You’ll find several examples of using the JSONPATH transform to parse the data in the lambda. This can be tricky though, because JSONPATH will throw an exception if the element name you are searching for does not exist in the JSON. I haven’t had any issues…
More discussion here…
Continuing the discussion from here specifically around the Schlage BE469 lock:
I am using the lates snapshot of the z-wave binding and tryign to integrate with my Schlage BE469 deadlock.
I have created a rule to determine the ‘state’ of the lock based on the ‘notification_access_control’ property.
From experimentation and help from user @5iver I have determined the following:
1 = Locked manually
2 = Unlocked manually
5 = Locked with keypad
6 = Unlocked with keypad
9 = Auto lock
11= …