Installing Home Assistant Supervised on Ubuntu 18.04.4

As long as you have the correct timezone information in configuration.yaml you shouldn’t have any timezone issues.

I have in configuration.yaml:

homeassistant:
time_zone: Australia/Melbourne

{{ now() }}
{{ now().tzinfo }}
{{ now().astimezone() }}
{{ now().astimezone().tzinfo }}

Gives the result:

2020-06-07 13:40:03.909576+10:00
Australia/Melbourne
2020-06-07 03:40:03.909940+00:00
UTC

RTC at BIOS is running as UTC and Timezone is correctly set as per default normal debian installation. Current time is correct and everything is running fine in Home Assistant as it should all except the Workday sensor.

Apparently this caused by the Docker being installed without a timezone set??

I don’t use that sensor, so I’m not sure how is operates. Perhaps you could just add a +/- offset to it to have it read correctly.

I have followed this tutorial and it also works for Ubuntu 20.04, if anybody wants to try it.

Great job, BTW. :+1:

1 Like

@kanga_who from my understanding of the instructions, this is still running home-assistant supervised on a docker and still support the addons and supervisor functions, right?

1 Like

It will give you Home Assistant Supervised with everything that comes with that.

I am running an issue with CEC Scanner. I am getting following error:

image

Anyone know how to fix the issue?

Someone mentioned elsewhere (FB, I think) about the apparmor version not being compatible with the supervised install on Ubuntu and therefore Debian has to be used.

Is that true, or does it only apply to certain Ubuntu version (and if so, which)?

Thanks!

Thanks you so much for this tutorial. the installation was so easy on my surface pro 3 running Ubuntu server 18.04 :pray: :pray: :pray: :pray:

Just a small typo (that I would correct myself but I’m not permitted to edit the topic’s title) but it’s 18.04.4 not 18.04.04

Screenshot from 2020-06-24 21-35-52

1 Like

I just noticed a couple of days ago that my title editing privileges were removed too.

That must have been changed during the last forum maintenance session last week. Not that I’ve used it much but I was going to change one and noticed it wasn’t there.

Yeah, I used to have some sort of wiki status and could convert others posts to a wiki to edit, but that has been removed. Probably just because I’m an ass though. :wink:

Thank you, I have updated accordingly.

1 Like

Hi All,

Thanks for a great tutorial. I’ve followed the instructions and got HA working on an old machine I have here.
One thing I would like to do is map a USB port to be able to use Zigbee, what is the best way to do this? I see over in the Home Assistant Container tutorial they use a docker-compose.yaml file.
I can’t understand how this guide starts the docker machines, I see the install script uses “systemctl start hassio-supervisor.service” but can’t figure out what happens from there?

On the assumption that “hassio-supervisor” triggers everything else, I’ve run the command

sudo systemctl disable hassio-supervisor

I’ve also looked at Portainer to confirm that restart policy for hassio_supervisor is set to none.

So I am a bit of a loss as to how it is restarting on reboot?

Thanks

Ian

1 Like

See if this works for you.

Thank you, I’ll have a play.

Just installed Home Assistant Supervised on a dietpi system using these instructions. Everything seems to be working except the automation editor. I do not have drop downs for anything but the Devices. If I select Call Service, no drop down exists and I have to edit via yaml. Any help would be greatly appreciated.

Hey great tutorial! I just finished my install, but I don’t see the supervisor panel. I think my defunct core install is overriding the config.

2 Questions:
If I want to start over with a clean install with your tutorial, do I delete my config files and run something again?

How do I stop/restart/manage the containers? Is that what portainer is for?

I don’t see the addon store or anything. Am I supposed to?

Thanks again!

everything ok up until ‘curl -sL “https://raw.githubusercontent.com/Kanga-Who/home-assistant/master/supervised-installer.sh” | bash -s’. I get no output and a quick return to the prompt. after I changed the command into ‘curl -L “https://raw.githubusercontent.com/Kanga-Who/home-assistant/master/supervised-installer.sh” | bash -s’ to get eventual errors I get:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- 0:00:02 --:–:-- 0curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

I searched the internet for a couple of hours but could not find a solution or even what could cause this problem.

So I hope somebody here can help me with a solution or workaround.

If you paste the URL into your browser, it will display the contents of the installer script.

https://raw.githubusercontent.com/Kanga-Who/home-assistant/master/supervised-installer.sh

You could just copy the contents into a local file, change the file’s permissions to make it executable, then run it.

Thx! Unfortunately I get then get the following:
Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp 107.23.149.57:443: connect: connection refused

1 Like