My Danalock v3 Z-Wave Configuration 5. Step Solution

also for me… no chance to get some control via HA :frowning:

And this is my LOCK Log

2019-11-07 02:05:34.957 Info, Node010, Value::Set - COMMAND_CLASS_DOOR_LOCK - Locked - 0 - 1 - False
2019-11-07 02:05:34.957 Info, Node010, Value_Lock::Set - Requesting lock to be Unlocked
2019-11-07 02:05:34.957 Detail, Node010, Setting Encryption Flag on Message For Command Class COMMAND_CLASS_DOOR_LOCK
2019-11-07 02:05:34.957 Detail, Node010, Queuing (Send) DoorLockCmd_Set (Node=10): 0x01, 0x0a, 0x00, 0x13, 0x0a, 0x03, 0x62, 0x01, 0x00, 0x25, 0xb2, 0x1b
2019-11-07 02:05:34.957 Detail, Node010, Setting Encryption Flag on Message For Command Class COMMAND_CLASS_DOOR_LOCK
2019-11-07 02:05:34.957 Detail, Node010, Queuing (Send) DoorLockCmd_Get (Node=10): 0x01, 0x09, 0x00, 0x13, 0x0a, 0x02, 0x62, 0x02, 0x25, 0xb3, 0x1b
2019-11-07 02:05:34.958 Detail,
2019-11-07 02:05:34.958 Info, Node010, Processing (Send) Nonce Request message (Callback ID=0xb2, Expected Reply=0x04)
2019-11-07 02:05:34.958 Info, Node010, Sending (Send) message (Callback ID=0xb2, Expected Reply=0x04) - Nonce_Get(DoorLockCmd_Set) - 0x01, 0x09, 0x00, 0x13, 0x0a, 0x02, 0x98, 0x40, 0x05, 0x02:
2019-11-07 02:05:34.966 Detail, Node010,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2019-11-07 02:05:34.966 Detail, Node010,   ZW_SEND_DATA delivered to Z-Wave stack
2019-11-07 02:05:34.989 Detail, Node010,   Received: 0x01, 0x18, 0x00, 0x13, 0x02, 0x00, 0x00, 0x02, 0x00, 0xb1, 0x7f, 0x7f, 0x7f, 0x7f, 0x00, 0x01, 0x03, 0x00, 0x00, 0x00, 0x00, 0x02, 0x01, 0x00, 0x00, 0x44
2019-11-07 02:05:34.990 Detail, Node010,   ZW_SEND_DATA Request with callback ID 0x02 received (expected 0x02)
2019-11-07 02:05:34.990 Info, Node010, Request RTT 31 Average Request RTT 53
2019-11-07 02:05:35.014 Detail, Node010,   Received: 0x01, 0x12, 0x00, 0x04, 0x00, 0x0a, 0x0a, 0x98, 0x80, 0x49, 0x61, 0x06, 0x62, 0xf8, 0xe9, 0x15, 0x30, 0xb1, 0x00, 0x38
2019-11-07 02:05:35.014 Info, Node010, Received SecurityCmd_NonceReport from node 10
2019-11-07 02:05:35.014 Info, Node010, Sending (Send) message (Callback ID=0xb4, Expected Reply=0x04) - DoorLockCmd_Set (Node=10): 0x01, 0x0a, 0x00, 0x13, 0x0a, 0x03, 0x62, 0x01, 0x00, 0x25, 0xb4, 0x1d
2019-11-07 02:05:35.027 Detail, Node010,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2019-11-07 02:05:35.027 Detail, Node010,   ZW_SEND_DATA delivered to Z-Wave stack
2019-11-07 02:05:35.056 Detail, Node010,   Received: 0x01, 0x18, 0x00, 0x13, 0xb4, 0x00, 0x00, 0x03, 0x00, 0xb1, 0x7f, 0x7f, 0x7f, 0x7f, 0x00, 0x01, 0x03, 0x00, 0x00, 0x00, 0x00, 0x02, 0x01, 0x00, 0x00, 0xf3
2019-11-07 02:05:35.056 Detail, Node010,   ZW_SEND_DATA Request with callback ID 0xb4 received (expected 0xb4)
2019-11-07 02:05:35.056 Info, Node010, Request RTT 98 Average Request RTT 75
2019-11-07 02:05:35.056 Detail,   Expected callbackId was received
2019-11-07 02:05:44.958 Error, Node010, ERROR: Dropping command, expected response not received after 1 attempt(s)
2019-11-07 02:05:44.958 Detail, Node010, Removing current message
2019-11-07 02:05:44.959 Detail, Node010, Notification: Notification - TimeOut
2019-11-07 02:05:44.967 Detail,
2019-11-07 02:05:44.967 Info, Node010, Processing (Send) Nonce Request message (Callback ID=0xb3, Expected Reply=0x04)
2019-11-07 02:05:44.967 Info, Node010, Sending (Send) message (Callback ID=0xb3, Expected Reply=0x04) - Nonce_Get(DoorLockCmd_Get) - 0x01, 0x09, 0x00, 0x13, 0x0a, 0x02, 0x98, 0x40, 0x05, 0x02:
2019-11-07 02:05:44.974 Detail, Node010,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2019-11-07 02:05:44.974 Detail, Node010,   ZW_SEND_DATA delivered to Z-Wave stack
2019-11-07 02:05:44.999 Detail, Node010,   Received: 0x01, 0x18, 0x00, 0x13, 0x02, 0x00, 0x00, 0x02, 0x00, 0xb1, 0x7f, 0x7f, 0x7f, 0x7f, 0x00, 0x01, 0x03, 0x00, 0x00, 0x00, 0x00, 0x02, 0x01, 0x00, 0x00, 0x44
2019-11-07 02:05:44.999 Detail, Node010,   ZW_SEND_DATA Request with callback ID 0x02 received (expected 0x02)
2019-11-07 02:05:44.999 Info, Node010, Request RTT 31 Average Request RTT 53
2019-11-07 02:05:45.023 Detail, Node010,   Received: 0x01, 0x12, 0x00, 0x04, 0x00, 0x0a, 0x0a, 0x98, 0x80, 0xa6, 0xb4, 0x50, 0x85, 0xbd, 0x81, 0x5d, 0x9e, 0xb1, 0x00, 0x78
2019-11-07 02:05:45.023 Info, Node010, Received SecurityCmd_NonceReport from node 10
2019-11-07 02:05:45.023 Info, Node010, Sending (Send) message (Callback ID=0xb5, Expected Reply=0x04) - DoorLockCmd_Get (Node=10): 0x01, 0x09, 0x00, 0x13, 0x0a, 0x02, 0x62, 0x02, 0x25, 0xb5, 0x1d
2019-11-07 02:05:45.036 Detail, Node010,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2019-11-07 02:05:45.036 Detail, Node010,   ZW_SEND_DATA delivered to Z-Wave stack
2019-11-07 02:05:45.064 Detail, Node010,   Received: 0x01, 0x18, 0x00, 0x13, 0xb5, 0x00, 0x00, 0x03, 0x00, 0xb1, 0x7f, 0x7f, 0x7f, 0x7f, 0x00, 0x01, 0x03, 0x00, 0x00, 0x00, 0x00, 0x02, 0x01, 0x00, 0x00, 0xf2
2019-11-07 02:05:45.064 Detail, Node010,   ZW_SEND_DATA Request with callback ID 0xb5 received (expected 0xb5)
2019-11-07 02:05:45.064 Info, Node010, Request RTT 98 Average Request RTT 75
2019-11-07 02:05:45.064 Detail,   Expected callbackId was received
2019-11-07 02:05:54.967 Error, Node010, ERROR: Dropping command, expected response not received after 1 attempt(s)
2019-11-07 02:05:54.967 Detail, Node010, Removing current message
2019-11-07 02:05:54.967 Detail, Node010, Notification: Notification - TimeOut

