JuanMTech is supported by you. I may earn an affiliate commission when buying through links on the site.
The article and video are no longer up to date. A new version of this guide was made available on Feb. A few months back, I show you how to install Home Assistant using the Hassbian installation, which was a simple method to set it up in a Raspberry Pi. Today, I want to show you how to set up Home Assistant using the Hass.
This article is part 1 of a series of articles that I would make about Home Assistant based on the Hass. In future articles, I would cover how to set up a remote connection using DuckDNS so you can access home Assistant from anywhere. The first thing that we need to do is download the latest version of Hass.
Click on Select Image. Search and select the Hass. Click on Select Drive and choose the SD card. Lastly, click on Flash and give it a few minutes for the process to complete. You can open it using just the regular notepad in Windows, or you can use a text editor like Atom. Save the file, unmount the SD card from the computer, insert it into the Raspberry Pi and power on the Pi.
Once the Pi boots, go to hassio. Give it a few minutes for the latest version of Home Assistant to install and then refresh the page. After Home Assistant loads for the first time via hassio.
On the left side, click on Hass. Then go to Add-on Store and select Configurator. Click on Install and give it a couple of minutes.Home Assistant Beginners Guide: Installation, Addons, Integrations, Scripts, Scenes, and Automations
Once the installation finish, set up a username and a password so you can protect access to the Home Assistant configuration files. For the SSLleave it set to false for now but, if you set up remote access, which we will cover in the next article, you will need to set it to true.
When finished, click on Save and then Start to enable the Configurator add-on. Scroll down and check the Log to make sure that activation went well. If no errors are showing in the Log, then the setup went well, and the add-on is now enabled. Another tab opens where you have to sign in with the new username and password that you created. After you sign in, you will have access to the configuration. Now that you have access to the configuration. We also want to add a shortcut for the configurator on the side Menu in Home Assistant, allowing us to quickly access the Configurator add-on directly from the Home Assistant frontend.
To do this add the following to the configuration.There are three different ways to get Home Assistant running on the Rasp-Pi; in increasing level of complexity: 1 using Hass. Since I started with a flesh Rasp-Pi 3B and intended to dedicate the Pi as a dedicated home automation hub, I went with the first install option. The install went fine however, the Rasp-pi got stuck at the boot screen.
I then tired the bit version on the same card, no luck either. Having no luck with the simple Hass. It took me a couple of tries, but I finally got it to work.
The procedures are:. After installing Raspbian and Hass. Although this is enough for my home automation setup, I switched to a 64GB UHS-I V30 card to see if there is any notable differences in performance, and it did. I was happy with the performance improvement and kept the 64GB card. You are commenting using your WordPress. You are commenting using your Google account. You are commenting using your Twitter account.
You are commenting using your Facebook account. Notify me of new comments via email. Notify me of new posts via email. Skip to content There are three different ways to get Home Assistant running on the Rasp-Pi; in increasing level of complexity: 1 using Hass.
I used the Raspbian Stretch with desktop version, since this gives me the option of running the GUI desktop on the Rasp-pi. Use Etcher to flash the downloaded image onto an SD card. Since the Rasp-pi is going to be the home automation hub, I set it up to run in a head-less, unattended mode. The install process will take 20 to 30 mins. Once the install is complete, the image above will be replaced by Home Assistant login screen.
Proceed with account creation by entering a new user name and password. For that purpose, it will be easier to assigned it a fixed address. Share this: Twitter Facebook.GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
If nothing happens, download GitHub Desktop and try again. If nothing happens, download Xcode and try again. If nothing happens, download the GitHub extension for Visual Studio and try again.
This script will install all requirementsand then install Hass. Please report any issues that experience. This project keeps a change log.
The format of the log is based on Keep a Changelog. In a nutshell, the version will be incremented based on the following:. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
Skip to content. Dismiss Join GitHub today GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. Sign up. Shell Branch: master. Find file. Sign in Sign up. Go back. Launching Xcode If nothing happens, download Xcode and try again. Latest commit. Latest commit May 28, You signed in with another tab or window.
Reload to refresh your session.
Keep updated with all the cool stuff on Electromaker.io!
You signed out in another tab or window. Add Travis CI config 7. May 15, May 28, Home Assistant is an home automation hub. An home automation hub is a place where different devices with different protocols communicate with each other. This means you can link all your devices in just one place and build cool automations based on the state of all your devices. Home Assistant is the biggest open-source home automation platform to date and it supports different components.
There are different ways to install Home Assistant. You can run it on your computer or use a Raspberry Pi to act as an exclusive home automation hub. We recommend using Raspberry Pi 3. Click on the Raspberry Pi 3 link to download the Hass. Select the appropriate installation for your operating system.
Then, click Flash! Note: you need to have your SD card formatted before doing this step. Wait a few minutes while Etcher flashes the image on the SD card. Let it complete the installation.
Setting WiFi up via the command line
Then, refresh your web page and you should see the Home Assistant user interface default view. There are several add-ons you can add to get home assistant even better. You can also install other add-ons that you might find useful.
This is useful so that you can access and change your Home Assistant configuration settings through your computer. Open it and there should be a couple of folders, including the config folder. We also recommend installing the SSH server add-on. We recommend rebooting your Pi after installing the add-ons.Home Assistant is an Open source home automation tool that is constantly being updated and enhanced through contributions from a large DIY community.
Home Assistant is perfect to run on a Raspberry Pi or a local server to bring together various different technologies for a cohesive ecosystem, create automation and rules and integrate with your smart speaker.
This article is targeted to those who are planning to set up Home Assistant using Hassio for the first time.
Installing Home Assistant on the Raspberry Pi
Refer to my Instruction video here or follow the detailed instructions below:. Home Assistant is the program which we will be using and can pretty much be built to work on most key operating systems. However, there are a couple of different builds that are available depending on the technology and purpose for automation including:.
For the purposes of this article, we will be using Hassio. The Hassio site has a detailed installation instructions within their webpage however, there are a few steps that are unclear which are further explained below. Determine which device to which you will be deploying Hassio. Commence download of the file as it will take some time depending on your download speed. You will need software to install the Hassio image onto your MicroSD card. I recommend using Etcher which is a free, open source software to flash devices.
Use your preferred software to flash the image downloaded in Step 2 onto a MicroSD card. If you are planning to use WiFi on your Hassio build, then you will need to create a file on a USB memory stick and plug it into the Raspberry Pi before you boot it up.
If all has gone well, you should now be able to connect to your Hassio installation through your browser. Wait a while and then refresh until it is accessible to then allow you to create an initial account with a password. You should then be presented with the initial state screen and potentially some devices that have automatically been detected on your network. You may already have some devices discovered, however you will need to get access to the configuration files to add additional devices and sensors.
Setup Home Assistant on Raspberry Pi
An easy way to do this is to add the Samba share add-on. Your configuration files should now be accessible through Windows Explorer e.Once you download the file, there is no need to unzip it. Put a blank mini SD card and adapter into your Windows machine. No need to format it. You can use a new SD card right out of the package. After you flash burn the image, File Explorer may have trouble seeing it. A simple fix is to pull the SD card out then plug it back in.
For security reasons, ssh is no longer enabled by default. But to do that in Windows you have to install the Bonjour service first.
Download Bonjour Print Services for Windows v2. This part assumes that ssh is enabled for your image and that the default user is pi with a password of raspberry. You may need to make some adjustments for your network. Select the options for changing the hostname and password. On a new image, I would also recommend expanding the file system now under the Advanced options. Once the changes are made, reboot. This will cause your Raspberry Pi to lose the connection. After it has had time to reboot, connect again using Putty.
Once connected you should be able to fix any issues. Step 1. Step 2. Step 3. Enable ssh For security reasons, ssh is no longer enabled by default.
Learn about Hass. Home Assistant is an excellent piece of software which boasts smart home control and smart home automation features.
Alternatively, you may install Home Assistant manually on a Raspbian image. The software itself is an open-source platform for controlling and automating smart home devices. For a Hass. Therefore, getting started with Hass. First, head over to the Home Assistant website. Download the Hass. To do so, first select the image file, and then choose your bootable media location. Change the ssid entry to the name of your Wi-Fi network, and make psk the password for your network.
The Pi should turn on, and download the most recent Home Assistant iteration. This may take a bit of time to complete, so be patient. As soon as Hass. While Hass. Hassbian vs Hass. Begin by downloading the Hassbian image.