running hass.io on pi
my gui isnt coming up anymore
when i try to restart HA through ssh: it says there was an error and i should look at logs
dunno where i can find the logs? if i cant reach gui
Your logs are in /config/home-assistant.log
If you don’t have samba installed, just put your sd card in to your PC and read it that way.
Can someone look to my log pls
2020-02-15 14:27:36 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs 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.
2020-02-15 14:27:37 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=141 from 2020-02-15 12:30:46.834234)
2020-02-15 14:28:06 WARNING (MainThread) [homeassistant.setup] Setup of recorder is taking over 10 seconds.
2020-02-15 14:28:36 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for unifigateway 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.
2020-02-15 14:28:36 WARNING (MainThread) [homeassistant.setup] Setup of group is taking over 10 seconds.
2020-02-15 14:28:36 WARNING (MainThread) [homeassistant.setup] Setup of pi_hole is taking over 10 seconds.
2020-02-15 14:28:37 ERROR (MainThread) [hole] Can not load data from *hole: localhost:4865
2020-02-15 14:28:37 ERROR (MainThread) [homeassistant.components.pi_hole] Unable to fetch data from Pi-hole
2020-02-15 14:28:37 ERROR (MainThread) [glances_api] Can not load data from Glances API
2020-02-15 14:28:37 WARNING (MainThread) [homeassistant.config_entries] Config entry for glances not ready yet. Retrying in 5 seconds.
2020-02-15 14:28:54 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up unifigateway platform for sensor
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 157, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "/usr/local/lib/python3.7/site-packages/urllib3/util/connection.py", line 84, in create_connection
raise err
File "/usr/local/lib/python3.7/site-packages/urllib3/util/connection.py", line 74, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
chunked=chunked,
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 376, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 300, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 169, in _new_conn
self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x720d9eb0>: Failed to establish a new connection: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 720, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 436, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='192.168.99.3', port=8443): Max retries exceeded with url: /api/login (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x720d9eb0>: Failed to establish a new connection: [Errno 111] Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 159, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/unifigateway/sensor.py", line 85, in setup_platform
site_id=site_id, ssl_verify=verify_ssl)
File "/usr/local/lib/python3.7/site-packages/pyunifi/controller.py", line 89, in __init__
self._login()
File "/usr/local/lib/python3.7/site-packages/pyunifi/controller.py", line 137, in _login
r = self.session.post(login_url, json=params)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 581, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='192.168.99.3', port=8443): Max retries exceeded with url: /api/login (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x720d9eb0>: Failed to establish a new connection: [Errno 111] Connection refused'))
2020-02-15 14:28:54 ERROR (MainThread) [homeassistant.components.unifi] Error connecting to the UniFi controller at 192.168.99.3
2020-02-15 14:28:54 WARNING (MainThread) [homeassistant.config_entries] Config entry for unifi not ready yet. Retrying in 5 seconds.
2020-02-15 14:28:54 WARNING (MainThread) [homeassistant.setup] Setup of person is taking over 10 seconds.
2020-02-15 14:28:54 WARNING (MainThread) [homeassistant.components.weather] Setup of weather platform met is taking over 10 seconds.
2020-02-15 14:28:54 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform template is taking over 10 seconds.
2020-02-15 14:28:54 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform systemmonitor is taking over 10 seconds.
2020-02-15 14:28:54 WARNING (MainThread) [homeassistant.components.switch] Setup of switch platform template is taking over 10 seconds.
2020-02-15 14:28:54 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of binary_sensor platform updater is taking over 10 seconds.
2020-02-15 14:29:12 WARNING (MainThread) [homeassistant.components.remote] Setup of remote platform harmony is taking over 10 seconds.
2020-02-15 14:29:13 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.107.12
2020-02-15 14:29:13 WARNING (MainThread) [homeassistant.config_entries] Config entry for hue not ready yet. Retrying in 5 seconds.
2020-02-15 14:29:13 ERROR (MainThread) [aioharmony.hubconnector] 192.168.107.14: Exception on post: Connection timeout to host http://192.168.107.14:8088/
2020-02-15 14:29:14 ERROR (MainThread) [aioharmony.hubconnector] 192.168.107.14: Unable to retrieve HUB id
2020-02-15 14:29:14 WARNING (MainThread) [homeassistant.components.harmony.remote] Harmony Hub: Unable to connect to HUB.
2020-02-15 14:29:14 ERROR (MainThread) [metno] https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/1.9/ returned
2020-02-15 14:29:14 ERROR (MainThread) [homeassistant.components.met.weather] Retrying in 17 minutes
2020-02-15 14:29:15 WARNING (MainThread) [homeassistant.components.remote] Platform harmony not ready yet. Retrying in 30 seconds.
2020-02-15 14:29:18 WARNING (MainThread) [homeassistant.helpers.entity] Updating state for media_player.badkamer (<class 'homeassistant.components.sonos.media_player.SonosEntity'>) took 0.573 seconds. Please report platform to the developers at https://goo.gl/Nvioub
2020-02-15 14:31:13 WARNING (Thread-28) [pychromecast.socket_client] [Keuken:8009] Heartbeat timeout, resetting connection
2020-02-15 14:31:13 WARNING (Thread-29) [pychromecast.socket_client] [Noor Mini:8009] Heartbeat timeout, resetting connection
2020-02-15 14:31:14 WARNING (Thread-30) [pychromecast.socket_client] [Slaapkamer:8009] Heartbeat timeout, resetting connection
2020-02-15 14:31:17 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform mobile_app is taking over 10 seconds.
2020-02-15 14:31:17 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of binary_sensor platform mobile_app is taking over 10 seconds.
2020-02-15 14:31:17 WARNING (MainThread) [homeassistant.setup] Setup of hassio is taking over 10 seconds.
2020-02-15 14:31:17 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up mobile_app platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 159, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 435, in wait_for
await waiter
concurrent.futures._base.CancelledError
2020-02-15 14:31:17 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up mobile_app platform for binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 159, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 435, in wait_for
await waiter
concurrent.futures._base.CancelledError
2020-02-15 14:31:17 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /supervisor/ping request
2020-02-15 14:31:17 WARNING (MainThread) [homeassistant.components.hassio] Not connected with Hass.io / system to busy!
2020-02-15 14:31:17 ERROR (MainThread) [homeassistant.setup] Error during setup of component default_config
Traceback (most recent call last):
File "/usr/local/lib/python3.7/asyncio/runners.py", line 43, in run
return loop.run_until_complete(main)
File "/usr/local/lib/python3.7/asyncio/base_events.py", line 583, in run_until_complete
return future.result()
File "/usr/src/homeassistant/homeassistant/__main__.py", line 249, in setup_and_run_hass
safe_mode=args.safe_mode,
File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 89, in async_setup_hass
await async_from_config_dict(config_dict, hass)
File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 132, in async_from_config_dict
await _async_set_up_integrations(hass, config)
File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 377, in _async_set_up_integrations
*(async_setup_component(hass, domain, config) for domain in domains_to_load)
File "/usr/src/homeassistant/homeassistant/setup.py", line 49, in async_setup_component
return await task # type: ignore
File "/usr/src/homeassistant/homeassistant/setup.py", line 128, in _async_setup_component
await async_process_deps_reqs(hass, config, integration)
File "/usr/src/homeassistant/homeassistant/setup.py", line 290, in async_process_deps_reqs
hass, integration.domain
File "/usr/src/homeassistant/homeassistant/requirements.py", line 55, in async_get_integration_with_requirements
hass, integration.domain, integration.requirements
File "/usr/src/homeassistant/homeassistant/requirements.py", line 99, in async_process_requirements
if pkg_util.is_installed(req):
File "/usr/src/homeassistant/homeassistant/util/package.py", line 44, in is_installed
return version(req.project_name) in req
File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3138, in __contains__
return self.specifier.contains(item, prereleases=True)
File "/usr/local/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/specifiers.py", line 703, in contains
item = parse(item)
File "/usr/local/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/version.py", line 31, in parse
return Version(version)
File "/usr/local/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/version.py", line 200, in __init__
match = self._regex.search(version)
TypeError: expected string or bytes-like object
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 170, in _async_setup_component
hass, processed_config
File "/usr/src/homeassistant/homeassistant/components/default_config/__init__.py", line 17, in async_setup
return await async_setup_component(hass, "stream", config)
File "/usr/src/homeassistant/homeassistant/setup.py", line 49, in async_setup_component
return await task # type: ignore
concurrent.futures._base.CancelledError
Did you make any changes just prior to when it stopped working ?
updated hacs and added mqtt broker to the config file
i already deleted the part for mqtt
but i cant see that would be the reason, maybe hacs
anyway how to disable it?
Think found your issue. When I try to integrate the unifi sensor then hass.io fails to start and gives a lot of error in the python script of that integration. Seems that project for unifi is unfortunately abandoned.