Sorry for asking the question in this thread aswell:
Exactly how do you toggle “get_usercode”? With the service on the lock-entity?
If that is the case: With JSON-data like the following?
{
“node_id”: “51”,
“code_slot”: “1”
}
?
Do you initiate inclusion with a single click in the pin hole on the lock itself or via the Danalock App?
And a last question: What firmware version do you run on the lock?
How many HA-entities appear after your secure inclusion?
I had success with setting the Danalock up with Bluetooth and then including to Z-wave with the clip-hole button. The pins don’t need to be configured for lock/unlock to work, but you do need to toggle the “get_usercode” service with the lock in inclusion mode after the initial secure inclusion.
So you don’t have any sensor.polycontrol_danalock_v3_btze_alarm_level_5 or sensor.polycontrol_danalock_v3_btze_alarm_type_5
?
I experienced that keeping the unit alive (by hitting the clip button regularly) and having less than 20 cm between the unit and my Z-wave stick in the RPi during the secure inclusion made more entities appear.
The pairing of course requires a total removal of the Z-wave node if paired previously
After pairing I get this warning: [homeassistant.components.zwave] Z-Wave entity Unknown Node 30 Locked (node_id: 30) not ready after 30 seconds, continuing anyway
I can feel your problems … It took me a lot of effort to make it work
Following steps work for me:
First I put the old firmware 0.7.9 on the device via “nRF Toolbox”
After this the following steps:
1.) reset the device (click 10 times the button - it should blink red)
2.) wait a minute
3.) hit the button 1 time (it should come a green led - not blinking)
4.) after a few seconds it starts blinking green -> “add secure node” in HA
5.) wait and done
If you change the usb_path or network_key in your configuration.yaml then this will not be updated in the integration. You’ll need to remove and re-add the Integration for these changes to take effect.
I think I have not been able to add a network key, so I probably have to re-add all my devices with after adding a network key
i did just remove the danalock and remove the integration. then i restartet and added the lock and it works thanks for the tip
i had the same issue as you