-
-
Notifications
You must be signed in to change notification settings - Fork 29.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HomeKit integration devices unresponsive #84387
Comments
Hey there @bdraco, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) homekit documentation |
Similar issue here…. I also have an issue with HomeKit seeing the device if power was lost then restored. Only way to discover it has power again is if I restart HA. |
I also have this issue and suspect it is due to the homekit architecture upgrade. I did the upgrade, after updating all of my devices to IOS 16.3, and have not been able to connect to any "native HA devices" through Home Assistant Bridge. I am running HA 2022.12.8. |
Hopefully it will be fixed either by Apple in IOS 16.4 or in Home Assistant Bridge. |
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 GitHub<#84387 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AE7XNNO7VKAMCOZEXYYGZF3WQHVAZANCNFSM6AAAAAATF2HJ2M>.
You are receiving this because you commented.Message ID: ***@***.***>
|
I have this issue, to fix I have removed bridge and readded and it works. But if Homekit Hub change to another ATV or Homepod all accessories are inaccessible and the log of HAS appears: de gen. 07 13:18:44 raspberrypi hass[4366]: 2023-01-07 13:18:44.781 ERROR (MainThread) [pyhap.hap_handler] (‘192.168.1.36’, 54915): Client xxx attempted pair verify without being paired to HASS Bridge first. de gen. 07 13:18:44 raspberrypi hass[4366]: 2023-01-07 13:18:44.804 ERROR (MainThread) [pyhap.hap_handler] (‘192.168.1.36’, 54916): Client xxx attempted pair verify without being paired to HASS Bridge first. de gen. 07 13:18:56 raspberrypi hass[4366]: 2023-01-07 13:18:56.509 ERROR (MainThread) [pyhap.hap_handler] (‘192.168.1.58’, 59159): Client xxx attempted pair verify without being paired to HASS Bridge first. de gen. 07 13:18:56 raspberrypi hass[4366]: 2023-01-07 13:18:56.537 ERROR (MainThread) [pyhap.hap_handler] (‘192.168.1.58’, 59160): Client xxx attempted pair verify without being paired to HASS Bridge first. de gen. 07 13:18:56 raspberrypi hass[4366]: 2023-01-07 13:18:56.610 ERROR (MainThread) [pyhap.hap_handler] (‘192.168.1.58’, 59161): Client xxx attempted pair verify without being paired to UE32J5500 first. de gen. 07 13:18:56 raspberrypi hass[4366]: 2023-01-07 13:18:56.635 ERROR (MainThread) [pyhap.hap_handler] (‘192.168.1.58’, 59162): Client xxx attempted pair verify without being paired to UE32J5500 first. de gen. 07 13:18:56 raspberrypi hass[4366]: 2023-01-07 13:18:56.680 ERROR (MainThread) [pyhap.hap_handler] (‘192.168.1.58’, 59163): Client xxx attempted pair verify without being paired to UE40F7000 first. |
I have the same issue. |
Same issue here. It will work when I remove and repair bridge. It at some point in next day or so it stops working. |
I have updated all of my Apple devices to 16.3, including Apple TV and Homepod (that are both Homekit servers). After this update I removed the Homekit bridge and created a new in HA. This allowed me to get most of the devices to work again and become available in the Home app. I had to add some cameras in a separate bridge in auxillary mode, but this is recommended in any case so I think it is a better solution. |
same issue (more or less) here. Whenever a "home hub" is enabled, all devices from the HA HomeKit bridge are unresponsive. All Apple TVs, which function as hubs, are running 16.2. |
Exactly as you state here, I fix the issue after I disable "home hub" in my Apple TV
|
Ymmv but There have been some reports that updating every home hub device to 16.3 has resolved this for some |
The problem has been resolved for me too. I am not sure if it has anything to do with the new update. |
All of my hubs have been updated to 16.3 and this issue is still happening for me. Is there something else that you all did after 16.3 to get it to work again? |
@joshbish My HA was on a different subnet, 10.6.x.x/16 designated for IoT, while my personal devices aka. phone on another subnet 10.10.x.x/16. Since then I have moved only the HA to the 10.10 network, and allowed it to communicate with the 10.6 network devices. And it worked. I've not had this issue prior, but I guess Apple has changed something... |
I'm having the same problem on iOS 16.4.1 and the new HomeKit Architecture upgrade. Devices are briefly available after recreating the homekit bridge, but shortly become unresponsive and stay that way in homekit. |
Attached my debug log file for the HASS bridge. This seems to happen when using the dimmer slider in iOS on a switch. I think it's overloading the network with events according to the log and everything becomes unresponsive. This is trying to control a single ZHA group with 9 hue bulbs in it. |
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: |
@bdraco Thanks for the insight! I tried the full reset and am still having the issue, and it's worse now. I did the following:
Now the ZHA-grouped light (which has always worked perfectly in HA directly. It consists of 9 Hue bulbs.) immediately shows up as "No Response" and I can't use it at all, when I used to be able to use it for a few minutes before it started showing No Response and saying "The accessory is not responding." I've attached a new log file, which seems to show that same error... It seems that HomeKit/HASS for me is entirely unusable. At this point I'm not sure what else I can do to fix this bridge key pairing issue. I saw some sqlite foreign key constraint failures in the logs - could it be that there's some database corruption on the HA side of things? Should I try reinstalling HA? home-assistant_homekit_2023-04-27T01-48-55.362Z.log (Am very thankful for your response though @bdraco ) |
It looks like it was unpaired here
And then at the end there is another client uuid being forwarded though the apple tv:
Is it possible you have another iOS device in the home that is holding on to the old pairings that didn't get cleaned up when you reset your iPhone's homekit? |
A few months ago, after upgrading to iOS, all my devices lost connection and were unresponsive. After reading recent forum discussions and updates, I was able to solve the problem by following these steps:
After doing this, everything was restored. Steps 1 and 2 alone did not work - step 3 of disabling the hub was necessary for a solution, as turning it on/off reproduced the disconnection issue. |
Thanks @bdraco - just to keep you updated, I am trying to do the full reset again but waiting at least a week (instead of just 30 minutes) for all of my devices to hopefully sync up with the new home instance before trying the HASS integration again. I'll let you know how it goes. |
Hi I have the same issue here. I use home assistant OS and it manage all smart thing (except the HomePod) in my home. So, I make a homekit bridge via config file (because it's too long when I try to reproduce it to reconfigure anything).
I try another way :
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 :/ 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) |
I'm having the same issue, however I think (and I could be wrong) that my devices added as accessories are working fine, whereas the ones under the home assistant bridge with like 15 odd devices keep having the connection issues, similar story with scrypted devices unaffected its just Home Assistant forwarded ones Home Assistant Version: 2023.5.3 |
I also encountered the same problem. As long as I add a new device or restart HomeAssistant, the devices in HomeKit will become unresponsive. I must remove this bridge, restart the router, and add a new bridge to recover. Even if I don't add a device, I won't restart HomeAssistant, and after about 7 days, the device will still be unresponsive |
Same No response issue here! Been trying to figure this out for the last 48 Hours. 2 Days ago i received a notificaton in Apple Home on Iphone saying there was an Home upgrade available. After update i started to receive NO RESPONSE on all my Entites in Apple Home. All apple devices are on the latest IOS (16.5). I have deleted my home via my Iphone, I have Retarted my router several times with no effect (Unifi UDMP v3.1.9 - network 7.4.156), i have turned off IGMP Snooping - no effect, turned on IGMP Snooping - no effect If i reload the intergration via the intergration panel, etities recover, but after a couple of miutes return to NO RESPONSE The biggest head ache is that this was working fine before i accepted the update to upgrade the Apple Home architecture. Any pointers would be grate full as im loosing my mind trying to find the issue! |
Homepod firmware version 16.5, same issue |
I found the solution, related issue ikalchev/HAP-python#424,
|
pip install HAP-python==4.6.0 |
That's too cool. This problem has been bothering me for a long time, and I have to give up HomeKit now |
I check and the new homeassistant OS use the HAP-Python 4.6.0 I test this week :) |
You could install the latest HomeKit code as a custom component as well if you can’t upgrade hass |
HAP-Python 4.7.0 was released which seems to be what HA is using now, unfortunately pairing still seems to be broken. |
If you had a problem with pairing before, you might try deleting the bridge and making a new one |
A workaround seems to be if I individually add each device in accessory mode. I took inspiration from Yoush's Scrypted, where only accessory mode works. As I only have a few devices, I'm okay with this as a workaround, but I know other users have >100's, so this might not be feasible. |
If you can isolate which entity is causing the bridge to fail and post the raw state from the developer tools states panel we can probably make a workaround for that specific case. |
@bdraco what is the best way to help log issues? From HA HomeKit Bridge screen enable “debug logging”? Or do I need to add any extra logging to configuration yaml? This GitHub issue seems closest to my situation: This seems similar to issues reported above so reluctant to add a new issue - but would like to contribute logs if helpful to confirm/clarify source of issue. (I’m using latest version of HAOS and have AppleTV & HomePods at home; all on latest production release software) |
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. |
I think you were right. I rebooted all my Linksys Velop nodes and haven’t had an issue since yesterday. Curious: do you know anyway to monitor for this via home assistant so I can trigger a reboot of my router? (I know how to reboot but not what to look for as a trigger with multicast problems, or if that comes through to HAOS) |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
I solve the issue for me. I update to the latest version of HomeAssistant. I nuke my entirely home Homekit with the profile share by @jay7210 and recreate it and it's work fine ! Thank for all :) |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
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?
Additional information
No response
The text was updated successfully, but these errors were encountered: