HomeKit Devices Integration - Unable to find devices

I’m encountering difficulties integrating my HomeKit devices with Home Assistant. When I attempt to add a device through the HomeKit Devices integration, Home Assistant is unable to locate it. I’ve tried this with several devices, all of which have been factory reset.

Interestingly, when I run netdisco from Home Assistant, it doesn’t detect any of these devices. However, I can clearly see them on my network and even successfully ping them from Home Assistant’s command line.

Has anyone else faced similar issues with the HomeKit Devices integration? Any suggestions on how to troubleshoot or resolve this would be greatly appreciated.

Do not factory reset your devices after pairing with Apple Home. In Apple Home delete (remove) the devices after having paired them to HomeKit which leaves them on the network and Home Assistant will pick them up and you can use the HK pairing code to add them to HA.

3 Likes

To clarify, I removed the devices from HomeKit after initially pairing them. I’ve confirmed that they are still active and visible on my network.

I suspect the issue might stem from my Home Assistant setup. I’m running it on a virtual machine within TrueNAS, using a virtual network connection. Perhaps this configuration is causing the problem, but I’m unsure how to pinpoint or resolve it.

Any guidance would be greatly appreciated!

Sounds like you need to somehow enable mDNS to and from your virtual machine - I’m not familiar with how but that is almost certainly your problem.

2 Likes

Thanks for pointing me in the right direction! Enabling mDNS was indeed the solution.

Specifically, I utilized the second NIC on my motherboard and attached the VM to it with “Trust Guest Filters” enabled. This allowed mDNS, zeroconf, and discovery protocols to function correctly, resolving the connection problem.

I appreciate your help!