OH3: Homekit + KNX rollershutter

Hello everyone, I’m a beginner, so please don’t scold :slight_smile:

I have OH3 and KNX-based system in my home. Also i have motorized rollershutters, controlling by MDT AKU actuators. Work well.

I added them to OH3 via KNX binding and can control rollershutter via OH. Work well.

Next, I try to add them to the HomeKit: i add ‘WindowCovering’ metadata, a button appears in Apple’s “Home” aplication, but when I press it nothing happens.

What needs to be done to make the HomeKit control work?

Thank you.

I tried to find the difference in the commands from UI and the HomeKit:

Buttons form UI send ‘UP/DOWN’ commands and they work

2021-09-11 17:05:00.079 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Relay3_OP’ received command UP
2021-09-11 17:05:00.083 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Relay3_OP’ predicted to become UP
2021-09-11 17:05:00.092 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Relay3_OP’ changed from 100 to 0

HomeKit send ‘0/100’ commands and they don’t work

2021-09-11 16:44:11.863 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Relay3_OP' received command 100
2021-09-11 16:44:11.868 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Relay3_OP' predicted to become 100
2021-09-11 16:44:11.876 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Relay3_OP' changed from 0 to 100

I think i need some kind translaton from 0/100 to UP/DOWN commands

I create two simple Rules (via UI) and seems they resolve ther problem

triggers:
  - id: "1"
    configuration:
      itemName: Relay3_OP
      command: "100"
    type: core.ItemCommandTrigger
conditions: []
actions:
  - inputs: {}
    id: "2"
    configuration:
      itemName: Relay3_OP
      command: DOWN
    type: core.ItemCommandAction
triggers:
  - id: "1"
    configuration:
      itemName: Relay3_OP
      command: "0"
    type: core.ItemCommandTrigger
conditions: []
actions:
  - inputs: {}
    id: "2"
    configuration:
      itemName: Relay3_OP
      command: UP
    type: core.ItemCommandAction

please also take look on this rule