snowdd1 / homebridge-knx

KNX platform shim for homebridge
https://github.com/nfarina/homebridge
GNU General Public License v2.0
97 stars 56 forks source link

Save the state of some lights #200

Open xxxLukskyxxx opened 2 years ago

xxxLukskyxxx commented 2 years ago

Hello,

I have a problem switching a group in my KNX system. In my system I have a group switch 1/0/19 that switches all the lights in the house and I want to use this switch in Homebridge. My problem is that the light bulb in Homebridge does not light up when a light is turned on. If I set all the lights in the house in the "Listen" section of the configuration, it works, but if five lights are on and I turn off one light, the light bulb is off in Homebridge. Is it possible to save the state of the light and only turn it off in the Homebridge when all the lights are off?

Thanks for your help!

snowdd1 commented 2 years ago

Hi! You need to write your own “handler” to handle that requirement.