
Changed link so it is less annoying for dev, through removing the home assistant domain from 'your device' link.
4.0 KiB
layout | title | description | date | sidebar | comments | sharing | footer |
---|---|---|---|---|---|---|---|
page | Install Home Assistant | Getting started: How to install Home Assistant. | 2016-09-26 21:00 | true | false | true | true |
The goal of this getting started guide is to install Hass.io on a Raspberry Pi. Hass.io is our own all in one solution that turns your Raspberry Pi or another device into the ultimate home automation hub.
Follow this guide if you want to get started with Home Assistant easily, or if you have no or little Linux experience.
For advanced users or if you have no Raspberry Pi at hand, check our [alternative installation methods](/docs/installation/). The [FAQ](/faq/#home-assistant-vs-hassio) explains more about the differences.
{% linkable_title Suggested hardware%}
We will need a few things to get started with installing Home Assistant. For best performance, we suggest the latest Raspberry Pi 3 Model B+. Links below are linking to Amazon US. If you're not in the US, you should be able to find these items in web stores in your country.
- Raspberry Pi 3 Model B+ + Power Supply (at least 2.5A)
- Micro SD Card. Get one that is Class 10 as they are more reliable. Size 32 GB or bigger recommended.
- SD Card reader. Part of most laptops, and also available as standalone USB sticks (the brand doesn't matter, just pick the cheapest)
- Ethernet cable (optional, Hass.io can work with WiFi as well)
- A USB-Stick (optional, allows for unattended configuration)
{% linkable_title Software requirements %}
- Download the Hass.io image for your device
- Download Etcher to write the image to an SD card
- Text Editor like Visual Studio Code
{% linkable_title Installing Hass.io %}
- Put the SD card in your SD card reader.
- Open Etcher, select the Hass.io image and flash it to the SD card.
- WiFi and Static IP setup only: Format a USB-Stick with name
CONFIG
, create the foldernetwork
and create the filemy-network
. Copy one of the examples to themy-network
file. - Unmount the SD card and remove it from your SD card reader.
- Insert the SD card into your Raspberry Pi 3. If you are going to use an Ethernet cable, connect that too.
- Connect your Raspberry Pi to the power supply, so it turns on.
- The Raspberry Pi will now boot up, connect to the Internet and download the latest version of Home Assistant, which will take about 20 minutes.
- Home Assistant will be available at http://hassio.local:8123. Shortly after the download has started, a simple preparation status page will be available at this URL. Point your browser there. The page refreshes automatically, and Home Assistant will be shown when the download is complete (this typically takes around 20 minutes).
- Please remember to secure your installation once you've finished with the installation process.
If your router doesn't support mDNS, then you'll have to use the IP address of your Pi instead of `hassio.local`. For example, `http://192.168.0.9:8123`. You should be able to find the IP address of your Pi from the admin interface of your router.
When you're done, remember to set up regular backups of your configuration. These backups will protect you from hardware failure and mistakes. On Hass.io you have snapshots (which you should copy off to another system), but you can back up to [GitHub](/docs/ecosystem/backup/backup_github/), [DropBox](/docs/ecosystem/backup/backup_dropbox/) and many other ways. All that matters is that you set them up and test them regularly.