刷固件工具,把hassos_rpi3-1.9.img.gz (不用解压),刷到TF卡上。
刷固件的过程就不详细讲了,可以参考官方安装说明。https://www.home-assistant.io/getting-started/
二、开始避坑
(一)坑一:(其实不是坑)WIFI不知道怎么连接。(建议还是用直接联网线)
这里也不详细讲了,大概就是找个U盘,格式化(不一定),命名为CONFIG,在根目录创建network文件夹,新建一个网络配置文件(原文:WiFi setup only: Format a USB-Stick with name CONFIG and copy one of
_ _ _
| | | | (_)
| |__| | __ _ ___ ___ _ ___
| __ |/ _` / __/ __| | |/ _ \
| | | | (_| \__ \__ \_| | (_) |
|_| |_|\__,_|___/___(_)_|\___/
Welcome on Hass.io CLI for HassOS.
For more details use 'help' and 'exit' to close.
If you need access to host system use 'login'.
hassio > NAME:
hassio - Commandline tool to allow interation with hass.io
USAGE:
hassio [global options] command [command options] [arguments...]
VERSION:
1.3.1
AUTHOR:
Home-Assistant <[email][email protected][/email]>
COMMANDS:
homeassistant, ha info, logs, check, restart, start, stop, update
supervisor, su info, logs, reload, update
host, ho reboot, shutdown, update
hardware, hw info, audio
network, ne info, options
snapshots, sn list, info, reload, new, restore, remove
addons, ad list, info, logo, changelog, logs, stats,
reload, start, stop, install, uninstall, update
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--debug, -d Prints Debug information
--help, -h show help
--version, -v print the version
在这里可以使用上面提示的指令,查看supervisor\homeassistant\network\的状态,如
输入 ha info 查看ha的版本号,是否启动,端口等
输入 ha logs 查看ha的log文件
输入 su info 查看supervsor的版本、状态
输入 su logs 查看supervisor的日志