How do you add user codes to Kwikset 914 via zigbee2mqtt?

@timnolte would it be possible for you to revise the devices.js description for the Kwikset 99140-002 to the below? It does support remote LOCK PIN settings I was able to confirm using the device and a custom converter. Thank you!

{
zigbeeModel: [‘SMARTCODE_DEADBOLT_10_L’],
model: ‘99140-002’,
vendor: ‘Kwikset’,
description: ‘SmartCode traditional electronic deadbolt’,
fromZigbee: [fromZigbee_1.default.lock, fromZigbee_1.default.lock_operation_event, fromZigbee_1.default.battery, fromZigbee_1.default.lock_programming_event, fromZigbee_1.default.lock_pin_code_r
toZigbee: [toZigbee_1.default.lock, toZigbee_1.default.pincode_lock],
meta: { pinCodeCount: 30 },
configure: async (device, coordinatorEndpoint) => {
const endpoint = device.getEndpoint(2);
await reporting.bind(endpoint, coordinatorEndpoint, [‘closuresDoorLock’, ‘genPowerCfg’]);
await reporting.lockState(endpoint);
await reporting.batteryPercentageRemaining(endpoint);
},
exposes: [e.lock(), e.battery(), e.pincode(), e.lock_action(), e.lock_action_source_name(), e.lock_action_user()],
},

1 Like

I’ll take a look tonight and see about getting a PR opened up for it.

@EffortlessHome I’ve opened up a PR to add the pin code support.

2 Likes

I’d like to give it another try at getting the 99100-006 Kwikset 910 to work with pin codes. I have it installed and working in Z2M, but I can’t set the pin codes. What do you need from me?


@p0lar
I can take a look and see what’s in the current setup and open up a PR for the code to have the pin code support added.

Great. Thanks. let me know if you need any data from my side

@timnolte looks like you are smart regarding kwikset locks, maybe you can help me with this issue? Kwikset 914 · Issue #23907 · Koenkk/zigbee2mqtt · GitHub

Sorry, I’m just pretty good with development and configuration. I don’t actually own any Kwikset locks yet, been on my wishlist for awhile though. Without having the locks on hand and debugging tools it would be pretty hard for me to get to the bottom of the issues you are having. On the face of it your specific version of Kwikset locks have a different internal identifier so Z2M is matching it up with the incorrect device ID and not handling the communication properly.