Time Out with no motion
I’m on the newest firmware 11.9 and on a
Z-Wave. Me ZME_UZB1 USB Stick

This is my insertion in the config.yaml

zwave:
  usb_path: /dev/serial/by-id/usb-0658_0200-if00
  network_key: "0x04, 0x03, 0x01, 0x07, 0x09, 0x06, 0x05, 0x02, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10"

I used the direct path to the zwave stick because of another zigbee stick in the usb slot nearby

Well I haven’t anything in the configuration.yaml, I’m using the integration. I couldn’t make it work back when I tried with the configuration.yaml, but with the integration, and doing the steps carefully it works perfectly here.
I, of course, do not have the same stick, so there might be other issues at hand here.

1 Like

GOT IT !!!

Another try like fribse did My Danalock v3 Z-Wave Configuration 5. Step Solution
and now it’s perfectly integrated

The time before i used the same danalock with a raspberrian module and z-wave.me
Now i switched to HA in combination with a Z-Wave. Me ZME_UZB1 USB Stick

I’m also use the ozwave integration
And be sure you take the correct USB_PATH if you have another usb hw device on your device
I don’t recommend the generic:

usb_path: /dev/ttyACM0

because it’s easy to failure if you have more hw connected°!

1 Like

Great!! It was exactly what I needed.
The last note about putting the lock in inclusion mode “AGAIN”… that was all that was needed.
And during this pressing the lock.get_usercode …

