If you use the following device type handler, it should expose all the parameters for you to set:
This DTH is for the Leviton Z-Wave plus dimmers (DZ6HD & DZ1KD). It improves over the generic Z-Wave dimmer handler in the following areas:
Fixes the bug where the device and SmartThings get out of sync when level is adjusted while the switch is off.
Fixes the bug where it always switches on to 99%.
Adds shortcuts to low/med/high levels.
Exposes advanced device configurations in the preferences page.
I’ve been testing this DTH on a DZ6HD, but everything should work on the sister model DZ1KD as well. Please let me know otherwise.
For easier updating in the future, you can add my Github repository to your SmartThings IDE: (FAQ: Github Integration How to Add and Update from Repositories )
Owner - jasonxh
Name - SmartThings-jasonxh
Branch - master
If you haven’t used custom code before, it’s pretty straightforward. Basically you’re going to copy the author’s code and paste it into your own account. Here’s the FAQ for that process:
The original FAQ information in this thread refers to the original smartthings architecture, which was in place through the end of 2022 and a little beyond. Custom code was written in the groovy programming language and ran in the smartthings cloud.
As of May 2023, you can no longer add new Groovy DTH‘s or smartapps to your smartthings account. So if you came here because of a link in an old forum thread, or on another site, I’m afraid the Groovy information is no longer usable.
All of this was replaced by a new architecture. Cloud to cloud integrations use the smartthings API. Hub connected devices, mostly Zigbee and zwave, now use “Edge Drivers,” written in the LUA programming language. Here’s the official announcement on those:
The process for using a custom Edge Driver in the new …
If you have any further questions, ask in the DTH thread and people who are using this device will be able to help you there.
1 Like