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
73.57k stars 30.74k forks source link

Devices improperly reflected back to HomeKit #77509

Closed seekingwittyid closed 1 year ago

seekingwittyid commented 2 years ago

The problem

Multiple devices added to Home Assistant are showing twice in Home Kit. This behaviour is characterized by:

What version of Home Assistant Core has the issue?

2022.7

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Core - HomeKit Bridge

Link to integration documentation on our website

No response

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

probot-home-assistant[bot] commented 2 years ago

homekit documentation homekit source (message by IssueLinks)

probot-home-assistant[bot] commented 2 years ago

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

mstendah commented 2 years ago

I see something similar, and even devices that show up in the list where I can uncheck them in order for them not to be included in Homekit, are still visible in Homekit, thus causing duplicates in the case the same devices also have native Homekit support. I see this e.g. with media players, car chargers.

IIAIronWolf commented 2 years ago

I see something similar, and even devices that show up in the list where I can uncheck them in order for them not to be included in Homekit, are still visible in Homekit, thus causing duplicates in the case the same devices also have native Homekit support. I see this e.g. with media players, car chargers.

Came here to report this exact same issue. I have selected only the devices I want in HomeKit and it’s adding almost everything from my HA. Not good for security, based on the things it’s exposing to HomeKit, for me.

seekingwittyid commented 2 years ago

I can assist with troubleshooting if someone needs to look at the problem.

On Mon, Sep 12, 2022 at 11:43 PM Austin @.***> wrote:

I see something similar, and even devices that show up in the list where I can uncheck them in order for them not to be included in Homekit, are still visible in Homekit, thus causing duplicates in the case the same devices also have native Homekit support. I see this e.g. with media players, car chargers.

Came here to report this exact same issue. I have selected only the devices I want in HomeKit and it’s adding almost everything from my HA. Not good for security, based the things it’s exposing to HomeKit, for me.

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/77509#issuecomment-1244890131, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWNGKGDQKYODMAUX75IER4DV6AA57ANCNFSM576WN5UQ . You are receiving this because you authored the thread.Message ID: @.***>

mstendah commented 2 years ago

How can we troubleshoot this? So far the only workaround I have found is removing the natively supported Homekit device/hub from the Home app.


