Weird. It works as an option in the zwave mqtt integration.
Iām able to set effects and the dimmer LED to white on switches, dimmers, and fan / light combos through the ZWave to MQTT integration. White was added to the firmware recently, but I donāt remember what the minimum requirements are. My dimmers are running firmware 1.61 / 1.45 for reference. Feel free to use what Iāve done, if it helps. It was originally based on your work anyway, Brian. That Inovelli calculator has always been somewhat incomplete, since it doesnāt account for the effects switches donāt have.
According to the change log, white was added in firmware 1.45, so was not originally included and was added 6/22/20
It states you can set the LED bar to white by publishing a value of 255 to parameter 13.
Since it was added later on, I would think this would explain its absence from the Inovelli toolbox.
I attempted to confirm this after updating my dimmer to v1.57 Z-Wave MCU (Target 0)
and v1.45 Holtek MCU (Target 1)
. Unfortunately, setting the color to 255 still displays a red color. I also tried directly setting parameter 13 to 255 and nothing happened.
I also copied @kschlichterās spreadsheet, and selected white as a parameter and the resulting value still turned the led red.
I have white as an option in the Z-Wave JS to MQTT web UI, but Iām on firmware 1.61 / 1.45 so maybe thatās the difference? Punching 33490687 into parameter 16 successfully set the switch effect to solid white forever.
Iām still on older firmware 1.47 Z-wave MCU and 1.41 Holtek MCU
I can confirm setting parameter 13 to 255 directly in the zwavejs2mqtt web UI changed the LED to white on my dimmer as well. Using the zwave_js:set_config_parameter service in Home Assistant also successfully changed the LED to white.
Initially, I updated to 1.47 to use the parameter 51 āinstant onā option (remove 700ms delay). At the time, even though everything showed successful with the firmware update, that option didnāt work initially. When I applied the firmware update again, it worked the second time. My only other thoughts to get white working would be to try and apply the firmware updates again in case something didnāt stick, or possibly that there was a problem in 1.57 that got fixed again in 1.61
White is now included in the toolbox since Jan 5, 2021.
Are you using the version on git or did you clone it?
May 26, 2022 change: Added support for the White LED color.
* Support for the color white was supposedly added to the LZW31-SN dimmer [in Firmware 1.45 accoding to Inovelli](https://support.inovelli.com/portal/en/kb/articles/firmware-change-log-lzw31-sn-dimmer-switch-red-series).
* I ended up having to flash both LZW31-SN Z-Wave 1.61 and LZW31-SN Holtek 1.45 firmware twice before I could see white light.
@mwav3 and @kschlichter:
I tried the 1.61 beta Z-wave firmware instead of 1.57, and I tried reflashing the 1.45 Holtek firmware for good measure. 255 now produces white light! Thank you both for the suggestions!
@takissd and @RarelyComplete:
Thanks for the heads up. I donāt know why I didnāt think to update the firmware on my dimmer, but it works now.
Updated script
Not to completely derail this thread, but I have a question for those of you who upgraded your switches (with what I assume was the OTA method). I recently did one of my switches via OTA Z-Wave JS, using the ZWAVEJS2MQTT integration, and both targets updated successfully. However, I wasnāt expecting that I would have to exclude and re-include the device to get Z-Wave JS and Home Assistant to recognize it after the update.
Z-Wave JS did attempt to re-interview the device after the upgrade but eventually failed. Is this common? I have several more switches to update, but Iām thinking twice if I need to go through all this with each one.
No, I did not have to remove/re-add my Inovelli dimmer.
The Zwave JS 2 MQTT web interface showed a progress ring to show it was working on the upgrade for each firmware. I sent them over one at a time, waiting for the first to complete before uploading the second.
May 26, 2022 - update #2
1. This is the first release only supporting Z-wave JS!
2. Added support to send the same notification to multiple Inovelli switches and dimmers. (Thanks to Danny Schuh)'s contribution to the blueprint.)
From now on only the Z-Wave JS versions of this script and the blueprint will only get updates. The OpenZWave and Zwave integrations were officially removed from Home Assistant version 2022.4.
If you are still using either of the old integrations on a old version of Home Assistant, you can download the final version of that script here.
Updated script (Z-wave JS only)
Iāve done several firmware updates. Most of the time, all config and zwave settings were fine and the switch did not need to be reincluded.
One time though, the red series dimmer switch completely factory reset and I had to reinclude and resend all the config settings. It was in the same room as the zstick, and I only did the one firmware update and tried not to use any switches or create zwave traffic, so I canāt think of anything I did to cause this. I guess it depends on the firmware version?
Iāve been skittish about applying zwave firmware updates since that happened. I probably wonāt unless I see support in the change log for a new feature I really want.
Thatās odd, because this switch was also in the same room as my Zooz Z-Wave stick. Probably a coincidence, but you never know.
Hello, I just recently found this script and Iām playing with it on my LZW36 fan/light switch. I have been able to make the LED strip for the light button work with the script but the fan button doesnāt seem to respond to commands. Is there something special I need to do to get the fan LED strip to use the effects?
These are the entities exposed
and my automation YAML is simply
service: script.1655124714448
data:
entity_id:
- light.red_series_fan_light_switch
- fan.red_series_fan_light_switch_2
color: Green
level: 10
effect: Chase
duration: 5 Seconds
and this way the light LED strip responds, the fan does not. Iāve tried all 3 entities in my YAML as well but itās the same so Iām thinking thereās something Iām missing.
Thank you!
You have to make it a separate call and add: model_type: combo_fan
to the data.
EDIT: depends on which version of the script youāre using as well. It looks like the script misses checking for the fan domain as well.
EDIT 2: Something like this may help:
model_type: |
{%- if model_name is string %}
{%- if "LZW31" in model_name %}
dimmer
{%- elif "LZW36" in model_name %}
{%- set domain = repeat.item.split(".")[0] %}
{%- if domain == "fan" %}
combo_fan
{%- else %}
combo_light
{%- endif %}
{%- else %}
switch
{%- endif %}
{%- else %}
dimmer
{%- endif %}
Hi yes, so the version of the script Iām running already has this in it
Iām running the version of the script linked here Inovelli Z-Wave Red Series Notification LED - #175 by BrianHanifin
#1 Donāt post images of text.
#2 The code youāve posted does not contain the modification Iāve posted. Using what I have posted will change the fan LED on the LZW36. (Iāve tested it locally)
- Sorry for posting images of text. I can see how that would be upsetting.
- I do see the difference in your code vs whatās existing. Iāll update whatās in the script with that. Thank you kindly.
Itās not upsetting more of a courtesy for those who may be color blind or have vision problems.
Enjoy!
Your modification works fantastically. Thank you again!