I’m still having the same issue after the update. I pressed up on the main paddle and immediately pressed down on the thin dim-level paddle and status reporting broke. I agree that something is wrong with the dimmer firmware. Excluding, resetting, then including the dimmer does not fix the issue once it happens. Rebooting the hub and repairing Z-Wave does not fix the problem. But for some reason cutting off power to the dimmer for a few minutes fixes the problem.
Well that’s a bummer… I’m surprised at how easy it is for you to repro this though. Maybe two more tweaks you can try:
- Inject an extra delay before requesting on/off state, by modifying line https://github.com/jasonxh/SmartThings-jasonxh/blob/879294be20a45c43ade474cac797cd45b7c38402/devicetypes/jasonxh/leviton-decora-zwave-plus-dimmer.src/leviton-decora-zwave-plus-dimmer.groovy#L429 to read
result = [result, response(["delay $commandDelayMs", zwave.switchBinaryV1.switchBinaryGet().format()])]
- Bump up command delay as needed, on line https://github.com/jasonxh/SmartThings-jasonxh/blob/879294be20a45c43ade474cac797cd45b7c38402/devicetypes/jasonxh/leviton-decora-zwave-plus-dimmer.src/leviton-decora-zwave-plus-dimmer.groovy#L329
Yeah, it actually seems like it got easier to reproduce the issue with the newest device handler. I will try out the delays and see what happens. I agree that somehow the dimmer is getting overwhelmed with packets and locks up. My feeling is that it is linked to the dimmer most likely communicating to the hub through an intermediate Z-Wave device (or two) which changes the timing of traffic. Again, I cannot reproduce this issue with dimmers located close to the hub.
I installed the latest update and will do some testing to see how it functions. Thank you for your help and updates, @jasonxh. Also thanks to @capfan for working to help troubleshoot this issue. I only have 2 Z-wave devices in my SmartThings network; a Samsung SmartThings motion detector and the Leviton Decora Smart Dimmer so my situation is a bit different than capfan’s. My SmartThings hub is 20 or so feet away from the dimmer in question and the motion detector is located near the dimmer.
Hi, new user here. I found this DTH and configured it for my DZ6HD dimmer, and it seems to work great so far, with the exception of Alexa. Alexa won’t run any commands that do something with this switch. Is there a way that I can fix this without going back to the generic zwave dimmer DTH?
Alexa may have created a duplicate device, or just won’t update with the new device handler. You’ll need to go to alexa.amazon.com and “forget” the devices there (there’s no longer an option in the app), then rediscover your switch in the Alexa app. That should fix it!
I also have a reporting issue with a few specific switches at my house. It’s always the same 3 leviton switches that show a “on” status when the switch/light is off. If I toggle it to off, it stays at an off status for a while and eventually will change itself back to on, but the light never really turns on. I can make it turn on just fine if I toggle it off and then back on. I haven’t tried going back to dimmer switch device handler yet.
@mlamb01 have you made sure you’ve granted the permission to Alexa in SmartApps, either explicitly or through the blanket permission? Once you go through that, just ask Alexa to discover devices and it should work.
@merkaba i’ve never seen this behavior before. Please try power cycling the device by either pulling the air gap or switching off and on the breaker, and see if the problem persists.
I think this was a case of user error. I had the bright idea of using a naming convention for my devices, and added the word kitchen to several devices, which was also used in the name of the leviton dimmer switch. So I changed the names so kitchen wasn’t used more than once, and that seemed to fix it.
@jasonxh Just wanted to update you on the previous problems I was experiencing last month with the Leviton Decora Smart Dimmer and the Leviton Decora Z-Wave Plus Dimmer DTH… All seems to be working well. The device handler and app work as they should and report the status of the light quickly and accurately when either using the physical dimmer device or smartphone to change the brightness and on/off status of the lights attached to the dimmer. Thank you again for your help and excellent DTH for this series of dimmers. Happy holidays to you and yours and health, wealth, and happiness in the New Year!
I’m a new user to SmartThings, having converted over from Vera. I have several Leviton VRMX1 Decora Z-Wave Plus with Vizia RF dimmers and I would like to make these work with your DTH. I have my ST account linked to GitHub with your repository and I see “jasonxh : Leviton Decora Z-Wave Plus Dimmer” under My Device Handlers.
The problem is that when I include the VRMX1, ST automatically identifies it as a “Leviton Magnetic Low-Voltage Dimmer” and chooses a generic DTH and I don’t see any way to change the combination. What is the procedure for forcing ST to use your DTH?
Once the device is added, go into the developer portal website and edit the device. Change it’s type there to that of the new DH. All custom DH’s will appear at the bottom of the list.
That did the trick! Thanks very much for your reply and for bearing with a newbie like myself. I appreciate it!
@capfan, did you have time to play with the delays?
I have about 30 DZ6HD at my house and as you can guess have given up on trying to fix it. Should we contact Leviton regarding this issue?
@jasonxh , is there a way to monitor the switch interactions? It would be useful to me if I could record the physical interactions with the switches (mainly the on/off presses) and have them be recorded in the device history
Yes I played with the delays a little and it didn’t seem to help so I switched backed to “Dimmer Switch” in the meantime and everything is reliable except for the issue where you press the dim level paddle only and the device handler reports that the switch is on.
I would highly recommend contacting Leviton so maybe they will take this more seriously and finally get a firmware update out. I contacted them a while ago about the dim level paddle issue and issue in 3-way mode and they said they were working on an update.
I’ve also contacted SmartThings about all of the issues and they’ve said they are working with Leviton, but again this has been happening for about a year and there are still no firmware updates.
If everyone reading this who is having issues contacted Leviton and SmartThings and maybe wrote about this on Amazon then hopefully an update will get issued. Leviton does pay attention to Amazon reviews and comments on them.
Thank you for this DH Jason, it’s awesome!
One thing I’d like to change about the dimmer switch is to prevent the light from turning completely off when I hold down the side dim down paddle button. I’ve been able to accomplish this through the app’s dim down button by slightly modifying your DH code (instead of turning off, it stays at the Min Level). But do you know if there is a way I can change the behavior of the physical side dim down paddle button?
My dimmer switch is the Leviton DZ6HD.
Unfortunately I don’t believe this is feasible through DTH. It’s baked into the firmware and I don’t see a way to customize it.
I had this issue where it would respond to the actual commands and turn the light off, but it would revert back to on in the app. It seemed like when it was turning off, it wouldn’t actually adjust the level in the app, so it never sent a switch:off command. I changed the off() function in the DTH to setLevel(0) and that seems to have resolved the status issue.
I installed a Leviton DZ6HD and in my mobile app under the My Home Things it shows either “turning on” or “turning off” instead of just “on” or “off.” When I click on the device name it shows “on” when the dimmer light is actually off. Can you offer any explanation?