arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
21.73k stars 4.72k forks source link

KNX add support for Dimmer and Colour #21434

Closed barbudor closed 1 month ago

barbudor commented 1 month ago

Description:

Related issue (if applicable): fixes #11733

Add support for absolute dimmer and colour control with the following datapoint:

Light type | Dimmer (Bright)   | Color                     |
-----------|-------------------|---------------------------|
Single     | DPT_Scaling 5.001 | not supported +           |
CT         | DPT_Scaling 5.001 | not supported  +          |
RGB        | DPT_Scaling 5.001 | DPT_Colour_RGB 232.600    |
RGBW       | DPT_Scaling 5.001 | DPT_Colour_RGBW 251.600 * |
RGBCW      | DPT_Scaling 5.001 | not supported  +          |

* the validity bits are not supported. Tasmota expect all 4 values R, G, B, W to be present
+ those are not supported because I haven't found a matching DPT for 2 and 5 channels. If someone find one, I can add them later.

Checklist:

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass