-
-
Notifications
You must be signed in to change notification settings - Fork 586
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add value notification event for Multilevel Switch CC #4064
Comments
Interesting use case, but I can see the value in having this. I'll put this on the todo list - if anyone wants to help out, go for it! |
Some pointers:
|
I've just started having a look at this and have made the changes that you've suggested to the MultilevelSwitchCCSet command, but I'm getting an error where at node-zwave-js/packages/zwave-js/src/lib/node/Node.ts the command isn't recognised, so I've added a category for the Multilevel Switch but just wanted to check that this was expected? |
@binzhou I've added support for the Start and Stop Level Change Commands now as well, let me know if you get a chance to test it out. @AlCalzone Where's the best place to get feedback on the commits?
|
Just open a PR here, this makes it easiest for me to check out what you did. |
FWIW, I believe this proposed change will also address a need for Leviton VRCS4 and Leviton VRCZ4 devices (and perhaps others too). These devices have a rocker switch that functions as a dimmer by sending Multilevel Switch messages to the associated load (or the hub). The rocker can be pressed to adjust the associated load's level incrementally or held to adjust the level continually until released. In my previous integration with OpenZwave, I reported these events as "up" / "down" / "stop" similar to what is being proposed here (and I was just investigating how to do it with zwave-js). So I'm excited about this change. ;) |
Is your feature request related to a problem? Please describe.
The Aeotec ZW111 is an in-wall dimmer with a single output but wiring for 2 external switches. It can be configured such that the second switch only sends zwave commands to an association group rather than controlling local load. It supports sending 2 sets of commands: basic and multilevel switch CC.
Currently, we can take advantage of this by associating the device with the controller node and setting it to send only basic commands - these are received by zwave-js and converted to value notifications. However, this doesn't work when set to multievel switch CC.
If this were supported, then not only could you program automations (eg. in Home Assistant) for on/off events, but also for multilevel start/stop commands which correspond to holding and releasing the external switch.
Describe the solution you'd like
Describe alternatives you've considered
N/A
Additional context
Log from when I toggled then held-and-released external switch that had direct association with the controller and was set to send Multilevel Switch CCs
The text was updated successfully, but these errors were encountered: