Inovelli Red Series

@ericm

Where do I get the new file

@ericm
I found it. It works. Thank you very much.

You can also click on the "import" button while editing the driver and it will pull in the latest version.

I just received one of these as well. Is there a way to have the down buttons be their own button instead of "held"? I saw a screenshot somewhere of the SmartThings version that has a preference to do this but the Hubitat driver doesn't seem to have it.
Motion Lighting doesn't support differentiating pushed vs held so I can't use any down taps as a button to turn off a light in that app. I'd rather not go through the hassle of creating virtual buttons to simulate it if possible.

How do configure them in the main device preferences?
I see the Child Devices section under preferences but can't figure out what it is asking for there.
I have both drivers installed (Main/Child). What do I do to get the buttons to show up?

I'm sorry, I need some help in understanding what you are asking. Do you need help with setting up the LED notification child devices or using the switch as a button controller, or both? Happy to try to help!

I think I just figured it out. Looks like there are two devices drivers available. The one I had loaded did not include the scenes. I just found the inovelli-switch-nzw30-w-scene.src on Github and I now see the buttons on the device.
I found it at Hubitat/Drivers/inovelli-switch-nzw30-w-scene.src at master · InovelliUSA/Hubitat · GitHub

If you are installing the Red Series switch, you'll need to use

and

https://raw.githubusercontent.com/InovelliUSA/Hubitat/master/Drivers/switch-child-device.src/switch-child-device.groovy

The driver you posted above is for the prior model of Inovelli's scene switch.

1 Like

Thank you VERY much!

I just made a quick modification to the driver that does this. I made taps 1-5 up be odd button numbers (1 to 5 taps are buttons 1, 3, 5, 7, and 9 pushed), 1-5 taps down even button numbers (buttons 2, 4, 6, 8, 10 pushed), and the config button number 11. All buttons except 1 and 2 support only (or to be clear, are reported as) pushed. This eliminates the "held" workaround but requires a small amount of "button math" that is not uncommon for this type of switch.

For the up paddle, you'll get button 1 pushed if you tap it, or button 1 held followed by released if you hold it down (and release it). Similar for button 2 with the down paddle. Apparently, the "release" Z-Wave message was a firmware accident, and their official driver doesn't do anything for this, but I hope they keep it. This makes the switch usable to me with the relay disabled to control smart bulbs and get smooth dimming via startLevelChange and stopLevelChange.

No guarantees that this will work with other firmware versions, but this works for me on the current Red switches: https://github.com/RMoRobert/Hubitat/blob/master/drivers/inovelli-switch-red-series-lzw30-sn-advanced.groovy

EDIT 1: I no longer update the above driver, instead I've now switched to using my further revision: [RELEASE] [Deprecated] Inovelli LZW31-SN Drivers with Child LED Devices

EDIT 2: I have heavily revised/rewritten the above driver and no longer maintain the v1 version of it either; I have a v2 in my GitHub repo but have not made an official "release" thread for it yet. Inovelli's provided driver has adopted many of the features I added to my v1 driver, and Hubitat still offers a built-in driver if it meets your needs.

The same button-event mapping applies as above, which is different from Inovelli's own awkward use of event names but consistent for at least single presses with how Hubitat numbers and names the events. This one also optionally creates child devices for LED that can be manipulated using mostly standard command, like a smart bulb (instead of needing to pre-configure notifications in the parent device, just tell the "child notification LED" device to set itself to yellow and start the "fast blink" light effect, for example).

I also added a setIndicator command to match what Hubitat does on their provided drivers, which will set the notification LED to the calculated parameter value if you prefer doing it that way instead.

1 Like

@bertabcd1234 Oh man, thank you so much for this code. I spent over an hour trying to get this switch to work as buttons, and nothing was working. Inovelli claims that their driver enables the different buttons in Hubitat, but it doesn't at all. I then tried 3 different custom drivers before finding and trying yours, and now it is working (almost*) flawlessly. Thanks so much for sharing this code.

Is there anything that actually limits the number of buttons this could be? Could [anyone] add additional lines of code for 6 taps or 7 taps?

