Version modified by: Alone, if you are already using Home Assistant OS Turbo, no need to reinstall, it's built-in
HACS is an excellent Home Assistant integration store, however, it's difficult for Chinese users to download plugins or frontend cards from it, mainly due to the domestic network environment. This project uses Github proxy services provided by gitmirror.com and fastgit.org, allowing everyone to download plugins from the store more quickly.
HACS China relies on players with GitHub accounts sharing tokens to enable account-free usage. If you're willing to share your token, please click here to help those in need
This project is a modified version of the official HACS integration. Installing this project will overwrite the official integration, but no need to reconfigure the integration (shares the same configuration), so you can install with confidence. If you want to switch to the official version, simply reinstall using the official shell command.
Choose any one of the following methods!
wget -O - https://get.hacs.vip | bash -
# or
curl -fsSL get.hacs.vip | bashTerminal & SSH add-onAdd-on Installer: https://hacs.vip/get-addonRequires HAOS or Supervised version of HA
https://gitee.com/hacs-china/addonsHACS China Installer and install the add-onupgrade serviceRequires HACS China v1.33.0.3 or higher already installed
service: hacs.upgrade in Developer Toolsshell_command serviceconfiguration.yaml
shell_command:
update_hacs_china: |-
wget -O - https://get.hacs.vip | bash -action: shell_command.update_hacs_china in Developer ToolsDocker InstallationOnly for Docker version of HA without HACS installed
docker run -d \
--name homeassistant \
--privileged \
--restart=unless-stopped \
-e TZ=Asia/Shanghai \
-v /PATH_TO_YOUR_CONFIG:/config \
-v /run/dbus:/run/dbus:ro \
--network=host \
hacn/hacn:stableservices:
homeassistant:
container_name: homeassistant
image: hacn/hacn:stable
volumes:
- /PATH_TO_YOUR_CONFIG:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
restart: unless-stopped
privileged: true
network_mode: host/usr/share/hassio/homeassistant haos/hassio host machine/config haos/hassio's Samba or Terminal & SSH add-on$HOME/.homeassistant default configuration directory for HA installed in core mode-v parametercustom_components folder in HA configuration directory (ignore if already exists)hacs folder in custom_components directory (delete and recreate if already exists)hacs folder