[RELEASE] Universal Enhanced Z-Wave Lock Device Handler for Schlage, Yale, Kwikset, IDLock, Popp, Danalock, August Pro, Keywe, Philia, Samsung

If your lock doesn’t support programming through ST but supports notifying to ST which user was used to lock/unlock (e.g. Yale RFID, August, Danalock etc), you can use the following app to be notified and also take actions based on those notifications:

Danalock has a Turn n Go feature and Brake n Go feature, both of which can be configured through the device configuration page (gear icon).
If your device is showing a “jammed” then it’s because your lock is reporting the event as “unknown”, the DTH is just showing what’s being sent by the lock (it could be a lock firmware issue or an alignment issue etc). You can always capture the logs from your DTH and send them to our support team to take a look.

my lock is Danalock V3 , so I assume it supports which user was used to unlock.
That’s why I use the “user unlock/lock door notifications and actions” app.
I configured the exact user name that I have on my door lock. But I get no notifications including the user name.
How can I test if it is working or not ?
I try unlocking the door with Danalock app using the same user that I configured on the smart app.

It isn’t by name but by “slot” number. Danalock’s current firmware doesn’t provide that information over z wave as yet so you won’t see any notifications for user slots.

1 Like

what do you mean ?
how shall I configure the smart app to see notifications ?
currently I have the user “testuser1” on danalock app and I configured user name “testuser1” on smart app.
But I don’t see any notifications from the app when lock is unlocked with that user through danalock app.
what am I missing ?

any ideas ?

What maddie is saying is that Danalock doesn’t tell ST which user unlocked or locked the door.

ok. so does that mean I can’t use both smart apps ?
because I had though that second smart app (only notifications & actions) is suitable for Danalock. It says Danalock V2 is supported, so why not V3 ?

Speaking out of turn here but just because the app/DTH “support” your lock and (it appears that they do) doesn’t mean the app/DTH can provide any features that the lock or its current firmware is incapable of providing.

I have this app/DTH and they provide more features than my current lock/firmware has the ability to provide. This app/DTH automatically determine the supported features of your lock/firmware and then they go from there.

@RBoy and @Maddie, let me know if I’ve spoken out of turn.

2 Likes

you got me wrong.
I am using the DTH and it perfectly works for me.

But when I try the smart apps, they don’t provide any features to me.
When I ask why I can’T get any notifications from the smart app, I got the answer “Danalock does not send this information”
But this is not clear. Do they mean, “ANY Danalock does not send the information” , or “MY danalock does not send the information”. OR “Danalock V3 does not send the information” ?

Because on the smart app description it says “Danalock V2” , and here, answers from official Rboyapps people, state that for Danalock V2 we can use the second app and it should operate with notifications.

Some locks only report codes used to lock/unlock to ST (e.g. Yale RFID or Danalock V2), for those lock you can use this SmartApp to interface and take actions when the codes are used (no programming)

Now what does this mean ?

I’ll defer to @RBoy and @Maddie, but when they said “Danalock does not send this information” - with no specific model mentioned, I assumed that they meant that none of them currently have that capability. You seem to think that the documentation says that V2 (at least) sends notifications. I’m not looking at the documentation right now so I cant tell if it actually says Danalocks can send names of users (notifications ) or not. One of us has made a wrong choice.

2 Likes

Actually, I am very happy with the DTH. I’d also like to see notifications with user info but that is not a “must”
I just want to know why it doesn’t work with my lock. And if I’m missing something, I’d like to correct…

That’s good because it appears to me, Danalock locks aren’t capable of notifications with user info.

I think the point of the conversations you’ve had with @RBoy and @maddie so far is that the DTH IS working as well as it can with the capabilities of the lock you have.

1 Like

Just tried installing version 4.00.07. When I try to publish I’m receiving this message:

a different object with the same identifier value was already associated with the session: [physicalgraph.device.CapabilityDeviceType#physicalgraph.device.CapabilityDeviceType : (unsaved)]; nested exception is org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [physicalgraph.device.CapabilityDeviceType#physicalgraph.device.CapabilityDeviceType : (unsaved)]

Any guidance on how to proceed?

Thanks.

Updated SmartApps associated with the device and then tried to update the device handler again and it took.

1 Like

That’s just a way of the platform’s database saying it’s doing something else and try to publish again after a few seconds :wink:

A quick note while saving and publishing, the publish will throw a random error if the save process is still in progress. Depending on the platform server/db load the saving process can take from 1 to 10 seconds. After hitting save, wait until the save is completed and then publish it to avoid these errors. I wish ST wasn’t so cryptic in it’s IDE sometimes.

Many folks have been asking how to use the DTH’s extended information in CoRE and WebCoRE. Here’s the short answer (this is not a complete guide to CoRE or WebCoRE pistons, just a tip).

Basic structure of the event:

  1. name parameter will be lock or invalidCode
  2. value parameter will be locked, unlocked, unknown etc
  3. There will be a data parameter which contains extended information like:
    • A field called method contains the source of the lock or unlock event. This could be manual, auto, command, keypad, bluetooth, rfid etc
    • A field called usedCode which represents which user slot (code) was used to lock/unlock

To use the extended information from the data parameter in WebCoRE/CoRE:

Use the $args variable in WebCoRE e.g. [$args.usedCode] or [$args.method]

Use the data variable in CoRE (enable Expert mode) [data.usedCode] or [data.method]

usedCode contains the user slot number that was used for the lock or unlocked event (if present)
method contains the source of the events (e.g. keypad, manual, command, rfid, bluetooth etc)

Feel free to bookmark this post for future reference and continue the discussion here

4 Likes

@RBoy

can you clarify this for me and the others please ?
is there a specific reason why the following is not valid for my Danalock V3:

Some locks only report codes used to lock/unlock to ST (e.g. Yale RFID or Danalock V2), for those lock you >>can use this SmartApp to interface and take actions when the codes are used (no programming)

if we agree that smartapp is useless for my model, I will remove it.

The firmwares are different for the lock models (V2 vs V3). You should ideally open a ticket with Danalock so they can send the information over Z-Wave for the newer models. The newer V3 has fewer features exposed through Z-Wave compared to the V2 (e.g. audio controls). As soon as they patch up the firmware it should start working. This should be a simple update for Danalock to process.

1 Like

@RBoy

I am also a new owner of Danalock V3.
Is it possible to adjust lock turning count through Zwave ?

If not, can we set an additional command to just unlock the door and not unlatch ?
This is possible through bluetooth app (there are 2 separate commands for unlock and unlatch) but how can we do on zwave ?

adding @mrmrmrmr

thanks. I asked to Danalock.

Btw, what is “audio controls” ?