I’ve moved to a brand new house and am starting a new automation project using HA and Z-wave (primarily). After 22 years in a house with Insteon and an ISY controller, it’s a big switch.
Here’s my current conundrum: I’ve got several Zooz30 wall switches whose bottom button controls a ceiling fan and whose top rocker triggers an HA automation that turns on different lights that are not hardwired to the switch (they’re connected via Z-wave using Minoston MP21ZD dimmable plugs, mostly). The on/off automations from the Zooz switch work fine. Where I’m getting stuck is in getting the plugs to dim up/down like hardwired lights would when I press and hold the top/bottom of the rocker switch.
I can set up an automation in HA that sends a sends a command to decrease the brightness of the lights on the plug when I press and hold the bottom rocker, but it only dims the bulbs by, say, 10% and then stops dimming (even though I continue to hold down the rocker switch). If I press and hold it down again, it dims another 10% and then stops again. What I want is to be able to hold down the rocker and cause the plug to dim the lights until I stop holding down the switch – as I’d expect to do if the lights were directly wired to the switch – but I can’t figure out how to create an HA automation that does this.
Naturally, I also want to be able to brighten the the lights attached to the plugs if I press and hold the top of the rocker switch.
Any suggestions or pointers would be greatly appreciated.
What you want to do is called performing a level change. It allows you to emulate the press and hold functionality of a physical switch using z-wave commands.
If you have z-wave js ui you can test this out by expanding the multilevel switch section and clicking the start and stop button. For example if you click the start button under perform a level change the device will increase its brightness until it reaches the max value or you tell it stop by clicking the stop button.
To perform this action using an automation you need to use the Z-Wave: Set a value (advanced) action. It will ask you for a bunch of information which you can find in Z-Wave JS UI or by downloading the device diagnostic
21 = the node id of the device you are currently viewing
38 = the command class id
0 = the endpoint
Down = the property
In the value field you will need to enter true for start and false for stop.