Skip to content
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

fix(config): use Color Switch V2 for Inovelli LZW42 #6654

Merged
merged 2 commits into from Feb 4, 2024

Conversation

Zarklord
Copy link
Contributor

@Zarklord Zarklord commented Feb 2, 2024

In the Inovelli Official Hubitat driver for the LZW42, they use Color Switch V2 commands (source).
I also own these lightbulbs, and I can confirm they do indeed respond to the V2 version of set, which takes a dimming duration.

I am not super familiar with how to write these config files, so if this is the wrong way to force it to use Color Switch V2, please point me in the correct direction, so that I can fix it.

@zwave-js-assistant zwave-js-assistant bot added the config ⚙ Configuration issues or updates label Feb 2, 2024
@Zarklord Zarklord changed the title Inovelli LZW42 Supports Color Switch V2 feat(config): force Inovelli LZW42 to use Color Switch V2 Feb 2, 2024
@AlCalzone
Copy link
Member

AlCalzone commented Feb 2, 2024

If the device supports V2 of the Color Switch CC, it should tell Z-Wave JS when asked for the version. Z-Wave JS automatically uses V2 of the CC when the device supports it. The dimming duration is then either "default", or the given one.

To verify, please make a driver log of a re-interview, loglevel debug and attach it here as a file (drag & drop into the text field).

In 99% of the cases, there's no need to hardcode CC versions like in other drivers.

@Zarklord
Copy link
Contributor Author

Zarklord commented Feb 2, 2024

zwavejs_2024-02-02.log

Here's the log, surprise surprise, it's reporting Color Switch V1, unfortunately this isn't one of those 99% cases...

Co-authored-by: AlCalzone <d.griesel@gmx.net>
@AlCalzone AlCalzone changed the title feat(config): force Inovelli LZW42 to use Color Switch V2 fix(config): use Color Switch V2 for Inovelli LZW42 Feb 4, 2024
@AlCalzone AlCalzone merged commit 72cae6d into zwave-js:master Feb 4, 2024
17 checks passed
@Zarklord Zarklord deleted the patch-1 branch February 8, 2024 13:25
AlCalzone added a commit that referenced this pull request Feb 10, 2024
### Bugfixes
* NVM backups can now be restored onto 800 series controllers (#6670)

### Config file changes
* Use Color Switch V2 for Inovelli LZW42 (#6654)
* Correct Zooz ZEN1x timer config params (#6648)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config ⚙ Configuration issues or updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants