

Keep in mind only supported components can be added. To limit which entities are being exposed to HomeKit, you can use the filter parameter.

Select media_player, remote, lock, and camera domains.Create a new bridge via the UI (i.e., Settings > Devices & Services).To quickly add all accessory mode entities in the UI: When exposing a Camera, Activity based remote (a remote that supports activities), Lock, or Television media player (a media_player with device class tv) to HomeKit, mode must be set to accessory, and the relevant include filter should be setup to only include a single entity. It is recommended to only edit a HomeKit instance in the UI that was created in the UI, and likewise, only edit a HomeKit instance in YAML that was created in YAML.

While the UI only offers limited configuration options at the moment, any attempt to configure a HomeKit instance created in the UI via the configuration.yaml file will result in another instance of HomeKit running on a different port. If you create a HomeKit integration via the UI (i.e., Settings -> Devices & Services), it must be configured via the UI only. If you need specific configuration for some entities via entity_config be sure to add them to a bridge configured via YAML. If you plan on exceeding the 150 devices limit, it is possible to create multiple bridges. Be mindful of this when configuring the filter(s). The HomeKit Accessory Protocol Specification only allows a maximum of 150 unique accessories ( aid) per bridge. This, however, means that if you decide to change an entity_id that does not have a unique_id, all configurations for this accessory made in the Home app will be lost. The aid is used to identify a device and save all configurations made for it. Considerations Accessory IDĬurrently, this integration uses the entity_id to generate a unique accessory id (aid) for HomeKit. Keep in mind that the folder is usually hidden by default, depending on your operating system.īefore you copy it, make sure to stop the old and new Home Assistant instances first entirely, otherwise it won’t work. storage/homekit.* file inside your configuration directory. If you would like to retain your HomeKit pairing when moving to a new Home Assistant device or installation, besides copying the configuration files you also need to copy the.

#Home control homepod code#
Enter the PIN code (skip this step if you scanned the QR code).Confirm that you are adding an Uncertified Accessory by clicking on Add Anyway.Click Add Accessory, then scan the QR code or select Don't Have a Code or Can't Scan? and choose the Home Assistant Bridge.Note: If pin code is not displayed, check “Notifications” (the bell icon) in the lower-left of the Home Assistant UI. A new card will display the pairing QR code and the pin code as seen in the example below. After Home Assistant has started, the entities (depending on the filter) are exposed to HomeKit if they are supported.
