Home Assistant Supervised Installation

  Рет қаралды 20,832

Tech Tutorials - David McKone

Tech Tutorials - David McKone

Күн бұрын

In this video we show you how to do a Home Assistant Supervised Installation
Personally I prefer to run this in a VM because you can take a snapshot prior to upgrades and rollback if things go thing wrong
Also, if you run this on say a Raspberry Pi for instance and that stops working, you're home automatation will be out of service while you source a replacement computer and then restore Home Assistant
With a VM though, you can run it on another hypervisor until you can replace the broken computer
Although you can download and install Home Assistant as a pre-built VM, another option is to do a supervised installation
This involves instaling Home Assistant onto a Debian OS which brings the extra benefit of being able take advantage of features in Linux such as USB over IP for instance
Useful links:
www.home-assistant.io/install...
github.com/home-assistant/arc...
github.com/home-assistant/os-...
=============================
SUPPORT THE CHANNEL
Donate through Paypal:
paypal.me/DavidMcKone
Donate through Buy Me A Coffee:
buymeacoffee.com/dmckone
Become a monthly contributor on Patreon:
/ dmckone
Become a monthly contributor on KZfaq:
/ @techtutorialsdavidmckone
==============================
==============================
MEDIA LINKS:
Website - www.techtutorials.tv/
Twitter - / dsmckone1
Facebook - / dsmckone
Linkedin - / dmckone
Instagram - / david.mckone
==============================
Assumptions:
It is assumed that you already have a hypervisor to run this on, but Proxmox VE is recommended
As even the FBI warn, security is something you need to take seriously with smart home devices
While you can use a software firewall like UFW on a Debian computer, Proxmox VE also provides a firewall option
The benefit of using the firewall in Proxmox VE is that's independent of the VM, meaning only a Proxmox administrator can make changes to it
It also avoids some of the complications of the extra rules required to support Docker for instance
Steps Taken
1) Debian OS
Debian OS is supported so you need to create a VM with Debian installed
This should either have a static IP address or a reserved IP address in DHCP
By default, there is no support for sudo so switch to root
su -
And make sure the OS is up to date
apt update && apt upgrade -y
2) Install Dependencies
apt install apparmor jq wget curl udisks2 libglib2.0-bin network-manager dbus systemd-journal-remote -y
3) Install Docker-CE
The Docker Community Edition is supported so install this
curl -fsSL get.docker.com | sh
4) Install HA OS Agent
The OS agent for HA needs to be installed to allow communication with the OS
TIP: Check for the latest version
github.com/home-assistant/os-...
Download and install the package
wget github.com/home-assistant/os-...
dpkg -i os-agent_1.4.1_linux_x86_64.deb
TIP: Copy the URL in the web browser
4) Install HA Supervised
Download the package
wget github.com/home-assistant/sup... -O homeassistant-supervised.deb
The -O parameter is to overwrite the existing file
Install the package
dpkg -i homeassistant-supervised.deb
Now reboot the computer
5) Onboarding
With the installation complete and the computer back up and running, point your web browser to port 8123 of the computer
E.g. 192.168.100.20:8213
NOTE: At this stage, HTTPS is not available
Wait for the HA wizard to become available and then follow the process
6) Updating Home Assistant
Home Assistant Code, Add-Ons and Integrations can be updated as normal
Other software will need to be updated from the CLI
That can be done by repeating the installation process, although OS-Agent will need a newer file downloading
7) Troubleshooting
For problems check the logs in HA or check the operating system logs
journalctl -f
Chapters
00:00 Intro
00:28 Requirements
01:14 Update Debian
02:10 Install Dependencies
03:05 Install Docker CE
03:21 Install OS-Agent
04:28 Install HA Supervised
05:27 Onboarding
06:38 Maintenance
10:07 Security Considerations
Credits
LoveLife | Instrumental Prod. Blue Mango | EQMUSEQ.COM by Don Da Vinci
soundcloud.com/eqmuseq/loveli...
home assistant,homeassistant proxmox,homeassistant proxmox install,home assistant supervised,smart home,home assistant setup,home assistant supervisor install,home assistant vm,home assistant vm inst,Home Assistant Supervised Installation,home assistant debian,home assistant debian install,home assistant debian 11,home assistant supervisor

