I don’t know what should happen, but this is why I recommend doing a factory reset on your lock and only use the package to add/remove codes. I’ll be a lot happier when it’s possible to actually delete a code using a zwave function call.
Is this working with the new Beta integration, 1.6?
No matter how may times I add/remove my two Schlage locks, I never get an access_control or alarm_level entity. Not even a disabled/unknown one.
I am not seeing them. They have not existed for either lock since move to 1.6. Nothing disabled.
Edit: Added second lock entities as well:
If I recall “Home Security” is the alarm_level, and your access control there, I’m thinking, would be the alarm_type.
Check the MQTT topics for the command classes.
I’ll probably try uninstalling and reinstalling Lockmanager to see if that does anything, but this time with all the extra steps and the info you’ve provided here also. I’ll update later. Thanks again for the support!
Thanks. Appreciate that. Not sure what I am looking for when it comes to browsing MQTT. I did eventually find the place where codes are “stored” in MQTT. Despite creating a few new codes using the GUI, nothing is showing up in MQTT Code Slot values. I apparently need to do some more research.
Codes only refresh when OZW restarts, it does not pull them as they’re updated.
So after I create a new code/code slot, I need to reboot OZW?
I added a few codes in slots that did not already exist. Enabled, waited 5 mins. Tried a few of them and they failed. Not getting notifications either despite changing the .my_devices to my notify.slack service. I’ve done something wrong.
And now I have pissed off the neighbours with the tamper alarm!
Nope, you’ll just never see ‘up-to-date’ codes in those slots if you change them regularly.
Any errors in the log about this?
I think you have to toggle on the notifications per code.
-
Okay, thanks. I was thinking I could use it as confirmation that the code was entered/active, but I guess not!
-
Running OZW 0.4.4 on Supervised. I’m not sure how to get to the log file other than viewing the log via the add-on’s log page, but that only gives me the last few hundred lines, and with numerous chatty powered devices I am not seeing anything WRT to the two lock nodes.
-
Yeah I have them enabled and per code enabled, but nothing. Testing the service with the service panel works.
Hard to say without skiming thru the log file
I hear you. I’ll see if I can pin down how to do that outside of the admin GUI and quit crapping up the thread. Thanks for the help @firstof9
I’ll try some testing myself.
Oh looks like there’s no service lock.set_usercode
that’s why it’s not working
Huh, yeah I do see that. Something I have done?
And I don’t think that service would be required to tell me when a code was used to unlock, so I still think I have an issue somewhere.
No the OZW Beta apparently doesn’t implement it yet.
Right it’s only half the issue. After looking at your entities again, you have a user code entity, a home security, and access control entity.
Find out which changes to 24/25 when you unlock/lock from inside Home Assistant, that will be your ‘alarm_type’ and I’d assume the ‘User Code’ entity would be your ‘alarm_level’ entity.
Hah, none of them change other than lock/unlock when controlled via HA.
Locking with the outside Schlage button gives an Access Control code of 5. Unlocking with a code gives an AC code of 6, then the user code slot (6 and 1 for code slot 1. 6 and 2 for code slot 2…) AC code 2 for a manual unlock from the inside.
Sounds like it’s using the advanced lock statuses or something special to schlage locks
What do you have listed under commandclass/113
in MQTT?
So still a newbie to exploring MQTT. A few rando number sub…topics? But I think this is what you’re looking for:
{
"Label": "Access Control",
"Value": {
"List": [
{
"Value": 0,
"Label": "Clear"
},
{
"Value": 1,
"Label": "Manual Lock Operation"
},
{
"Value": 2,
"Label": "Manual Unlock Operation"
},
{
"Value": 5,
"Label": "Keypad Lock Operation"
},
{
"Value": 6,
"Label": "Keypad Unlock Operation"
},
{
"Value": 9,
"Label": "Auto Lock"
},
{
"Value": 11,
"Label": "Lock Jammed"
},
{
"Value": 16,
"Label": "Keypad Disabled"
},
{
"Value": 18,
"Label": "New Program Code Entered"
}
],
"Selected": "Keypad Unlock Operation",
"Selected_id": 6
},
"Units": "",
"ValueSet": true,
"ValuePolled": false,
"ChangeVerified": false,
"Min": 0,
"Max": 0,
"Type": "List",
"Instance": 1,
"CommandClass": "COMMAND_CLASS_NOTIFICATION",
"Index": 6,
"Node": 105,
"Genre": "User",
"Help": "Access Control Alerts",
"ValueIDKey": 1688851627917332,
"ReadOnly": true,
"WriteOnly": false,
"Event": "valueChanged",
"TimeStamp": 1592848657
}