{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/3085","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/3085/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/3085/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/3085/events","html_url":"https://github.com/home-assistant/home-assistant/issues/3085","id":174382180,"number":3085,"title":"Emulated Hue errors in the logs","user":{"login":"arsaboo","id":18319734,"avatar_url":"https://avatars.githubusercontent.com/u/18319734?v=3","gravatar_id":"","url":"https://api.github.com/users/arsaboo","html_url":"https://github.com/arsaboo","followers_url":"https://api.github.com/users/arsaboo/followers","following_url":"https://api.github.com/users/arsaboo/following{/other_user}","gists_url":"https://api.github.com/users/arsaboo/gists{/gist_id}","starred_url":"https://api.github.com/users/arsaboo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arsaboo/subscriptions","organizations_url":"https://api.github.com/users/arsaboo/orgs","repos_url":"https://api.github.com/users/arsaboo/repos","events_url":"https://api.github.com/users/arsaboo/events{/privacy}","received_events_url":"https://api.github.com/users/arsaboo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-31T21:22:13Z","updated_at":"2016-09-01T12:54:49Z","closed_at":null,"body":"**Home Assistant release (`hass --version`):** 0.27.1\r\n\r\n\r\n**Python release (`python3 --version`):** 3.4.2\r\n\r\n\r\n**Component/platform:** `emulated_hue`\r\n\r\n\r\n**Description of problem:** Started seeing these errors in the log after enabling the `emulated_hue` (192.168.2.199 is the IP of the Pi where HASS is running). \r\n```\r\n16-08-31 17:08:47 homeassistant.components.light.hue: Error connecting to the Hue bridge at 192.168.2.199\r\nTraceback (most recent call last):\r\n  File \"/home/hass/.homeassistant/deps/phue.py\", line 543, in connect\r\n    with open(self.config_file_path) as f:\r\nFileNotFoundError: [Errno 2] No such file or directory: '/home/hass/.homeassistant/phue.conf'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/light/hue.py\", line 95, in setup_bridge\r\n    config_file_path=hass.config.path(filename))\r\n  File \"/home/hass/.homeassistant/deps/phue.py\", line 435, in __init__\r\n    self.connect()\r\n  File \"/home/hass/.homeassistant/deps/phue.py\", line 559, in connect\r\n    self.register_app()\r\n  File \"/home/hass/.homeassistant/deps/phue.py\", line 513, in register_app\r\n    response = self.request('POST', '/api', data)\r\n  File \"/home/hass/.homeassistant/deps/phue.py\", line 459, in request\r\n    connection.request(mode, address, data)\r\n  File \"/usr/lib/python3.4/http/client.py\", line 1090, in request\r\n    self._send_request(method, url, body, headers)\r\n  File \"/usr/lib/python3.4/http/client.py\", line 1128, in _send_request\r\n    self.endheaders(body)\r\n  File \"/usr/lib/python3.4/http/client.py\", line 1086, in endheaders\r\n    self._send_output(message_body)\r\n  File \"/usr/lib/python3.4/http/client.py\", line 924, in _send_output\r\n    self.send(msg)\r\n  File \"/usr/lib/python3.4/http/client.py\", line 859, in send\r\n    self.connect()\r\n  File \"/usr/lib/python3.4/http/client.py\", line 836, in connect\r\n    self.timeout, self.source_address)\r\n  File \"/usr/lib/python3.4/socket.py\", line 509, in create_connection\r\n    raise err\r\n  File \"/usr/lib/python3.4/socket.py\", line 500, in create_connection\r\n    sock.connect(sa)\r\nConnectionRefusedError: [Errno 111] Connection refused\r\n```"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/244069603","html_url":"https://github.com/home-assistant/home-assistant/issues/3085#issuecomment-244069603","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/3085","id":244069603,"user":{"login":"arsaboo","id":18319734,"avatar_url":"https://avatars.githubusercontent.com/u/18319734?v=3","gravatar_id":"","url":"https://api.github.com/users/arsaboo","html_url":"https://github.com/arsaboo","followers_url":"https://api.github.com/users/arsaboo/followers","following_url":"https://api.github.com/users/arsaboo/following{/other_user}","gists_url":"https://api.github.com/users/arsaboo/gists{/gist_id}","starred_url":"https://api.github.com/users/arsaboo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arsaboo/subscriptions","organizations_url":"https://api.github.com/users/arsaboo/orgs","repos_url":"https://api.github.com/users/arsaboo/repos","events_url":"https://api.github.com/users/arsaboo/events{/privacy}","received_events_url":"https://api.github.com/users/arsaboo/received_events","type":"User","site_admin":false},"created_at":"2016-09-01T12:54:49Z","updated_at":"2016-09-01T12:54:49Z","body":"Indeed `phue.conf` does not exist and I don't have any Hue lights in my setup. "}}
{"actor":{"display_login":"arsaboo"}}