Install
Click on this badge to import :
Note: You can also find the blueprint code here KNX - Light entities control · GitHub
Main features
This is my first blueprint, it can be used to fully control a light entity from KNX telegrams, including state (on/off), brightness (as percentage or relative dimming), tunable white temperature (K°), and color (rgb).
The blueprint will also send state feedback to KNX for any change of those 4 parameters, and answer “GroupValueRead” telegrams for those states.
Prerequisites
Any light entity and a working KNX setup
Setup
Create a new automation based on this Blueprint, and fill the inputs with the “Group Address” that you want to use to control the light or to get its state feedback. Every input (= GA) is optional, except the light entity obviously.
If you intend to use the relative dimming commands, you will need to create an “Helper” entity which will act as a global variable since those are not (yet ?) supported in HA automations.
To do so, go to Settings → Devices & Services → Helpers → Create Helper → Toggle. Give it a name and Save. You will need to select this Helper entity when configuring the Blueprint.
There are 2 additional parameters for relative dimming which, when enabled, will prevent the light to turn off when dimming down (stays at minimum dimming when reached) and prevent the light to turn on when dimming up (if the light is currently off).
Changelog
2023-04-28 : Initial release
2023-04-28 : Fix for relative dimming
2023-05-12 : New parameter to prevent a light to switch off when it reaches the lowest dimm level
2023-05-25 : Fix Dim up stop telegram
2023-06-14 : New parameter to prevent a light to switch on when dimming up
2023-11-14 : New support for tunable white temperature (thanks to @macflei for sponsoring) + Bug fix for brightness and color state feedback caused by HA update
2024-01-02 : Bug fix when brightness or temperature became unavailable
2024-01-05 : Add support for “transition” + some code cleaning (thank you @turboPasqual )
Specials
Special thanks to farmio and his " KNX - relative dimming for lights" blueprint on which this version is based.