{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13560","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13560/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13560/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13560/events","html_url":"https://github.com/home-assistant/home-assistant/issues/13560","id":310188535,"number":13560,"title":"HomeKit will not start","user":{"login":"sircoolkeen","id":29187582,"avatar_url":"https://avatars3.githubusercontent.com/u/29187582?v=4","gravatar_id":"","url":"https://api.github.com/users/sircoolkeen","html_url":"https://github.com/sircoolkeen","followers_url":"https://api.github.com/users/sircoolkeen/followers","following_url":"https://api.github.com/users/sircoolkeen/following{/other_user}","gists_url":"https://api.github.com/users/sircoolkeen/gists{/gist_id}","starred_url":"https://api.github.com/users/sircoolkeen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sircoolkeen/subscriptions","organizations_url":"https://api.github.com/users/sircoolkeen/orgs","repos_url":"https://api.github.com/users/sircoolkeen/repos","events_url":"https://api.github.com/users/sircoolkeen/events{/privacy}","received_events_url":"https://api.github.com/users/sircoolkeen/received_events","type":"User","site_admin":false},"labels":[{"id":840363345,"url":"https://api.github.com/repos/home-assistant/home-assistant/labels/component:%20homekit","name":"component: homekit","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"cdce8p","id":30130371,"avatar_url":"https://avatars2.githubusercontent.com/u/30130371?v=4","gravatar_id":"","url":"https://api.github.com/users/cdce8p","html_url":"https://github.com/cdce8p","followers_url":"https://api.github.com/users/cdce8p/followers","following_url":"https://api.github.com/users/cdce8p/following{/other_user}","gists_url":"https://api.github.com/users/cdce8p/gists{/gist_id}","starred_url":"https://api.github.com/users/cdce8p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdce8p/subscriptions","organizations_url":"https://api.github.com/users/cdce8p/orgs","repos_url":"https://api.github.com/users/cdce8p/repos","events_url":"https://api.github.com/users/cdce8p/events{/privacy}","received_events_url":"https://api.github.com/users/cdce8p/received_events","type":"User","site_admin":false},"assignees":[{"login":"cdce8p","id":30130371,"avatar_url":"https://avatars2.githubusercontent.com/u/30130371?v=4","gravatar_id":"","url":"https://api.github.com/users/cdce8p","html_url":"https://github.com/cdce8p","followers_url":"https://api.github.com/users/cdce8p/followers","following_url":"https://api.github.com/users/cdce8p/following{/other_user}","gists_url":"https://api.github.com/users/cdce8p/gists{/gist_id}","starred_url":"https://api.github.com/users/cdce8p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdce8p/subscriptions","organizations_url":"https://api.github.com/users/cdce8p/orgs","repos_url":"https://api.github.com/users/cdce8p/repos","events_url":"https://api.github.com/users/cdce8p/events{/privacy}","received_events_url":"https://api.github.com/users/cdce8p/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-03-30T23:05:41Z","updated_at":"2018-04-08T18:53:55Z","closed_at":null,"author_association":"NONE","body":"<!-- READ THIS FIRST:\r\n- If you need additional help with this template please refer to https://www.home-assistant.io/help/reporting_issues/\r\n- Make sure you are running the latest version of Home Assistant before reporting an issue: https://github.com/home-assistant/home-assistant/releases\r\n- Do not report issues for components if you are using custom components: files in <config-dir>/custom_components\r\n- This is for bugs only. Feature and enhancement requests should go in our community forum: https://community.home-assistant.io/c/feature-requests\r\n- Provide as many details as possible. Paste logs, configuration sample and code into the backticks. Do not delete any text from this template!\r\n-->\r\n\r\n**Home Assistant release with the issue:**\r\n0.66.0\r\n<!--\r\n- Frontend -> Developer tools -> Info\r\n- Or use this command: hass --version\r\n-->\r\n\r\n\r\n**Last working Home Assistant release (if known):**\r\n\r\n\r\n**Operating environment (Hass.io/Docker/Windows/etc.)**\r\nWindows\r\n<!--\r\nPlease provide details about your environment.\r\n-->\r\nWindows 8.1 running python 3.6.5\r\n\r\n**Component/platform:**\r\nHomeKit, https://www.home-assistant.io/components/homekit/\r\n<!--\r\nPlease add the link to the documentation at https://www.home-assistant.io/components/ of the component/platform in question.\r\n-->\r\n\r\n\r\n**Description of problem:**\r\nHaving an issue where I cannot get the HomeKit component to load. Everytime I start it says that HomeKit component could not be setup and to check config.\r\n\r\n\r\n**Problem-relevant `configuration.yaml` entries and (fill out even if it seems unimportant):**\r\n```yaml\r\nhomekit:\r\n```\r\n\r\n**Traceback (if applicable):**\r\n```\r\n2018-03-30 18:52:04 ERROR (MainThread) [homeassistant.setup] Error during setup of component homekit\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\Keenan\\AppData\\Local\\Programs\\Python\\Python36\\lib\\site-packages\\homeassistant\\setup.py\", line 142, in _async_setup_component\r\n    result = await component.async_setup(hass, processed_config)\r\n  File \"C:\\Users\\Keenan\\AppData\\Local\\Programs\\Python\\Python36\\lib\\site-packages\\homeassistant\\components\\homekit\\__init__.py\", line 55, in async_setup\r\n    homekit.setup()\r\n  File \"C:\\Users\\Keenan\\AppData\\Local\\Programs\\Python\\Python36\\lib\\site-packages\\homeassistant\\components\\homekit\\__init__.py\", line 163, in setup\r\n    self.bridge = HomeBridge(self._hass)\r\n  File \"C:\\Users\\Keenan\\AppData\\Local\\Programs\\Python\\Python36\\lib\\site-packages\\homeassistant\\components\\homekit\\accessories.py\", line 80, in __init__\r\n    super().__init__(name, **kwargs)\r\n  File \"C:\\Users\\Keenan\\AppData\\Roaming\\.homeassistant\\deps\\Python36\\site-packages\\pyhap\\accessory.py\", line 427, in __init__\r\n    setup_id=setup_id)\r\n  File \"C:\\Users\\Keenan\\AppData\\Roaming\\.homeassistant\\deps\\Python36\\site-packages\\pyhap\\accessory.py\", line 159, in __init__\r\n    sk, vk = ed25519.create_keypair()\r\n  File \"C:\\Users\\Keenan\\AppData\\Roaming\\.homeassistant\\deps\\Python36\\site-packages\\ed25519\\keys.py\", line 10, in create_keypair\r\n    sk = SigningKey(seed)\r\n  File \"C:\\Users\\Keenan\\AppData\\Roaming\\.homeassistant\\deps\\Python36\\site-packages\\ed25519\\keys.py\", line 85, in __init__\r\n    vk_s, sk_s = _ed25519.publickey(sk_s)\r\n```\r\n\r\n**Additional information:**\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/379573229","html_url":"https://github.com/home-assistant/home-assistant/issues/13560#issuecomment-379573229","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13560","id":379573229,"user":{"login":"VdkaShaker","id":26205899,"avatar_url":"https://avatars3.githubusercontent.com/u/26205899?v=4","gravatar_id":"","url":"https://api.github.com/users/VdkaShaker","html_url":"https://github.com/VdkaShaker","followers_url":"https://api.github.com/users/VdkaShaker/followers","following_url":"https://api.github.com/users/VdkaShaker/following{/other_user}","gists_url":"https://api.github.com/users/VdkaShaker/gists{/gist_id}","starred_url":"https://api.github.com/users/VdkaShaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VdkaShaker/subscriptions","organizations_url":"https://api.github.com/users/VdkaShaker/orgs","repos_url":"https://api.github.com/users/VdkaShaker/repos","events_url":"https://api.github.com/users/VdkaShaker/events{/privacy}","received_events_url":"https://api.github.com/users/VdkaShaker/received_events","type":"User","site_admin":false},"created_at":"2018-04-08T18:53:55Z","updated_at":"2018-04-08T18:53:55Z","author_association":"NONE","body":"Yes, deleting the `.homekit.state` file will make it work again, but as soon as I restart Home Assistant I'll be right back here again (I've done it several times).\r\n\r\n**Home Assistant release with the issue:**\r\n0.66.0\r\n\r\n**Last working Home Assistant release (if known):**\r\nn/a:  I waited until .66 to give it a real try.\r\n\r\n**Operating environment (Hass.io/Docker/Windows/etc.)**\r\nHass.io: \r\nSupervisor:  .99\r\nHost: resinos (GNU/Linux) 1.3\r\n\r\n**Component/platform:**\r\nHomeKit, https://www.home-assistant.io/components/homekit/\r\n\r\n**Description of problem:**\r\nAfter setting up HomeKit, if I then restart Home Assistant, HomeKit fails to reload.\r\n\r\n**Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):**\r\n```\r\nhomekit:\r\n  auto_start: False\r\n  filter:\r\n    include_entities:\r\n      - alarm_control_panel.alarmcom\r\n      - light.office_desk_lamp_level\r\n      - switch.dining_room_lights_switch\r\n      - light.dining_room_lights_level\r\n      - switch.box_fan\r\n```\r\n\r\n**Traceback (if applicable):**\r\nOn restart of Home Assistant:\r\n```\r\nSun Apr 08 2018 11:46:44 GMT-0700 (PDT)\r\n\r\nError executing service <ServiceCall homekit.start>\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python3.6/site-packages/homeassistant/core.py\", line 1010, in _event_to_service_call\r\n    await self._hass.async_add_job(execute_service)\r\n  File \"/usr/lib/python3.6/concurrent/futures/thread.py\", line 56, in run\r\n    result = self.fn(*self.args, **self.kwargs)\r\n  File \"/usr/lib/python3.6/site-packages/homeassistant/core.py\", line 1007, in execute_service\r\n    service_handler.func(service_call)\r\n  File \"/usr/lib/python3.6/site-packages/homeassistant/components/homekit/__init__.py\", line 66, in handle_homekit_service_start\r\n    homekit.start()\r\n  File \"/usr/lib/python3.6/site-packages/homeassistant/components/homekit/__init__.py\", line 195, in start\r\n    self.driver.start()\r\n  File \"/usr/lib/python3.6/site-packages/pyhap/accessory_driver.py\", line 489, in start\r\n    self.advertiser.register_service(self.mdns_service_info)\r\n  File \"/usr/lib/python3.6/site-packages/zeroconf.py\", line 1780, in register_service\r\n    self.check_service(info, allow_name_change)\r\n  File \"/usr/lib/python3.6/site-packages/zeroconf.py\", line 1896, in check_service\r\n    raise NonUniqueNameException\r\nzeroconf.NonUniqueNameException\r\n```\r\n\r\n**Additional information:**"}}
{"actor":{"display_login":"VdkaShaker"}}