home-assistant

梦开始的地方

1
docker run -d --restart=always --name="home-assistant" -e TZ=Asia/Shanghai -v /root/data/docker_data/hassistant:/config -p 8123:8123 -v /etc/localtime:/etc/localtime:ro --net=host homeassistant/aarch64-homeassistant:latest

hacs 另一个梦开始的地方

试过好多,直接github下载hacs放到custom_components不可行

要用脚本

1
curl https://sl.zaqai.com/hacs.sh|bash

如果hacs确实安装不来,就先装个xiaomi-miot吧,同理,最好用脚本,虽然我直接放也成功过

1
wget -q -O - https://raw.fastgit.org/al-one/hass-xiaomi-miot/master/install.sh | HUB_DOMAIN=hub.fastgit.xyz ARCHIVE_TAG=latest bash -

nodered

1
docker run -d -p 1880:1880 --restart=always -e TZ="Asia/Shanghai" -v /root/data/docker_data/nodered:/data --name nodered nodered/node-red

https://blog.kcm-nixi.cn/2021/11/26/HomeAssistant%E7%9A%84%E9%AB%98%E7%BA%A7%E8%87%AA%E5%8A%A8%E5%8C%96-NodeRed%E7%9A%84%E4%BD%BF%E7%94%A8/