I am currently trying to use OpenHAB to interface 2 Velux roof windows using the KLF200 from Velux (homematic io). I would like to operate them using a Berker KNX Switch.
I have two identical setups, but currently none is working - I think I am missing an important piece here. This is my setup
knx.things:
Bridge knx:ip:bridge [
ipAddress="10.18.11.51",
portNumber=3671,
type="TUNNEL",
readingPause=50,
responseTimeout=10,
readRetriesLimit=3,
autoReconnectPeriod=1,
localSourceAddr="0.0.0"
] {
Thing device aktor1[
address="1.1.2",
fetch=false,
pingInterval=300,
readInterval=0
] {
Type rollershutter-control : veluxDgGang "Velux Gang" [ upDown="14/1/4",stopMove="14/1/5",position="14/1/6+<14/1/7",autoupdate="false" ]
Type rollershutter-control : veluxDgBad "Velux Badezimmer" [ upDown="14/1/0",stopMove="14/1/1",position="14/1/2+<14/1/3",autoupdate="false" ]
}
Bridge velux:klf200:c8e59992 [ ipAddress="10.18.11.67", tcpPort=51200, password="ZNQ3nR98zA" ] {
Thing rollershutter DGGang [ serial="53:2A:59:5A:13:16:02:CE" ]
Thing rollershutter DGBad [ serial="53:2A:59:5A:13:16:02:E3" ]
}
velux.items:
Rollershutter DGGangRS "DG Gang [%d]" { channel="velux:rollershutter:c8e59992:DGGang:position" }
Rollershutter DGBadRS "DG Badezimmer [%d]" { channel="velux:rollershutter:c8e59992:DGBad:position" }
Both of them appear in the PaperUI, and I can operate them from there - so the OpenHAB connection to the KLF200 seems to be working.
As you can see, I have setup 4 group addresses for each rollershutter whereas only 2 are actually in use (Up/Down + Stop). When I press the button, I can see the group address for each action arriving at OpenHAB in the log:
14:31:20.574 [DEBUG] [x.internal.handler.DeviceThingHandler] - onGroupWrite Thing ‘knx:device:bridge:aktor1’ received a GroupValueWrite telegram from ‘1.1.19’ for destination ‘14/1/4’
14:31:27.304 [DEBUG] [x.internal.handler.DeviceThingHandler] - onGroupWrite Thing ‘knx:device:bridge:aktor1’ received a GroupValueWrite telegram from ‘1.1.19’ for destination ‘14/1/4’
Am I correct in assuming that I need a rule which will control them?
The reason why I am asking is that previously I had them setup in the Paper UI and didn’t have to add a rule or similar - everything worked automatically. So the main question appears to be: Should this work out of the box with the current configuration channel or do I need to setup a rule manually? How would such a rule look like?