Home Assistant , HASS.io on Rasppian Buster on Raspberry Pi4
docker-ce
bash
jq
curl
avahi-daemon
dbus
Important: Don't only install NetworkManager, you need also use it on your system.
apparmor-utils
network-manager
curl -sSL https://get.docker.com | sh
sudo apt-get install bash jq curl avahi-daemon dbus software-properties-common apparmor-utils network-manager
curl -sL https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh | bash -s -- -m raspberrypi4
sudo apt-get install -y software-properties-common apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat
sudo systemctl disable ModemManager
sudo systemctl stop ModemManager
curl -fsSL get.docker.com | sh
curl -sL "https://raw.githubusercontent.com/Kanga-Who/home-assistant/master/supervised-installer.sh" | sudo bash -s -- -m raspberrypi4
sudo apt install apache2
sudo a2enmod rewrite
sudo a2enmod proxy
sudo a2enmod proxy_http
sudo a2enmod proxy_wstunnel
Below lines need to be added in sites enabled configuration file. Path in Ubuntu is /etc/apache2/sites-enabled/000-default.conf
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName example.com
RewriteEngine On
RewriteCond %{HTTP:Upgrade} =websocket [NC]
RewriteRule /(.*) ws://127.0.0.1:44400/$1 [P,L]
RewriteCond %{HTTP:Upgrade} !=websocket [NC]
RewriteRule /(.*) http://127.0.0.1:44400/$1 [P,L]
ProxyPreserveHost On
ProxyPass / http://127.0.0.1:44400/
ProxyPassReverse / http://127.0.0.1:44400/
ErrorLog ${APACHE_LOG_DIR}/error.log
</VirtualHost>
Restart Apache server
sudo service apache2 restart
sudo apt install kodi kodi-pvr-iptvsimplekodi-inputstream-adaptive
wget https://github.com/botallen/botallen.github.io/blob/master/repository.botallen-1.0.0.zip