Skip to content

Home assistant , HASS.io on Rasppian Buster on Raspberry Pi4

Notifications You must be signed in to change notification settings

gandhimaulik/HassIO-on-Raspian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 

Repository files navigation

HassIO-on-Raspian

Home Assistant , HASS.io on Rasppian Buster on Raspberry Pi4

Requirements

docker-ce
bash
jq
curl
avahi-daemon
dbus

Important: Don't only install NetworkManager, you need also use it on your system.

Optional

apparmor-utils
network-manager

Commands

Get docker-ce

curl -sSL https://get.docker.com | sh

Install dependacies

sudo apt-get install bash jq curl avahi-daemon dbus software-properties-common apparmor-utils network-manager

Install HassIO (Not working)

curl -sL https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh | bash -s -- -m raspberrypi4

Install HassIO

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

Setting up Apache reverse proxy on UBUNTU (Server)

Install apache and plugins

sudo apt install apache2
sudo a2enmod rewrite
sudo a2enmod proxy
sudo a2enmod proxy_http
sudo a2enmod proxy_wstunnel

Adding entry in Apache site-enabled

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

Installing Kodi

sudo apt install kodi kodi-pvr-iptvsimplekodi-inputstream-adaptive

BotAllen Repo

wget https://github.com/botallen/botallen.github.io/blob/master/repository.botallen-1.0.0.zip

About

Home assistant , HASS.io on Rasppian Buster on Raspberry Pi4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published