玩客云 docker安装homeassistant
docker pull portainer/portainer:latest
docker run -d \
--name="hass" \
--privileged \
--restart=unless-stopped \
-e TZ='Asia/Shanghai' \
-v /home/hass/config:/config \
--network=host \
homeassistant/armv7-homeassistant:latest
docker run -d \
--name="homeassistant" \
--privileged \
--restart=unless-stopped \
-e TZ='Asia/Shanghai' \
-v /home/hass/config:/config \
--network=host \
homeassistant/armv7-homeassistant:latest
-v /data/homeassistant/config这个自行修改
--network 这个一定注意,我就踩了这个坑,这个不加,导致homekit添加设备不成功。
安装HACS
wget -O - https://ghproxy.com/raw.githubusercontent.com/hasscc/get/main/get | HUB_DOMAIN=ghproxy.com/github.com DOMAIN=hacs REPO_PATH=hacs-china/integration ARCHIVE_TAG=china bash -
https://gitee.com/hacs-china