问答社区分类: Home Assistant小白Home Assistant 跳浏览器 ERROR 404

小白Home Assistant 跳浏览器 ERROR 404

雕民 提问于 1月 前     2020年1月20日更新

C:\Users\Mac>hass –open-ui
Config directory: C:\Users\Mac\AppData\Roaming\.homeassistant
2020-01-14 16:42:55 INFO (SyncWorker_0) [homeassistant.loader] Loaded default_config from homeassistant.components.default_config
2020-01-14 16:42:55 INFO (SyncWorker_1) [homeassistant.loader] Loaded tts from homeassistant.components.tts
2020-01-14 16:42:55 INFO (SyncWorker_2) [homeassistant.loader] Loaded group from homeassistant.components.group
2020-01-14 16:42:55 INFO (SyncWorker_3) [homeassistant.loader] Loaded automation from homeassistant.components.automation
2020-01-14 16:42:55 INFO (SyncWorker_4) [homeassistant.loader] Loaded scene from homeassistant.components.scene
2020-01-14 16:42:55 INFO (SyncWorker_0) [homeassistant.loader] Loaded script from homeassistant.components.script
2020-01-14 16:42:55 INFO (SyncWorker_2) [homeassistant.loader] Loaded http from homeassistant.components.http
2020-01-14 16:42:55 INFO (SyncWorker_1) [homeassistant.loader] Loaded persistent_notification from homeassistant.components.persistent_notification
2020-01-14 16:42:55 INFO (SyncWorker_5) [homeassistant.loader] Loaded homeassistant from homeassistant.components.homeassistant
2020-01-14 16:42:55 INFO (SyncWorker_4) [homeassistant.loader] Loaded device_automation from homeassistant.components.device_automation
2020-01-14 16:42:55 INFO (MainThread) [homeassistant.setup] Setting up persistent_notification
2020-01-14 16:42:55 INFO (MainThread) [homeassistant.setup] Setup of domain persistent_notification took 0.0 seconds.
2020-01-14 16:42:55 INFO (MainThread) [homeassistant.setup] Setting up homeassistant
2020-01-14 16:42:55 INFO (MainThread) [homeassistant.setup] Setup of domain homeassistant took 0.0 seconds.
2020-01-14 16:42:55 INFO (SyncWorker_3) [homeassistant.loader] Loaded webhook from homeassistant.components.webhook
2020-01-14 16:42:55 INFO (SyncWorker_0) [homeassistant.loader] Loaded cloud from homeassistant.components.cloud
2020-01-14 16:42:55 INFO (SyncWorker_1) [homeassistant.loader] Loaded config from homeassistant.components.config
2020-01-14 16:42:55 INFO (SyncWorker_4) [homeassistant.loader] Loaded frontend from homeassistant.components.frontend
2020-01-14 16:42:55 INFO (SyncWorker_3) [homeassistant.loader] Loaded api from homeassistant.components.api
2020-01-14 16:42:55 INFO (SyncWorker_0) [homeassistant.loader] Loaded auth from homeassistant.components.auth
2020-01-14 16:42:55 INFO (SyncWorker_1) [homeassistant.loader] Loaded lovelace from homeassistant.components.lovelace
2020-01-14 16:42:55 INFO (SyncWorker_4) [homeassistant.loader] Loaded onboarding from homeassistant.components.onboarding
2020-01-14 16:42:55 INFO (SyncWorker_3) [homeassistant.loader] Loaded person from homeassistant.components.person
2020-01-14 16:42:55 INFO (SyncWorker_0) [homeassistant.loader] Loaded system_log from homeassistant.components.system_log
2020-01-14 16:42:55 INFO (SyncWorker_1) [homeassistant.loader] Loaded websocket_api from homeassistant.components.websocket_api
2020-01-14 16:42:55 INFO (SyncWorker_4) [homeassistant.loader] Loaded history from homeassistant.components.history
2020-01-14 16:42:55 INFO (SyncWorker_3) [homeassistant.loader] Loaded recorder from homeassistant.components.recorder
2020-01-14 16:42:55 INFO (SyncWorker_0) [homeassistant.loader] Loaded logbook from homeassistant.components.logbook
2020-01-14 16:42:55 INFO (SyncWorker_1) [homeassistant.loader] Loaded map from homeassistant.components.map
2020-01-14 16:42:55 INFO (SyncWorker_4) [homeassistant.loader] Loaded mobile_app from homeassistant.components.mobile_app
2020-01-14 16:42:55 INFO (SyncWorker_3) [homeassistant.loader] Loaded ssdp from homeassistant.components.ssdp
2020-01-14 16:42:55 INFO (SyncWorker_0) [homeassistant.loader] Loaded sun from homeassistant.components.sun
2020-01-14 16:42:55 INFO (SyncWorker_1) [homeassistant.loader] Loaded system_health from homeassistant.components.system_health
2020-01-14 16:42:55 INFO (SyncWorker_4) [homeassistant.loader] Loaded updater from homeassistant.components.updater
2020-01-14 16:42:55 INFO (SyncWorker_3) [homeassistant.loader] Loaded zeroconf from homeassistant.components.zeroconf
2020-01-14 16:42:55 INFO (MainThread) [homeassistant.bootstrap] Setting up {‘system_log’}
2020-01-14 16:42:55 INFO (MainThread) [homeassistant.setup] Setting up http
2020-01-14 16:42:55 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds.
2020-01-14 16:42:55 INFO (MainThread) [homeassistant.setup] Setting up system_log
2020-01-14 16:42:55 INFO (MainThread) [homeassistant.setup] Setup of domain system_log took 0.0 seconds.
2020-01-14 16:42:55 INFO (MainThread) [homeassistant.setup] Setting up recorder
2020-01-14 16:42:55 INFO (MainThread) [homeassistant.setup] Setting up webhook
2020-01-14 16:42:55 INFO (MainThread) [homeassistant.setup] Setup of domain webhook took 0.0 seconds.
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setting up cloud
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 2.3 seconds.
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 0.0 seconds.
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setting up person
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setting up ssdp
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setup of domain ssdp took 0.0 seconds.
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setting up group
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setup of domain group took 0.0 seconds.
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setting up updater
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 0.0 seconds.
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setting up lovelace
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setup of domain lovelace took 0.0 seconds.
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setting up sun
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.3 seconds.
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setting up scene
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.components.scene] Setting up scene.homeassistant
2020-01-14 16:42:58 INFO (SyncWorker_1) [homeassistant.loader] Loaded binary_sensor from homeassistant.components.binary_sensor
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setting up system_health
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setup of domain system_health took 0.0 seconds.
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setting up api
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setting up history
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.0 seconds.
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setting up device_automation
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setup of domain device_automation took 0.0 seconds.
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setting up script
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setup of domain script took 0.0 seconds.
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setting up config
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds.
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setup of domain scene took 0.1 seconds.
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setting up auth
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setup of domain auth took 0.0 seconds.
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setting up binary_sensor
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setup of domain binary_sensor took 0.0 seconds.
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.1 seconds.
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setup of domain person took 0.4 seconds.
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setting up automation
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.0 seconds.
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setup of domain config took 0.1 seconds.
2020-01-14 16:42:58 INFO (SyncWorker_3) [homeassistant.loader] Loaded google_translate from homeassistant.components.google_translate
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setting up mobile_app
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.updater
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setting up tts
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setting up onboarding
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setup of domain mobile_app took 0.0 seconds.
2020-01-14 16:42:58 INFO (SyncWorker_4) [homeassistant.loader] Loaded notify from homeassistant.components.notify
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setting up zeroconf
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setting up notify
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setup of domain notify took 0.0 seconds.
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 0.0 seconds.
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.components.notify] Setting up notify.mobile_app
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setup of domain onboarding took 0.0 seconds.
2020-01-14 16:42:58 INFO (MainThread) [homeassistant.setup] Setup of domain zeroconf took 0.0 seconds.
2020-01-14 16:42:58 INFO (SyncWorker_2) [homeassistant.util.package] Attempting install of home-assistant-frontend==20191204.1
2020-01-14 16:43:27 ERROR (SyncWorker_2) [homeassistant.util.package] Unable to install package home-assistant-frontend==20191204.1: ERROR: Exception:
Traceback (most recent call last):
File “c:\users\mac\appdata\local\programs\python\python38\lib\site-packages\pip\_vendor\urllib3\response.py”, line 425, in _error_catcher
yield
File “c:\users\mac\appdata\local\programs\python\python38\lib\site-packages\pip\_vendor\urllib3\response.py”, line 507, in read
data = self._fp.read(amt) if not fp_closed else b””
File “c:\users\mac\appdata\local\programs\python\python38\lib\site-packages\pip\_vendor\cachecontrol\filewrapper.py”, line 62, in read
data = self.__fp.read(amt)
File “c:\users\mac\appdata\local\programs\python\python38\lib\http\client.py”, line 454, in read
n = self.readinto(b)
File “c:\users\mac\appdata\local\programs\python\python38\lib\http\client.py”, line 498, in readinto
n = self.fp.readinto(b)
File “c:\users\mac\appdata\local\programs\python\python38\lib\socket.py”, line 669, in readinto
return self._sock.recv_into(b)
File “c:\users\mac\appdata\local\programs\python\python38\lib\ssl.py”, line 1241, in recv_into
return self.read(nbytes, buffer)
File “c:\users\mac\appdata\local\programs\python\python38\lib\ssl.py”, line 1099, in read
return self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “c:\users\mac\appdata\local\programs\python\python38\lib\site-packages\pip\_internal\cli\base_command.py”, line 153, in _main
status = self.run(options, args)
File “c:\users\mac\appdata\local\programs\python\python38\lib\site-packages\pip\_internal\commands\install.py”, line 382, in run
resolver.resolve(requirement_set)
File “c:\users\mac\appdata\local\programs\python\python38\lib\site-packages\pip\_internal\legacy_resolve.py”, line 201, in resolve
self._resolve_one(requirement_set, req)
File “c:\users\mac\appdata\local\programs\python\python38\lib\site-packages\pip\_internal\legacy_resolve.py”, line 365, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File “c:\users\mac\appdata\local\programs\python\python38\lib\site-packages\pip\_internal\legacy_resolve.py”, line 312, in _get_abstract_dist_for
abstract_dist = self.preparer.prepare_linked_requirement(
File “c:\users\mac\appdata\local\programs\python\python38\lib\site-packages\pip\_internal\operations\prepare.py”, line 191, in prepare_linked_requirement
unpack_url(
File “c:\users\mac\appdata\local\programs\python\python38\lib\site-packages\pip\_internal\download.py”, line 459, in unpack_url
unpack_http_url(
File “c:\users\mac\appdata\local\programs\python\python38\lib\site-packages\pip\_internal\download.py”, line 312, in unpack_http_url
from_path, content_type = _download_http_url(link,
File “c:\users\mac\appdata\local\programs\python\python38\lib\site-packages\pip\_internal\download.py”, line 551, in _download_http_url
_download_url(resp, link, content_file, hashes, progress_bar)
File “c:\users\mac\appdata\local\programs\python\python38\lib\site-packages\pip\_internal\download.py”, line 253, in _download_url
hashes.check_against_chunks(downloaded_chunks)
File “c:\users\mac\appdata\local\programs\python\python38\lib\site-packages\pip\_internal\utils\hashes.py”, line 80, in check_against_chunks
for chunk in chunks:
File “c:\users\mac\appdata\local\programs\python\python38\lib\site-packages\pip\_internal\download.py”, line 223, in written_chunks
for chunk in chunks:
File “c:\users\mac\appdata\local\programs\python\python38\lib\site-packages\pip\_internal\download.py”, line 188, in resp_read
for chunk in resp.raw.stream(
File “c:\users\mac\appdata\local\programs\python\python38\lib\site-packages\pip\_vendor\urllib3\response.py”, line 564, in stream
data = self.read(amt=amt, decode_content=decode_content)
File “c:\users\mac\appdata\local\programs\python\python38\lib\site-packages\pip\_vendor\urllib3\response.py”, line 529, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File “c:\users\mac\appdata\local\programs\python\python38\lib\contextlib.py”, line 131, in __exit__
self.gen.throw(type, value, traceback)
File “c:\users\mac\appdata\local\programs\python\python38\lib\site-packages\pip\_vendor\urllib3\response.py”, line 430, in _error_catcher
raise ReadTimeoutError(self._pool, None, “Read timed out.”)
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host=’files.pythonhosted.org’, port=443): Read timed out.
2020-01-14 16:43:27 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Requirements for frontend not found: [‘home-assistant-frontend==20191204.1’].
2020-01-14 16:43:27 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of map. Setup failed for dependencies: frontend
2020-01-14 16:43:27 ERROR (MainThread) [homeassistant.setup] Setup failed for map: Could not set up all dependencies.
2020-01-14 16:43:27 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of logbook. Setup failed for dependencies: frontend
2020-01-14 16:43:27 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not set up all dependencies.
2020-01-14 16:43:27 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: frontend, logbook, map
2020-01-14 16:43:27 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: Could not set up all dependencies.
2020-01-14 16:43:27 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 31.69s
2020-01-14 16:43:27 INFO (MainThread) [homeassistant.core] Starting Home Assistant
2020-01-14 16:43:27 INFO (MainThread) [homeassistant.core] Timer:starting
2020-01-14 16:43:27 INFO (SyncWorker_6) [homeassistant.components.zeroconf] Starting Zeroconf broadcast

1个回答
采纳

安装home-assistant-frontend==20191204.1出错,网络问题:pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host=’files.pythonhosted.org’, port=443): Read timed out.
下载这个包网络超时。
多重启几次试试;如果不行,就手工安装。

Andrew 版主 回答于 1月 前