Solved: How to configure Avahi daemon on Docker host

Hey @Michel5, it looks like you’ve done a fair bit of discovery on this topic. I’d hope you could shed me a light.

My setup looks very similar to yours but I’ve also got NGINX to reverse proxy HASS to the real network.
I’m trying to figure out why I can’t complete the homekit setup process (once I add the integration, it creates the homekit QR code, I then scan it with the phone/ipad, get the option to “add the bridge to home” (within the homekit app), select to add to my existing home. At this point, it attempts to connect to the bridge, but it fails.

This really looks to me that some traffic is broken when I scan the QR code. That is probably between the homekit bridge (ipad) and HASS, but I don’t know what I’m looking for and I don’t know what too look for. (i.e. what type of traffic flow happens at this point?).

The message I get on the phone isn’t helpful (Accessory Not Found. Make sure your accessory is powered and connected to your router with an Ethernet cable, then try again.")

I’ve been looking for traffic logs between the homekit bridge (ipad) and HASS but nothing being blocked.
let me ask a few questions that might help me to understand this…

I noticed that you specified a mac address on the hap service - from which device/interface is that mac address?

how do I add hap.service to my avahi container?

on your example, the IP address 192.168.2.3… is it HASS IP address to be advertised to the homekit bridge?

if you know it, what sort of network traffic am I looking for at this initial setup?

really appreicate in advance!

1 Like