1. 安装python 3

从下面路径 下载python3 安装包,一路Next

  1. 安装home assistant
# 安装
pip3 install homeassistant
# 启动homeassistant
py -m homeassistant --open-ui

启动后,会看到一系列加载过程。默认情况下,配置文件路径为

C:\Users\Administrator\AppData\Roaming\.homeassistant
  1. 修改配置
hass -config /new_conf_path
# 更新版本
pip3 install --upgrade homeassistant
# 在不运行的情况下,测试配置文件是否正确
hass --script check_config
Last modification:February 6, 2019
如果觉得文章对你有用,请随意赞赏