core: HomeKit integration devices unresponsive
The problem
After adding the integration, and selecting which devices to include etc. I am scanning the QR and adding it to Apple Home. It does get added but this is where everything breaks.
The devices get their current state shown in the Home app, but become unresponsive immediately after adding them. For example if a light is on, it shows as on in the Home app. But if I try to change it’s not responsive. And then shows no response.
Also when I include more devices from the HA UI, they don’t get updated and don’t show up in the Home app.
I’ve deleted and reinstalled the integration a few times still the same issue.
Don’t know if this is relevant but I am using the MariaDB add-on.
What version of Home Assistant Core has the issue?
2022.12.7
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
homekit
Link to integration documentation on our website
https://www.home-assistant.io/integrations/homekit
Diagnostics information
config_entry-homekit-d81ec6216377cf1eecfc09333e7a5d2f.json.txt
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Nothing in the system logs. If there is another way to get logs for this integration please let me know I'll share them.
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 5
- Comments: 43 (7 by maintainers)
I found the solution, related issue https://github.com/ikalchev/HAP-python/pull/424, I just upgrade the HAP-python version to 4.6.0 manually, then everything work fine ( with HomePod mini )
That sounds more like a network issue that a problem with a specific device.
When you reload it will force it to publish a new mdns entry. If your HomePods and Apple Tvs can’t multicast to the HA instance, it won’t see the DNS questions and never multicast new answers. As soon as the DNS records expire everything goes unavailable. By reloading you are forcing the mdns records to be published again.
Hi
I have the same issue here. I use home assistant OS and it manage all smart thing (except the HomePod) in my home. I bought an HomePod mini (so it’s also an home hub) (192.168.1.89). I use Apple only as a remote (to switch on and off the light with homekit), all automation are managed by HomeAssistant.
So, I make a homekit bridge via config file (because it’s too long when I try to reproduce it to reconfigure anything).
config/.storage/homekit.*from storage. Remove bridge.I try another way :
config/.storage/homekit.*from storage. Remove bridge.It’s work but some functionnality (like “what is humidity in bedroom”) don’t work 😕
In log, I see some curious log
So I try to dig it and rerun step behind and I see this log (but I set debug mode on pyhap.hap_handler and not pyhap.accessory_driver
So I see :
And after I don’t see anymore 192.168.1.54 😕 Everything is up to date 😃
I think HomePod force connect to Home Assistant Bridge and kill my Iphone connection but don’t work properly after that ? 🤔
Do you need more log ? 😃 (I cannot found a way to make some test or modification on homeassistant OS)
Your keys are out of sync or iCloud is failing to sync.
2023-04-23 13:45:40.710 ERROR (MainThread) [pyhap.hap_handler] (‘10.23.1.228’, 49372): Client 83bc69d7-7f01-4313-8677-133a3aaa7104 attempted pair verify without being paired to HASS Bridge first.
https://www.home-assistant.io/integrations/homekit/#unpairing-and-re-pairing
If that doesn’t work, delete the bridge and recreated it.
Finally you can do a full reset to cleanup iCloud:
https://www.reddit.com/r/HomeKit/comments/yy2oy7/apple_has_a_downloadable_profile_to_really_clear/#:~:text=After installing the profile%2C the,the process to nuke everything.
Everything I have is on 16.2 and have this issue.
Thanks, Guy M. DeFazio
On Jan 1, 2023, at 3:52 PM, andersovreseth @.***> wrote:
Hopefully it will be fixed either by Apple in IOS 16.4 or in Home Assistant Bridge.
— Reply to this email directly, view it on GitHubhttps://github.com/home-assistant/core/issues/84387#issuecomment-1368532112, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE7XNNO7VKAMCOZEXYYGZF3WQHVAZANCNFSM6AAAAAATF2HJ2M. You are receiving this because you commented.Message ID: @.***>
I have the same question, I think maybe apple update the homekit architecture.