This is a simple modification of the official Z-Wave Switch driver, with a new profile to support in-app configuration of Leviton Z-Wave Plus dimmers (DZ6HD & DZ1KD). See the screenshot below for the available parameters.
I know there’s a generic z-wave parameter configuration driver, but I created this modified driver so I could switch at-will without affecting routines. After seeing a few requests for something similar I decided to share my work here.
I don’t plan to keep this up-to-date with the upstream driver each week, so I just install the custom driver when I need to configure a device and switch back to the official driver afterwards. If you want to do the same, remember to first pair at least one device normally so the official Z-Wave Switch driver downloads to your hub, then install and switch to this driver.
Thank you. Your driver works as described and is much better than using a parameter configuration driver. It works on the Leviton DZPD3 Plug-In Dimmer as well.
One thing I noticed when I first installed the driver is that it didn’t seem to list the current state of the parameters correctly. I had used the paddle to set each of my Leviton Dimmer switches to an LED load, yet the initial reading with driver was that each was set as an incandescent. Same with the low dimmer setting. I have one switch set at 20 for the low setting but the driver said it was set at 10. I used the driver to set the parameters to the LED setting and the 20 low dimmer setting. It then read the current parameter settings correctly even if I change back to the official driver then return to your driver.
Thanks for the feedback! If the additional parameters are showing up for your DZPD3 it must have the same fingerprint as my in-wall dimmer switches (manufacturerId: 0x001D, productId: 0x0001), as that’s the only one I modified to use the new profile. I’ll admit it’s a fairly generic-looking fingerprint, so it’s possible more of Leviton’s devices could match it, and they may use similar parameters as well.
As for the values, they’re saved in SmartThings rather than dynamically read from the device, even after switching drivers. The initial values are just hard-coded to be the same as the factory defaults. I can remove the initial values so it’ll be less confusing on first-time devices, but if you change it with the paddle afterwards it will still show the last value set by SmartThings. There might be a way to query the device each time the settings page is accessed, but I suspect SmartThings doesn’t automatically do this in the interest of efficiency.
I used your driver on some more Leviton switches and I definitely like the change you made removing the default values. The list makes it clear what values can be entered and what the default values are. I went back and updated all of my settings on Leviton switches. Again, I appreciate all your work.