i still hope we can close this forum topic before it gets the longest thread ever… but im afraid, we need also some help from Apple or at least better error messages in home app
As much as I agree with you there, something tells me that it is not likely to happen any time soon. It will probably happen around the same time the open source their entire HomeKit API implementation, if you get my drift.
Unfortunately in my case enabling this switch did not help. It took only a day for all items to lose room assignments. However - interestingly - this time they didn’t end up in the “standard room” like before but in the room where openHAB was located.
The day before yesterday I updated to 3.3.0.M1 and disabled the “Block deletion of HomeKit user” switch. No issues so far – although it is a bit early to tell.
It looks like I jinxed it. Today HomeKit security stopped working. I didn’t want to completely start over, so I tried to remove just security by removing the HomeKit metadata for it. No luck. It’s a zombie that won’t go away. I also tried disabling the “Block deletion of HomeKit user” switch without any luck. I put it back on and everything else seems to still be working for now.
FWIW, I’m also having issues getting HomeKit thermostats working, but that is currently being discussed in another post. I’m starting to second guess upgrading from OH 2.5.
I decided to start over and remove openHAB from HomeKit. Unfortunately I dug a deeper hole. I inadvertently deleted my home without first removing the openHAB bridge and now I can’t install it anymore. HomeKit shows “Accessory Already Added”. I then tried removing the HomeKit binding and reinstalling it to no avail. Does anyone know how to fix this?
Update: I was able to get it back to the point where I can install the openHAB bridge by clearing pairings and changing the HomeKit PIN. However the zombie Security accessory is still there even though I removed all of the metadata for it. At this point I decided I would like to completely remove HomeKit and start over. Does anyone know how to do this?
@GadgetGuy Did you edit your last post? I have subscribed to this topic, and in my mail I find a post from you including some information like "HomeKit shows “Accessory Already Added”.
I think I had this in the past. In your Home app on you Apple device, under Menu (Home icon) > Home Settings > Controllers & Bridges, do you still see the openHAB bridge? Tap on it, select delete from home on the bottom of the screen. After that and reinstalling the Homkit binding in openHAB, you should be able to add the bridge to you Home again as described in the Homekit binding documentation.
After looking at the org.openhab.core.items.Metadata.json file, I noticed an entry for HomeKit security that should no longer be there. Like I said previously, this metadata was removed in the UI. However somehow it did not get removed from the file. I also found one other rogue metadata entry that I had removed in the UI. I’m not sure what happened, but this looks like a bug that needs to be addressed.
Here’s a summary of what I did to fix it:
Remove openHAB bridge from HomeKit in Home app
Execute clearPairing in openHAB karaf
Stop openhab service
Delete homekit.json
Remove rogue entries from org.openhab.core.items.Metadata.json
Restart openhab service
Add openHAB bridge to HomeKit in Home app
Now the security accessory is working again. Just need some help with the thermostats.
if IP address is defined in homekit settings and there is network interface with this IP address, then use it for homekit comunication
else take any IP address of any existing network interfaces. so, if you change the switch and you have not IP defined in the homekit configuration, then it IP used for homekit could change.
So, having had the issue with all items reporting 'No response" for some time (all items would be working for around 2 minutes, then fail) and trying all possible solutions outlined in this thread, I finally bit the bullet and started with a completely new openhab installation and gradually added all my items, rules, etc back in one by one. I’ve now had this up and running for around a month with no issues at all. I have no explanation as to why this now works, but just thought I’d let it be known!