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
I was expecting the value of this property to change when the lock was tampered with or the forced entry alarm sounded however my experiments found that in either of these situations the value of this property changes to ‘2’.
This seems strange as ‘2’ also signifies ‘unlocked manually’ however the lock remains locked.
Can anyone validate this behaviour and has anyone managed to detect the alarm using this or any other property?
Also, I would like to know the number of the user code that was used to unlock the lock via the keypad.
So if the lock and user code 3 for example is used to unlock the lock via the keypad, I would like access to a property that changes to value ‘3’ so I can use this in a rule.
Does anyone know if this is possible?
Finally, I would like the ability to set and delete user codes via rules. As far as I understand it this can be achieved via a new property in the definition of the lock but I don’t know where to start with this. Does anyone have any ideas?
I am using items linked to the alarm_number channels, but maybe the security alarms come through the alarm_general channel? Since last setting up my locks with the test binding, I haven’t enabled the security features but it’s in my to-do list. I’ll set this up and do some testing in the next few days to see if I can find where the security alarm codes come through.
Both of these topics actually came up recently in the other thread! I hope I haven’t led you astray… my intention in asking to open a new thread was to specifically discuss rules related to using the alarm notification to set the state of a lock, or other rule stuff. The other thread is probably best for feature requests, issues,and questions specifically related to the test binding. Sorry for my miscommunication. But if/when the entered user code becomes available, I would definitely be interested in discussing how to integrate into a rule.
I can’t be 100% sure but I know I was watching this channel also during my testing. I attached an item to each of the channels, changed the settings on the lock and triggered the tamper then the alarm, I reviewed the events.log after each test. As far as I know the alarm_general channel did not register any events but I may have missed it. I have never seen the alarm_general channel change in any of the situations so I’m not sure if it responds to anything at all.
No problem at all. I have been trying to keep up with the other mega-thread also and did see some chat about user codes. I wasn’t sure if they were talking about the ability to change user codes or detect them… I should re-read it. If it is in progress then I don’t mind waiting I was just under the impression that other locks had this and other functionality and it may just be an case of updating the BE469 entry in the z-wave devices DB but it seems that is not true.
@5iver It looks like you are interested in the same outcomes as me so I will continue to monitor the other thread and experiment with my lock but, if you don’t mind, if anything changes regarding the questions I posted and anything else significant about this lock for that matter, if you could update this thread that would be great! Thanks!
p.s In case it makes any difference regarding your comment
I used to have my BE469 locks paired with the z-wave module in an ISY994 and this information was available via the ISY, so hopefully it’s just a case of when for this binding.
What version of the binding are you using? This is currently functional in the development zwave binding. I’m using the alarm_number channel and get the codes listed in the first post. Are you getting any codes?
I get those codes above. but if you have a rule that locks/unlocks the lock via openhab or loading up a sitemap and toggling the lock switch to unlock/lock, you don’t get an alarm number for those actions
Possibly this means the device isn’t sending an alarm update? If you want to send me a log I’m happy to take a look (open a ticket on my website and attach it there - don’t post security related logs here ).
IMHO, the way these locks work is a bit disjointed, and the way OH/ESH works doesn’t really make it easy to provide multiple bits of information linked to a single event. I’m seriously thinking about making more use of string type for this sort of information so that it’s at least useful in rules.