Leviton Smart Dimmer and Alexa: what to say to control brightness/dim value?

I did remove the AA APP, leaving just the AA SKILL. Sometimes Alexa reports "Sorry, the Living Room Lights is not responding" after either a request to turn the lights on or off. Yet the lights are being turned on/off. Sounds like Alexa isn't getting status feedback from Hubitat, or maybe not quick enough?

And, even with just the AA SKILL, I still can't control the dimming of this Leviton Smart dimmer.

You might want to remove the Leviton Smart dimmer from within the Alexa App on your phone (not inside Hubitat.) Then, tell Alexa to Discover Devices again to see if it is properly detected as a dimmer. If not, I would recommend contacting support@hubitat.com.

1 Like

Thanks ogiewon! In Alexa I removed the 2 devices named Living Room Lights (there were 2 because I had initially added both the "Amazon Echo APP" and "Amazon Echo SKILL" apps in Hubitat). I deleted these duplicate device names within Alexa, then let it rediscover and it found just 1 device. I can now say commands like "Alexa, set the Living Rooms Lights to 20%". Or, "Alexa, turn on the Living Rooms Lights to 20%". I like the "set" command syntax better, as it's more logical for dimming...
But, Alexa still complains, about 8 secs after turning lights on/off, "Sorry, Living Room Lights is not responding". Yet it performed the commands perfectly. I guess I'll contact support and get guidance (I'm sure some log file somewhere...).

1 Like

Thanks to a post I found by Keo, I solved the problem of Alexa complaining "[device] is not responding". Solution was to change the HE device type from Generic Smart Z-Wave Dimmer to Generic Z-Wave Dimmer, deleted device in Alexa-> Smart Home , then clicked Add Device to let Alexa rediscover the dimmer again and now it works properly. Alexa now says "OK" about 1 to 2 secs after performing the requested command...

Before making this change, I noticed that even in the HE web GUI, the dimmer device was not listing the device's correct dim level setting. I think it always showed 1%. Now that the device type is no longer "Smart", HE GUI lists the correct current dim value.

2 Likes

Great to hear you've got it working correctly. And, thank you for posting your findings as I am sure others will find this information useful!

Sounds like you may have the old firmware for the Leviton dimmers. The Generic Smart Z-Wave dimmer doesn't work with the old firmware . Leviton z-wave plus dimmers - firmware update may needed to work with generic smart driver

The Leviton dimmer that I bought several months ago is their model DZ6HD. The link you kindly pointed me to lists a Leviton DZD6HD dimmer (plus one other model). It is possible DZD6HD is a typo, and it should be DZ6HD? It doesn't sound like it's an easy thing for a newbie to update these Leviton dimmers, so I want to be doubly sure of model nos...

