«
安装homeassistant+hacs+小米全家桶(免token)

时间:2022-4-7    作者:小风    分类:


玩客云安装docker+homeassistant+homekit

docker run -d --restart=always --name="home-assistants" -v /data/homeassistant/config:/config --net=host homeassistant/home-assistant:latest

网上一些教程会让输入

/data/homeassistant/config:/config -p 8123:8123homeassistant/home-assistant:latest

这个网络模式会导致在homeassistant中添加homekit集成时,虽然会出现二维码,但是家庭扫描后无法添加homebridge设备。Homekit需要使用host,这个坑折磨了我好久。。

homeassistant镜像大小约为1G,根据网速和运营商的不同,可能时间上略有差异。

安装完成后,访问ip:8123 例如192.168.0.168:8123 即可打开homeassistant。