core: Can't set up Homekit component on fresh install

Home Assistant release with the issue:

0.77.3

Last working Home Assistant release (if known):

Operating environment (Hass.io/Docker/Windows/etc.):

Raspberry Pi Zero W, installed with the virtual environment guide

Component/platform:

Homekit

Description of problem: On a fresh install, I just added “homekit:” to the last line of my configuration.yaml file, but the card with the pairing code doesn’t show up in the front-end.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):


Traceback (if applicable):


Additional information:

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 24 (9 by maintainers)

Most upvoted comments

Thanks for the feedback. Glad to here that your issue is solved.

please consider that pyHAP has to be manually installed in advance

It should get installed automatically by Home Assistant. Sometimes however that doesn’t seem to work reliably.

update the Virtual Environment installation guide

Feel free to suggest the change. Just click Edit this page on Github and improve it. You would just need to commit the changes and open a Pull Request afterwards.

ok I’ll try to configure the Homekit component starting Home Assistant manually, keeping the iPhone in the same WiFi network, and then I’ll try to restore the automatic start using systemd and see if it keeps working with the iPhone outside the WiFi network. I’ll let you know.

Neither pycryptodome or HAP-python were installed, so installing HAP-python resolved the issue,

Thanks,