home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
74.17k stars 31.14k forks source link

HomeKit Device integration broken: HA does not discover HomeKit devices once they are deleted from the integration #131610

Open lufetico opened 1 week ago

lufetico commented 1 week ago

The problem

The integration has stopped working. All my LG TVs and my Aqara FP2 presence sensor are showing up as having a connection error.

I cannot attach logs because I have deleted all devices from the integration but there is no way to add them again. HA does not discover new devices.

Can you tell me what tests I could do to help solve the problem?

What version of Home Assistant Core has the issue?

2024.11.3

What was the last working version of Home Assistant Core?

2024.10.0

What type of installation are you running?

Home Assistant OS

Integration causing the issue

HomeKit Device

Link to integration documentation on our website

https://www.home-assistant.io/integrations/homekit_controller/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 week ago

Hey there @jc2k, @bdraco, mind taking a look at this issue as it has been labeled with an integration (homekit_controller) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `homekit_controller` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign homekit_controller` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


homekit_controller documentation homekit_controller source (message by IssueLinks)

Jc2k commented 1 week ago

If you removed them while there was a network or connection problem then the devices themselves will still think they are paired. The homekit protocol is not "multi admin", so you won't be able to pair again without resetting them. Some devices may have a way to reset just the homekit part, but for some it will need a full factory reset.

lufetico commented 1 week ago

If you removed them while there was a network or connection problem then the devices themselves will still think they are paired. The homekit protocol is not "multi admin", so you won't be able to pair again without resetting them. Some devices may have a way to reset just the homekit part, but for some it will need a full factory reset.

Thanks for the info.

I did a factory reset on the Aqara FP2 and it worked. HA has figured it out. The problem is that I can't do the same with the 4 TVs. Is there a shortcut for this?

michalkrejci1 commented 6 days ago

Hi, I have the same problem with Aquara FP2 with the latest firmware (1.2.8_0006.0086) and I am now using the same HA version as the author writes. I have been using the integration via software HomeKit for a long time (more than a year). But this was the first pairing and even then it was not easy. I feel like there must have been at least one device that had a working integration. I then removed the two Aquara FP2s from the HA and after changing their physical installation I tried to add them again ... no chance. I've tried just about everything, a "hot" reset, i.e. holding the button for 3 seconds and transferring the new connection to Wi-Fi, with no offer to pair. Next try was 10 seconds hold button, which should do a full reset of the device. New connection and settings in the Aquara app (on android) - everything works on the phone, but new pairing is not possible. I will ask for help. Thank you, Michael

lufetico commented 6 days ago

Hi, I have the same problem with Aquara FP2 with the latest firmware (1.2.8_0006.0086) and I am now using the same HA version as the author writes. I have been using the integration via software HomeKit for a long time (more than a year). But this was the first pairing and even then it was not easy. I feel like there must have been at least one device that had a working integration. I then removed the two Aquara FP2s from the HA and after changing their physical installation I tried to add them again ... no chance. I've tried just about everything, a "hot" reset, i.e. holding the button for 3 seconds and transferring the new connection to Wi-Fi, with no offer to pair. Next try was 10 seconds hold button, which should do a full reset of the device. New connection and settings in the Aquara app (on android) - everything works on the phone, but new pairing is not possible. I will ask for help. Thank you, Michael

  1. Press the FP2 button quickly 10 times to restore the factory settings.
  2. Add again the FP2 to Aqara Home App.
  3. The device will be re-discovered by HA and can be re-integrated.

The other option was to leave it alone and wait for an HA update, but you and I screwed up trying to figure it out on our end. 🤣

Jc2k commented 6 days ago

Sorry it's different for every device, so icant help with your tvs.