Orange Pi. In this article, I use Orange Pi zero chip H2 +
1 memory card
1 card reader
1 wire Lan
The first step is to go to www.armbian.com to download the Armbian Bionic version. There are 2 Bionic and Stretch versions. Bionic version is on Ubuntu, while Stretch is on Debian. In this article I Bionic down, you like Stretch, down Stretch, okay.
Download and extract and use Etcher to flash the card.
Flash is finished, you plug the card, plug Lan, plug in the power.
Wait a minute for the Pi to start, we open the Router’s Config page to see how much the Orange Pi ip is. If too many devices do not have a name, you can use Advance IP Scanner to find it. I have instructions on how to find in the video. In this article, my IP is 192.168.9.131
You use Putty to SSH into the IP above. Login with root and password permissions is 1234 (slices will be required to change).
Once you have logged in, you will be asked to report the initial installation information of Orange Pi (including setting up a new password, our name, and your video).
OK. At this stage, you have already installed Armbian Bionic on the Orange Pi Zero. Next, install Docker and Hassio on Docker.
Docker and Hassio
The commands you will number for you to find easily. You copy the entire command and paste it into Putty – remember to watch your Video combination
sudo apt update && sudo apt upgrade
Update helps you update updates on packages and upgrades to help you upgrade new versions of the respective packages.
sudo apt-get install software-properties-common
This command installs software-properties-common
sudo add-apt-repository universe
Add repo universe
sudo apt-get update
Just add a new repo, update the package list in that repo. Please pay attention to update.
sudo apt-get install -y apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat
Install the necessary packages for Hass.io
curl -fsSL get.docker.com | sh
curl -sL https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh | bash -s — -m qemuarm(you can change the sign of a long brick – into two hyphens (-) to help you, on the web it is always autocomplete)
Install Hass.io on Docker
You see the Run Line Hass.io is displayed.
We open the browser and re-enter the IP: 8123, if you see the familiar logo appears to be successful.