Last active
April 12, 2022 05:42
-
-
Save pacmac/47eb4d29a66a6de3e65894bc81f15c1d to your computer and use it in GitHub Desktop.
Install Homeassistant Supervisor on RPI4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get update && sudo apt-get upgrade -y | |
sudo apt-get install jq wget curl avahi-daemon udisks2 libglib2.0-bin network-manager dbus apparmor -y | |
## | |
nano /boot/cmdline.txt | |
## append "lsm=apparmor" | |
reboot | |
mkdir -p /usr/share/pac/haas | |
cd /usr/share/pac/haas | |
## get docker & add root to docker group | |
curl -fsSL get.docker.com | sh | |
sudo usermod -aG docker root | |
## Setup dummy support for grup needed by | |
touch /etc/default/grub | |
touch /usr/sbin/update-grub | |
chmod +x /usr/sbin/update-grub | |
## agent (use arch64 and NOT os-agent_1.2.2_linux_armv7.deb) | |
wget https://github.com/home-assistant/os-agent/releases/download/1.2.2/os-agent_1.2.2_linux_aarch64.deb | |
## DEBIAN 11/64 | |
wget https://github.com/home-assistant/os-agent/releases/download/1.2.2/os-agent_1.2.2_linux_x86_64.deb | |
dpkg -i os-agent_1.2.2_linux_aarch64.deb | |
gdbus introspect --system --dest io.hass.os --object-path /io/hass/os | |
## Install HA | |
wget https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb | |
dpkg -i homeassistant-supervised.deb | |
## Check | |
docker ps -a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment