Zooz ZEN77 Advanced Driver issue

Thanks Agnes. I've confirmed the issue on multiple dimmers, both Zen 77 and Zen 72. When using the built in Zen 77 and Zen 72 driver, the switch state does not update when using the physical button even though the light does physically turn on/off. Here's an example of the Zen 77 dimmer

Here's the log of the Zen 77 and Zen 72 dimmers when using their built in drivers. It logs the physical button press, but the state does not update, as seen above.

  • Zen 77 with built in Zen 77 driver (physical button pushes do not update switch state in HE, despite being recognized and physically turning the light on/off)
  • Zen 72 with built in Zen 72 driver (physical button pushes do not update switch state in HE, despite being recognized and physically turning the light on/off)

As you can imagine, this makes the built in driver unusable for routines that depend on reading and acting on the switch state.

@bcopeland is this something that can be fixed in the built-in driver or should we recommend using the custom driver only with our switches for now?

What has changed on these.. Why are they sending basic instead of switch multilevel??

( pardon my unrequested rant... But for God's sake manufacturers stop using basic reporting!!!!!!!! At all. Period. )

3 Likes

As far as I know all the Zooz switches have always used Basic reports when pressed physically, and either Binary or Multilevel when activated via zwave commands. That's is how my driver has always distinguished between the two for the events and logging.

The Zen71, 73, and 76 have parameter 16 where if set to 1 it forces all reports to be Binary reports but I have that forced to 0 in my driver so I can tell which is which. And according to my notes the ZEN72 and 77 don't have this setting anyway.

@JasonJoel is there a reason a device should not use the Basic reporting? It seems to be handy in this instance as long as you code the driver for it.

1 Like

Technically - no, other than it is really generic and not descriptive of what the function is.

Some devices can do basic set on single tap OR double tap depending on how they are configured. So you never know what the basic report is telling you without knowing the device configuration. Not the end of the world, but not great either.

The zwave association explicitly discourages use of basic reports (it is only there for backwards compatibility) in favor of using the more descriptive reporting from the appropriate command class.

Typically to tell physical vs digital, one sets/unsets a flag in the driver - flag ON when the driver initiates a digital command, OFF after event comes in. Then if an event comes in and flag is already OFF, you knew it was a physical command.

But I also have written drivers that used basic reporting when it was predictable/consistent on the device. If it is useful, and the device is going to send it - why not, even though it is a "special case"?

So I guess there is no hard and fast rule on this - more of a style preference, and alignment with association style guidance.

Not always but we had added a different report for physical vs Z-Wave report based on the request from Hubitat engineers specifically :see_no_evil: That was added way back when we released the 500 series S2 switches (ZEN26 and ZEN27) but nothing changed in the way how our 700 series devices report.

@bcopeland let me know if we can send samples to anyone if needed!

I have already committed the necessary change, will be in next release.

5 Likes

Awesome, thanks so much Bryan!

1 Like

I learned a lot here. Thanks folks!

It's been almost a month, is this release coming soon?

This driver works for any of the ZEN switches.

Been using the Zen77 (30+) for about 7 months now with the Zen77 specific drivers and can say it's been a mess bordering on nightmare honestly. Eventually, I gave up. All dimmers are on FW 10.10 and my C7 hub has even been replaced. About 1 in every 10 routine attempts actually work completely otherwise it's all over the map. Have excluded and reincluded many of the switches a dozen times or so. To make matters worse, every time one thing gets fixed a new problem crops up.

  1. Can confirm, state changes oftentimes are very inconsistent. For example, right now my living room light is off but it current state shows it as on, just with the dimmer showing at near 0. This is a relatively new problem/behavior. state shows as on but slider at near zero. This started happening after a few updates ago. It used to be the slider didn't move whether the state was on or off. When the switch was shut off the slider stayed where it was. Then an update came down that changed all that. Now when the state goes off the slider goes moves to zero. This also causes another issue. When the light gets turned off the slider will go to near zero and hopefully the state goes to off. Then when the light is turned on the dimmers dim level may stay at near zero. This has confused a lot of people in my house when the light is technically on but because the level is set so low the light is off. Needless to say I'm always having to double tap for full brightness. In fact, it's now routine for me to double tap to turn lights on because of how bad it all works.

  2. Continuing with bullet 1, random dimming levels. Sometimes (a lot actually) when a state goes from off to on it'll set itself to some random dim level. Dim level could be at 100% (well, 99% now for whatever reason... Why is there no 100% now?) the night before but when it gets turned on in the morning it'll set itself to something other than full brightness. A few of my dimmers do this religiously but many if not all have done it at least a couple times. Some of these lights I have never even dimmed.

  3. Despite Scenes as being enabled I can't do advanced routines. For example, I tried setting up my back porch light to go to full brightness on a single tap and then on a double tap set both the back porch and the fire pit lights to full brightness - it never worked. I did the setup a dozen times or so but it refused to work. The only thing I COULD get to work was setting both lights to full brightness on a single tap of which isn't what I wanted.

On a side note, I'll say from a bulb compatibility perspective I've been significantly disappointed. I've tried somewhere around a dozen brands (generic and name brand) of dimmable LED bulbs and nearly all of them do not work properly or flicker in some fashion with the exception of GE bulbs. I have a huge tote of expensive LED bulbs that simply don't work with the 77s. The sad thing is the 77 is a MOSFET dimmer but a Triac based Amico recessed dimmable LED light works flawlessly.

Anyway, going to give Jeffs advanced driver a go.

I'm sorry to hear about the issues you've experienced with your dimmer. It sounds like there are a few different challenges that may be specific to your installation or scenarios so it would make more sense to troubleshoot them one at a time for each device to arrive at a solution sooner. Have you reached out to our support yet? If not, just message me your email address and I'll be happy to open a request for you so we can get these issues resolved for you.

I think that will solve a lot of the issues. Let me know how it works out. I have around 20 various models of ZEN switches in my house and everything works good here.

1 Like

I spent a very long time going back and forth with zooz directly, that's also how I got the 10.10 firmware update. I also noticed that I had zero issues with using the dimmers when using the Silicon labs UZB controller and software on my laptop. This told me the problem was associated with the hub. Then when I moved over to @jtp10181s advanced drivers' performance improved exponentially. This put the nail in the coffin for the Zen77 specific drivers. I hate to be blunt, but, they're garbage and until the significant bugs have been fixed the driver should be removed from Hubitats driver list imo.

I did end up changing the drivers to your advanced driver and performance has improved significantly. I wouldn't say it's been flawless but the occasional issue is better than numerous chronic issues. I still can't get the double tap to trigger the fire pit lights but I've found an alternative that seems to be working. Instead of double tapping I have it set up for a long press. Not sure why I can't create triggers for double taps.

On a side note, not sure if a bug or intentional but I have noticed a weird phenomenon. I have the dimmers set up to go full brightness on a single tap and for double tap I have it set up to go to a custom brightness (25%). When the light is on the custom brightness (or any level other than full brightness for that matter) and I do a single tap it doesn't go to full brightness. To get full brightness out of a single tap I have to turn the light off then on. That being said, there's no issue with going to the custom brightness using a double tap from full brightness.

I have it set up like this because I use full brightness significantly more than I do the dimming function so single tap for full brightness was better than the default doulbe tap.

This is the behavior that Zooz says is correct. I remember posting about this exact same issue quite a while back about the Zen26 and even submitted a ticket to Zooz but they said it's working as intended. I was confused because the Zen30 can be setup for single tap full brightness so that when it's below 100% a single tap will return it to full brightness.

Zooz's position is that the "single tap" only refers to when the switch is in the off state.

Based on my interaction with Zooz support, I am not surprised. Fortunately, it's just a mild annoyance at this point.

Found my old post. It was about the Zen27 actually.

1 Like