问答社区小白第一次HomeAssistant安装 启动失败

小白第一次HomeAssistant安装 启动失败

6247101@qq.com 提问于 12月 前     2019年11月11日更新

Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
C:\Users\wanglin>hass
Config directory: C:\Users\wanglin\AppData\Roaming\.homeassistant
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.loader] Loaded websocket_ap
i from homeassistant.components.websocket_api
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.bootstrap] Home Assistant c
ore initialized
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.loader] Loaded history from
homeassistant.components.history
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.loader] Loaded recorder fro
m homeassistant.components.recorder
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.loader] Loaded http from ho
meassistant.components.http
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.loader] Loaded frontend fro
m homeassistant.components.frontend
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.loader] Loaded api from hom
eassistant.components.api
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.loader] Loaded system_log f
rom homeassistant.components.system_log
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.loader] Loaded auth from ho
meassistant.components.auth
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.loader] Loaded onboarding f
rom homeassistant.components.onboarding
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.loader] Loaded lovelace fro
m homeassistant.components.lovelace
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.loader] Loaded introduction
from homeassistant.components.introduction
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.setup] Setting up introduct
ion
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.components.introduction]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hello, and welcome to Home Assistant!
We’ll hope that we can make all your dreams come true.
Here are some resources to get started:
– Configuring Home Assistant:
https://home-assistant.io/getting-started/configuration/
– Available components:
https://home-assistant.io/components/
– Troubleshooting your configuration:
https://home-assistant.io/getting-started/troubleshooting-configurati
on/
– Getting help:
https://home-assistant.io/help/
This message is generated by the introduction component. You can
disable it in configuration.yaml.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.loader] Loaded persistent_n
otification from homeassistant.components.persistent_notification
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.setup] Setup of domain intr
oduction took 0.0 seconds.
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.setup] Setting up recorder
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.setup] Setting up http
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.setup] Setup of domain http
took 0.0 seconds.
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.setup] Setting up lovelace
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.setup] Setup of domain love
lace took 0.0 seconds.
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.setup] Setting up websocket
_api
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.setup] Setup of domain webs
ocket_api took 0.0 seconds.
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.setup] Setting up system_lo
g
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.setup] Setup of domain syst
em_log took 0.0 seconds.
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.setup] Setting up auth
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.setup] Setup of domain auth
took 0.0 seconds.
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.setup] Setting up onboardin
g
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.setup] Setting up api
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.setup] Setup of domain api
took 0.0 seconds.
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.setup] Setup of domain onbo
arding took 0.1 seconds.
2018-11-21 22:40:25 INFO (Thread-4) [homeassistant.util.package] Attempting inst
all of home-assistant-frontend==20181103.3
2018-11-21 22:40:25 WARNING (Recorder) [homeassistant.components.recorder] Ended
unfinished session (id=9 from 2018-11-21 14:37:05.983720)
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.setup] Setup of domain reco
rder took 0.4 seconds.
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.setup] Setting up history
2018-11-21 22:40:25 INFO (MainThread) [homeassistant.setup] Setup of domain hist
ory took 0.0 seconds.

2个回答
采纳

没看到错误。
第一次启动会安装一些python包,可能需要十分钟时间。

Andrew 版主 回答于 12月 前

启动报依赖错误该如何解决,需要安装哪些依赖?

18973946285 评论于 6天 前

重启hass,又会重新安装还缺少的依赖包。

提升安装速度,可以设置pip的镜像站点:https://study.163.com/course/courseLearn.htm?courseId=1006189053&share=2&shareId=400000000624093#/learn/video?lessonId=1053670878&courseId=1006189053

pip也可以手工安装,看:https://study.163.com/course/courseLearn.htm?courseId=1006189053&share=2&shareId=400000000624093#/learn/video?lessonId=1053696083&courseId=1006189053

Andrew 版主 评论于 4天 前
采纳

111
大佬这个改怎么办

18973946285 回答于 6天 前

有些包没有自动安装完成。解决方法如上

Andrew 版主 评论于 4天 前