[BETA] Hank One-key and Four-key Scene Controllers (Z-Wave)

Here is first versions of DTH:s for the Hank One-key and Four-key Scene Z-Wave Controllers (HKZW-SCN01, HKZW-SCN04). The devices are currently sold in Sweden/Europe, and I couldn’t find any working solution already out there. The fingerprints are for the EU versions.

HKZW-SCN01 EU: https://products.z-wavealliance.org/products/1918
HKZW-SCN01 US: https://products.z-wavealliance.org/products/1904

HKZW-SCN04 EU: https://products.z-wavealliance.org/products/1968
HKZW-SCN04 US: https://products.z-wavealliance.org/products/1967

This is my first attempt to create a DTH for SmartThings. In fact, it’s the first time trying to code something useful for about 10 years. It’s also the first time I’m trying to use Github, so bear with me here. The code is based on Improved Fibaro Button DH by @Ron.

HKZW-SCN01
The commands for push, hold and release are working and I get no errors in the log. The device reports battery correctly and works in both secure and unsecure mode. I have added manual buttons for push and hold commands to the mobile app interface. I have also added a timestamp for last recorded action.

I own this button myself, so trial and error has been pretty straightforward.

HKZW-SCN04
The commands for push, hold and release are working separated for all four buttons and I get no errors in the log. The device reports battery correctly and works in both secure and unsecure mode. I have also added a timestamp for last recorded action.

The app view is pretty barebone here, as I have removed the manual buttons. Maybe I can add more features later on. I don’t own this button myself though, so development is based on information from logs and remote testing.

Any suggestions for improvements are very welcome!


4 Likes

So, I got a request regarding the four button HKZW-SCN04. I don’t own the hardware myself, but with some remote help, testing and logging I have a working DTH to that one as well. Thread updated to include both. :slight_smile:

2 Likes

Success!
I could not be happier.
This is just what I needed, a simple push of a button to turn on a computer screen and a HUE Lightstrip.
I have had the capability to turn the computer screen and Lightstrip via voice command (Google) but sometimes I just want to push a button and now I can.
You have made a grown man smile today smile

Thank you emilakered
Best regards,
//Peter

2 Likes

Can someone point me to an FAQ on how to install this driver on my hub please?

Found it!


Thanks!

1 Like

Nevermind. I think I got it. SmartThings also appears to be having problems so that’s not very helpful.

Hi everybody and especially @emilakered. Any ideas what should we do for the device handler to make it compatible with new st application?
Actually scene controller works and can be used normally but it shows as offline most of the time. Classic app shows controller is online when it really is online and usable.

EDIT: I just tested basic z-wave button device type in IDE and it works great. So no problem anymore.

The basic z-wave button might work for the single button version, but I have the four button version and the device type handler seems to no longer be working after migrating to the new SmartThings app.
@emilakered - Any idea how to fix it?