I wonder if there would even be any benefit to upgrading the firmware (assuming it's applicable to my DZ6HD)? Changing the HE device type from Generic Smart Z-Wave Dimmer to the not-so-smart Generic Z-Wave Dimmer seems to have solved my issues. Commands spoken to Alexa take about 1 to 2 secs to execute, followed by an "OK" from Alexa maybe another second after that. I imagine the updated firmware wouldn't be any faster? As far as response times when using the HE web GUI - nearly instantaneous. And the GUI is displaying the correct dim level - and remembering it between switching on/off... Is there some other functionality I might be missing by not using the Smart version of the device type?

The only thing that is a little disappointing is that the brightness of my LED bulbs controlled by this dimmer does not go low enough for my liking. Once the dim setting reaches about 10%, no further reduction in brightness is observed as I work down to 1%. Probably just limitations in my LED bulbs...

Weird: I enabled Debug logging for this dimmer (wanted to see if its firmware ver was listed), then spoke a command to Alexa to just turn on the lights. Then I looked at log and saw text below. The odd part is that the dimmer was already set to 20% (before I turned it off), yet the logs list 99%. Alexa did turn on the lights properly, retaining the 20% level when it turned lights back on.

dev:332018-11-19 06:24:31.798 pm infoLiving Room Lights was set to 99% [digital]

dev:332018-11-19 06:24:31.797 pm infoLiving Room Lights was turned on [digital]

dev:332018-11-19 06:24:31.781 pm debugdimmerEvents value: 99

dev:332018-11-19 06:24:31.779 pm debugBasicReport value: 99 ok

dev:332018-11-19 06:24:31.772 pm debugparse description: zw device: 02, command: 2003, payload: 63

dev:332018-11-19 06:24:11.045 pm infoLiving Room Lights was turned off [digital]

dev:332018-11-19 06:24:11.035 pm debugdimmerEvents value: 0

dev:332018-11-19 06:24:11.032 pm debugBasicReport value: 0 ok

dev:332018-11-19 06:24:11.027 pm debugparse description: zw device: 02, command: 2003, payload: 00

dev:332018-11-19 06:24:03.729 pm debugafter settings: ['param3':'0', 'param4':'0', 'flashRate':'750', 'logEnable':true, 'txtEnable':true], state: ['polled':0, 'bin':-1, 'flashing':false]

dev:332018-11-19 06:24:03.654 pm debugbefore settings: ['param3':'0', 'param4':'0', 'flashRate':'750', 'logEnable':true, 'txtEnable':true]

dev:332018-11-19 06:24:03.610 pm warndescription logging is: true

dev:332018-11-19 06:24:03.607 pm warndebug logging is: true

You are correct the Model should be DZ6HD, my apologies .

The generic "non-smart" handler will work but status updates wont be as reliable/fast as using the smart z-wave handler -with the appropriate firmware. The difference is, I believe, in the use of a feedback -zwave message to notify that the physical switch has changed. With the correct handler and firmware this is instantaneous.

This has been a source of some annoyance [RELEASE] Leviton Decora Z-Wave Plus Dimmers (DZ6HD & DZ1KD) - Community Created Device Types - SmartThings Community

Al I can say is that having managed to update the firmware things now work perfectly and it allows me to work reliably with scenes etc.

If you are starting out on this journey I can only wish you well. There are many on the community that will help you. This requires patience, as the firmware updates take time, and the addition of software and a z-wave stick.

Thanks for the clarification Linvale! Does anybody know if there is a good example/tutorial on exactly how to update the Leviton firmware? Can it be done "over the air" directly in my HE environment? If not, is that a limitation related to Leviton, or are firmware updates for devices basically not a function of HE? If not a current functionality of HE, are there plans for it to be added?

In the HE web GUI, can anyone explain what the Start Level Change (and Direction) and Stop Level Change buttons do? Also, how about the Configure button? As a newbie, I think it would be very helpful to have button-specific labels pop up when you hover mouse over a button that briefly describe what that button does. And maybe add ability to turn help labels on/off for the experts?

Those are how buttons dim (or brighten). You press a button, it sets direction and start. When you release the button, the button sends the stop. We shorthand write this as press/release. Other button actions are press and press/hold.

Pico's are popular button devices here and they support all three button modes.

Take a 5 button Pico, for example. (I'm giving physical button examples here, but virtual devices work the same.)
Pico5

Button 1 at the top might be used for "on, full brightness" -- it's just a push. Same with button 5 at the bottom: "off" -- another push. That button 2 could be used as push/release to brighten, while button 4 would be the same, but the other direction.

Button 3 is often called "favorite" and could be used to set a specific dim level -- again using Push.

Configure does just that, it moves the configuration from the driver to the device. ZWave devices have many configuration elements, and the driver wants to set them so that driver and device match features.

That Pico also works with push/hold to give 5 more buttons! Yes, that Pico is a 10 button device. Short push = push while long push = push/hold. Push/release and push/hold are the same action to the human finger, the programming being the difference in interpretation.

If, when you join a device, it displays the correct driver, the config is done automatically. But anytime you change the driver, as you experiment perhaps, then clicking Configure will send that driver's "map of features" to the device, overwriting the previous driver, in many cases.

https://docs.hubitat.com/index.php?title=Device_Detail

Thanks for the detailed explanation csteele! Written like a true programmer/developer - nice!! So, since I don't have any button devices like the Pico, those Start Level Change and Stop Level Change buttons on the HE web GUI screen are meaningless for me, right? They would not affect the physical buttons/controls on the physical dimmer, right?

you can push them the same as On or Off. They'll do what they're intended to do..

"would not affect the physical buttons/controls on the physical dimmer" <-- not sure what that means, but I'll tell ya what flashed into my head.. those Mickey Mouse hands that come out of the ceiling to physically push a button. :smiley:

Perhaps it's better to imagine that the switch you're replacing is swapped to a Relay. The ZWave circuitry controls the relay, the physical buttons tell the ZWave circutry what to do.. exactly the same as the radio commands from a hub. Physical does nothing anymore, except tell something it got touched.

Check out this post regarding updating your Leviton Dimmers. There are numerous revisions with a bunch of fixes and they work much better after updating the firmware.

What I'm asking is if clicking on the Start Level Change or Stop Level Change buttons on the Hubitat web GUI device screen for this dimmer has any effect on the lights attached to this dimmer? e.g. it sounds like you are saying, even without a remote control (e.g. pico), if I click on those 2 buttons on the web GUI something should/will something happen to the dimmer/lights? Do clicking on those 2 buttons equate to pressing the up/down dim bar on the rgt side of physical dimmer? And back on the web GUI, how does the Level setting/value affect these 2 buttons?

I've been a programmer for over 30 years, but I've got to say this isn't intuitive stuff to a newbie in HA :slight_smile:

Yes, I saw that post. I'm hoping there's a step-by-step tutorial somewhere? I'm clueless as to exactly what I'd be doing with the Hubitat's USB stick? If I put it into a Windows computer, do I then boot from the USB stick (and end up in a Linux world)? If I don't boot it, what am I doing to it? Scratching my head :slight_smile:

Yes, exactly

Level Setting sets the initial level (dim) from which you would go up or down.

Look at this post. Basically you just need to install the device driver for the Hubitat stick and then the Z-Flash software can use it to flash the FW.

The USB stick is a pair of radios, can't boot from it.

You install the drivers, then run the Purchased software... you can purchase it with their own USB Stick (ZWave only) and that would remove the need to power down the Hub to do the upgrade.

BUT

If you're going to buy another ZWave Stick, buy the Aeon.

It's got an internal battery so it works unplugged and can be used to Exclude and Include devices while you are walking room to room with it.