*I set hold up and hold down to turn on and off all the lights in the house. Sometimes, after holding, if i then go to tap up or tap down to control the light connected to the switch itself, it will toggle the relay, then toggle right back. It only seems to be doing this maybe 10% of the time, so not sure what the issue is.

So if I hold down to turn off all the lights, then wait a couple seconds, and tap up, the switch will click on, then immediately click back off. It's done it the other way too (turn this light off and it turns it right back on)

I've had it where it does this only once then works fine(9% of the time), where it doesn't do this at all and works fine on the first try(90% of the time), and where it did this 3 times in a row (Hold Down - All Off, Tap Up - Light On then Light Off, Tap Up Again - Light On then Light Off, Tap Up Again - Light On then Light Off) before I held up, then held down again to reset it(happened twice so far).

Thanks again, this code is what I was expecting to get from Inovelli.

There is a limit on taps: the driver isn't doing anything special to count these, the switch just reports it on its own (via Z-Wave scene and key numbers). There's no way to increase that with the driver. (You can sometimes fake this with some success by counting button presses, usually with buttons that don't already support multiple taps or the device's own delay to make sure you aren't multi-tapping will make this worse, but Hubitat takes a bit of time to process these events and it won't be as smooth as the device natively supporting it.)

I haven't experienced the problem you mentioned with the relay. I assume you have the local control parameter set to disabled? I didn't play around with this much but don't think the driver should affect that. Can you get that to happen with the original driver, too?

@bertabcd1234 I don't have local disabled, because this is controlling an actual lighting circuit, and we want it to still control the circuit if the network goes down.

I am having a little trouble with automating using the different buttons (I can't share them to other Apps like Alexa), I don't want to take over this thread though, should start a new one, or just PM you?

Ah. I have local control disabled on mine. I'd assume a hold down should not cause a subsequent tap up to turn (on and then) off the relay, so I'm not sure what's going on. You might try posting on the Inovelli Community forums to see if anyone has had a similar experience.

As for buttons, that's normal: the Alexa API does not provide a way to expose buttons. It can expose switches, but only to control them. They can't be used as "triggers" in an Alexa routine. For that, you'll need an awkward workaround like a virtual motion or contact sensor (all Amazon lets you use at the moment). I hinted at these workarounds in another thread (Alexa Skill does not support SmartThings button), and perhaps a search will reveal more if you can't figure it out based on the general description others have provided so far (but I'd also be happy to help).

Well the dimmer showed up today. So I can say both their products are real. Have not installed it yet since the room it goes in is still missing trim and it final paint.

2 Likes

I'm a tad confused here. Are you saying you didn't have scene control with our driver?

Sorry, just trying to understand bc there have been plenty of people setup scenes with our driver.

I'll also admit that a lot of what @bertabcd1234 did is way above my pay—grade! Thanks for the modification!

I have the Dimmer. I would like to set a rule up to set the notification light to a certain color? Also do you need the child device for the dimmer?

Thanks

@Eric_Inovelli I just installed 2 of the new Red Series Dimmers (LZW31-SN), and unless my reading skills/comprehension utterly failed me (certainly possible) the links in the instructions for Hubitat point to the LZW30 drivers (on this page under Hubitat: https://inovelli.com/shop/smart-light-switches/zwave-smart-switches-gen2/z-wave-dimmer-switch-no-neutral-required-scenes-notifications/#installation-instructions)

Took me awhile to figure out what was wrong...when I first set things up, my assumption was that the driver was for both models.

Long story short, after an hour at panic stations with my WAF predicted to take a nose-dive, I found the LZW31 drivers on the Github, and all is well.

For others with similar confusion: Hubitat/inovelli-dimmer-red-series-lzw31-sn.groovy at master · InovelliUSA/Hubitat · GitHub

The dimmers, even in basic configuratio have a HIGH WAF by the way.

Whoops, my bad -- just trying to keep you guys on your toes!

The link has been updated -- thanks for catching it for me :slight_smile:

So, by HIGH WAF, do you mean there's still a ways to go for her to accept it? Or does it mean even in the basic setting, she's excited about it haha?

Nah, you hit the mark! She Loves them! High WAF = Good, Low WAF = "toss it in the trash".

:slight_smile:

3 Likes