zha-device-handlers
zha-device-handlers copied to clipboard
Support for lumi.lock.v1
It will be very fine to support Xiaomi lumi.lock.v1.
<SimpleDescriptor endpoint=1 profile=260 device_type=10 device_version=2 input_clusters=[0, 3, 1, 2, 25, 10] output_clusters=[25, 10]>
I can help if you explain me !
Thank you.
i found this if it could help https://github.com/Koenkk/zigbee-shepherd-converters/blob/master/converters/fromZigbee.js
xiaomi_lock_report: {
cid: 'genBasic',
type: ['attReport', 'readRsp'],
convert: (model, msg, publish, options) => {
if (msg.data.data['65328']) {
const data = msg.data.data['65328'];
const state = data.substr(2, 2);
const action = data.substr(4, 2);
const keynum = data.substr(6, 2);
if (state == 11) {
if (action == 1) {
// unknown key
return {keyerror: true, inserted: 'unknown'};
}
if (action == 3) {
// explicitly disabled key (i.e. reported lost)
return {keyerror: true, inserted: keynum};
}
if (action == 7) {
// strange object introduced into the cylinder (e.g. a lock pick)
return {keyerror: true, inserted: 'strange'};
}
}
if (state == 12) {
if (action == 1) {
return {inserted: keynum};
}
if (action == 11) {
return {forgotten: keynum};
}
}
}
},
},
We don't have support for the lock domain yet in HA.
This lock is a zigbee "sensor" and not serve as lock. Here You can't open or close the door with zigbee.
I’m confused... what type of device are we actually talking about? If it is really a door lock we’ll wait to support it correctly rather than hack it as a sensor.
This device is a simple lock like you've got on all the doors... But it can detect what key is inserted and it's got 5 keys. It can detect too if a wrong key or disbled key was inserted.
Have a link to the product?
https://www.youtube.com/watch?v=0pGiTnyLpU4
any news about this
https://zigbee.blakadder.com/Xiaomi_Vima_A6121.html
Perhaps some good news https://github.com/dresden-elektronik/deconz-rest-plugin/issues/1977#issuecomment-698438985
Hello everyone, let me revive the subject. can you integrate lumi.lock.v1 in ZHA? Please Tell me what you need. thank you in advance
Could you integrate this lock please?
A link that can help you, in any case I hope
https://easydomoticz.com/forum/viewtopic.php?f=28&t=10587
We don't have support for the lock domain yet in HA.
According to the integrations page Locks are supported https://www.home-assistant.io/integrations/zha/
I don't know if I can do anything to help, but if I can...
I'm also interested in this integration. As a matter of fact, this is the only device I'm missing to get to ZHA from Zigbee2Mqtt. I can contribute if you guide me. Thanks!
Is there a way to integrate the lock ?
Hello,
Any news on this ?
Regards
I hope it could be integrate because this is the only device i can't connect on my Home assistant If i can help say me something. Thanks for all.
I'm also interested in this integration. As a matter of fact, this is the only device I'm missing to get to ZHA from Zigbee2Mqtt. I can contribute if you guide me. Thanks!
Is it working fine on zigbee2mqtt ?
https://zigbee.blakadder.com/Xiaomi_Vima_A6121.html This link says it's working.
Any news on that ? Any chance to have it working in zha ?
I would have this integrated in my home assistant, what can i do for helping ? Thanks for your answer.
Hi, any news about that, how can i help ?
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Zigbee2MQTT has support for this lock for ages - so I'll stick to that for a time.
https://www.zigbee2mqtt.io/devices/A6121.html