I’ve filed an issue but it just got closed instantly without solution so i thought to repost it here. Maybe one of you guys have similar problems or can help me out.
Thanks in advance!!
Home Assistant release with the issue: 0.83.2 and 0.82.0
Last working Home Assistant release (if known): not a single one. Having these problems since the beginning.
Operating environment (Hass.io/Docker/Windows/etc.): Hass.io
Component/platform: Raspberry Pi 3 Model B
Description of problem:
I’m having these problems since a year right now and I can’t find the solution. I have a home assistant client running trough Hass.io on my raspberry Pi with the following components enabled:
Tado smart thermostat
Philips Hue lights
Ring Pro video doorbell
Z-wave network with lots of sensors
Sony Bravia TV
Apple TV (suddenly stopped working at the moment)
Spotify
Xiaomi air quality monitor
Gogogate 2 garage door trough a custom cover component
Asus router with device_tracker
I’m very happy with home assistant and it is wonderful software to build your own smart home. However there are always components who aren’t working after a reboot. In some home assistant versions it’s worse than in others. This last one is again terrible so I reloaded a snapshot with HA 0.82.0 which also has these problems but less serious.
When i reboot my system one of the following components isn’t loading and giving errors:
Tado smart thermostat → I’ve noticed that sometimes the climate component loads but none of the sensors and vice versa. But they do not load all at the same time.
Philips Hue lights → lights suddenly don’t load anymore without warning.
Ring pro video doorbell → I get an error with unable to load ring component.
It is a very strange problem because every time I reboot HA, one of the components work while the other two don’t load or partially load (in case of tado). When I do a reboot of the hass.io host system (and I am very lucky or the stars align or something) then everything loads like it should. I have a lot of errors during booting but I don’t know how to handle them. I’m getting desperate because I would really love to have a stable system. Maybe the raspberry Pi isn’t heavy enough to handle everything? I don’t know anymore.
Could you guys please take a look at my setup because I suppose that other users are also having the same problems if they start with expanding their system and building more complex automations.
You can find my configuration file in attachment. configuration.yaml (8.7 KB)
Error log during booting
2018-12-02 16:31:21 WARNING (MainThread) [homeassistant.components.http] legacy_api_password support has been enabled. If you don’t require it, remove the ‘api_password’ from your http config.
2018-12-02 16:31:30 WARNING (MainThread) [homeassistant.loader] You are using a custom component for media_player.alexa which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2018-12-02 16:31:30 WARNING (MainThread) [homeassistant.loader] You are using a custom component for battery_state which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2018-12-02 16:31:30 WARNING (MainThread) [homeassistant.loader] You are using a custom component for cover.gogogate2B which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2018-12-02 16:31:31 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.1.190
2018-12-02 16:31:31 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.1.190. Retrying in 2 seconds
2018-12-02 16:31:40 ERROR (MainThread) [homeassistant.components.climate] Error while setting up platform tado
Traceback (most recent call last):
File “/usr/local/lib/python3.6/urllib/request.py”, line 1318, in do_open
encode_chunked=req.has_header(‘Transfer-encoding’))
File “/usr/local/lib/python3.6/http/client.py”, line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File “/usr/local/lib/python3.6/http/client.py”, line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File “/usr/local/lib/python3.6/http/client.py”, line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File “/usr/local/lib/python3.6/http/client.py”, line 1026, in _send_output
self.send(msg)
File “/usr/local/lib/python3.6/http/client.py”, line 964, in send
self.connect()
File “/usr/local/lib/python3.6/http/client.py”, line 1392, in connect
super().connect()
File “/usr/local/lib/python3.6/http/client.py”, line 936, in connect
(self.host,self.port), self.timeout, self.source_address)
File “/usr/local/lib/python3.6/socket.py”, line 704, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File “/usr/local/lib/python3.6/socket.py”, line 745, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try againDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py”, line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/local/lib/python3.6/asyncio/tasks.py”, line 358, in wait_for
return fut.result()
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/climate/tado.py”, line 64, in setup_platform
tado, hass, zone, zone[‘name’], zone[‘id’])
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/climate/tado.py”, line 75, in create_climate_device
capabilities = tado.get_capabilities(zone_id)
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/tado.py”, line 114, in get_capabilities
return self.tado.getCapabilities(tado_id)
File “/usr/local/lib/python3.6/site-packages/PyTado/interface.py”, line 205, in getCapabilities
data = self._apiCall(cmd)
File “/usr/local/lib/python3.6/site-packages/PyTado/interface.py”, line 81, in _apiCall
response = self.opener.open(req)
File “/usr/local/lib/python3.6/urllib/request.py”, line 526, in open
response = self._open(req, data)
File “/usr/local/lib/python3.6/urllib/request.py”, line 544, in _open
‘_open’, req)
File “/usr/local/lib/python3.6/urllib/request.py”, line 504, in _call_chain
result = func(*args)
File “/usr/local/lib/python3.6/urllib/request.py”, line 1361, in https_open
context=self._context, check_hostname=self._check_hostname)
File “/usr/local/lib/python3.6/urllib/request.py”, line 1320, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -3] Try again>
2018-12-02 16:31:41 WARNING (MainThread) [homeassistant.setup] Setup of counter is taking over 10 seconds.
2018-12-02 16:31:42 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform wunderground is taking over 10 seconds.
2018-12-02 16:31:42 ERROR (MainThread) [homeassistant.components.sensor.wunderground] Error fetching WUnderground data: TimeoutError()
2018-12-02 16:31:42 WARNING (MainThread) [homeassistant.components.sensor] Platform wunderground not ready yet. Retrying in 30 seconds.
2018-12-02 16:31:47 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform ring is taking over 10 seconds.
2018-12-02 16:31:47 WARNING (MainThread) [homeassistant.components.media_player] Setup of platform spotify is taking over 10 seconds.
2018-12-02 16:31:52 WARNING (MainThread) [homeassistant.components.climate] Setup of platform tado is taking over 10 seconds.
2018-12-02 16:31:58 ERROR (MainThread) [homeassistant.components.media_player] spotify: Error on device update!
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/urllib3/connection.py”, line 159, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw)
File “/usr/local/lib/python3.6/site-packages/urllib3/util/connection.py”, line 57, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File “/usr/local/lib/python3.6/socket.py”, line 745, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try againDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py”, line 600, in urlopen
chunked=chunked)
File “/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py”, line 343, in _make_request
self._validate_conn(conn)
File “/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py”, line 839, in _validate_conn
conn.connect()
File “/usr/local/lib/python3.6/site-packages/urllib3/connection.py”, line 301, in connect
conn = self._new_conn()
File “/usr/local/lib/python3.6/site-packages/urllib3/connection.py”, line 168, in _new_conn
self, “Failed to establish a new connection: %s” % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fac642978>: Failed to establish a new connection: [Errno -3] Try againDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/requests/adapters.py”, line 449, in send
timeout=timeout
File “/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py”, line 638, in urlopen
_stacktrace=sys.exc_info()[2])
File “/usr/local/lib/python3.6/site-packages/urllib3/util/retry.py”, line 398, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=‘api.spotify.com’, port=443): Max retries exceeded with url: /v1/me/player/devices (Caused by NewConnectionError(‘<urllib3.connection.VerifiedHTTPSConnection object at 0x7fac642978>: Failed to establish a new connection: [Errno -3] Try again’,))During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py”, line 251, in _async_add_entity
await entity.async_device_update(warning=False)
File “/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py”, line 349, in async_device_update
await self.hass.async_add_executor_job(self.update)
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/media_player/spotify.py”, line 176, in update
player_devices = self._player.devices()
File “/usr/local/lib/python3.6/site-packages/spotipy/client.py”, line 848, in devices
return self._get(“me/player/devices”)
File “/usr/local/lib/python3.6/site-packages/spotipy/client.py”, line 148, in _get
return self._internal_call(‘GET’, url, payload, kwargs)
File “/usr/local/lib/python3.6/site-packages/spotipy/client.py”, line 110, in _internal_call
r = self._session.request(method, url, headers=headers, proxies=self.proxies, **args)
File “/usr/local/lib/python3.6/site-packages/requests/sessions.py”, line 524, in request
resp = self.send(prep, **send_kwargs)
File “/usr/local/lib/python3.6/site-packages/requests/sessions.py”, line 637, in send
r = adapter.send(request, **kwargs)
File “/usr/local/lib/python3.6/site-packages/requests/adapters.py”, line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host=‘api.spotify.com’, port=443): Max retries exceeded with url: /v1/me/player/devices (Caused by NewConnectionError(‘<urllib3.connection.VerifiedHTTPSConnection object at 0x7fac642978>: Failed to establish a new connection: [Errno -3] Try again’,))
2018-12-02 16:31:59 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform tado is taking over 10 seconds.
2018-12-02 16:32:08 WARNING (MainThread) [homeassistant.components.media_player.apple_tv] A <class ‘concurrent.futures._base.TimeoutError’> error occurred:
2018-12-02 16:32:30 WARNING (MainThread) [homeassistant.components.media_player.apple_tv] A <class ‘concurrent.futures._base.TimeoutError’> error occurred:
2018-12-02 16:32:51 WARNING (MainThread) [homeassistant.components.media_player.apple_tv] A <class ‘concurrent.futures._base.TimeoutError’> error occurred:
2018-12-02 16:33:02 ERROR (SyncWorker_4) [homeassistant.components.device_tracker.bluetooth_tracker] Error looking up Bluetooth device
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/bluetooth_tracker.py”, line 99, in update_bluetooth_once
result = bluetooth.lookup_name(mac, timeout=5)
File “/usr/local/lib/python3.6/site-packages/bluetooth/bluez.py”, line 59, in lookup_name
raise BluetoothError (“%s is not a valid Bluetooth address” % address)
bluetooth.btcommon.BluetoothError: _40:98:AD:AF:05:1A is not a valid Bluetooth address
2018-12-02 16:33:02 WARNING (MainThread) [homeassistant.components.binary_sensor.template] Could not render template Beweging voordeur, the state is unknown
2018-12-02 16:33:02 WARNING (MainThread) [homeassistant.components.binary_sensor.template] Could not render template Bel, the state is unknown
2018-12-02 16:33:02 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template Temperatuur koelkast adj, the state is unknown.
2018-12-02 16:33:04 WARNING (SyncWorker_19) [homeassistant.components.homekit] You have exceeded the device limit, which might cause issues. Consider using the filter option.
2018-12-02 16:33:04 WARNING (MainThread) [homeassistant.core] Unable to find service hue/hue_activate_scene
2018-12-02 16:33:12 ERROR (MainThread) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/urllib3/connection.py”, line 159, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw)
File “/usr/local/lib/python3.6/site-packages/urllib3/util/connection.py”, line 57, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File “/usr/local/lib/python3.6/socket.py”, line 745, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try againDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py”, line 600, in urlopen
chunked=chunked)
File “/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py”, line 343, in _make_request
self._validate_conn(conn)
File “/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py”, line 839, in _validate_conn
conn.connect()
File “/usr/local/lib/python3.6/site-packages/urllib3/connection.py”, line 301, in connect
conn = self._new_conn()
File “/usr/local/lib/python3.6/site-packages/urllib3/connection.py”, line 168, in _new_conn
self, “Failed to establish a new connection: %s” % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fac57a128>: Failed to establish a new connection: [Errno -3] Try againDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/requests/adapters.py”, line 449, in send
timeout=timeout
File “/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py”, line 638, in urlopen
_stacktrace=sys.exc_info()[2])
File “/usr/local/lib/python3.6/site-packages/urllib3/util/retry.py”, line 398, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=‘www.waze.com’, port=443): Max retries exceeded with url: /SearchServer/mozi?q=51.158627%2C+4.405611&lang=eng&origin=livemap&lon=19.04&lat=47.498 (Caused by NewConnectionError(‘<urllib3.connection.VerifiedHTTPSConnection object at 0x7fac57a128>: Failed to establish a new connection: [Errno -3] Try again’,))During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/waze_travel_time.py”, line 74, in
EVENT_HOMEASSISTANT_START, lambda _: sensor.update())
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/waze_travel_time.py”, line 203, in update
self._origin, self._destination, self._region)
File “/usr/local/lib/python3.6/site-packages/WazeRouteCalculator/WazeRouteCalculator.py”, line 37, in init
self.end_coords = self.address_to_coords(end_address)
File “/usr/local/lib/python3.6/site-packages/WazeRouteCalculator/WazeRouteCalculator.py”, line 57, in address_to_coords
response = requests.get(self.WAZE_URL + get_cords, params=url_options)
File “/usr/local/lib/python3.6/site-packages/requests/api.py”, line 75, in get
return request(‘get’, url, params=params, **kwargs)
File “/usr/local/lib/python3.6/site-packages/requests/api.py”, line 60, in request
return session.request(method=method, url=url, **kwargs)
File “/usr/local/lib/python3.6/site-packages/requests/sessions.py”, line 524, in request
resp = self.send(prep, **send_kwargs)
File “/usr/local/lib/python3.6/site-packages/requests/sessions.py”, line 637, in send
r = adapter.send(request, **kwargs)
File “/usr/local/lib/python3.6/site-packages/requests/adapters.py”, line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host=‘www.waze.com’, port=443): Max retries exceeded with url: /SearchServer/mozi?q=51.158627%2C+4.405611&lang=eng&origin=livemap&lon=19.04&lat=47.498 (Caused by NewConnectionError(‘<urllib3.connection.VerifiedHTTPSConnection object at 0x7fac57a128>: Failed to establish a new connection: [Errno -3] Try again’,))
2018-12-02 16:33:14 WARNING (MainThread) [homeassistant.components.media_player.apple_tv] A <class ‘concurrent.futures._base.TimeoutError’> error occurred:
2018-12-02 16:33:14 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform wunderground is taking over 10 seconds.
2018-12-02 16:33:14 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.master_bedroom is taking over 10 seconds
2018-12-02 16:33:15 ERROR (MainThread) [homeassistant.components.sensor.wunderground] Error fetching WUnderground data: TimeoutError()
2018-12-02 16:33:15 WARNING (MainThread) [homeassistant.components.media_player] Updating alexa media_player took longer than the scheduled update interval 0:00:10
2018-12-02 16:33:16 WARNING (MainThread) [homeassistant.components.sensor] Platform wunderground not ready yet. Retrying in 60 seconds.
2018-12-02 16:33:18 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 16:33:24 ERROR (MainThread) [homeassistant.helpers.entity] Update for climate.master_bedroom fails
Traceback (most recent call last):
File “/usr/local/lib/python3.6/urllib/request.py”, line 1318, in do_open
encode_chunked=req.has_header(‘Transfer-encoding’))
File “/usr/local/lib/python3.6/http/client.py”, line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File “/usr/local/lib/python3.6/http/client.py”, line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File “/usr/local/lib/python3.6/http/client.py”, line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File “/usr/local/lib/python3.6/http/client.py”, line 1026, in _send_output
self.send(msg)
File “/usr/local/lib/python3.6/http/client.py”, line 964, in send
self.connect()
File “/usr/local/lib/python3.6/http/client.py”, line 1392, in connect
super().connect()
File “/usr/local/lib/python3.6/http/client.py”, line 936, in connect
(self.host,self.port), self.timeout, self.source_address)
File “/usr/local/lib/python3.6/socket.py”, line 704, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File “/usr/local/lib/python3.6/socket.py”, line 745, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try againDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py”, line 221, in async_update_ha_state
await self.async_device_update()
File “/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py”, line 349, in async_device_update
await self.hass.async_add_executor_job(self.update)
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/climate/tado.py”, line 245, in update
self._store.update()
File “/usr/local/lib/python3.6/site-packages/homeassistant/util/init.py”, line 324, in wrapper
result = method(*args, **kwargs)
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/tado.py”, line 81, in update
data = self.tado.getState(sensor[‘id’])
File “/usr/local/lib/python3.6/site-packages/PyTado/interface.py”, line 197, in getState
data = self._apiCall(cmd)
File “/usr/local/lib/python3.6/site-packages/PyTado/interface.py”, line 81, in _apiCall
response = self.opener.open(req)
File “/usr/local/lib/python3.6/urllib/request.py”, line 526, in open
response = self._open(req, data)
File “/usr/local/lib/python3.6/urllib/request.py”, line 544, in _open
‘_open’, req)
File “/usr/local/lib/python3.6/urllib/request.py”, line 504, in _call_chain
result = func(*args)
File “/usr/local/lib/python3.6/urllib/request.py”, line 1361, in https_open
context=self._context, check_hostname=self._check_hostname)
File “/usr/local/lib/python3.6/urllib/request.py”, line 1320, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -3] Try again>