Hassbian is our customized operating system for the Raspberry Pi 3. It is the easiest way of installing Home Assistant.
Hassbian是我们为Raspberry Pi 3定制的操作系统。它是安装Home Assistant的最简单方法。
安装Hassbian
自定义您的安装
Pi具体集成
了解如何执行常见任务
在您的Raspberry Pi上安装Home Assistant的最简单的方法是使用HASSBian:内置Home Assistant 的Raspberry Pi镜像。 镜像将在初始启动(约10分钟)时安装最新版本的Home Assistant。
使用 Etcher 将镜像烧录到您的SD卡
确保您的Raspberry Pi使用有线网络访问互联网。
将SD卡插入Raspberry Pi并将其打开。 Home Assistant 的初始安装大约需要5分钟。
上述步骤也有视频说明。 此视频中提供了其他信息。
初次启动后,您可以在浏览器地址 http://hassbian.local:8123 找到Home Assistant。 如果要通过SSH登录,默认用户名为 pi,密码为 raspberry (请通过运行 passwd 进行更改)。 Home Assistant配置位于 /home/homeassistant/.homeassistant/ 。
镜像中包含以下附加组件:
GPIO引脚可以使用。
蓝牙已准备就绪(仅支持 models ,无蓝牙LE)。
启用SSH服务器
一个名为 hassbian-config 的工具。
Technical Details
Home Assistant is installed in a virtual Python environment at /srv/homeassistant/
Home Assistant will be started as a service run by the user homeassistant
The configuration is located at /home/homeassistant/.homeassistant
技术细节
Home Assistant安装在虚拟Python环境中,位于 /srv/homeassistant/
Home Assistant 将作为由用户 homeassistant 运行的服务启动
配置位于 /home/homeassistant/.homeassistant
安装Home Assistant
Home Assistant 提供多种安装方式。 一个要求是你安装了 Python 。 对于Windows,我们至少需要Python 3.5和其他操作系统,至少Python 3.4.2。
Python 3.4.2.
一旦Home Assistant安装完了,请在控制台/终端中执行以下代码,检查设