I have a ZEN31 RGBW Dimmer. I have connected 3 separate strings of ALL WHITE LEDs to the ZEN31, one string connected to the Green output port, another to the Red output and the third to the Blue output.
I also have a ZEN32 Scene Controller that I want to use to control each of the LED strings. I want ZEN32 Button #1 to control the LED string connected the ZEN31 Green output, Button#2 to control the ZEN31 Red output and Button #3 to control the ZEN31 Blue output.
What I am trying to accomplish is to simply press Button#1 and cause the LEDs on the ZEN32 Green output to ramp up in intensity. Press Button#1 again and the LEDs ramps down in intensity. The same goes with the other Button/RGB combinations.
I created a Simple Automation Rule that upon a trigger (Push Button#1 ), the action sets, for example, turns ON and set the color to Green on the RGBW dimmer. I also enabled Toggle on/off.
Upon pressing Button#1, the Green port of the RGBW dimmer toggles on and off as expected. The same occurs for the other two buttons. Each will toggle their respective RGBW ports on and off.
Now the anomaly.
Assuming all RGBW ports are OFF.
I press button#1 and toggle on the LEDs green RGBW port ON. Now with the Green port still ON, I push Button#2, it will then turn of OFF the LEDs on the RGBW Green port. Similar action occur with other RGBW color combinations.
So how can I restrict each Button trigger to their respective RGBW port? Im stumped.
If you have just the "Green" channel on, and then change the "Color" of the ZEN31 to "Red" of course it is going to turn off the green to get the color red, red only needs red and not green. If you wanted both green and red on you would need to set it to RGB 255,255,0
You are trying to use the ZEN31 for a purpose other than it is intended. It sounds possible, but it might be tricky. I am thinking you will want to create one Rule Manage to handle it, and track the on off state of each channel with a variable. You might have to then convert it to the HSV format so it can be sent to the setColor command. That will be the more difficult part.
Probably would actually be better off to use a totally customized driver that does it all in the back end.
Still confused.
Are you saying that if I connect an LED to the RGBW Green channel, another LED to the Red and a third LED to the Blue channel, and I create a separate rule to handle the ON/OFF action of each color channel, that it is not possible to control each LED independently of each other using the existing Rules tools?
Unless that is a specific feature of that device to use each channel independently, it is probably designed to have ONE led strip attached, with respective RBG channels. When you tell it to make the LED strip RED it turns ON RED and turns off Blue and Green. If you tell it to make it PURPLE it would turn on RED and BLUE and turn off GREEN.
Does that make more sense?
Unless you have a driver with commands to separately control each channel? I would need to see the driver or a screenshot of the top commands section of the device.
A little background…
I had all the desired functions working on my ISY994i before it went belly up. Because of that I decided to explore switching to the Hubitat. So I know from a hardware perspective the ZEN31/32 combination is capable of performing the desired tasks. Now wether the Hubitat can easily accomplish this task is another story.
Ok I installed a virtual device with the ZEN31 driver, I do see that it has separate commands for the level of each channel. I am looking at custom smart things driver as well and it is using a command class I am not super familiar with. Looking at the commands available, the only way to make a mixed color such as purple would be to call both SetBlueLevel and SetRedLevel, so I would expect that running one of those would not turn the other off.
What driver are you using? Should be set to Type: Zooz RGBW Dimmer
Appreciate your dedication and help.
Yes, that is the driver I am using.
Hardware wise, the LED string on each of the color channels consist of white 4000k LEDs. So I am not interested in mixing color channels, just turning on each primary color channel to deliver operating current to the LED string.
Ok I see the problem, you will need to use Rule Machine (or Button Controller which uses the same engine as Rule Machine) so you can use custom commands. When you set the "Color" to green it is doing as I described above, it is trying to align all 3 channels to create Green, which would be green ON and Red/Blue OFF. I think you will need to use the SetRedLevel, SetGreenLevel, and SetBlueLevel to control the channels independently. I can see those on the parent on my end, not sure if they are on the color child also or not. I suspect they are only on the parent device.
I cannot see the child devices since I don't have the actual device, so can you screenshot the top Commands section on the child color device.
I will certainly revisit the "Rule Machine" and the "Button Controllers" in creating rules that work, although I have already spent a significant amount of time (2 days) with those other rule packages without a satisfying end. But I will give it another go.
Thanks for your help. I really appreciate it. I will let you know when the final answer is found.