HomeAssistant adds HACS plug-in and realizes public network control of Mijia, HomeKit and other smart homes
Article directory
The above introduced how to implement Synology Docker to deploy HomeAssistant and control the home center outdoors through intranet penetration. This article will introduce how to install the HACS plug-in store and connect Mijia and Guojia devices to Home Assistant.
Basic conditions
- HomeAssistant is installed.
- Deploy HomeAssistant on Win, Linux, Macos:How to build a Home Assistant smart home system and achieve remote control of home devices through intranet penetration - cpolar pole cloud
1. Download HACS source code
Download hacs source code:Releases · hacs/integration (github.com)
Upload to Synology
Place all files in/docker/homeassistant/config/custom_components/hacs
directory
Currentlycustom_components
Downhacs
Full text items with additional text
Restart containers in Docker
2. Add HACS integration
Lower left corner, click Configure
Equipment and Services
Add integration
searchhacs
Check all options
It prompts that you need to click on the link in the middle to jump to GitHub for verification. Copy the verification code below.
Paste, submit
Verification completed
Refresh it and the HACS option will appear on the left. Enter to install various plug-ins and device links.
To access the fixed address mapped in the previous article, you can use the HACS plug-in store simultaneously:
How to fix the public network address to access HomeAssistant, please see for details:Use Synology Docker to build HomeAssistant and achieve remote public network access - cpolar Jiidian Cloud
3. Bind Mijia devices
Search xiaomi and click download
Prompt that the container needs to be restarted
The operation is the same as installing HACS. After adding it, log in to your Mijia account and you can use it.
Automatically identify all Mijia devices bound to the account. The one I bound is a Xiaomi router. After clicking Submit, you can control the Mijia devices.
At this point, we have realized using a fixed public network address to control Xiaomi devices at home remotely.
If it is an Apple HomeKit device, select设备与服务
, click on the lower right corner添加集成
, searchhomekit
, selectApple
, and then follow the guidance.
Through these two articles, we have implemented the deployment of HomeAssistant using Synology Docker and can access and control smart homes such as Mijia outdoors.