Home assistant supervised on fresh Raspberry PI 4

It's April 2022 time to set up the home assistant supervised. The best option is to run hass.io on the home server.

sudo apt-get install jq wget curl avahi-daemon udisks2 libglib2.0-bin network-manager dbus apparmor uidmap -y

reboot

curl -fsSL https://get.docker.com -o get-docker.sh && sudo sh get-docker.sh
dockerd-rootless-setuptool.sh install

Re-login to ssh.

sudo su

Install OS agent

wget https://github.com/home-assistant/os-agent/releases/download/1.2.2/os-agent_1.2.2_linux_armv7.deb
dpkg -i os-agent_1.2.2_linux_armv7.deb

Disable grup and cpu groups in

nano /var/lib/dpkg/info/homeassistant-supervised.postinst

Install Hass Supervised

wget https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb
dpkg -i homeassistant-supervised.deb

Links:

GitHub - home-assistant/supervised-installer: Installer for a generic Linux system
Installer for a generic Linux system. Contribute to home-assistant/supervised-installer development by creating an account on GitHub.
What is difference between arm64 and armhf?
Raspberry Pi Type 3 has 64-bit CPU, but its architecture is not arm64 but armhf.What is the difference between arm64 and armhf?
GitHub - home-assistant/os-agent: Daemon allowing to control OS features through D-Bus
Daemon allowing to control OS features through D-Bus - GitHub - home-assistant/os-agent: Daemon allowing to control OS features through D-Bus
Installing Home Assistant Supervised on a Raspberry Pi with Debian 11
Installation of home-assistant / supervised-installer Release 1.1.1 will partially fail: grep: /etc/default/grub: No such file or directory [info] Switching to cgroup v1 cp: cannot stat ‘/etc/default/grub’: No such file or directory dpkg: error processing package homeassistant-supervised (--install…