Apparently, several users are demanding a common set of LED device types as part of the Pimatic core which they can use as a base for their own device driver implementation. LED device drivers have been implemented by several plugins including pimatic-led-light, pimatic-johnny-five (work in progress), pimatic-hue-zll, pimatic-hue, and pimatic-mqtt (work in progress).
To make this happen we need to look at the different types of LED devices, to define a set of device classes with perhaps some optional features to be able to tailor the UI and the device behaviour.
- absolute Dimmer, relative Dimmer with +/- buttons
- RGB LED
- perhaps with option to switch color model: RGB, HSV, HSV Hue-only, proprietary Hue, CIE
- RGBW LED
- there may be variation where you can contol the color temperature)
- WW/CW LED
- basic switch, color temperature asjust)
- this may be also be regarded as BiColor LED
To define the device classes we need to look at the different LED makes we currently support, i.e. Milight (+ Milight CW/WW), Wifi 370, Harmony, Hue, and so on. As a starting point for UI elements we can have look at pimatic-led-light (including the new UI under development) and pimatic-hue-zll. Personally, I am much in favor of the UI provided pimatic-hue-zll as it is already getting close to the outlined idea of having different LED device classes.
EDIT: Oops, This request seem to be redundant to some extent as there had been filed a similar request a couple three weeks ago which I did not notice. Sorry about this. https://forum.pimatic.org/topic/1451/rgb-base-device