help with home assistant and home kit bridge integration
I’ve recently started running home assistant. Everything runs great, just that I’m not able to connect HomeKit bridge to my phone.
How do I make this work? Currently it tries to connect for a while and fails.
45 Replies
Do you have access to any sort of logs from the mobile app? Is home kit bridge giving error logs aswell?
I don’t observe any logs, possibly because the ios home app is not able to reach the device.
Found some messages of the past at https://discord.com/channels/976934649643294750/1137613881531961354/1252353396263096422
i think it’s the same issue, but I did not fully understand the solution 😅
I unfortunately have little experience with these tools :/
Is the app exposed or you try to access from the same network via IP?
Under same network it should be fine
First step is to reach home assistant if the problem is here there is a network problem on your side
@JigSaw both my phone and my laptop are able to reach to
192.168.0.106
(IP of my home server.)
both of them run tailscale, but I'm guessing that should not be a problem since I can hit them directly in the local network using IP
I then followed https://community.home-assistant.io/t/using-homekit-component-inside-docker/45409/41
and started mdns repeater with host being enp1s0
& docker NIC to be the br-fd25fe76ed1f
. I got this by running docker exec f9a ifconfig
& route -n
after which I restarted home assistant, removed the homekit integration, restarted HA, re-installed home kit,
no luck still..
just to start
is your home assistant app working on phone ?*
(I use tailscale too)
yeah, works on the phone 👍
ok so your problem is only for homekit integration right ?
yeah
can you drop the result of your cmd route -n
result from the server
oh man wait
in your configuration.yml
drop this:
cool, restarting HA now 🤞
installed home kit bridge & connected. no luck.
one sec, I'll also check avahi status
if not added, this is the reason 😉
hm avahi is not necessary as you use the mdns app in Tipi 🙂
I see, should I disable it then?
disabled, tried connecting. does not work still 😢
how can I verify if mdns is forwarding packets?
the logs look empty pretty much
hm
mdns-repeater | mdns-repeater: dev eth0 addr 192.168.xx.xx mask 255.255.255.0 net 192.168.xx.xx
mdns-repeater | mdns-repeater: dev br-5813ba86106f addr 172.22.0.1 mask 255.255.0.0 net 172.22.0.0
I've the same 😉
So,
Assume it's working, try to add the bridge now to homekit directly
and you will see immediately if it works
aah another thing ^^'
you need to open additionnal port on ha app
oh
RunTipi/user-config/homeassistant-1/docker-compose.yml
save, restart ha app on tipi 😉
i've taken many hours initially to get it working lol
it's not really well explained
I'm getting pairing notifications for
HASS Bridge:21064
should it be for 21063 instead? 🤔where ?
or maybe it has nothing to do with this..

old notif no ?
because it should be 21063
with the name "Bridge"
give me a screenshot of "/config/integrations/integration/homekit"
in HA
I initially had
now I changed it to
restarted HA
setup the integration, scanned the QR code and the phone is just stuck at connecting
screenshot

wait, it just connected!!
Thanks a lot @JigSaw !! 🚀 🚀
dude, you are a rockstar! Finally I can control my devices with siri
I think my setup got messed up because of port. I used
21065
for some reason. it should have been 21063
I'll do a write up at https://notes.bhartakalluri.com soon on this stuff so that next time someone else finds all this in one place. I'll thank you in that post if you don't mind!haha nice 🙂
tanks for the post if you can do it ❤️
@JigSaw one more thing if you don't mind, on restart do all your devices show that they are switched on?
all of my devices show they are switched on, even though the hardware is off. not sure why
not really, it just need some secs to update initially
my devices are integrated in HA with Zigbee2MQTT
@Bharat Kalluri next thing to do I think: https://smarthomescene.com/guides/exposing-home-assistant-entities-as-matter-devices/
SmartHomeScene
Expose Home Assistant Entities as Matter Devices
Guide for exposing all supported Home Assistant entities as Matter devices, allowing you to pair them to other ecosystems via the Matter Bridge Addon.
my next work :p
just restarted. all my devices show they are on even though the hardware is actually switched off 😢
not sure how I can trigger a hard refresh on device status. I am running tuya integration

ah
but it reflect the HA status
so it's right
very cool!
so the problem seems to be on HA with integration
tat's another problem :p
hmm
yeah matter is nice because you can switch from Apple to Alexa to Google to anything else without redoing all the pairing etc
but matter needs to be supported by the device manufacturer, right?
and in this case you avoid buying each hub to have comaptible matter device
the integration "convert" the device to a matter compatible entity and expose it
just with one hub ... HA ! 🙂
oh nice
like what I do with Philips Hue, removed the bridge, directly added bulbs and all things to HA
good luck for your smart home
:seemsgood:
I'll also explore the matter rabbit hole! Thanks for the tip!
and again, thanks a lot for the help. Really means a lot. I'll get back on my promise of docs 👍
No problem, if I can help, it’s my pleasure
alright, initial version is out at
https://notes.bharatkalluri.com/setting-up-home-assistant-with-homekit-bridge-while-using-runtipi-tailscale/
I'll iterate over it later on sometime. But it should be informative I guess
closing this thread now.
bharatkalluri
Bharat's digital garden
Guide: Setting Up Home Assistant with HomeKit Bridge while using Ru...
nice thank you @Bharat Kalluri