Home Assistant Tutorials How to Hassio
0
This is article 4 of a series of articles on installing and configuring Home Assistant.
  • 1. Smart home. The choice.
  • 2. Home Assistant. The choice of iron.
  • 3. Install Armbian on Orange Pi Zero Plus2
  • 4. Home Assistant. Installation in docker on Orange Pi Zero +2 H5. And why is it bad.
  • 5. Home Assistant. Installation on Orange Pi Zero +2 H5
  • 6. Home Assistant. Configure VS Code. Themes. The first scenario.
  • 7. Home Assistant. Connecting the eaves over the air.

Connect to Orange Pi with Armbian installed over the network:

ssh [email protected]

smarttone Is the name of the user you created when installing Armbian.

192.168.10.12 – ip address received by Orange Pi from the router.

You can connect to the Orange Pi via USB-OTG using, for example, Putty. The way we did when we installed Armbian. Or by connecting a keyboard and monitor to the Orange Pi.

Having connected, we pay attention to the amount of occupied memory of both eMMC and RAM. It looks like this for me:

Install Home Assistant in Docker on Orange Pi Zero 10

Your values ​​may vary – it all depends on the updates and packages that you installed. When we finish the installation, compare with what we get in the end.

The Home Assistant smart home system is very popular and Armbian developers have made the installation process as easy as possible.

Run armbian-config:

sudo armbian-config

In the menu that opens, select “Software System and 3rd party software install”:

Install Home Assistant in Docker on Orange Pi Zero 11

Further “Softy 3rd party applications installer”:

Install Home Assistant in Docker on Orange Pi Zero 12

Find and mark the “Hassio Home assistant smarthome suite”:

Install Home Assistant in Docker on Orange Pi Zero 13

Push “”, Installation of packages begins:

Install Home Assistant in Docker on Orange Pi Zero 14

You need to wait a few minutes.

After a while, we are returned to the armbian-config menu. We see that in addition to Hassio, we also have Docker

Install Home Assistant in Docker on Orange Pi Zero 15

Click again”

The menu is updated and we see the inscription: “(*) Hassio Active on http://192.168.10.12:8123”

Install Home Assistant in Docker on Orange Pi Zero 16

We open in the browser http://192.168.10.12:8123:

Install Home Assistant in Docker on Orange Pi Zero 17

We are again offered to wait 20 minutes.

At the end, they suggest creating an account to access the Home Assistant:

Install Home Assistant in Docker on Orange Pi Zero 18

We create.

After that, fill in the initial data, such as time zone, location and metric system:

Install Home Assistant in Docker on Orange Pi Zero 19

On the next screen, you can simply click “Finish”:

Install Home Assistant in Docker on Orange Pi Zero 20

We can be congratulated – we installed Home Assistant:

Install Home Assistant in Docker on Orange Pi Zero 21

Installing Home Assistant in docker has its advantages. One of them is the add-ons store. Go to “Supervisor -> ADD-ON STORE” and, as an example, install VSCode.

Install Home Assistant in Docker on Orange Pi Zero 22

Click “Install” and again we need to wait a while for the installation to complete. After reconnecting to Home Assistant, you need to wait a bit again. On the “DASHBOARD” tab, we will see VSCode. Make small settings, as in the screenshot:

Install Home Assistant in Docker on Orange Pi Zero 23

Go to the “Visual Studio Code” tab in the sidebar. To activate VSCode you need to click:

Install Home Assistant in Docker on Orange Pi Zero 24

Visual Studio opens with all the configuration files.

Back to the Orange Pi console. Finish armbian-config. Let’s log in to see how much memory is now taken:

Install Home Assistant in Docker on Orange Pi Zero 25

We see that we have not yet connected any devices, and we have almost no RAM left. And eMMC memory is almost half used up. Plus, from docker, it’s just not possible to access devices connected via USB, to GPIO, to UART, I2C, etc. If you plan to connect devices with a network interface to the smart home only – WiFi, Ethernet or Mqtt, then you will not have problems – you can fully use the installation in docker. True, the Mqtt server could also be hosted on the Orange Pi. But it looks like RAM will already be missed. But there is a way to save resources and get full access to hardware – you need to install Home Assistant directly into the system. This is not much more complicated than installing in docker.

6 Useful Features Of The Stories Editor On Instagram

Previous article

Manage Electric Curtain Rods and Blinds on Radio Channel from a Smartphone.

Next article

You may also like

Comments

Leave a Reply