Hello,
I’ve been struggling to try and figure out what is happening with the Homekit integration on my Home Assistant Supervised install. I have Home Assistant Supervised running as docker containers on a Linux machine, and in order to debug the Homekit issue, I have the following minimum configuration added to my configuration.yml
:
homekit:
- name: HASS
ip_address: 192.168.104.125
filter:
include_domains:
- demo
I have used the ip_address
option as my server has multiple interfaces, and I wanted to ensure that the Homekit server would listen on the IP address that my iOS clients are on.
I also have the following lines in the configuration.yml
for logging:
logger:
default: warning
logs:
homeassistant.components.homekit: debug
pyhap: debug
When I start the Homekit integration, I see the following entries in the logs:
2021-05-01 20:39:23 DEBUG (MainThread) [homeassistant.components.homekit] Begin setup HomeKit for HASS
2021-05-01 20:39:23 DEBUG (MainThread) [pyhap.characteristic] set_value: Name to HASS
2021-05-01 20:39:23 DEBUG (MainThread) [pyhap.characteristic] set_value: SerialNumber to default
2021-05-01 20:39:23 DEBUG (MainThread) [pyhap.characteristic] set_value: FirmwareRevision to 2021.4.6
2021-05-01 20:39:23 DEBUG (MainThread) [pyhap.characteristic] set_value: Manufacturer to Home Assistant
2021-05-01 20:39:23 DEBUG (MainThread) [pyhap.characteristic] set_value: Model to Bridge
2021-05-01 20:39:23 DEBUG (MainThread) [pyhap.characteristic] set_value: SerialNumber to homekit.bridge
2021-05-01 20:39:23 INFO (SyncWorker_4) [pyhap.accessory_driver] Loading Accessory state from `/config/.storage/homekit.8bfb9d35447a9a3927793d48356dae2e.state`
2021-05-01 20:39:23 DEBUG (MainThread) [homeassistant.components.homekit] Driver start for HASS
2021-05-01 20:39:23 INFO (MainThread) [pyhap.accessory_driver] Starting accessory HASS on address 192.168.104.125, port 21063.
2021-05-01 20:39:23 DEBUG (MainThread) [pyhap.accessory_driver] Starting server.
2021-05-01 20:39:23 DEBUG (MainThread) [pyhap.accessory_driver] Starting mDNS.
2021-05-01 20:39:24 DEBUG (MainThread) [pyhap.accessory_driver] Starting accessory HASS
2021-05-01 20:39:24 DEBUG (MainThread) [pyhap.accessory_driver] AccessoryDriver for HASS started successfully
2021-05-01 20:39:24 INFO (MainThread) [homeassistant.components.homekit.util] Pincode: 279-86-312
When I scan the QR Code in the Home app on my iPhone, it spins on “Trying to add bridge” before eventually timing out with an “Accessory not found” error.
One problem I have noticed though - I have run a mDNS browser app on my Phone and on my Mac and in both apps, I cannot see any mDNS entries for _hap._tcp
against the hassio host.
I’ve tried the usual other things - restarting the core service, restarting the HA host etc. I’ve verified that my Unifi devices have the “Enable IGMPv3 enhancement” option switched off as well.
Appreciate any suggestions/help on this!