Introduction to Home Assistant – (hassio)

If you like it, share it

Home Assistant is a software package for Raspberry that permit to create a environment (network) where you can include and control a lot of hardware(HW) of different producer in a unique interface.
For example you can include an control the SonOff, Kekeda, Shelly, Philips, Alexa, etc. There are two ways of managing devices which are: CLOUD and LOCAL.
CLOUD mode uses the device manufacturer’s servers and Home Assistant will do the same.
LOCAL mode uses our local network and therefore there is no problem if the Internet does not work. All of this HW are connected and controlled, via WiFi, directly from the Raspberry. In any case you can control you HW objects also via Ethernet.
There are two way to operate with your HW and are: PUSH and POLLING.
In PUSH mode if an object change status immediately send a notification to our Raspberry.
In POLLING mode you (Raspberry) must interrogate your object for know the status.
Of course is clear that is preferred to use our HW in LOCAL PUSH mode.

If you include in Home Assistant the SonOff bridge 433Mhz to Wifi, you can also control a 433 Mhz network.

You access to your Home Assistant via Web Server that is installed in the Raspberry, this means that you can access to Home Assistant via PC, Smartphone, Tablet, etc.

A theoretical Home Assistant network is shown below.


We chose for implement our Home Assistant the RASPBERRY PI 4 Modell B (64bit, 4GB ARM-Cortex-A72 4X 1,50 GHz, 4 GB RAM, WLAN-AC, Bluetooth 5, LAN, 4X USB, 2X Micro-HDMI) but is it possible use other cheaper models, see below.

The image to download for RASPBERRY PI 4 Modell B 64bit 4GB is: Raspberry Pi 4 Model B (excluding 8GB) 64bit
We suggest to use a ENDURANCE MicroSD of 64 GB, for example this.

Flash the downloaded image to an MicroSD using balenaEtcher.
After you are prepared your microSD insert it in the RASPBERRY PI 4 Modell B 64bit 4GB, connect an Ethernet cable and Power On.
At this point open a browser and type:
hassio.local:8123
if all is OK you must see the first page of your Home Assistant, see below.
In this page insert:
Name, User Name and Password and click on CREATE ACCOUNT and follow the instructions.

ATTENTION:
Some router don’t support the address: hassio.local:8123
if you are in this situation do this:
Find manually the IP of your Home Assistant using for example:
On Android FING
On Linux: the: NMAP command
On Windows: Angry IP Scanner (Free)


RESOURCES

Here there is a series of video in Italian language that explain how to install and how to use the Home Assistant (hassio).
See the new series that started in year 2020.
Video n.1, Video n.2, Video n.2, etc


Go here for Download and install Home Assistant, there is also a tutorial in English language.
More info and tips and tricks are here.


Customize your home page

For customize your home page you must click on the:

Next choose: CONFIGURE GUI

From the page that appears choose the + button.

From the page that appears choose ENTITIES

From the page that appears choose a NAME (below the name is ESP8266) and add/remove the ENTITIES that you need to show in this box.
At the end click on SAVE

For exit from this menu click on X, see below.


Save your configuration

For save your configuration do this:
Select: SUPERVISOR -> Snapshots
next follow the steps below.

Next follow the steps below.


FILE EDITOR

We suggest to install the: FILE EDITOR
that is useful to edit the future scripts.
For do this choose: SUPERVISOR -> ADS-On STORE