mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-11 19:36:50 +00:00
Add some links and minor changes
This commit is contained in:
parent
1d8c993daa
commit
311748c31d
@ -7,40 +7,40 @@ date_formatted: "May 1, 2017"
|
|||||||
author: Avraham David Gelbfish
|
author: Avraham David Gelbfish
|
||||||
author_twitter: adgelbfish
|
author_twitter: adgelbfish
|
||||||
comments: true
|
comments: true
|
||||||
categories: tutorial
|
categories: How-To
|
||||||
og_image: /images/blog/2017-05-hassbian-pi-zero/home_assistant_plus_rpi_600x315.png
|
og_image: /images/blog/2017-05-hassbian-pi-zero/home_assistant_plus_rpi_600x315.png
|
||||||
---
|
---
|
||||||
|
|
||||||
<p class="img">
|
<p class="img">
|
||||||
<img src="/images/blog/2017-05-hassbian-pi-zero/home_assistant_plus_rpi_600x315.png" />
|
<img src="/images/blog/2017-05-hassbian-pi-zero/home_assistant_plus_rpi_600x315.png" />
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
Saw the announcement yesterday for Hassbian 1.2.1 and got super excited?
|
Saw the [announcement](/blog/2017/04/30/hassbian-1.21-its-about-time/) yesterday for HASSbian 1.21 and got super excited?
|
||||||
|
|
||||||
Today we'll flash the latest Hassbian to a Raspbery Pi Zero W.
|
Today we'll flash the latest HASSbian to a [Raspbery Pi Zero W](https://www.raspberrypi.org/products/pi-zero/).
|
||||||
**With an added bonus** that besides for a usb cable for power, there's no need for any cables!
|
**With an added bonus** that besides for an USB cable for power, there's no need for any cables!
|
||||||
|
|
||||||
What you'll need:
|
What you'll need:
|
||||||
- a Raspberry Pi Zero W (an amazing tiny computer with built-in wifi)
|
- a Raspberry Pi Zero W (an amazing tiny computer with built-in wifi)
|
||||||
- a microSD card
|
- a microSD card
|
||||||
- some source of USB power
|
- some source of USB power
|
||||||
- wifi
|
- Wifi
|
||||||
- a desktop or laptop
|
- a desktop or laptop
|
||||||
|
|
||||||
Let's get to it!
|
Let's get to it!
|
||||||
|
|
||||||
First, download the Hassbian 1.21 image from [here](https://github.com/home-assistant/pi-gen/releases/tag/v1.21).
|
First, download the HASSbian 1.21 image from [here](https://github.com/home-assistant/pi-gen/releases/tag/v1.21).
|
||||||
|
|
||||||
Unzip it.
|
Unzip it.
|
||||||
|
|
||||||
Flash it to the microSD card. (if you need a flash tool, try [Etcher](https://etcher.io/))
|
Flash it to the microSD card. If you need a flash tool, try [Etcher](https://etcher.io/)
|
||||||
|
|
||||||
When the flashing finishes, remove it and plug it back in.
|
When the flashing finishes, remove it and plug it back in. You should see a drive called "boot".
|
||||||
You should see a drive called "boot".
|
|
||||||
|
|
||||||
Right in there, not in any folders, create a file called wpa_supplicant.conf.
|
Right in there, not in any folders, create a file called `wpa_supplicant.conf`.
|
||||||
|
|
||||||
The contents of the config file should be something like this:
|
The contents of the configuration file should be something like this:
|
||||||
(You may have to adjust for your config, hints [here](https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md) )
|
(You may have to adjust for your configuration, hints [here](https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md) )
|
||||||
|
|
||||||
```
|
```
|
||||||
network={
|
network={
|
||||||
@ -50,21 +50,22 @@ network={
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Next stick your SD card into the Raspberry Pi Zero W, and plug it in.
|
||||||
|
|
||||||
Next stick your card into the Raspberry Pi Zero W, and plug it in.
|
After about a minute, use your SSH client to connect to HASSbian (or `hassbian.local` from a Mac), with the username `pi`. The default password is `raspberry`.
|
||||||
|
|
||||||
After about a minute, use your ssh client to connect to hassbian (or hassbian.local from a mac), with the username pi. The default password is raspberry.
|
|
||||||
|
|
||||||
It's a good idea to change the password. To do so, use the `passwd` command.
|
It's a good idea to change the password. To do so, use the `passwd` command.
|
||||||
|
|
||||||
Next, type the following two commands into the ssh console:
|
Next, type the following two commands into the SSH console:
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo systemctl enable install_homeassistant.service
|
$ sudo systemctl enable install_homeassistant.service
|
||||||
sudo systemctl start install_homeassistant.service
|
$ sudo systemctl start install_homeassistant.service
|
||||||
```
|
```
|
||||||
|
|
||||||
Wait about 15 - 20 minutes and Viola! you have your home assistant on your pi in 30 minutes.
|
Wait about 15-20 minutes and voilà you have your Home Assistant on your Raspberry Pi Zero W in 30 minutes.
|
||||||
|
|
||||||
To try it out, go to [http://hassbian:8123](http://hassbian:8123) or [http://hassbian.local:8123](http://hassbian.local:8123) if you're using Mac
|
To try it out, go to [http://hassbian:8123](http://hassbian:8123) or [http://hassbian.local:8123](http://hassbian.local:8123) if you're using Mac.
|
||||||
|
|
||||||
|
For further details about HASSbian, take a look at the [documentation](https://home-assistant.io/docs/hassbian/).
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user