[DRIVER] Fibaro RGBW Controller 2 (Zooz Zen31 RGBW Dimmer)

This driver makes several improvements to the Zen31 driver by @jtp10181.

I wrote it to deal with the various uses cases I have for these devices and improve reliability.

Most importantly, it allows you to choose how child devices are created or you can select 'None' for no child device:

Each child device is created as a dimmer, you can only set the color on the main device.

Full list of improvements:

  • Added Preference to create "Child Devices": either for 'white' or 'color' (rgb) device.
  • Using the Configure command will re-create child devices based on 'Child Devices' preference (if changed).
  • When using an 'Set Effect' or 'Set Scene', the previous RGBW color and dimmer level will be restored once effects are disabled.
  • Added option to "Child Devices" preference as 'color channels' (1 child device for each color). This is useful in more advanced scenarios where you can use each channel/color as an independent switch or dimmer.
  • Added flash capability.
  • Removed 'Quick Refresh' preference and enabled by default.
  • Driver will immediately request an update from device even if setlevel or on/off isn't complete due to the 'ramp rate' / dimming duration. Very fast response time.
  • When Input Type (IN1...IN4) is set to 'Analog', this driver will create child devices allowing you to read voltage from inputs (using 'Configure' command)

You can grab the code from github:
Fibaro RGBW Controller 2

Will work on adding to HPM.

2 Likes

Just wanted to say thank you for this! I was struggling to get the Zen31 driver working right for my use case for several days. I stumbled across your driver and got it working exactly how I needed almost immediately.

1 Like

thanks! happy to hear its working well for you

Hello @jbondc . First of all, thank you for this driver. But I have one problem. I don't see the parameters setting anywhere. Don't you know where the problem might be?

Should be under preferences unless you selected the option to "hide parameters"

Can you detail what I need to do if I have devices installed with the old driver? E.G., should I first delete all the child devices? Will I need to do a z-wave disassociation first?

Maybe I should not have, but I deleted the child devices then changed the driver referenced by the parent device.

Then I did the configure.

But, I see no child devices.

Forgot that creating child devices was optional.

Can you explain how it works with and without child devices (I've only used the previous driver from jtp with child devices).

So, on my RGB LEDS, I chose to use an RGB child device--but, I'm thinking, why?

On the RGBW LEDS, I added children for both RGB and W. I guess that's necessary for independent control of the the white versus RGB LEDs.

I'll play some to figure it out. What I really want is match the soft white color of surrounding lighting (most of the time), but with the ability to show off by turning the colors to something else. But, then easily go back to the "color matched" soft white.

Screenshots would help. All that's needed is to hit the configure button and it will created appropriate child based on what you selected in "Create child devices". I often use "None" if all I want is RGBW control of one LED. You can choose "None" as a way to remove all child devices.

In this case, I would choose "None" and use a single/main device.

To give an example/practical use for 4 child devices:

In my home I have a single RGBW device in the basement that where the red channel controls a fireplace white LED, the blue channel controls a white LED in our entrance closet and white channel controls a bookshelf LED... So I have a single device that controls three different LED strips in different locations. The fourth is actually used to open/close a 12v valve...

With 2 child devices, I use the same approach generally to control 2 child devices in different locations.

When I have multiple child devices I never use setColor on the main RGBW device and build all rules to use the child devices.

Sometimes I will on/off the main RGBW device to turn everything off quickly.

J

1 Like

That helps a lot.

If I choose none, I will have controls to set R, G, B, and W? I was thinking the separate child devices were required for RGB versus White with dimmer...

I will try and see.

Thank you!

Love it!

Thank you.

regardless of the state of this preset, I don't see any parameter settings