core: Homekit causing errors on restart
The problem
I have exposed a media_player (custom component) via the HomeKit component. In doing this I expose just the single media_player as an accessory and delete the created bridge.
When I restart I get an error for each accessory id recorded in the ‘.iids’ file:
{
"version": 1,
"minor_version": 1,
"key": "homekit.5bd29xxxxxxxxxxad00dd90d.iids",
"data": {
"allocations": {
"1_3E___": 1,
"1_3E__14_": 2,
"1_3E__20_": 3,
"1_3E__21_": 4,
"1_3E__23_": 5,
"1_3E__30_": 6,
"1_3E__52_": 7,
"1_A2___": 8,
"1_A2__37_": 9,
"1_3E__53_": 10,
"1_D8___": 11,
"1_D8__B0_": 12,
"1_D8__E7_": 13,
"1_D8__E3_": 14,
"1_D8__E8_": 15,
"1_D8__E1_": 16,
"1_D9_PVR__": 17,
"1_D9_PVR_E3_": 18,
"1_D9_PVR_DB_": 19,
"1_D9_PVR_D6_": 20,
"1_D9_PVR_135_": 21,
"1_D9_PVR_E6_": 22,
"1_D9_PVR_23_": 23,
"1_D9_Netflix__": 24,
"1_D9_Netflix_E3_": 25,
"1_D9_Netflix_DB_": 26,
"1_D9_Netflix_D6_": 27,
"1_D9_Netflix_135_": 28,
"1_D9_Netflix_E6_": 29,
"1_D9_Netflix_23_": 30,
"1_D9_BBC One HD__": 31,
"1_D9_BBC One HD_E3_": 32,
"1_D9_BBC One HD_DB_": 33,
"1_D9_BBC One HD_D6_": 34,
"1_D9_BBC One HD_135_": 35,
"1_D9_BBC One HD_E6_": 36,
"1_D9_BBC One HD_23_": 37,
"1_D9_BBC Two HD__": 38,
"1_D9_BBC Two HD_E3_": 39,
"1_D9_BBC Two HD_DB_": 40,
"1_D9_BBC Two HD_D6_": 41,
"1_D9_BBC Two HD_135_": 42,
"1_D9_BBC Two HD_E6_": 43,
"1_D9_BBC Two HD_23_": 44,
"1_D9_Sky Atlantic HD__": 45,
"1_D9_Sky Atlantic HD_E3_": 46,
"1_D9_Sky Atlantic HD_DB_": 47,
"1_D9_Sky Atlantic HD_D6_": 48,
"1_D9_Sky Atlantic HD_135_": 49,
"1_D9_Sky Atlantic HD_E6_": 50,
"1_D9_Sky Atlantic HD_23_": 51,
"1_D9_Discovery HD__": 52,
"1_D9_Discovery HD_E3_": 53,
"1_D9_Discovery HD_DB_": 54,
"1_D9_Discovery HD_D6_": 55,
"1_D9_Discovery HD_135_": 56,
"1_D9_Discovery HD_E6_": 57,
"1_D9_Discovery HD_23_": 58,
"1_D9_Animal Planet__": 59,
"1_D9_Animal Planet_E3_": 60,
"1_D9_Animal Planet_DB_": 61,
"1_D9_Animal Planet_D6_": 62,
"1_D9_Animal Planet_135_": 63,
"1_D9_Animal Planet_E6_": 64,
"1_D9_Animal Planet_23_": 65,
"1_D9_Sky Comedy HD__": 66,
"1_D9_Sky Comedy HD_E3_": 67,
"1_D9_Sky Comedy HD_DB_": 68,
"1_D9_Sky Comedy HD_D6_": 69,
"1_D9_Sky Comedy HD_135_": 70,
"1_D9_Sky Comedy HD_E6_": 71,
"1_D9_Sky Comedy HD_23_": 72,
"1_D9_Sky Comedy HD -308-__": 73,
"1_D9_Sky Comedy HD -308-_E3_": 74,
"1_D9_Sky Comedy HD -308-_DB_": 75,
"1_D9_Sky Comedy HD -308-_D6_": 76,
"1_D9_Sky Comedy HD -308-_135_": 77,
"1_D9_Sky Comedy HD -308-_E6_": 78,
"1_D9_Sky Comedy HD -308-_23_": 79,
"1_D9_HarryPotterHD__": 80,
"1_D9_HarryPotterHD_E3_": 81,
"1_D9_HarryPotterHD_DB_": 82,
"1_D9_HarryPotterHD_D6_": 83,
"1_D9_HarryPotterHD_135_": 84,
"1_D9_HarryPotterHD_E6_": 85,
"1_D9_HarryPotterHD_23_": 86,
"1_D9_Sky Spooky HD__": 87,
"1_D9_Sky Spooky HD_E3_": 88,
"1_D9_Sky Spooky HD_DB_": 89,
"1_D9_Sky Spooky HD_D6_": 90,
"1_D9_Sky Spooky HD_135_": 91,
"1_D9_Sky Spooky HD_E6_": 92,
"1_D9_Sky Spooky HD_23_": 93,
"1_113___": 94,
"1_113__11A_": 95,
"1_113__23_": 96,
"1_113__B0_": 97,
"1_113__E9_": 98,
"1_113__EA_": 99,
"1_113__119_": 100
}
}
}
What version of Home Assistant Core has the issue?
core-2022.11.1
What was the last working version of Home Assistant Core?
core-2022.10.5
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
Homekit
Link to integration documentation on our website
https://www.home-assistant.io/integrations/homekit/
Diagnostics information
config_entry-homekit_controller-75e87fa1b5a129902cc162b99ffe10a9.json.txt
Example YAML snippet
No response
Anything in the logs that might be useful for us?
2022-11-04 18:22:55.613 ERROR (MainThread) [pyhap.iid_manager] IID 1 not found.
2022-11-04 18:22:55.615 ERROR (MainThread) [pyhap.iid_manager] IID 2 not found.
2022-11-04 18:22:55.615 ERROR (MainThread) [pyhap.iid_manager] IID 3 not found.
2022-11-04 18:22:55.616 ERROR (MainThread) [pyhap.iid_manager] IID 4 not found.
2022-11-04 18:22:55.617 ERROR (MainThread) [pyhap.iid_manager] IID 5 not found.
2022-11-04 18:22:55.617 ERROR (MainThread) [pyhap.iid_manager] IID 6 not found.
2022-11-04 18:22:55.617 ERROR (MainThread) [pyhap.iid_manager] IID 7 not found.
2022-11-04 18:22:55.617 ERROR (MainThread) [pyhap.iid_manager] IID 10 not found.
2022-11-04 18:22:55.618 ERROR (MainThread) [pyhap.iid_manager] IID 8 not found.
2022-11-04 18:22:55.618 ERROR (MainThread) [pyhap.iid_manager] IID 9 not found.
2022-11-04 18:22:55.618 ERROR (MainThread) [pyhap.iid_manager] IID 11 not found.
2022-11-04 18:22:55.618 ERROR (MainThread) [pyhap.iid_manager] IID 12 not found.
2022-11-04 18:22:55.618 ERROR (MainThread) [pyhap.iid_manager] IID 13 not found.
2022-11-04 18:22:55.618 ERROR (MainThread) [pyhap.iid_manager] IID 14 not found.
2022-11-04 18:22:55.619 ERROR (MainThread) [pyhap.iid_manager] IID 15 not found.
2022-11-04 18:22:55.619 ERROR (MainThread) [pyhap.iid_manager] IID 16 not found.
2022-11-04 18:22:55.619 ERROR (MainThread) [pyhap.iid_manager] IID 24 not found.
2022-11-04 18:22:55.619 ERROR (MainThread) [pyhap.iid_manager] IID 25 not found.
2022-11-04 18:22:55.619 ERROR (MainThread) [pyhap.iid_manager] IID 26 not found.
2022-11-04 18:22:55.619 ERROR (MainThread) [pyhap.iid_manager] IID 27 not found.
2022-11-04 18:22:55.619 ERROR (MainThread) [pyhap.iid_manager] IID 28 not found.
2022-11-04 18:22:55.620 ERROR (MainThread) [pyhap.iid_manager] IID 29 not found.
2022-11-04 18:22:55.620 ERROR (MainThread) [pyhap.iid_manager] IID 30 not found.
2022-11-04 18:22:55.620 ERROR (MainThread) [pyhap.iid_manager] IID 31 not found.
2022-11-04 18:22:55.620 ERROR (MainThread) [pyhap.iid_manager] IID 32 not found.
2022-11-04 18:22:55.620 ERROR (MainThread) [pyhap.iid_manager] IID 33 not found.
2022-11-04 18:22:55.620 ERROR (MainThread) [pyhap.iid_manager] IID 34 not found.
2022-11-04 18:22:55.620 ERROR (MainThread) [pyhap.iid_manager] IID 35 not found.
2022-11-04 18:22:55.620 ERROR (MainThread) [pyhap.iid_manager] IID 36 not found.
2022-11-04 18:22:55.620 ERROR (MainThread) [pyhap.iid_manager] IID 37 not found.
2022-11-04 18:22:55.621 ERROR (MainThread) [pyhap.iid_manager] IID 38 not found.
2022-11-04 18:22:55.621 ERROR (MainThread) [pyhap.iid_manager] IID 39 not found.
2022-11-04 18:22:55.621 ERROR (MainThread) [pyhap.iid_manager] IID 40 not found.
2022-11-04 18:22:55.621 ERROR (MainThread) [pyhap.iid_manager] IID 41 not found.
2022-11-04 18:22:55.621 ERROR (MainThread) [pyhap.iid_manager] IID 42 not found.
2022-11-04 18:22:55.621 ERROR (MainThread) [pyhap.iid_manager] IID 43 not found.
2022-11-04 18:22:55.621 ERROR (MainThread) [pyhap.iid_manager] IID 44 not found.
2022-11-04 18:22:55.622 ERROR (MainThread) [pyhap.iid_manager] IID 45 not found.
2022-11-04 18:22:55.622 ERROR (MainThread) [pyhap.iid_manager] IID 46 not found.
2022-11-04 18:22:55.622 ERROR (MainThread) [pyhap.iid_manager] IID 47 not found.
2022-11-04 18:22:55.622 ERROR (MainThread) [pyhap.iid_manager] IID 48 not found.
2022-11-04 18:22:55.622 ERROR (MainThread) [pyhap.iid_manager] IID 49 not found.
2022-11-04 18:22:55.622 ERROR (MainThread) [pyhap.iid_manager] IID 50 not found.
2022-11-04 18:22:55.622 ERROR (MainThread) [pyhap.iid_manager] IID 51 not found.
2022-11-04 18:22:55.623 ERROR (MainThread) [pyhap.iid_manager] IID 52 not found.
2022-11-04 18:22:55.623 ERROR (MainThread) [pyhap.iid_manager] IID 53 not found.
2022-11-04 18:22:55.623 ERROR (MainThread) [pyhap.iid_manager] IID 54 not found.
2022-11-04 18:22:55.623 ERROR (MainThread) [pyhap.iid_manager] IID 55 not found.
2022-11-04 18:22:55.623 ERROR (MainThread) [pyhap.iid_manager] IID 56 not found.
2022-11-04 18:22:55.623 ERROR (MainThread) [pyhap.iid_manager] IID 57 not found.
2022-11-04 18:22:55.623 ERROR (MainThread) [pyhap.iid_manager] IID 58 not found.
2022-11-04 18:22:55.623 ERROR (MainThread) [pyhap.iid_manager] IID 59 not found.
2022-11-04 18:22:55.624 ERROR (MainThread) [pyhap.iid_manager] IID 60 not found.
2022-11-04 18:22:55.624 ERROR (MainThread) [pyhap.iid_manager] IID 61 not found.
2022-11-04 18:22:55.624 ERROR (MainThread) [pyhap.iid_manager] IID 62 not found.
2022-11-04 18:22:55.624 ERROR (MainThread) [pyhap.iid_manager] IID 63 not found.
2022-11-04 18:22:55.624 ERROR (MainThread) [pyhap.iid_manager] IID 64 not found.
2022-11-04 18:22:55.624 ERROR (MainThread) [pyhap.iid_manager] IID 65 not found.
2022-11-04 18:22:55.624 ERROR (MainThread) [pyhap.iid_manager] IID 66 not found.
2022-11-04 18:22:55.624 ERROR (MainThread) [pyhap.iid_manager] IID 67 not found.
2022-11-04 18:22:55.625 ERROR (MainThread) [pyhap.iid_manager] IID 68 not found.
2022-11-04 18:22:55.625 ERROR (MainThread) [pyhap.iid_manager] IID 69 not found.
2022-11-04 18:22:55.625 ERROR (MainThread) [pyhap.iid_manager] IID 70 not found.
2022-11-04 18:22:55.625 ERROR (MainThread) [pyhap.iid_manager] IID 71 not found.
2022-11-04 18:22:55.625 ERROR (MainThread) [pyhap.iid_manager] IID 72 not found.
2022-11-04 18:22:55.625 ERROR (MainThread) [pyhap.iid_manager] IID 73 not found.
2022-11-04 18:22:55.625 ERROR (MainThread) [pyhap.iid_manager] IID 74 not found.
2022-11-04 18:22:55.625 ERROR (MainThread) [pyhap.iid_manager] IID 75 not found.
2022-11-04 18:22:55.626 ERROR (MainThread) [pyhap.iid_manager] IID 76 not found.
2022-11-04 18:22:55.626 ERROR (MainThread) [pyhap.iid_manager] IID 77 not found.
2022-11-04 18:22:55.626 ERROR (MainThread) [pyhap.iid_manager] IID 78 not found.
2022-11-04 18:22:55.626 ERROR (MainThread) [pyhap.iid_manager] IID 79 not found.
2022-11-04 18:22:55.626 ERROR (MainThread) [pyhap.iid_manager] IID 80 not found.
2022-11-04 18:22:55.626 ERROR (MainThread) [pyhap.iid_manager] IID 81 not found.
2022-11-04 18:22:55.626 ERROR (MainThread) [pyhap.iid_manager] IID 82 not found.
2022-11-04 18:22:55.626 ERROR (MainThread) [pyhap.iid_manager] IID 83 not found.
2022-11-04 18:22:55.626 ERROR (MainThread) [pyhap.iid_manager] IID 84 not found.
2022-11-04 18:22:55.626 ERROR (MainThread) [pyhap.iid_manager] IID 85 not found.
2022-11-04 18:22:55.627 ERROR (MainThread) [pyhap.iid_manager] IID 86 not found.
2022-11-04 18:22:55.627 ERROR (MainThread) [pyhap.iid_manager] IID 87 not found.
2022-11-04 18:22:55.627 ERROR (MainThread) [pyhap.iid_manager] IID 88 not found.
2022-11-04 18:22:55.627 ERROR (MainThread) [pyhap.iid_manager] IID 89 not found.
2022-11-04 18:22:55.627 ERROR (MainThread) [pyhap.iid_manager] IID 90 not found.
2022-11-04 18:22:55.627 ERROR (MainThread) [pyhap.iid_manager] IID 91 not found.
2022-11-04 18:22:55.627 ERROR (MainThread) [pyhap.iid_manager] IID 92 not found.
2022-11-04 18:22:55.628 ERROR (MainThread) [pyhap.iid_manager] IID 93 not found.
2022-11-04 18:22:55.628 ERROR (MainThread) [pyhap.iid_manager] IID 94 not found.
2022-11-04 18:22:55.628 ERROR (MainThread) [pyhap.iid_manager] IID 95 not found.
2022-11-04 18:22:55.628 ERROR (MainThread) [pyhap.iid_manager] IID 96 not found.
2022-11-04 18:22:55.628 ERROR (MainThread) [pyhap.iid_manager] IID 97 not found.
2022-11-04 18:22:55.628 ERROR (MainThread) [pyhap.iid_manager] IID 98 not found.
2022-11-04 18:22:55.629 ERROR (MainThread) [pyhap.iid_manager] IID 99 not found.
Additional information
I’ve tried to follow the same process but with the core Sony Bravia integration rather than my SkyQ custom integration but that fails since Sony shows 100’s of sources, so HomeKit fails since there are more than 90 sources (this is a separate issue which I will probably report separately). I’ve also tried using a Sonos, but that gets configured through a slightly different route in HomeKit, via the Bridge rather than as a separate accessory.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 2
- Comments: 19 (18 by maintainers)
Commits related to this issue
- Fix race in HomeKit reset procedure fixes #81571 — committed to bdraco/home-assistant by bdraco 2 years ago
- Fix HomeKit reset accessory procedure (#81573) fixes https://github.com/home-assistant/core/issues/81571 — committed to home-assistant/core by bdraco 2 years ago
- Fix HomeKit reset accessory procedure (#81573) fixes https://github.com/home-assistant/core/issues/81571 — committed to home-assistant/core by bdraco 2 years ago
Looks like the errors have gone with this PR. Thanks