Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homekit Pin: How to find it? #13566

Closed
ferazambuja opened this issue Mar 31, 2018 · 6 comments · Fixed by #13587
Closed

Homekit Pin: How to find it? #13566

ferazambuja opened this issue Mar 31, 2018 · 6 comments · Fixed by #13587
Assignees

Comments

@ferazambuja
Copy link

Home Assistant release with the issue:

0.66

Last working Home Assistant release (if known):

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

Hassbian
Component/platform:

Homekit

Description of problem:

While testing the new homekit implementation I deleted my hub from my device. Since we are only exposed to the generated pin once for the setup I can't add hass as a bridge. It will not show to add on iOS. Maybe would be a good idea to add this info to the component page.

Keep the good work!!

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

homekit:
  filter:
    include_domains: [sensor ,light]
    exclude_domains: [climate]
    exclude_entities: [sensor.my_ecobee_humidity, sensor.bedroom_temperature, sensor.My_ecobee_temperature]

Traceback (if applicable):


Additional information:

@mountainsandcode
Copy link
Contributor

There is a persistent notification in the web UI which shows the PIN. If it doesn't show and you can't pair, you could try removing the .homekit.state file in the config folder

@keitetran
Copy link

not find file .homekit.state in config folder.

@funnybutrandom
Copy link

funnybutrandom commented Mar 31, 2018

its a hidden file, try 'ls -la' in the cmd

@cdce8p cdce8p self-assigned this Mar 31, 2018
@danielebra
Copy link

I was unable to view the persistent notification on my web-interface.
I forced a pin code for HomeKit by adding the following in configuration.yaml:

homekit:
  pincode: 123-45-678

By forcing the pin code, I was able to add the bridge to HomeKit successfully.

@cdce8p
Copy link
Member

cdce8p commented Mar 31, 2018

@NadeHouse The persistent notification was only added in 0.66.0. The pincode option is no longer supported.

If for some reason the notification didn't appear, please try restarting Home Assistant. It should be at the top. If it still doesn't show, you can try the log. Therefore please add the following to your config file:

logger:
  default: info

Than search for notification_id=4663548. The pincode should be in the same statement.

@cdce8p cdce8p mentioned this issue Mar 31, 2018
3 tasks
@ferazambuja
Copy link
Author

Removed the .homekit.state in the config folder and worked!
Thanks 👍

@cdce8p cdce8p closed this as completed Mar 31, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Jul 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants