Controlling the lock
Locking and Unlocking
Locking the door is straightforward and easy.
From the main 'Overview' page, select the 'Door'
This will bring up a window with a link to 'unlock' and 'lock' the door.
When you click these links the lock will either lock or unlock. Note: The computer and dongle must be relatively close to control the lock. It may also take several seconds for the lock to react to a 'command' - like 'lock'.Setting a Code
Setting a code is not as simple as locking and unlocking. In fact, it is pretty esoteric.
But - we got this.
To set a user code, go to Developer Tools
Select your lock from the 'Entity' drop down (this is where renaming it is helpful).
This will show you some information about the lock.In the 'Service' drop down, select 'lock.set_usercode'
This will make the page show some info on how to do this.
Select the "FILL EXAMPLE DATA" link. This will populate the 'Service Data' with some info.Now we need to change the 'Service Data' to be what we need for our lock.
- node_id: what we got above - for me it is 2.
- code_slot: the Kwikset 912 lock can hold up to 30 different codes. This number is the code you are setting; code1 is 1, code 2 is 2, etc.
- usercode: the Kwikset 912 lock accepts numeric codes that are at least 4 digits, and up to 8. So this is 0000 - 99999999.
You will not see much happen on the web page. But if you watch the Z-Wave dongle, it will light up for a moment with a blue light. Now you can try the code on the lock to see if it worked properly.
Next, I made this a little more user friendly. Doing the above is a pain, and easy to screw up.
Comments
Post a Comment
Thanks for the comment!