Loxone, Homebridge and KNX shades

58 views
Skip to first unread message

L P

unread,
Oct 30, 2024, 10:56:50 AM10/30/24
to Loxone English

Hello all,


I have a hybrid Loxone KNX system that works great and I’m very happy with it. Since I have a Gen1 mini server, my integration with Apple HomeKit is via Homebridge, which also works very well. I’ve recently moved to a different, newer HomeBridge/Loxone plugin which supports Loxone’s “Automatic Shading” block (with up/down status), but not the “EIB Shading” block. I recently updated my KNX system to provide blinds position status feedback to Loxone so I wanted to use this for HomeKit as well (because if a blind is up, but HomeKit thinks it’s down. It won’t lower it). One of the issues is that the “Automatic Shades” and “EIB Shades” both have position inputs, but they act differently. The EIB input is to provide feedback (but the EIB block doesn’t use it) while the “Automatic Shades” block takes that input as a request to move the shades to that position. This means that sending the current position of an individual shade to the “Automatic Shading” block, if it is between fully-open and fully-closed, will cause the “Automatic Shading” block to move the blinds which is not what I want. I’ve addressed this by using a convoluted set of blocks (comparison and analog memory) to only ever send 0 (open) or 100 (closed) to the “Automatic Shading” block. Since the analog memory block only trips on rising edge, I use the "set" when it hits 100 and the "off" for 0. This avoids it moving the blinds and simply lets it keep track of the position (as long as they are completely up or down, which is the case 99% of the time).


Screenshot 2024-10-30 at 15.53.48.png


After this very much too long intro, my question is, does anyone have a simpler/cleaner way to do what I’m doing in the highlighted area?


Thanks in advance,

Len





Reply all
Reply to author
Forward
0 new messages