what's going on everyone. Juan here and on today's video, I'm going to show you how
to install Hass.io in a Raspberry Pi 3 in a few simple steps. This video is part
one of a series of videos that I will make about home assistant based on the
Hass.io installation. For future videos I will cover how to set up remote
connection using DuckDNS so you can access your home a system from anywhere. We also
be exploring other available add-ons for Hass.io
for example the Node-RED add-on which I'm excited to start using a Home
Assistant and, I would also be bringing other projects where I will show you
how to automate and control different things around your home using Home
Assistant, Google Home, IFTTT, Node-RED and much more. So if you guys are new to the
channel and you like my videos definitely subscribe I hit the bell
button so like that you can notified anytime I upload a new video. All right
let's get started with part 1
the first thing that we need to do is download the latest version of Hass.io
from the Home Assistant website, You can find links for everything in the
description below. Then insert the SD card to the computer and use Etcher to copy
the image to the SD card. Click on Select Image, search and select the Hass.io image,
click on Select Drive and choose the SD card. Lastly click on Flash and give it a
couple minutes for the process to complete
All right so the SD card is ready. Now, let's set up the Pi to connect via Wi-Fi
to do this open the resin Boot Drive click on system-connections and select
the resin-sample file you can open it using just notepad or you can use a text
editor like Atom enter your Wi-Fi name under the SSID and the Wi-Fi password
under PSK then save the file, unmount the SD card from the computer, insert it
into the Raspberry Pi and start the Pi. Once the Pi boots go to hassio.local:8123
If the PI connected to the Wi-Fi
with no problem you will get a page with the Home Assistant logo in the middle.
give it a few minutes for the latest version of Home Assistant to install and
then refresh the page. All right so Home Assistant is now ready. We are going to
install the Configurator add-on to manage the Home Assistant configuration
files directly from the Home Assistant web interface. On the left side click on
Hass.io then go to Add-ons store and select Configurator. Click on install and
give it a couple minutes. After the installation is done we need to set up a
username and a password so we can protect access to the home assistant
configuration files make sure that the username and password are enclosed
within quotation marks. For the SSL we are going to leave it set to false for
now but if you set up remote access which we will in the next video you
will need to set it to true okay now click on save and then start to enable the
Configurator add-on scroll down and check the log to make sure that the
activation went well. No errors are showing on the log so the add-on is now
enabled to access the configurator and get access to the home assistant files
click on open web UI. Another tab opens where you have to sign in with the new
username and password that we set up and now we have access to the configuration.yaml
file and other home assistant files. To access the other files
available in home assistant you can click on the folder on the top left side
of the page. All right while we here inside the
configuration.yaml file let's go ahead and set up the password for the
Home Assistant web interface. Under HTTP we have the line # api_password
remove the hash "#" at the beginning to activate the line and type
a new password we also want to add a shortcut for the Configurator on the
side menu in home assistant allowing us to quickly access the Configurator ann-on
directly from the home assistant frontend. To do this add the following
to the configuration.yaml file then to save the changes click on the Save
icon at the top. To restore home assistant click on the menu icon on the
top right and then click on Restore HASS. Give it a minute and then refresh the
home assistant page. You'll be asked to enter the new home assistant password
that we set up. After you enter the password you can also see that the new
Configurator shortcut has been added to the side menu in the Home Assistant
frontend. Now even though we set up the Configurator add-on to access the
configuration files directly from home assistant we still have the option to
set up samba and access the folders locally from a specific computer
allowing us to use any text editor that we prefer to set up samba go into Hass.io
then add-on store, select the Samba share add-on and then click on install.
now on the config we can set up a few things. If you have your computer set up
with a specific workgroup name you can put it here otherwise the default is
workgroup you can also change the share folder name which is set up by default
to Hassio. Guest mode, you definitely want to have it disabled so no one can
access it without a username and a password. Under map we have five
different folders that we can select to see in the share folder. If you want to
disable one of them you can change it from true to false. Set up a username and
password so the share folder is secure. remember to enclose them with quotation
marks now for the interface if you have the Raspberry Pi connected to your router
with an Ethernet cable set it to eth0 if is connected via wireless set it to
wlan0. Once you're done click on save and then star to enable the Samba share add-on
check the log below to make sure that everything went well. And, as we can see
everything did. Now let's go ahead and check if we can access the Samba shared
folder from a Windows computer. Open Windows Explorer then network and
refresh the page if for some reason the share folder doesn't come up as it
happened to me here you can always manually map the folder. To do that right
click on Network and select Map Network Drive.
now type \\HASSIO\config and then click on Finish
Because it is the first time that you're accessing this folder you will
get a login window so enter the username and password that you created in the
Samba share add-on. Go back to This PC and you will see the new config share folder
to view the other share folders do the same steps and enter the name of the
specific folder at the end of the path. All right guys we're going to leave it
here for now but in the next video we're gonna set up remote access using DuckDNS
and we're gonna take a few steps to make sure that the connection is secure. If
you guys liked this video, give it a thumbs up. Don't forget
to subscribe, if you haven't done so already and I will see you in the next video.