Home Assistant on Docker and Kubernetes (Open Source Home Automation)

Ғылым және технология

Are you ready to start automating your smart home with the power of open source? Do you already have Home Assistant running but need a little more power than a Raspberry Pi? If so, join me in this easy to follow, step by step tutorial on installing Home Assistant on Docker, Kubernetes, and Rancher. We'll set it up, walk through and configure the UI, and then move on to configure some Wemo smart switches, Phillips Hue bulbs, Google Home / Chromecast devices, and even create a Dark Mode / Light mode automation script using Phillips Hue Scenes!
Video Notes: technotim.live/posts/home-ass...
Home Assistant www.home-assistant.io/
Support me on Patreon: / technotim
Sponsor me on GitHub: github.com/sponsors/timothyst...
Subscribe on Twitch: / technotim
Become a KZread member: / @technotim
Merch Shop: l.technotim.live/shop
Gear Recommendations: l.technotim.live/gear
Get Help in Our Discord Community: l.technotim.live/discord
2nd channel: / @technotimtalks
00:00 - Intro
00:43 - Why
01:29 - Need Docker and Rancher?
01:43 - Configure Server
01:59 - Docker Commands
02:40 - Rancher & Kubernetes Config
04:33 - Home Assistant On-boarding
05:35 - Home Assistant Dashboard
05:49 - Integrations
05:53 - Wemo Devices
06:12 - Wemo Fix 1
07:08 - Wemo Fix 2
07:50 - Wemo Fix 3
08:19 - Configure Google Devices
09:25 - Phillips Hue Configuration
10:17 - Phillips Hue Test
11:03 - Add Devices to Areas
11:52 - Dark Mode / Light Mode Automation with Phillips Hue Scene
14:16 - Test Dark Mode / Light Mode
14:48 - Home Assistant Mobile App
16:17 - Home Assistant over VPN
17:03 - Dark Mode / Light Mode VPN Test
17:16 - Conclusion
17:56 - Send Wendell (Live Stream Highlight)
📦 Products in this Video 📦
Wemo Smart Plug amzn.to/3foDqwd
TP-Link Smart Plug amzn.to/2C2E2t0
RGB 15w Lights amzn.to/2UCMUMr
RGB 50w Light amzn.to/2UEh2XE
Phillips Hue Starter Kit amzn.to/2B3Vltf
Phillips Hue Play amzn.to/3cZkORA
Support me on Patreon: / technotim
Sponsor me on GitHub: github.com/sponsors/timothyst...
Subscribe on Twitch: / technotim
Gear Recommendations: l.technotim.live/gear
Get Help in Our Discord Community: l.technotim.live/discord
2nd channel: / @technotimtalks
(Affiliate links may be included in this description. I may receive a small commission at no cost to you.) Tim Kits:
► 4K KZread Kit - kit.co/TechnoTim/4k-youtube-kit
► Pro Level Live Streaming Kit - kit.co/TechnoTim/pro-level-li...
► Budget Gaming Streaming PC 2020- kit.co/TechnoTim/budget-gamin...
► Performance Virtualization Server- kit.co/TechnoTim/performance-...
► Budget NAS Server- kit.co/TechnoTim/budget-nas-s...
► Coding & Gaming Keyboards- kit.co/TechnoTim/coding-gamin...
► Coding & Gaming Mice- kit.co/TechnoTim/coding-gamin...
⏯ Recommended Videos ⏯
► 20 Ways to Use a Virtual Machine (and other ideas for your homelab) • 20 Ways to Use a Virtu...
► Remote Gaming with Promox • Remote Gaming! (and Vi...
► Virtualize vs. Containerize (Which should I choose?) • Virtualize vs. Contain...
#HomeAssistant #Docker #Homelab #Kubernetes #Rancher #TechnoTim #Proxmox #Virtualization #Containerization
Thank you for watching!

Пікірлер: 86

  • @TechnoTim
    @TechnoTim4 жыл бұрын

    Which smart devices do you have at home? Btw, if you're new here, welcome! Be sure to subscribe for more content like this! 🚀

  • @Jimmy_Jones

    @Jimmy_Jones

    4 жыл бұрын

    Which reverse proxy guide would you recommend? I tried NGINX and Traefik but may not be understanding some steps. I have website, Gitlab and Nextcloud docker containers. But they may be split up into different machines or moved to Kubernetes.

  • @TechnoTim

    @TechnoTim

    4 жыл бұрын

    I have used NGINX but not Traefik yet. I may look into this soon.

  • 3 жыл бұрын

    I did put together a garage door opener using a RaspberryPi back in 2016. I also used magnetic switch to detect the status of the door and push notification when the door remained open for too long. Unfortunately the push notification service is no longer active. Also "wrote" the code to check the status of the door and send out notifications in a really poor way so I figured you might be THE one guy who could figure things out in 10 minutes and doing it better than I would in a week.

  • @ChristopherGoulet
    @ChristopherGoulet4 жыл бұрын

    This is becoming my favorite channel.

  • @TechnoTim

    @TechnoTim

    4 жыл бұрын

    Thank you, glad you like it!

  • @BagelSandwich
    @BagelSandwich3 ай бұрын

    Dude, I just found your channel and it's insanely underrated. Thanks for the knowledge.

  • @shaicc
    @shaicc2 ай бұрын

    I don't ever subscribe, but your channel is so underrated. Well done and keep going

  • @TechnoTim

    @TechnoTim

    2 ай бұрын

    I appreciate that! Thank you!

  • @Nicxlive
    @Nicxlive Жыл бұрын

    Dude I work for openSUSE at the rancher project. You gave me some ideas for my dev environment 🎉 Awesome Video!

  • @ukgimenes
    @ukgimenes2 жыл бұрын

    Awesome, I've been struggling to make home assistant to work on my docker in my ubuntu home server and it helps me a lot, thanks Bro, hugs from Brazil!!!

  • @skaramicke
    @skaramicke6 ай бұрын

    Great video! Now do one on how to convert Home Assistant Supervisor to run as a set of deployments in Kubernetes

  • @CristianHeredia0
    @CristianHeredia02 жыл бұрын

    Thanks, I’ve been fighting with containerizing supervisor. You made me realize I don’t need supervisor I can containerize core and that will suit my needs

  • @Trains-With-Shane
    @Trains-With-Shane3 жыл бұрын

    Hopefully my first smart device will be delivered tomorrow. A little Smart Speaker/clock. Going to add some smart bulbs as well. Just got Home Assistant up and running on a new Docker host I just set up this morning. Can't wait to give it a try.

  • @chrisumali9841
    @chrisumali98414 жыл бұрын

    Thanks for the demo and walk-thru. Have a great day

  • @TechnoTim

    @TechnoTim

    4 жыл бұрын

    Thanks, you too!

  • @themist18
    @themist183 жыл бұрын

    Awesome content! looking into HUE because of this automation stuff

  • @DamjanKumin
    @DamjanKumin3 жыл бұрын

    Excellent Guide Tim! I am starting with home automation and what not and covering many different apps and settings can be tedious - I like this guide and will follow it and adjust/repurchase my devices if needed to get going! Thx a million! Perhaps you could do a video on suggestions for devices, hubs and sensors or at least explain what you have there! Cheers!

  • @TechnoTim

    @TechnoTim

    3 жыл бұрын

    Very welcome!

  • @ahmedfawzy5282
    @ahmedfawzy52824 жыл бұрын

    Love the quality of your content

  • @TechnoTim

    @TechnoTim

    4 жыл бұрын

    I appreciate that!

  • @SchoolforHackers
    @SchoolforHackers2 жыл бұрын

    Such an awesome channel.

  • @sai651
    @sai6513 жыл бұрын

    Love your channel!

  • @TechnoTim

    @TechnoTim

    3 жыл бұрын

    Thank you so much!

  • @masterhifi3939
    @masterhifi39393 жыл бұрын

    Wow, So Cool. The Perfect of video teaching. You are the best of review to doing with Home Assistance application. Great and Awesome KZreadr. Thanks for sharing.

  • @TechnoTim

    @TechnoTim

    3 жыл бұрын

    Glad it was helpful!

  • @GaryBarclay
    @GaryBarclay3 жыл бұрын

    Underrated Tuba.

  • @GaryBarclay
    @GaryBarclay3 жыл бұрын

    Tim, thanks for all the vids...I see that Rancher K3s is your goto stack but why this combo over Portainer?

  • @Repi3
    @Repi34 жыл бұрын

    nice vid! Just don't forget, u just installed the 'core' home assistant, have a look to the 'hassio' version, u have a supervisor and a addon store, much more fun :)

  • @TechnoTim

    @TechnoTim

    4 жыл бұрын

    Thanks! Unfortunately it installs its own version of Docker that doesn't play well with, well, the rest of Docker. Also, most of the add ons are services I can run on other Docker containers.

  • @imarginacionmxd
    @imarginacionmxd3 жыл бұрын

    Amazing content!

  • @TechnoTim

    @TechnoTim

    3 жыл бұрын

    Glad you think so!

  • @coreybritton8823
    @coreybritton88234 жыл бұрын

    Been following along to the videos the last few weeks. Starting to get a collection built up in Rancher. Could you do a video on how you perform backups? Just in case you needed to restore a kubernetes.

  • @TechnoTim

    @TechnoTim

    4 жыл бұрын

    Thank you! I will see what I can do!

  • @mayronny4048
    @mayronny40482 жыл бұрын

    Great content, one question though. The voice assistant which you did not name was it open source ?

  • @SATSifaction
    @SATSifaction3 жыл бұрын

    Hey Tim, great content. I’ve got HA installed on K3S cluster. However i dont think you can use the HomeKit integration outright. Given its sitting in a container i think there needs to be a workaround to get it to work. Are you familiar with how to do this?

  • @TechnoTim

    @TechnoTim

    3 жыл бұрын

    I think all of the home assistant plugins are containers themself so you might need to get creative, install them manually, or use a vm.

  • @vorlock7149

    @vorlock7149

    2 жыл бұрын

    @@TechnoTim HomeKit QR code scan integration uses multicast DNS for identifying the device (HA) in the network. Pods in k8s have an internal network with a different IP range from the normal network and network routing is used. The problem is that broadcast and multicast is blocked by default from any router between networks. So the Apple device will never find HA. Have the same problem... running currently HA on bare metal (on a pi 2) instead of my k3s pi cluster bc of this... Any idea on how to solve it in k8s?

  • @sanyajayalee
    @sanyajayalee3 жыл бұрын

    that awesome video very amazing content.

  • @TechnoTim

    @TechnoTim

    3 жыл бұрын

    Glad you enjoyed it

  • @taqveerdoha3609
    @taqveerdoha36094 жыл бұрын

    Hey Tim, I've been following your videos for a while now. Is there a particular reason why we would need Kubernetes for these applications: Plex, Home Assistant, pfSense. I'm just trying to see what the real-world use case would require K8s for these apps, what benefits they provide vs traditional deployment.

  • @TechnoTim

    @TechnoTim

    4 жыл бұрын

    Hi! Great question! I covered thsi in kzread.info/dash/bejne/oqyrt7qDnaSrgpc.html and then in kzread.info/dash/bejne/oX2AxZKyp6e8hM4.html Let me know if that helps!

  • @AltusCarstens
    @AltusCarstens3 жыл бұрын

    Subscribed!

  • @TechnoTim

    @TechnoTim

    3 жыл бұрын

    Altus Carstens thank you!

  • @dougsellner9353
    @dougsellner93532 жыл бұрын

    Just realized you are from Minneapolis - Ping me for free beer/dinner - thanks so much for all your content!

  • @TechnoTim

    @TechnoTim

    2 жыл бұрын

    Mpls!

  • @EsotericArctos
    @EsotericArctos4 жыл бұрын

    I have been using Home Assistant for a few years, mostly on a Raspberry Pi. I don't have a large install, but I found the Pi was just getting a bit frustrating due to the slow restarts and the SD card issues. A Raspberry Pi is great if you are just playing initially, but for a permanent solution you want better quality installation. Obviously there are a few ways of doing this. Thanks for bring this video to show this way of doing it. Edit: The official Home Assistant app has a couple of serious bugs at the moment so it has been temporarily taken down as the developer has not had time to fix it. There is only one developer working on the HA iOS app. The Android app works well still and will work with Nabu Casa cloud. When it is fixed, the official App well work with Nabu Casa cloud.

  • @TechnoTim

    @TechnoTim

    4 жыл бұрын

    Good insight! Thanks for the info on the official app. We’ll keep an eye out for it!

  • @Repi3

    @Repi3

    4 жыл бұрын

    if u edit the database to an external source, the PI/SD Cards works fine, that's the problem ;)

  • @litaninja

    @litaninja

    4 жыл бұрын

    @@Repi3 Can you please explain further? I'm trying to avoid the SD card issues as well. Thanks.

  • @brian.hanifin
    @brian.hanifin3 жыл бұрын

    You piqued my interest with that clip at the end. Are you talking about an external sas connection? I might get enough drives to do that someday. I’d like to learn more about this thing you were excited about in that clip. :)

  • @TechnoTim

    @TechnoTim

    3 жыл бұрын

    Thanks! It’s all here kzread.info/dash/bejne/ZGeexMWwj9GYYKw.html

  • @thomsonkev
    @thomsonkev7 ай бұрын

    If you install Home Assistant and configure all your devices can you still you "Hey Google" to control them when you aren't on your LAN?

  • @hanley-development
    @hanley-development5 ай бұрын

    So not sure you can setup dependent devices like zwave or zigby without settings up a standalone docker container.

  • @inaciosung
    @inaciosung3 жыл бұрын

    Hello Tim, thanks for sharing knowlegde. I am learning a lot in a easy way. I tried to install homeassistant in Ubuntu 20.04 but nothing happened. I already have docker installed.

  • @TechnoTim

    @TechnoTim

    3 жыл бұрын

    Inácio Sung are you using a plain docker install?

  • @adiankonina
    @adiankonina4 жыл бұрын

    Thanks a lot

  • @TechnoTim

    @TechnoTim

    4 жыл бұрын

    Happy to help

  • @heimdallmidgard4670
    @heimdallmidgard46703 жыл бұрын

    Hey Tim is there a possibility to use the supervised version of Home Assistant?

  • @TechnoTim

    @TechnoTim

    3 жыл бұрын

    Not sure, haven't looked into it. Do they have a Docker container?

  • @wyverman
    @wyverman3 жыл бұрын

    How do you expose a "CC2531 ZigBee USB" across k8s nodes to be accessed by Home-Assistant with HA ?

  • @TechnoTim

    @TechnoTim

    3 жыл бұрын

    I don't think you would get HA unless every node has this device installed

  • @krlosvidaloka
    @krlosvidaloka2 жыл бұрын

    Hello, home assistant work with fedora server?

  • @fredrikjohnsson
    @fredrikjohnsson3 жыл бұрын

    I’m running Ubuntu Server 20.04 on an Intel NUC and Home Assistant in a docker container and my question is, what do I gain installing Kubernetes on that machine?

  • @TechnoTim

    @TechnoTim

    3 жыл бұрын

    The ability to make those containers available on other servers if you like!

  • @bobbymooreok
    @bobbymooreok2 ай бұрын

    How about a video of Home Assistant in a cluster? Excluding Z2M and USB Dongles (unless it can be done!) - struggling to find any content online about this

  • @TechnoTim

    @TechnoTim

    2 ай бұрын

    Well, one goes out tomorrow morning!

  • @Jimmy_Jones
    @Jimmy_Jones4 жыл бұрын

    Will watch tomorrow. I definitely need to setup Kubernetes. I tried in the past and failed. Also I plan to install home assistant anyway.

  • @TechnoTim

    @TechnoTim

    4 жыл бұрын

    This these two guides will have you up and running Home Assistant on Docker & Kubernetes in less than an hour!

  • @Jimmy_Jones

    @Jimmy_Jones

    4 жыл бұрын

    @@TechnoTim I tried it the kubeadm way on bare metal in the past. Best I got to was the machines linked but I couldn't understand the YAML format.

  • @doraemond04
    @doraemond043 жыл бұрын

    Hola a todos! cuando ingreso en supervisor, me sale este error, pueden ayudarme? Unable to load the panel source: /api/hassio/app/entrypoint.js.

  • @TechnoTim

    @TechnoTim

    3 жыл бұрын

    No estoy seguro

  • @markmacherey4744
    @markmacherey47443 жыл бұрын

    I thought OMG I can HA on docker, until I found out it's only core and you don't get the supervisor. which is huge for administrating HA, so I went back to a VM running HA.

  • @birgerg
    @birgerg3 жыл бұрын

    You missed the hassio store.. How to setup that in a docker scenario would be usefull

  • @TechnoTim

    @TechnoTim

    3 жыл бұрын

    I don't think they have a docker version, because that is a docker container in itself! Maybe they have fixed that?

  • @PaYtrIxHD
    @PaYtrIxHD3 жыл бұрын

    This still doesn't explain the installation of homeassistant + supervised, unfortunately

  • @TechnoTim

    @TechnoTim

    3 жыл бұрын

    Yeah, that in itself is a Docker container. I think you can spin that up alongside it.

  • @mattmattice1329
    @mattmattice13293 жыл бұрын

    I followed all the steps through Rancher but when I go to my IP:8123 my request times out...any common issues you know that would cause this?

  • @TechnoTim

    @TechnoTim

    3 жыл бұрын

    are you sure you set it to use the host's namespace like in the video?

  • @mattmattice1329

    @mattmattice1329

    3 жыл бұрын

    Techno Tim yes, when I go into “Networking” on rancher “use host’s network namespace” = true

  • @got2liv4him

    @got2liv4him

    3 жыл бұрын

    @@mattmattice1329 Having the same problem... did you ever figure it out?

  • @AdjustinThings

    @AdjustinThings

    3 жыл бұрын

    Same problem here, but also note I am using rancher 2.5

  • @mattmattice1329

    @mattmattice1329

    3 жыл бұрын

    @@got2liv4him yes, forwarding the ports solved the problem. I've since migrated this workload to portainer.

  • @michakulas2171
    @michakulas2171 Жыл бұрын

    It is not supervised Home Assitant. :(

Келесі