Hello everyone, I wanted to share my recent experience with integrating KNX switch and dimmer controls into my smart home setup. It’s been quite a journey, but I’m thrilled to say I’ve got it working smoothly now!
Initially, I faced some challenges with the feedback from the KNX system. When I used the dimmer item to adjust the lights, I noticed that the system was sending two feedback responses—one for the dimmer level and another for the switch state. This caused some unexpected behavior, like the lights turning on at full brightness even when I tried to dim them slightly.
After some research and trial and error, I discovered that defining specific rules could help manage these feedback responses. I set up rules to ensure that the dimmer and switch items wouldn’t interfere with each other. For example, if the dimmer is set to 0%, it should turn the lights off, and if it’s set to 90%, it should turn them on. This approach mimics the behavior of the hardware switches I was used to, where a short press turns the lights on or off, and a long press adjusts the brightness.
Here’s a quick overview of the rules I implemented:
- Turning Lights On: When the switch is pressed briefly, the dimmer is set to 90%.
- Turning Lights Off: When the switch is pressed again, the dimmer is set to 0%.
- Adjusting Brightness: If the dimmer is adjusted while the lights are off, it turns them on at the selected brightness level.
This setup has been working perfectly for me, and I no longer experience any interference between the switch and dimmer controls. It’s amazing how a little bit of scripting can make such a big difference in the functionality of a smart home system!
If anyone else is tackling a similar project, I’d be happy to share more details or help troubleshoot any issues you might encounter. Happy automating! ![]()