I already have HomeKit controller support enabled on one version of Home Assistant (run in a Docker container), and am in the process of setting up a new (clean) instance of HA in a different Docker container.
I want to add HomeKit controller support to the new instance of HA, and have added the code to configuration.yaml
discovery:
enable:
- homekit
The new version of HA doesn't seem to find any of my devices from HomeKit, so I checked on Home Assistant's webpage, but I'm not sure about part of the information.
“If your device is currently paired with Siri, you will need to reset it in order to pair it with Home Assistant. Once Home Assistant is configured to work with the device, you can export it back to Siri with the HomeKit component.”
I'm wondering if this is why the HomeKit devices won't appear in the new instance of HA?
How do I 'reset/unpair' a device from Siri?
…as an update to this, I disabled HomeKit on the first instance of Home Assistant, and it still wouldn’t work on the second instance of Home Assistant.
I even tried another clean Home Assistant container and that won’t work either.
Does anyone know if this is a bug with the HomeKit controller?
(For the sake of anyone else having the same trouble) I found the problem.
I was running the new instances of Home Assistant with ‘–net=host’ for the Docker container, and HomeKit Controller won’t discover HomeKit devices with this setting enabled.
I managed to get around it by running the Home Assistant Docker container through Traefik (reverse proxy), which I was doing anyway with the original container running Home Assistant, to enable SSL and redirect to my domain.
PS: I also have the IP and MAC address of my offong outlet and can see it from my computer. I checked from inside the homeassistant docker with python3 -m netdisco and I was not able to see the outlet.