Thanks.

1 Like

My I ask your help please? I cannot set up my Danalaock v3. I use Aoteck Z-wave 5GEN usb stick. I tried to add with integration and tried via configuration.yaml also. I see my device but I cannot lock or unlock it. I made the lock.get_usercode process also. Please help me! Thank you!

Thanks for this! I had no idea that step 4 (get_usercode) was important…

I can confirm that following these steps works.

Call service “lock.get_usercode” with service data: (Look up your locks node_id and replace 7 with in this data below).

{
  "node_id": "7",
  "code_slot": "1"
}

Does’t seem to work for me. Do I need to get a reply? I am not getting any response when sending this command.

No there’s no reply.

Am I doing something wrong?

  1. select add secure node in HA
  2. Add the lock by pushing in the small pin on the lock (I also tried with the phone app)
  3. wait a bit
  4. do a get_usercode
  5. heal the network

At the second step wait until you see that node is completed and after do the get_usercode process.

I made a video showing what I tried. It can be downloaded together with the log from https://send.firefox.com/download/e93e17cab50c28e4/#XqgHDZgA5gUgq_7gdqP25g

Danalock Support just told me that my z-wave usb hub doesn’t support doorlocks. (Aeotec USB Z-Stick - Z-Wave Plus)
Which stick are you guys using?

They are supported, their support team is under educated.

1 Like

I’m using AEON Labs ZW090 Z-Stick Gen5 EU, works great.

I’m also using AEON Labs ZW090 Z-Stick Gen5 EU, and can confirm that it works perfect. Lock/unlock as well as adding usercodes to the Danapad. The Danapad doesn’t show up yet, but they’ve promised to add support for Danapad as well.
I couldn’t get the service call to work in HA though, so I had to set usercodes via z-wave admin UI.
I never did the “get_usercode” step, so that’s not necessary to get the lock working.

When adding the lock I took it from where I originally mounted it and did the inclusion near the z-wave USB dongle. After successful inclusion I installed the lock at the final location, did an auto-calibration, and finally a “Heal node” (+ inclusion mode on the lock to wake it up).

Super happy with the lock after having used it extensively for several hours :slight_smile:
It definately suits my need for my AirBnB cottage.

What do you mean with “The Danapad doesn’t show up yet, but they’ve promised to add support for Danapad as well”?
Who promised to add support for Danapad?

Can you see who unlocked the lock in homeassistant with the Danapad?

I thought it would show up in HA as a separate device, but that’s not the case.
Atm you need to send user codes to Danalock via the z-wave UI in HA directly, and the codes work from Danapad. I guess that means OZW has support for user codes.
Hopefully there will be a proper UI for it in HA as well as a way to use it in automations.

I think Danalock syncs the user codes with Danapad. At least it looks like there’s a sync when I manage the Danapad in the Danalock app.

I can’t see who unlocked the lock (besides HA) in HA.

There’s posts you can follow to implement lock code management:

Hi,
I am quite new to this HA and Z-wave setup. But I have spend a lot time the last couple of weeks.
I can see you got it to work, which gave me hope :slight_smile:

I have tried so many things, but to be honest, I am doing it blindfold, as I don’t know what and how exactly to do it. I have managed to get a node called “Poly-control Danalock V3 BTZE Locked” in my Z-wave node management and some data.

But no matter what I do i cannot lock or unlock the Doorlock? :frowning:

Are you able and willing to help me get it to work or direct me to a guide?

Br.
Daniel

hi all

bit hit and miss for me too. I got a brand new Danalock v3, updated the firmware to the latest 0.16.0, managed to connect to HA over zwave fine, and even managed to set usercodes in HA.

However, when I had to reset everything, reinstall HA, factory reset the Danalock v3, had “remove node” in HA prior to any actions, removed the Danalock v3 from the app, basically started completed again, it will no longer show the “usercode” sensor so I can’t actually set/get any user codes anymore.

It does still lock and unlock in HA absolutely fine, but usercodes is missing.

I’ve repeated the “factory reset” of everything numerous times too.

Incidentally, the Call service “lock.get_usercode” with service data method still doesn’t add it back in.

Any thoughts anyone?

TIA