先在HA中安装好Advanced SSH & Web Terminal
电脑终端输入:
ssh [email protected] -p 22
# 192.168.31.XX 改成你 HA 的 IP
# -p 22 是你在配置里设的端口开始连接HA,如下
The authenticity of host '[192.168.5.*]:222 ([192.168.5.*]:222)' can't be established.
ED25519 key fingerprint is: SHA256:AUKST0d2luvNcIoiaUt+E3K***************
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])?输入yes,进入HA,如下
Warning: Permanently added '[192.168.5.*]:222' (ED25519) to the list of known hosts.
[email protected].*'s password:先输入Advanced SSH & Web Terminal设置的密码,后输入HA登录密码,再输入安装指令:如xiaomi
cd config
git clone https://github.com/XiaoMi/ha_xiaomi_home.git
cd ha_xiaomi_home
./install.sh /config