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.