Homekit can't find HA instance

I’m running hassio in docker on Ubuntu server, set up using the following instructions:

https://www.smarthomebeginner.com/install-hass-io-on-docker-linux/

Everything is working fne, but when I try to set up homekit, my home app can’t find the homeassistant instance. Even when I enter the code, it doesn’t show up.

I tried to set up home kit with network_mode: host and safe_mode: true but no success. My ipad is connected with my local wifi. Did I forget to set up something extra to use homekit with docker?

Thanks !

Rick

If you’ve installed hass.io it should be using network_mode: host already (i think).

Either way, I have a couple ideas. Do you have a firewall running on your server? Are your iPad and server on the same subnet/VLAN? Lastly, try changing the HomeKit port (see HomeKit config docs) and restarting Home Assistant. I suspect the last one might work for you.

Unfortunately, that didn’t work for me. I disabled my firewall using the following commands on my ubuntu server:
sudo iptabels -F
sudo ufw disable

Then I added the port: 51828 (different port than the docs) to the homekit.yaml, restarted my homeassistant, but no success.

My devices are all on the same network. Ipad is conencted with a unifi ap.

Hmm. I guess we’ll have to do a little more digging. Are there any errors in your Home Assistant logs? You can also try setting the ip_address and advertise_ip HomeKit properties to the IP of your server.