Home Assistant Core 集成·HACS插件教程
Before you can Install HACS you need to acknowledge the following:
What install method is your HA instance based on? HassOS, Home Assistant Container, Home Assistant Supervised or Home Assistant Core?
What is the underlying hardware, RPI, NUC or maybe openWRT 6 on a modem/router??
安装完毕Home Assistant Core套件后,需要安装HACS的可以参考下面教程。
total 16
homeassistant core安装 HACS插件正确方法
step 1、下载hacs(2022.9.25更新了6、7通用,限制了hacs能正常运行的版本)
step 2、安装hacs
错误方式
各种论坛下载hacs.zip,解压到HA目录下面的custom_components/hacs,重启。
结果就是报一大堆错误。
原因
包下载错误
正确方法:
进入HACS的官网(Prerequisites | HACS),进入download页面,提供了3种类型的包下载:
选择我们的Home Assistant CORE方式下载包
(和后面成功方式下载HACS包,对比了下解压后有些不一样,估计就是问题所在)
获取正确完整的HACS包,解压拷贝到HA目录的custom_components/hacs下,再重启HA,此时你就能在主页和集成里面发现HACS
进入HACS的官网(Prerequisites | HACS),进入download页面,选择我们的CORE方式的配置安装:
https://blog.csdn.net/qq_33611327/article/details/123047532
官网正确安装 hacs的方法
https://hacs.xyz/docs/setup/remove
图解具体操作
https://www.wundertech.net/how-to-install-hacs-on-home-assistant/
教程核心点就是提示HA配置的目录(DSM6、7都是这个):/var/packages/homeassistant/var/config
https://imnks.com/4167.html
https://zhuanlan.zhihu.com/p/637402821
How to Install HACS on Home Assistant (Supervised)
https://www.wundertech.net/how-to-install-hacs-on-home-assistant/
Before you can Install HACS you need to acknowledge the following:
HACS is not an addon, that is an integration. These are different things.
HACS 是 Home Assistant 上的一个第三方成。
全名:Home Assistant Community Store
网站:https://hacs.xyz/
HACS是一个自定义组件(集成)
What install method is your HA instance based on? HassOS, Home Assistant Container, Home Assistant Supervised or Home Assistant Core?
What is the underlying hardware, RPI, NUC or maybe openWRT 6 on a modem/router??
/home/homeassistant/.homeassistant/custom_components/hacs
解决GitHub的raw.githubusercontent.com无法连接问题 ...
你需要下载与ha 安装方式 相应的匹配的版本,而不是随便下载一个
安装完毕Home Assistant Core套件后,需要安装HACS的可以参考下面教程。
$ ll /home/homeassistant/.homeassistant/custom_components
total 16
drwxr-xr-x 4 homeassistant homeassistant 4096 mai 7 21:40 ./
drwxrwxr-x 10 homeassistant homeassistant 4096 mai 8 08:30 ../
drwxrwxr-x 4 homeassistant homeassistant 4096 mai 7 21:40 ble_monitor/
drwxr-xr-x 12 homeassistant homeassistant 4096 mai 7 21:15 hacs/
homeassistant core安装 HACS插件正确方法
step 1、下载hacs(2022.9.25更新了6、7通用,限制了hacs能正常运行的版本)
sudo -i
cd /var/packages/homeassistant/var/config
mkdir www
mkdir -p custom_components/hacs
cd custom_components/hacs
#注意:HA套件版内核老了,测试hacs v1.20.0运行OK
wget https://ghproxy.com/https://github.com/hacs/integration/releases/download/1.20.0/hacs.zip
7z x hacs.zip
step 2、安装hacs
2.1 配置---集成 里面搜索HACS
2.2 安装HACS
2.3 用github账户授权HACS登录
2.4 启动使用HACS
错误方式
wget https://github.com/hacs/integration/releases/latest/download/hacs.zip
各种论坛下载hacs.zip,解压到HA目录下面的custom_components/hacs,重启。
结果就是报一大堆错误。
原因
包下载错误
正确方法:
进入HACS的官网(Prerequisites | HACS),进入download页面,提供了3种类型的包下载:
选择我们的Home Assistant CORE方式下载包
(和后面成功方式下载HACS包,对比了下解压后有些不一样,估计就是问题所在)
获取正确完整的HACS包,解压拷贝到HA目录的custom_components/hacs下,再重启HA,此时你就能在主页和集成里面发现HACS
进入HACS的官网(Prerequisites | HACS),进入download页面,选择我们的CORE方式的配置安装:
https://blog.csdn.net/qq_33611327/article/details/123047532
官网正确安装 hacs的方法
https://hacs.xyz/docs/setup/remove
图解具体操作
https://www.wundertech.net/how-to-install-hacs-on-home-assistant/
教程核心点就是提示HA配置的目录(DSM6、7都是这个):/var/packages/homeassistant/var/config
https://imnks.com/4167.html
https://zhuanlan.zhihu.com/p/637402821
How to Install HACS on Home Assistant (Supervised)
https://www.wundertech.net/how-to-install-hacs-on-home-assistant/
0