Danalock V3 with Zigbee and ZHA

I recently (yesterday) got a Danalock V3 and mounted on my door. I set it up with the Bluetooth app and I can lock/unlock

I then added it to ZHA. It took some tries to get it added and past the configuration stage etc. (I am using a RaspBee II btw).

Now it is in ZHA but it wont unlock or lock the Danalock. Have others been successful with it ? I have seen a lot of posts with Z-wave but not ZigBee.

I have tried re-pairing the lock with ZHA and also factory resetting the lock completely (removed from Danalock app etc) and it still won’t work.

The log is full of

2020-12-17 09:00:44 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-12-17 09:01:35 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547451759248] Received invalid command: zha/device
2020-12-17 09:01:35 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547451759248] Received invalid command: zha/device
2020-12-17 09:03:03 ERROR (MainThread) [homeassistant.components.zha.entity] lock.danalock_v3_btzb_89e059fe_door_lock: Error with unlock_door: [0x3b09:1:0x0101]: Message send failure
2020-12-17 09:03:18 ERROR (MainThread) [homeassistant.components.zha.entity] lock.danalock_v3_btzb_89e059fe_door_lock: Error with lock_door: [0x3b09:1:0x0101]: Message send failure
2020-12-17 09:03:19 ERROR (MainThread) [homeassistant.components.zha.entity] lock.danalock_v3_btzb_89e059fe_door_lock: Error with unlock_door: [0x3b09:1:0x0101]: Message send failure
2020-12-17 09:03:19 ERROR (MainThread) [homeassistant.components.zha.entity] lock.danalock_v3_btzb_89e059fe_door_lock: Error with unlock_door: [0x3b09:1:0x0101]: Message send failure
2020-12-17 09:03:20 ERROR (MainThread) [homeassistant.components.zha.entity] lock.danalock_v3_btzb_89e059fe_door_lock: Error with unlock_door: [0x3b09:1:0x0101]: Message send failure
2020-12-17 09:03:20 ERROR (MainThread) [homeassistant.components.zha.entity] lock.danalock_v3_btzb_89e059fe_door_lock: Error with lock_door: [0x3b09:1:0x0101]: Message send failure

Last week I got some Danfoss Ally thermostats also. For a few days they didn’t work from HA and then they suddenly started to. Maybe my setup is kind of broken ?

I dont know if its the same on Zigbee, but if you want to pair and use this lock via zwave, after pairing you have to do a 2nd step and exchange the “keys” first with the HA system. This is done via the service call lock.get_usercode.

Thanks for the suggestions. There is no service called lock.get_usercode for the lock on Zigbee (at least on my system)

It seems that the issue will be with my system or zha and raspbee. A CC2531 stick on Virtualbox pairs with the lock and I can then control it from the UI.