xiongweixp 7e80c03d99 修改镜像为bullseye,并改为国内源 | 10 months ago | |
---|---|---|
eWeLink_Smart_Home | 10 months ago | |
.gitignore | 3 years ago | |
LICENSE | 3 years ago | |
README.md | 3 years ago | |
repository.json | 10 months ago |
git clone https://gitee.com/eWeLink/Home-Assistant-AddOn.git
cd Home-Assistant-AddOn/eWeLink_Smart_Home/
docker build . -t ewelink_smart_home
运行以下代码,将yourHomeAssistantUrl
替换成当前网络下的 HomeAssistant 地址
docker run -d \
--restart=always \
--network host \
-e HA_URL=yourHomeAssistantUrl \
ewelink_smart_home
示例
docker run -d \
--restart=always \
--network host \
-e HA_URL=http://192.168.1.100:8123 \
ewelink_smart_home
3000
端口