Advanced control of any light entity from KNX (state, brightness, dim, temperature, color + states feedback)

Do you have any error in logs ? Could you show you KNX monitor with the group address and payload when sending a temperature command (from HA or ETS) ?

I did a small change in the blueprint for you to test (normal + beta), let me know if it helps

thanks for the quick response! in the group monitor I can see 5000K as the value (Payload 0x1388)

after reloading the blueprint and checking the trace the color was set to 19

I did some reading meanwhile and if I understand correctly the change to ‘trigger.payload[0]’ get’s the first byte of the payload eg 0x13 = 19

would it be possible to use ‘trigger.value’ property (requiring project data) or manually decode the 2byte DPT7.600 value as ‘256*trigger.payload[0] + trigger.payload[1]’ (avoiding the need for the project)?

It doesn’t need project data nor manual decoding. The telegram trigger can be configured with a type: "7.600" attribute to decode its value independently of project data.

For integer data that’s not that big deal, but for decoding Knx float this is very handy :grimacing:
https://www.home-assistant.io/integrations/knx/#triggers

1 Like

Code updated again using trigger type for color_temperature (and brightness, but that’s not relevant except if I broke something :p).

Please let me know if it works now

Oh, just fyi, Knx and HA both internally use 0…255 for brightness. If you use the decoded value it’s scaled down to 0…100 just to scale up to 0…255 again - which may be slightly inaccurate.

oh ok thanks for the info, I reverted the change for brightness then :+1:

Hy guys, I am following your posts and updates for a while, and found out, that I have the same issue with tunable white as mentioned above. KNX send telgrams correctly, HA receives it as well, but the lamps do not react on sending. Just when I change the temperature directly in HA the lamps will do the right thing, but in KNX nothing happens. So is the correct version still that one from 1st of april? The posts about some updates are after that, so it might be the wrong version, but I found nothing else. Thanks a lot in advance! Clemens

Hi, could you post any error from the logs, and/or the trace log from the blueprint please ?

Hi Laurent, thanks for your answer, I hope I did the right log where you can see the problem. This occours when I try to change color temperature.

This is the KNX telegram, which HA receives

Thanks for the feedback.

You can try the new version from today. Note that I also moved the BETA as the main version as I had no problem with it at home for the last month

Wow it works!!!!! No idea what has been changed in the file from today, but everything alright now. Thanks a lot!!!

1 Like

Hey, i have with the latest update the problem that the state is not send back to knx. On/Off or dimming works perfect.

Hi, everything seems to work fine here with the latest update, do you have anything in logs or a trace log ? Any one else experiencing troubles ?