Homekit Documentation - Metadata?

Tags: #<Tag:0x00007f5c98566250> #<Tag:0x00007f5c98566138> #<Tag:0x00007f5c98566070>

I’ve been happily running my system for awhile now without worrying about things but figured I’d come see how homekit updates have come along. I see a lot more things added in according to the documentation (https://www.openhab.org/addons/integrations/homekit/) and would like to update my items definitions to use the new metadata instead of tags per the docs… Therein lies my problem, when I change my items to metadata style tags every item disappears from homekit and nothing works!

Example change:
Switch MKitchenLight “Main Kitchen Lights” (gDownstairs) [ “Lighting” ]
Switch MKitchenLight “Main Kitchen Lights” (gDownstairs) {homekit = “Lighting”}

Anything specific I’m doing wrong here? Maybe the docs call out features that aren’t working yet? I did notice the docs call out configuring homekit via cfg file while I have mine in paperui… If that makes any difference. Running the 2.5.4 homekit with the latest openhab.

The documentation Version you selected (See Top right corner) is „latest“, which is 2.5.5-SNAPSHOT. Select „2.5.4“ to get the documentation for your version. If you want to use the new features, you need to switch to 2.5.5 (which is expected in 2-3 weeks) or use snapshot builds.

A-ha, thank you! It lists 2.5 or latest as the top two. Being that I’m on 2.5.4 I assumed 2.5 was in fact the latest… It doesn’t show the minor version on the web page but low and behold selecting 2.5 gives the 2.5.4 version…

I’m having the same issue on my system, but I’m running the latest snapshot 2.5.5 with HomeKit add-on installed.
If I define my items like this:
Switch Giardino "Giardino" <Light> ["Lighting"] { channel="...", ga = "Light" }
then HomeKit recognizes them.

Instead, if I define items like this:
Switch Giardino "Giardino" <Light> { homekit = "Lighting", channel="...", ga = "Light" }
they are not recognized.

There is also another issue: when I remove the tag from an item, it keeps showing that item in HomeKit.
Do I need to “refresh” HomeKit items?

I’ve tried out different solutions and I’ve found out that, when using metadata, I need to comment out (remove) the item from myItems.items configuration file and then make it visible again in order to expose items in HomeKit. Also, if I want to remove an item from HomeKit I need to do the same procedure (removing and re-setting the item in my configuration) after removing the metadata.
I can’t figure out why this is happening and also in the logs I cannot find useful information.
Anyone experiencing this issue?


I’m running OH 2.5.5 as well, having the same problems. Also removing and re-adding the items didn’t solve the issue.
In Homekit IOS App I can see in Bridge information for openHAB that Modell Version is 2.5.5, however Firmware is 2.5.3 only?! Not sure this could be the reason its not working well?
Any idea?

Many thanks :slight_smile:

UPDATE: Seems I wasn’t waiting long enough previously - now its working for me with the new Metadata syntax as well :slight_smile:

I’m just wondering what the difference is between those parameters. I only see a different symbol when choosing “Irrigation”. All others are showing the same Picture.

homekitValveType = ["Generic", "Irrigation", "Shower", "Faucet"]