ZwaveJSUI - RGBWW BULB - Warm/Cold White interfered with RGB settings - Bulb doesn't change color if in WarmWhite state.
-
Hi ,
I'm on
-Reactor (Multi-hub) latest-25067-62e21a2d
-Docker on Synology NAS
-ZWaveJSUI 9.31.0.6c80945Problem with ZwaveJSUI:
When I try to change color to a bulb RGBWW, it doesn't change to the RGB color and the bulb remains warm or cold white.
I tryed with Zipato RGBW Bulb V2 RGBWE2, Hank Bulb HKZW-RGB01, Aentec 6 A-ZWA002, so seems that it happens with all RGBWW bulb with reactor/zwavejsui.I'm using from reator the entity action: "rgb_color.set" and "rgb_color.set_rgb".
After I send the reactor command, It changes in zwavejsui the rgb settings but doesn't put the white channel to "0", so the prevalent channel remains warm/cold White and the bulb doesn't change into the rgb color.This is the status of the bulb in zwavejsui after "rgb_color.set" (235,33,33,) and the bulb is still warmWhite.
x_zwave_values.Color_Switch_currentColor={"warmWhite":204,"coldWhite":0,"red":235,"green":33,"blue":33}
The "cold white" and "warm white" settings interfer with the rgb color settings.
Reactor can change bulb colors with rgb_color set — (value, ui8, 0x000000 to 0xffffff) or rgb_color set_rgb — (red, green, blue, all ui1, 0 to 255) but if warm or cold white
are not to "0", zwavejsui doesn't change them and I can't find a way to change into rgb or from rgb back to warm white.So if I use from reactor: rgb_color set_rgb — (235,33,33) in zwavejsui I have
x_zwave_values.Color_Switch_targetColor={"red":235,"green":33,"blue":33}
14/03/2025, 16:43:57 - value updated Arg 0: └─commandClassName: Color Switch └─commandClass: 51 └─property: targetColor └─endpoint: 0 └─newValue └──red: 235 └──green: 33 └──blue: 33 └─prevValue └──red: 235 └──green: 33 └──blue: 33 └─propertyName: targetColor 14/03/2025, 16:43:57 - value updated Arg 0: └─commandClassName: Color Switch └─commandClass: 51 └─property: currentColor └─endpoint: 0 └─newValue └──warmWhite: 204 └──coldWhite: 0 └──red: 235 └──green: 33 └──blue: 33 └─prevValue └──warmWhite: 204 └──coldWhite: 0 └──red: 235 └──green: 33 └──blue: 33 └─propertyName: currentColor
In zwavejsui, the bulb changes rgb set but warm White remains to "204" and the bulb remais on warm White channel bacause is prevalent on rgb set.
x_zwave_values.Color_Switch_currentColor_0=204 x_zwave_values.Color_Switch_currentColor_1=0 x_zwave_values.Color_Switch_currentColor_2=235 x_zwave_values.Color_Switch_currentColor_3=33 x_zwave_values.Color_Switch_currentColor_4=33
Is it possible to targetColor also for "warmWhite" and "coldWhite" and have something similar to this?
x_zwave_values.Color_Switch_targetColor={"warmWhite":0,"coldWhite":0,"red":235,"green":33,"blue":33}
Thanks in advance.
-
Please update this report with more details and specifics. Honestly, I can't parse what is working and what is not from your submission so far. I have no idea what a "scope" is. I don't have this device, so if it's something specific to the device, you'll need to include information about that. Please edit t he head post rather than adding a reply here, preferably.
-
Thanks for the update. When I read this, I'm reading that Reactor is operating correctly, doing the same thing that ZWaveJS UI is doing when you change the RGB color, you just want an additional function to be able to change both the RGB and white (one or two channels) at the same time?
If that's not correct, bring me up to speed, and also copy and paste the full attributes for a representative entity (there's a button in the entity detail pane to copy all attributes shown).
-
What's the node ID of the bulb (node number)?
-
You will not be able to set these in one action. You will need to set
x_zwave_values.Color_Switch_targetColor_0
to 0 in another action to turn the warm white channel off, and likewisex_zwave_values.Color_Switch_targetColor_1
to 0 to turn off the cold white channel. The intensity of these channels can be set by setting other values up to 255.It should be possible to set
x_zwave_values.Color_Switch_targetColor
with a JSON string, but that is not currently supported in ZWaveJSController. That would allow you to set everything at once. I will work on it. -
Hi, thank you for the new update and I'm testing it under:
Reactor build 25082
ZWaveJSController build 25082
-Docker on Synology NAS
-ZWaveJSUI 10.1.3Trying with these values but nothing happens (in zwavejs events and in reactor logs). Am I doing something wrong with JSON string value fields?
in zwavejsui
-
First, always look at the logs. I'm 100% certain that "nothing happens" isn't what's in the logs.
It looks like the device has separate
targetValue
values for the white channels, so you may just need to use those. That means for red, green, and blue, you'll usetargetValue
for the property with a JSON object, but leave thepropertyKey
blank. For warm white, you use propertytargetValue
withpropertyKey
zero (0), and for cold white you'll usepropertyKey
one (1).Edit: look at the logs