HomeKit native component slow to update

Hello everyone!

I was wondering if anyone was having problems with the native HomeKit component. Mine is very slow to get accessories stats over the LAN connected by Wifi, same network as the Hassio running the component.

I’ve discovered that if I turn off my iPad Mini 2 that is set up as HomeKit Hub (so I can access my Home App over 4G, outside my house), the problem is gone. Here are a couple of videos comparing both situations: https://photos.app.goo.gl/6XHYUT5uwVYtJWG17

I really believe that even when I am connected at my local Wifi, the app is connecting to Hassio over the internet because of the iPad Mini Hub settings. It takes almost the same time as connecting over 4G.

Do I need to por forward or config something else to avoid this?

Thanks a lot!

1 Like

Hi @Schneider!

Did you find any resolution to this problem? I have the exact same issue, my iPhone is really slow on updating the status of the devices when I use my Apple TV as Homekit hub.
Thanks!

Hello! I think problem is caused by the router’s firewall settings. I’ve disabled it and works fine for most of the time. Still not sure what is causing this problem.

i have similar problem is very slow updating status when i open the app but i have not try to turn my apple tv as a hub but i remember with the homebridge addon when i was home (LAN) was really fast also i have not figure out how to add my humidity sensor after migrating to the component they were working fine with the homebridge

Hello @Schneider, any luck on solving this issue? I am experiencing the same problem. Thanks!

Hello! Not sure how but everything seems to be working quite well for the last couple of months…

Posting here because I tripped myself up on this. For me, I had enabled multicast and broadcast filtering over WiFi in my access point’s settings while trying to debug some WiFi performance hiccups. HomeKit uses Bonjour (which uses broadcast messages) find the IP of your homeassistant instance. I think what was happening under the hood is that the Home app was trying to resolve the IP address of HA using bonjour, and then after 30+ seconds it would time out and just go through the internet to my AppleTV and then it would work.

Screenshot of this setting in the Unifi Controller (should be disabled OR exceptions should be added for you HA instance and maybe also your iPad/AppleTV/HomePod that you’re using as your home hub)