Пікірлер: 29
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone Жыл бұрын
If you want to learn more about Home Assistant, this series will help you out kzfaq.info/get/bejne/hLelpKx13LCXYmg.html
@lachmans
@lachmans Жыл бұрын
I'm grateful for this tutorial David as it assisted me in successfully configuring home assistant on my Debian machine. The setup is functioning flawlessly!
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone Жыл бұрын
Good to hear I'm really glad we got this option to use Debian for HA as most of my computers run some "flavour" of it so I'm more familiar with it
@TheMchip
@TheMchip Жыл бұрын
THANK YOU!!!!!!!!!!!!!!! LOVE YOU
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone Жыл бұрын
Thanks for the feedback and glad to hear the video was useful
@drreality1
@drreality1 Жыл бұрын
Great tutorial as always, I’d love to see your take on using proxmox firewall and how you protect proxmox and its machines using the built in firewall Thanks
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone Жыл бұрын
It's on my list of things to do It's actually very useful but I need to cover some other Proxmox VE features first as the firewall affects all traffic
@drreality1
@drreality1 Жыл бұрын
@@TechTutorialsDavidMcKone thanks Dave , I look forward
@yousefduaa9255
@yousefduaa9255 Жыл бұрын
Thanks for the great tutorials, Just a request if possible : tutorial on running GNS3 with resource optimization (for Cisco labs)
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone Жыл бұрын
Appreciate the feedback Unfortunately I don't use GNS3 anymore I switched to using Cisco's own CML It does cost money, not much mind, and it is worth it
@matthewcastrigno6138
@matthewcastrigno6138 5 ай бұрын
Hello, David. Thank you for this video. I am interested in install HA supervised on a Pi4. In this video you download docker. My understanding of "Supervised" in the context of HA would mean installing HA from the Raspbian operating system. HA would simply be a program running under the Raspbian OS. In that scenario, is docker required? Do you have to run HA in a container like that on a Pi4 with the Raspbian OS installed? Thank you!
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone 5 ай бұрын
Normally HA is run on top of the dev's own operating system A supervised install involves using the Debian OS instead of the typical Home Assistant OS I installed Debian on a virtual machine run by Proxmox VE , although I could have used a physical computer Then I went through the process of installing HA on top of Debian in this video I haven't tried this on a Pi and as the OS is slightly different, I don't know the outcome That's because it makes various OS alterations, for instance, I noticed it re-configured my computer to use Network Manager for network configuration All I can suggest is give it a try if your Pi isn't running anything else
@NicksStuff
@NicksStuff 6 ай бұрын
Could you show is your set of firewall rules?
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone 6 ай бұрын
The rules I have allow access to: TCP port 22 and 8123 for management devices TCP port 1883 for MQTT clients TCP port 8123 for dashboards and monitoring devices ICMP echo request for monitoring devices UDP port 5353 for devices sending mDNS traffic to 224.0.0.251; Currently, this just covers migrating Meross devices over from HomeKit Anything else is dropped
@NicksStuff
@NicksStuff 6 ай бұрын
@@TechTutorialsDavidMcKone Thanks!
@il90
@il90 4 ай бұрын
First thank you After installing the home assistant on my server i tried to add plug-in but got the error: 'AddonManager.install' blocked from execution, no host internet connection maybe you know how to solve this?
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone 4 ай бұрын
I haven't run into that problem but it is mentioned on the forums Updates have come out since I released this video mind so I suggest checking the website for instructions github.com/home-assistant/supervised-installer I ran into issues myself after upgrading to Debian 12 I would suggest installing all of the dependencies on the list as there are additional ones to those I originally mentioned That solved problems for me You should also make sure you have the latest version of the OS-Agent which is now 1.6.0
@Nieto-hq2hn
@Nieto-hq2hn Жыл бұрын
Hola David! Muchas gracias por este tutorial. En el paso numero 4 (Install the package dpkg -i homeassistant-supervised.deb ) al ejecutarlo ocurre un error (Ubuntu 22.04.2 LTS is not supported!) Que puedo hacer? Saludos amigo!
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone Жыл бұрын
Desafortunadamente, esto solo está destinado a ejecutarse en Debian Aunque Ubuntu está basado en Debian, existen diferencias, por lo que no puedes usarlo
@theattorney6072
@theattorney6072 Жыл бұрын
Hello, i have installed HAOS on X86 64 dedicated laptop, flashed the ssd with etcher. However, superviser does not start, also i have a message waiting for HA CLI to be ready . Could you please Help with that issue ? Many thanks
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone Жыл бұрын
Not quite related to this video as it's about installing HA on top of Debian But can you access HA itself via the web browser? You'll probably need to get the IP from the router/DHCP server so you can point to :8123 Sometimes you get that message in the CLI and it's just a timeout Try the following command banner If that doesn't work, others have tried the following supervisor repair And then supervisor restart Sometimes it works, sometimes not, and some folks find they have to do this after every reboot It might be due to a software bug or hardware related But I've been installing HA in VMs for a long time and it normally works fine
@theattorney6072
@theattorney6072 Жыл бұрын
@@TechTutorialsDavidMcKone Sorry it not related to this video Indeed. Thank you for the reply. I Can Access HA through the app and the web browser, no issue here, I Can also connect to my devices ... It is only those two messages that bothered me, I like things to be done right since the start to avoid problems or having to redo everything. I will try your commands and revert. Many thanks again for your time and help.
@nishant713
@nishant713 Жыл бұрын
I'm running in this error - "lsb_release" command not found
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone Жыл бұрын
I'm not sure which version of Debian you are using but with "Bullseye" v11 I didn't have to install anything else You could try finding it with this command find / -iname lsb_release I'm assuming you're logged in as root, otherwise prefix commands with sudo The command should show as being in the folder /usr/bin If it isn't found then try running this command to install it apt install lsb-release But if it is found then check your path as that's where Linux will look for commands echo $PATH
@MadMike78
@MadMike78 3 ай бұрын
I'm using Debian 12 and its a fresh install. I ran step 3, and getting this message below. Looks like its trying to install from the ISO DVD. Any idea what to do? E: The repository 'cdrom://[Debian GNU/Linux 12.5.0 _Bookworm_ - Official amd64 DVD Binary-1 with firmware 20240210-11:28] bookworm Release' does not have a Release file.
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone 3 ай бұрын
You'll want to edit the source list to remove the references to the cdrom Make a copy of it first sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak Then you can edit it with nano for instance sudo nano /etc/apt/sources.list Put a # at the front of the lines pointing to the cdrom It should have other lines referencing the online repositories which it can still update from and these can be left as is For example, deb deb.debian.org/debian bookworm main contrib non-free non-free-firmware deb-src deb.debian.org/debian bookworm main contrib non-free non-free-firmware deb deb.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware deb-src deb.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware deb deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware deb-src deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
@MadMike78
@MadMike78 3 ай бұрын
@@TechTutorialsDavidMcKone Awesome! Thank you so much .
@Rick-kg3hw
@Rick-kg3hw 4 ай бұрын
Hi, your install video is great, but you install only the .deb file. My system is ARM64 and in the GitHub, there is only a .tar.gz for my system. all work fine until that part and I can't find any install of that type.
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone 4 ай бұрын
That seems odd I would suggest contacting the developers as I'm not seeing a .deb package either
Home Assistant Installation Methods EXPLAINED!
11:45
Everything Smart Home
Рет қаралды 70 М.
We Got Expelled From Scholl After This...
00:10
Jojo Sim
Рет қаралды 73 МЛН
Khóa ly biệt
01:00
Đào Nguyễn Ánh - Hữu Hưng
Рет қаралды 20 МЛН
No Pi? No Problem! Home Assistant on a Cheap Thin Client
14:58
This Smart House
Рет қаралды 74 М.
Installing Home Assistant Supervised directly on Debian 11
16:22
Sauber-Lab UK
Рет қаралды 18 М.
Installing Home Assistant on Proxmox | A Step-by-Step Guide
6:43
What's New Andrew?
Рет қаралды 265
Meet Scrypted - Stream ANY Camera to ANY Home Hub
8:47
Techno Tim
Рет қаралды 335 М.
Which Home Assistant install is right for you?
10:11
Home Automation Guy
Рет қаралды 186 М.
Full NixOS Guide: Everything You Need to Know in One Place!
30:11
Debian and Home Assistant Supervised Installation
29:53
Techy-World
Рет қаралды 2,6 М.
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 1,7 МЛН