Hey there, thanks for the quick reply :)…
I’m Running latest 0.53.0 (Running in a python venv if that’s significant) version, and no the >10 s updates are continuous both on startup for setup and afterwards for updates - see a cropped part of my logs below (That’s the first few lines of MANY after a clean restart…
I’m just in the process of setting up a windows box to see if it’s rPi related so will report back if there’s any difference - I’d switch to windows but Lifx support is lacking as I understand it on windows
2017-09-26 11:37:09 WARNING (MainThread) [homeassistant.setup] Setup of device_tracker is taking over 10 seconds.
2017-09-26 11:37:38 ERROR (Thread-4) [homeassistant.components.light.hue] Cannot reach the bridge
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/light/hue.py", line 180, in update_lights
api = bridge.get_api()
File "/srv/homeassistant/lib/python3.4/site-packages/phue.py", line 838, in get_api
return self.request('GET', '/api/' + self.username)
File "/srv/homeassistant/lib/python3.4/site-packages/phue.py", line 651, in request
connection.request(mode, address)
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)
OSError: [Errno 101] Network is unreachable
2017-09-26 11:37:48 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.lifx__strip is taking over 10 seconds
2017-09-26 11:38:50 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.hue_ambiance_candle_3 is taking over 10 seconds
2017-09-26 11:38:50 ERROR (Thread-4) [homeassistant.components.light.hue] Cannot reach the bridge
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/light/hue.py", line 180, in update_lights
api = bridge.get_api()
File "/srv/homeassistant/lib/python3.4/site-packages/phue.py", line 838, in get_api
return self.request('GET', '/api/' + self.username)
File "/srv/homeassistant/lib/python3.4/site-packages/phue.py", line 663, in request
result = connection.getresponse()
File "/usr/lib/python3.4/http/client.py", line 1172, in getresponse
response.begin()
File "/usr/lib/python3.4/http/client.py", line 351, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.4/http/client.py", line 313, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/lib/python3.4/socket.py", line 371, in readinto
return self._sock.recv_into(b)
socket.timeout: timed out
2017-09-26 11:38:50 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.lifx__strip is taking over 10 seconds
2017-09-26 11:39:26 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.lounge_tv is taking over 10 seconds
2017-09-26 11:40:10 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.lounge_tv is taking over 10 seconds
2017-09-26 11:40:44 ERROR (Thread-3) [homeassistant.components.light.hue] Cannot reach the bridge
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/light/hue.py", line 180, in update_lights
api = bridge.get_api()
File "/srv/homeassistant/lib/python3.4/site-packages/phue.py", line 838, in get_api
return self.request('GET', '/api/' + self.username)
File "/srv/homeassistant/lib/python3.4/site-packages/phue.py", line 651, in request
connection.request(mode, address)
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)
OSError: [Errno 101] Network is unreachable
2017-09-26 11:40:54 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.lifx__strip is taking over 10 seconds
2017-09-26 11:41:15 WARNING (MainThread) [homeassistant.components.light] Updating lifx light took longer than the scheduled update interval 0:00:clock1030: