home-assistant / home-assistant.io

:blue_book: Home Assistant User documentation
https://www.home-assistant.io
Other
4.98k stars 7.29k forks source link

The document does not say how to use mdns under mac to support homekit #32204

Open yriiolik opened 7 months ago

yriiolik commented 7 months ago

Feedback

The document only mentions the need to use mdns, but does not say how to configure it at all. I found many posts but couldn't explain how to set it up, until I found this: https://community.home-assistant.io/t/using-homekit-component-inside-docker/45409/56?u=yriiolik

Link on gists Home Assistant Docker on Mac OS · GitHub 18
You need to use custom docker image with installed avahi to automate mdns redirect (see docker-entrypoint.sh)
Then you need to register homekit bridge in mac os mDns responder by using dns-sd (see dns-sd.sh)
And finally you need to configure Home Assistant to advertise real IP address of host machine (see configure.yml)

I think this should be put into the document to facilitate other people who use docker to install on mac. At least put a link to the post in the document

URL

https://www.home-assistant.io/integrations/homekit/

Version

2024.4.1

Additional information

No response

home-assistant[bot] commented 7 months ago

Hey there @bdraco, mind taking a look at this feedback as it has been labeled with an integration (homekit) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `homekit` can trigger bot actions by commenting: - `@home-assistant close` Closes the feedback. - `@home-assistant rename Awesome new title` Renames the feedback. - `@home-assistant reopen` Reopen the feedback. - `@home-assistant unassign homekit` Removes the current integration label and assignees on the feedback, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information) to the feedback. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information) on the feedback.