Install For Home Assistant

I’ve been using Home Assistant for the last few months, I’ve always installed it with docker on a Dell Wyse 5070 that I had lying around.

I always install it with the below commands

sudo apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common

curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -

sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"

sudo apt-get update

sudo apt-get install docker-ce

sudo usermod -aG docker *USERNAME*

*LOGOUT AND THEN LOG BACK IN*

docker run hello-world

sudo systemctl enable docker

sudo apt-get install apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat software-properties-common

sudo su

curl -sL https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh | bash -s

sudo -i

apt-get install software-properties-common

apt-get update

apt-get install -y apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat

curl -fsSL get.docker.com | sh

wget -q -O - https://install.hacs.xyz | bash -



Can anybody tell me a better way to install it on the PC itself without needing docker?
Trying to access the files is a pain in the a$$

The only installation method that doesn’t use Docker is Core, so follow the instructions HERE for Install Home Assistant Core.

If you want an easier way to do the same install method you have posted instructions for (Supervised) follow this guide. You are making things a little harder for yourself than they need to be.

1 Like

Thanks kanga_who.

I need to edit hass_frontend but can’t because it’s with docker, apparently.
Do you know how I can access these files?

I’m not sure what you are trying to edit, can you provide a little more information.

Im trying to enable setup HTML5 notifications. How to setup HTML5 notifications in Chrome for Home Assistant

At 5:50 I have to input my Google metadata in hass_frontend for it to be verified.

I assume you have followed these instructions?

I did, to get the vapid_prv_key and vapid_pub_key I need to verify the domain, which is why the hass_frontend has to be edited to include the metadata.

Not something I can help with sorry as I don’t use this integration. It’s also highly likely that the video you linked to has out of date instructions being that it’s 3.5 years old. Things move and change quickly in the HA world.

You might want to blur out your domain name as well on that picture :wink:

Really appreciate your help all the same man. Thanks :v:

just add the tag (you will download a html file) to the config/www folder
image

1 Like

DavidFW1960 always to the rescue, :joy: unfortunately I didnt get that to work either

I assume that www already existed? If not then you need to restart HA. When you verify the tag on Google you should get a browser notification too… is it possible you have those blocked?

Thanks for all your help, DavidFW1960
I did a full reboot with no success.

The file isnt showing either
[https://70mainstreet.duckdns.org/googlef6d918f318e756ee.html](https://HTML verification file)

Theres something simple I’m missing here, and I really can’t see what it is

are you just using port 443 => 8123 to access HA remotely? It’s been a while since I have done this…

Yeah, I actually followed your guide months back which is how I installed it as you can see on the original post

So to access HA remotely you go to
https://70mainstreet.duckdns.org/ ?

Yeah, I do

yeah bugger it does, I just hit it and got to the logon page. Do you get other notifications like for the forum posts for example? Any chance you have those disabled?

Yeah, I get them through brave browser. I’ll keep playing around with it and if I get anywhere I’ll post here. Thanks again David, you’re always a big help.
:fist_right: :fist_left:

1 Like