I was about to config rollershutters with slats in OH3 and want to gave access to it over Apple HomeKit. So i followed the example here HomeKit Add-on - System Integrations | openHAB , especially the advanced part of rollershutters:
after moving the slider nothing happens. Instead i found the following entries in the openhab.log:
2021-01-01 16:56:29.673 [WARN ] [ssories.HomekitCharacteristicFactory] - Item type Dimmer is not supported for JalousieWZ_Lamellen. Only NumberItem is supported.
Is there something wrong with the example in the OH documentation or is my configuration not correct?
how you configuration looks like? can you try to rename you rollershutter to a different name - this will force home app to create a new one instead of updating an existing one.
i renamed the item and yes, the slider came back. But when i move the slider, nothing happens with the slats, only the angle percentage get’s changed. There’s also no entries in the log.
To my configuration: My rollershutters get controlled by an ABB knx rollershutter actor. This actor has special functions to control the slats. I use knxd on RasPi connected over USB to an ABB USB/S 1.1 bridge component. Here’s the respective OH3 channel config for the rollershutter actor:
looks like HomeKit expects only NumberItem but your KNX setup prefers DimmerItem.
i would say, homekit should support dimmer as well. i will add supports for Dimmer to HomeKit binding, until then you would need to work with additional item and rule.
e.g.
JalousieWZ_Lamellen ... {knx channel..}
JalousieWZ_Lamellen_HK ... {homekit=..
rule HK_KNX_mapping for JalousieWZ_Lamellen
when
Item JalousieWZ_Lamellen_HK received update
then
JalousieWZ_Lamellen.sendCommand(JalousieWZ_Lamellen_HK.state)
end
Hi guys, I am having the EXACT same issue when trying to add the slat angle from KNX Rollershutters to HomeKit. I think that everyone with KNX will have this issue. So happy to read your active conversation on this.
I have it now running in a quite complicated way but working.
For each rollershutter in the house:
1 Rollershutter Equipment Group [HomeKit…]
1 Rollershutter Item for Position [HomeKit…]
1 Dimmer Item for Slat Angle
1 Number Item for Slat Angle Conversion HomeKit [HomeKit…]
1 Rule for each rollershutter which writes from the dimmer to number including conversion and 1 Rule for the other direction
can you share the rule so that i can double check the logic? i would implement this rule then directly into the homekit addone so that it will do conversion without the rule
Hi @yfre,
mine are working from 0° - 90°.
I was never able to configure on homekit…
Anyways: is there a possibility to switch between -90°/90° or 0°/90° ?
by default, home app expect -90 to +90 range. we need to implement kind of mapping in openhab, either using rules as shared above or put in the addon code
I only can tell I’m using somfy binding - in the somfy app you can choose if its -90°/90° or 0°/90°.
Anyways: OH3 + Somfy Binding recognized my blinds can do 0°/90°.
0 % → closed
50 % → 45°
100 % → opened