Trouble discovering Philips Hue Bridge

Hi, I’m really hoping someone can help me with this. I have been trying everything I find on the forums and Google but still cannot get my HA to discover the hue entity. With discovery it does nothing, when I specify the ip etc in the config file I get the below…

The following errors have been logged this session:

2017-06-08 17:13:42 WARNING (MainThread) [homeassistant.setup] Setup of light is taking over 10 seconds. 2017-06-08 17:13:44 WARNING (MainThread) [homeassistant.components.light] Setup of platform hue is taking over 10 seconds. 2017-06-08 17:13:44 ERROR (Thread-7) [phue] POST Request to 192.168.1.4/api timed out. Traceback (most recent call last): File “/home/homeassistant/.homeassistant/deps/phue.py”, line 737, in connect with open(self.config_file_path) as f: FileNotFoundError: [Errno 2] No such file or directory: ‘/home/homeassistant/.homeassistant/phue.conf’ During handling of the above exception, another exception occurred: Traceback (most recent call last): File “/home/homeassistant/.homeassistant/deps/phue.py”, line 653, in request connection.request(mode, address, data) File “/usr/lib/python3.4/http/client.py”, line 1090, in request self._send_request(method, url, body, headers) File “/usr/lib/python3.4/http/client.py”, line 1128, in _send_request self.endheaders(body) File “/usr/lib/python3.4/http/client.py”, line 1086, in endheaders self._send_output(message_body) File “/usr/lib/python3.4/http/client.py”, line 924, in _send_output self.send(msg) File “/usr/lib/python3.4/http/client.py”, line 859, in send self.connect() File “/usr/lib/python3.4/http/client.py”, line 836, in connect self.timeout, self.source_address) File “/usr/lib/python3.4/socket.py”, line 509, in create_connection raise err File “/usr/lib/python3.4/socket.py”, line 500, in create_connection sock.connect(sa) socket.timeout: timed out 2017-06-08 17:13:44 ERROR (MainThread) [homeassistant.components.light] Error while setting up platform hue Traceback (most recent call last): File “/home/homeassistant/.homeassistant/deps/phue.py”, line 737, in connect with open(self.config_file_path) as f: FileNotFoundError: [Errno 2] No such file or directory: ‘/home/homeassistant/.homeassistant/phue.conf’ During handling of the above exception, another exception occurred: Traceback (most recent call last): File “/home/homeassistant/.homeassistant/deps/phue.py”, line 653, in request connection.request(mode, address, data) File “/usr/lib/python3.4/http/client.py”, line 1090, in request self._send_request(method, url, body, headers) File “/usr/lib/python3.4/http/client.py”, line 1128, in _send_request self.endheaders(body) File “/usr/lib/python3.4/http/client.py”, line 1086, in endheaders self._send_output(message_body) File “/usr/lib/python3.4/http/client.py”, line 924, in _send_output self.send(msg) File “/usr/lib/python3.4/http/client.py”, line 859, in send self.connect() File “/usr/lib/python3.4/http/client.py”, line 836, in connect self.timeout, self.source_address) File “/usr/lib/python3.4/socket.py”, line 509, in create_connection raise err File “/usr/lib/python3.4/socket.py”, line 500, in create_connection sock.connect(sa) socket.timeout: timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py”, line 160, in _async_setup_platform SLOW_SETUP_MAX_WAIT, loop=self.hass.loop) File “/usr/lib/python3.4/asyncio/tasks.py”, line 372, in wait_for return fut.result() File “/usr/lib/python3.4/asyncio/futures.py”, line 277, in result raise self._exception File “/usr/lib/python3.4/concurrent/futures/thread.py”, line 54, in run result = self.fn(*self.args, **self.kwargs) File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/light/hue.py”, line 138, in setup_platform allow_in_emulated_hue, allow_hue_groups) File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/light/hue.py”, line 149, in setup_bridge config_file_path=hass.config.path(filename)) File “/home/homeassistant/.homeassistant/deps/phue.py”, line 629, in init self.connect() File “/home/homeassistant/.homeassistant/deps/phue.py”, line 753, in connect self.register_app() File “/home/homeassistant/.homeassistant/deps/phue.py”, line 707, in register_app response = self.request(‘POST’, ‘/api’, data) File “/home/homeassistant/.homeassistant/deps/phue.py”, line 661, in request raise PhueRequestTimeout(None, error) phue.PhueRequestTimeout: (None, ‘POST Request to 192.168.1.4/api timed out.’)

Forgot to mention, everything is on the same network and 192.168.1. Domain. Also, if I type the ip of the hue, I get an info page and if I type the ip/api/myusername/config I get a response with the name etc of the hub

It seems to be network related, how did you install HASS?
Does it run in a docker container? On a raspberry? You maybe have a firewall in between that block the connection?

Hi, I’m using the hassbian image in a pi zero w. It was the .4 version before .46 but I updated to .46 the other day to see if that would fix it. I can access the ip of the hue from my pc with no issues but the pi seems to be struggling.