From: seekingwittyid @.> Sent: Wednesday, September 14, 2022 3:22:12 AM To: home-assistant/core @.> Cc: mstendah @.>; Manual @.> Subject: Re: [home-assistant/core] Devices improperly reflected back to HomeKit (Issue #77509)

I can assist with troubleshooting if someone needs to look at the problem.

On Mon, Sep 12, 2022 at 11:43 PM Austin @.***> wrote:

I see something similar, and even devices that show up in the list where I can uncheck them in order for them not to be included in Homekit, are still visible in Homekit, thus causing duplicates in the case the same devices also have native Homekit support. I see this e.g. with media players, car chargers.

Came here to report this exact same issue. I have selected only the devices I want in HomeKit and it’s adding almost everything from my HA. Not good for security, based the things it’s exposing to HomeKit, for me.

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/77509#issuecomment-1244890131, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWNGKGDQKYODMAUX75IER4DV6AA57ANCNFSM576WN5UQ . You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhome-assistant%2Fcore%2Fissues%2F77509%23issuecomment-1246081702&data=05%7C01%7C%7Cf30a541b7ae84c94df5a08da95e7326b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637987117461141556%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Y3ENjF8k%2BcLtYYcZE2SCclTEHVLkCSky17FjwtrjcmU%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAET22DWIWQQ6FIR7PZW6QZ3V6ELDJANCNFSM576WN5UQ&data=05%7C01%7C%7Cf30a541b7ae84c94df5a08da95e7326b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637987117461141556%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=nztB6De%2BVsQc149x9CDgcM7I2iFbw17MfO3dlMDZKwM%3D&reserved=0. You are receiving this because you are subscribed to this thread.Message ID: @.***>

WizBangCrash commented 2 years ago

I am seeing similar issues. HomeKit has been working well for me up until I started to remove entities via the device configuration. The first entities I removed disappeared from the iOS/macOS Home app, but when I tried to re-add a couple of entities things went wrong and they never re-appeared in the Home app. I have tried reloading the HomeKit device, rebooting HA and waiting patiently to see if things sorted themselves out overnight, but with no luck. I now have a bunch of entities that are in the Home app, but unchecked in the HomeKit device configuration and entities that are not in the Home app, but checked in the HomeKit device configuration. The only thing I haven't tried doing is deleting the bridge from the home app and re-adding it (because I have over 100 entities and it would be a real pain to set them all up again in the Home app).

I am running the following:

WizBangCrash commented 2 years ago

I bit the bullet this evening and deleted my HASS Bridge from HA and from the Home app, rebooted HA and then re-added the HASS Bridge. It was a bit painstaking re-adding the devices in the Home app and assigning them to the correct rooms, but it all worked perfectly and now I have a fully functional Home app with all the entities I need working again.

seekingwittyid commented 2 years ago

Glad to hear it! I’d be a little more ok with doing that if I wasn’t concerned about the problem reoccurring.

On Thu, Sep 22, 2022 at 5:10 PM David Dix @.***> wrote:

I bit the bullet this evening and deleted my HASS Bridge from HA and from the Home app, rebooted HA and then re-added the HASS Bridge. It was a bit painstaking re-adding the devices in the Home app and assigning them to the correct rooms, but it all worked perfectly and now I have a fully functional Home app with all the entities I need working again.

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/77509#issuecomment-1255606991, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWNGKGDZOFZ54ZD4CUZ4LG3V7TKM5ANCNFSM576WN5UQ . You are receiving this because you authored the thread.Message ID: @.***>

sup3rm3ga commented 2 years ago

This problem is also occurring for me, but it seems a little different. I already have been using HomeKit successfully but now I am trying to add another Bridge only including a few entities in various domains. No matter what I do, the bridge includes every entity in the selected Domains using either Include or Exclude (doesn't matter)!

bdraco commented 1 year ago

the bridge includes every entity in the selected Domains using either Include or Exclude (doesn't matter)!

If you don't filter by specific entity the default is to include everything in the domain.

mstendah commented 1 year ago

It seems the filtering does not work.


From: J. Nick Koston @.> Sent: Thursday, November 17, 2022 9:18:42 PM To: home-assistant/core @.> Cc: mstendah @.>; Manual @.> Subject: Re: [home-assistant/core] Devices improperly reflected back to HomeKit (Issue #77509)

the bridge includes every entity in the selected Domains using either Include or Exclude (doesn't matter)!

If you don't filter by specific entity the default is to include everything in the domain.

— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhome-assistant%2Fcore%2Fissues%2F77509%23issuecomment-1319091466&data=05%7C01%7C%7C15867821c7cc4b3d7e4c08dac8d09047%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638043095364572163%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=KBFt4MQBWSZUFOUI4ZaaOxNdDfMrzAtvpPjLonRkTac%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAET22DQCHQTRMK6DWK46ON3WI2AJFANCNFSM576WN5UQ&data=05%7C01%7C%7C15867821c7cc4b3d7e4c08dac8d09047%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638043095364728402%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=xDA1cXzlosWHrxsOwmUztfXyKGrOhqN3CE7VYEK58a0%3D&reserved=0. You are receiving this because you are subscribed to this thread.Message ID: @.***>

IIAIronWolf commented 1 year ago

the bridge includes every entity in the selected Domains using either Include or Exclude (doesn't matter)!

If you don't filter by specific entity the default is to include everything in the domain.

Was that for or against this issue? Because that's literally the issue here. The exclude should most definitely matter, otherwise why the exclude?

issue-triage-workflows[bot] commented 1 year ago

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. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.