Those are the steps needed to install Home Assistant on Armbian 12 on any board (Orange PI PC):
- Download the image of Armbian for you board
- In the shell write
sudo su -
- Install the required libraries:
apt install apparmor bluez cifs-utils curl dbus jq libglib2.0-bin lsb-release network-manager nfs-common systemd-journal-remote systemd-resolved udisks2 wget -y - Setting up NetworkManager,
- sudo systemctl stop systemd-networkd
- sudo systemctl disable systemd-networkd
- sudo nano /etc/network/interfaces
It should look like this:
auto lo
iface lo inet loopback - sudo nano /etc/NetworkManager/NetworkManager.conf
- It should look like this:
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=true - sudo systemctl reload NetworkManager
- sudo systemctl restart NetworkManager
- cd /etc/netplan/
- look for a single .yaml file edit it for example (10-dhcp-all-interfaces.yaml)
- in the line with "renderer: NetworkManager" change to NetworkManager, save and exit
- sudo netplan apply
- you might loose connectivity, do a sudo reboot
- Relogin to the server
- sudo nano /etc/os-release
- Change the line to look like this:
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" - save and exit
- sudo nano /boot/armbianEnv.txt
- at the end of the file add:
extraargs=systemd.unified_cgroup_hierarchy=0 - save and exit
- sudo reboot
- sudo su -
- curl -fsSL get.docker.com | sh
- installing the OS-Agent
- follow the instructions, select your appropriate architecture (mine was armv7)
- check that it was installed correctly:
gdbus introspect --system --dest io.hass.os --object-path /io/hass/os - you should see some output
- the main install
wget -O homeassistant-supervised.deb https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb
apt install ./homeassistant-supervised.deb
select "qemuarm" for armv7 in the selection list
sudo systemctl enable hassio-apparmor.service
sudo systemctl enable hassio-supervisor.service
- sudo reboot
Wait about 10 minutes for the dockers to spun up, and then you can access it http://<IP>:8123
No comments:
Post a Comment