brutella / hkknx-public

hkknx is a HomeKit KNX bridge for KNX.
https://hochgatterer.me/hkknx
98 stars 6 forks source link

Support blocking KNX devices #39

Closed brutella closed 4 years ago

brutella commented 4 years ago

Some KNX devices provide a blocking feature, where certain functionality can be restricted. For example if a motion sensors is blocked, it doesn't sense motion anymore.

This sounds great but unfortunately this feature is not supported by HomeKit. We have to use a switch to represent the blocking state. If for example a motion sensor has a switch associated with it, the Apple Home app shows the switch status in the overview. IMG_DC61DD68EC51-1 2

If we map the blocking state to the switch state, the Home app shows

This doesn't feel right. So we invert the state so that the Home app shows

This makes much more sense.

brutella commented 4 years ago

Available in v0.0.18