Installing Docker and Home Assistant Container

Тәжірибелік нұсқаулар және стиль

I show you how you can supercharge your Smart Home by installing Docker, Docker Compose, Portainer and Home Assistant Container onto a Linux computer.
❤️ Found this video useful and want to support the channel? I'd love a donation at paypal.me/homeautomationguy
Links:
If you're not sure what Docker is, check out this video first: • Why I Use Docker for m...
Home Assistant OS vs Container: which is right for you? Find out here: • Which Home Assistant i...
Blog post with all the steps from this video: www.homeautomationguy.io/home...
Chapters:
00:00 - Intro
01:00 - Prerequisites
02:06 - Installing Docker Engine
05:27 - Managing Docker without Root/Sudo permissions
06:23 - Installing Docker Compose
06:49 - Installing Portainer on Docker
11:11 - Installing Home Assistant Container on Docker
14:30 - Using iFrame Panels on Home Assistant to access other UIs
16:28 - Next up in the series...

Пікірлер: 265

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

    This is incredibly helpful. Installed this on my NUC and everything went flawlessly! Thank you so much for this walk through!

  • @fuzzbreezie81
    @fuzzbreezie812 жыл бұрын

    Its nice to see this approach to running Home Assistant. I also run Home Assistant in docker but I used the supervised version. This is really great stuff and I look forward to the rest of the videos in this series. Please keep up the good work. I understand the effort it takes to get this done.

  • @koenchiau4002

    @koenchiau4002

    2 жыл бұрын

    Didn’t know you could run a supervised HA in a container. Would you be able to link me to where I can learn how to do this ?

  • @myrkurvr

    @myrkurvr

    2 жыл бұрын

    @@koenchiau4002 I would like this aswell, new to home assistant and followed this tutorial and only just realized how much you miss out on when you dont have supervised install

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

    Was hesitant to go the container route. Started fiddling with full-on VM on ubuntu desktop and mac osx on a mac mini 204. Followed your guide and couldn't be happier. Thanks for producing a clear to follow guide! Looking forward to learning more.

  • @johanbos3651

    @johanbos3651

    Жыл бұрын

    Hi Alan, I have recently bought a FriendlyELec R5C (4Gb / 32Gb eMMC ) because a Raspberry PI 4 was not available. Flashed Debian10 on the eMMC. Watch a lot of YT viddeo’s to get HomeAssistant/Docker/Portainer etc running on this device. And then I came across your video. Especially your blog where you described the various steps was superb. So I followed in my own pace these steps. And found up till now 2 additions which I had to make in order to continue .. 1e. At the step “Add Dockers official GPG key to the KeyRing” I had to add the command “sudo mkdir” for the directory where the downloaded key would be saved After this docker was installed and it runs. 2e. The most important next step to do is to install docker-compose. This is done by using the “Curl” command. I got stuck on this step. So after checking the internet I came across the reason why : Curl package is included in the default Debian 10 repositories, to install it run the following command: sudo apt install curl So I thought I had it cracked .. But no… I Copy / Paste your extensive long command line where your retrieve from GitHub docker-compose version# 1.29.2 But it doesn’t work. WHY ? At this moment I cannot explain why the docker-compose file will not be downloaded. Because noting is downloaded. ** Can you please help me ? ** As already described at the beginning : I am using Debian 10. Thanks in advance, Johan The Netherlands

  • @emilianofernandezcervantes4042
    @emilianofernandezcervantes404210 ай бұрын

    I came to this video to learn how to install home assistant and ended up watching a complete class of docker compose. Great content, keep it up!

  • @HomeAutomationGuy

    @HomeAutomationGuy

    10 ай бұрын

    Glad you learned something and found the video useful ☺️

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

    Excellent tutorial. I got everything set up on my system with no dramas. Thanks!

  • @AndreasLenze
    @AndreasLenze2 жыл бұрын

    Brilliant! I recently attempted to move my VirtualBox HA to Docker, but ran into some roadblocks. Your video is just what I needed - thank you.

  • @HomeAutomationGuy

    @HomeAutomationGuy

    2 жыл бұрын

    Glad it helped!

  • @clarkedigital
    @clarkedigital2 жыл бұрын

    Amazing. Thank you. Really easy step by step guide. Already lining up the next videos.

  • @fearthesmeag
    @fearthesmeag9 ай бұрын

    Cheers for this Alan. I was scratching my head with another YT video for the last couple trying to make sense of it. Until I found this! Seamless and no issues at all. Next task, to get my Sonoff Zigbee 3.0 dongle to be seen by my Synology DS.

  • @lidbergtech
    @lidbergtech2 жыл бұрын

    God damn! I was so curious to start with Docker and Ubuntu. Did start, but never got it to work even though watching other YT channels. From your channel it made it a lot more simple! Thank you so much!

  • @HomeAutomationGuy

    @HomeAutomationGuy

    2 жыл бұрын

    You're welcome!

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

    This is solid gold. I couldn't get it working several times, and it was always because I didn't read your steps closely enough :)

  • @HomeAutomationGuy

    @HomeAutomationGuy

    Жыл бұрын

    Glad you found it useful!

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

    Can't thank you enough! Best tutorial so far! Installed on Lenovo ThinkCenter mini computer with Ubuntu Server.

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

    Great tutorial, thanks! As a first time Linux user, it was pretty scary to blindly paste in all those commands... but it all worked - thank you!!! The next part of my journey is to now understand what the hell I just typed in! lol

  • @ThomasAshworth
    @ThomasAshworth2 жыл бұрын

    Perfect timing, I just started my home lab upgrade for a pi to a micro pc

  • 2 жыл бұрын

    Great tutorial, even a non-technical person will understand what to do. Thank you for making life easier for "lazy" people =]

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

    This Is, By Far the, best Tutorial of Installing (and actually understanding what you are doing during the installation process RPi/Linux ) of Home Assistant. Thank You!!! ( subbed ) for anyone that follows this tut and get a "Permission denied when execute docker-compose command" during the install process use "docker compose" (without the dash) is the updated version of "docker-compose"

  • @zyghom

    @zyghom

    Жыл бұрын

    are you sure "Permission denied when execute docker-compose command" is related to "docker compose" instead of "docker-compose"? I would say it is related to user not added to docker group

  • @rigpa3024

    @rigpa3024

    6 ай бұрын

    Thank you so much!!! This should be stickied!

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

    Great video. I believe people will know docker/docker-compose/container better after going though this series.

  • @sharpenedge
    @sharpenedge2 жыл бұрын

    dude. definitely the best tut for ha setup on linux. i just finished my setup and you helped me greatly. bravo sir.

  • @HomeAutomationGuy

    @HomeAutomationGuy

    2 жыл бұрын

    You are most welcome!

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

    Hi Allen, Thanks so much for your video/tutorial and clear overview of all the elements. You are a good explainer. HA was running within a day on my Beelink AMD.

  • @HomeAutomationGuy

    @HomeAutomationGuy

    Жыл бұрын

    Glad to hear it!

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

    I'm a recent subscriber, and like what I see so far. One suggestion I'll make is to promote official install process (like you did for installing Home Assistant using Docker). In the section where you're showing how to install Portainer, it would have been better to reference Portainer's documentation as it has changed a bit since your original post (ex. they're now using port 9001 vs 9000). It'll still work, but it's always best to reference most current install steps than using something that worked at one point in the past.

  • @HomeAutomationGuy

    @HomeAutomationGuy

    Жыл бұрын

    That's fair feedback, thanks for sharing it!

  • @user-sl4tw6ro8j
    @user-sl4tw6ro8j Жыл бұрын

    Thank you for your guidance. I have finally managed to get HA running on a WAGO PFC.

  • @GenerlAce
    @GenerlAce2 жыл бұрын

    Great tutorial. Glad I found your videos !

  • @sachnows
    @sachnows11 ай бұрын

    Great guide. Though one thing was different on Raspberry Pi. To install docker-compose I had to do this instead: sudo apt update sudo apt install -y python3-pip libffi-dev sudo pip install docker-compose Hope that helps someone.

  • @aseda8146
    @aseda81462 жыл бұрын

    Good video. Can't wait for the other videos on the series. Regarding portainer, I believe they deprecated the portainer/portainer image and portainer/portainer-ce shoud be used insted. Check their dockerhub entry where they explain that.

  • @HomeAutomationGuy

    @HomeAutomationGuy

    2 жыл бұрын

    I did not know that - thanks for letting me know! I'll update my blog post accordingly.

  • @tankx5915
    @tankx59152 жыл бұрын

    Hey, you should definitely add this to your docker playlist!

  • @HomeAutomationGuy

    @HomeAutomationGuy

    2 жыл бұрын

    🤦‍♂️ How did I miss that!?! Thank you for letting me know, I've added it now!

  • @j.r.r.tolkien5785
    @j.r.r.tolkien57852 жыл бұрын

    I loved your style It's great thank you

  • @manlychau
    @manlychau2 жыл бұрын

    Nice tutorial....thank you very much!

  • @luizhenriquemaria
    @luizhenriquemaria9 ай бұрын

    Great Guy, thank you for your video.

  • @MrSupersidewinder
    @MrSupersidewinder2 жыл бұрын

    Thank you so much for this, Worked Great so far... A few things might help. First, a new user needs to set up the timezones on their brand new Ubuntu Server adding this at the start would help. sudo dpkg-reconfigure tzdata. Second, After installing Home Assistant and returning to portainer to see it, one needs to refresh their browser... And Third, When pasting into the configuration.yaml You missed the comment line, Tidier if you add it... These are NOT complaints!

  • @svalebkisheste2604
    @svalebkisheste260410 ай бұрын

    Extremely great video! Really awesome job - well done

  • @HomeAutomationGuy

    @HomeAutomationGuy

    10 ай бұрын

    Thanks a lot!

  • @harvasyuk
    @harvasyuk10 ай бұрын

    Thank you! Very helpful video.

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

    Running this on RPi4 which is ARM64 (docker doesn't have binaries for arm64 for docker-compose), so had to do a roundabout method using sudo pip3 installation for docker-compose. Other than that, everything worked perfectly.

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

    Alan you are not unlike the rest of us :) "If anything prompt me to click yes, I click yes" - This got me in a jam with my wordpress homepage running on Ubuntu, my Apache files got replaced and nothing worked anymore. Be carefull with this :) - Great video though I really like how you take this smart home thing to a level we can relate to. Keep up the good work :) Cheers from Denmark

  • @HomeAutomationGuy

    @HomeAutomationGuy

    Жыл бұрын

    The good thing about Docker is you can always delete everything and start again ☺️

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

    Amazing video, still relevant and up to date as of March 21th 2023

  • @HomeAutomationGuy

    @HomeAutomationGuy

    Жыл бұрын

    Thank you!

  • @edwardvanhazendonk
    @edwardvanhazendonk2 жыл бұрын

    Thanks, very usefull and informative

  • @Zolive974
    @Zolive9745 ай бұрын

    Huge thanks for this very complet tutorial ! Very easy to understand, even for a french guy like me lol

  • @HomeAutomationGuy

    @HomeAutomationGuy

    5 ай бұрын

    I am glad it was helpful!

  • @patrickzockol9904
    @patrickzockol99042 жыл бұрын

    this video is way too underrated

  • @mustafafathi9507
    @mustafafathi95072 жыл бұрын

    Perfect tutorial. when i have installed Hass , it can't onboard for ubuntu 20.4. and solution is i have enable 8123 within firewall

  • @adibbins
    @adibbins2 жыл бұрын

    Hi Alan, thanks for this video series, but a question, if I want to migrate to docker containized version of ha, can I use the backuo/snapshot functionality to backup my non-containized version and restore it to my containerize installation? I'm trying, but I can't see the restore functionality, have I missed something? thx

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

    8:34 (ignore this i gtg and will resume later, great video btw thank you!)

  • @nlemmon2001
    @nlemmon20015 ай бұрын

    Oh very intuitive.

  • @serhioromano
    @serhioromano2 жыл бұрын

    This is good when you know the tch. That would be an easy task for me, but there are some addons I would not know how to install. For instance, I want VS Code Web icon to open config files `/opt` or I want a web SSH & Terminal to run commands right from web interface. Those addons exist but how to install them if those are designed exactly for HA?

  • @dennisclark6548
    @dennisclark65482 жыл бұрын

    @Home Automation Guy Shopping now for Intel NUC and it appears newer versions have some issues installing Ubuntu. What version of NUC are you running and do you have any input on using newer NUC's? Cheers

  • @wolffair1119
    @wolffair11192 жыл бұрын

    I followed your guide and it is great. When I try to access home assistant from another machine on my LAN I am not able to. Is there something additional to do for this to work?

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

    Have what I hope will be a quick question. Have HASSOS running on a RPI4 and wanted to try KeyMaster because I am migrating off of an old Vera hub. After installing it I was amazed at how many automations it created and decided I didn't want it there. So I decided to follow yours and others advice and run HA in docker on a Debian VM I have running. Was able to create docker and with ZWAVEJS connect to my zwave card in my RPI 4 but had some issues with entity cards not loading so decided to blow away the docker container and rebuild from scratch. Deleted the container in portainer and recreated HA and all the HACS and KeyMaster entries were still there. Deleted it again in Portainer and this time deleted the entire config folder and ran through all the docker purge commands I thought might be appropriate. Recreated HA and still have a bunch of crap hanging around. Where is it all living? Though container advantage was you could recreate them all day long to keep experimenting. Thanks

  • @lee-he3ey
    @lee-he3ey2 жыл бұрын

    Great tutorial, could you explain how to get PiHole running in an ?

  • @basemkhuri7806
    @basemkhuri78068 ай бұрын

    Hey Home Automation Guy, thanks for the splendid video. Immensely helpful. Just one question, how do you reverse the process and totally remove Home Assistant from a Linux or Raspberry Pi Docker installation. I am moving my Home assistant to another server and need to do a clean uninstall of the old one. Thanks for your help.

  • @edipavic3208
    @edipavic32082 жыл бұрын

    Hi! Great video! I recently came across your channel and find it very interesting and informative. Can't wait for other videos in the series! One question, though- I have HA running in Docker container on RasPi for about a year now, it was my first touch with both HA and Docker then and I had no idea what any of that is. Now that I'm a bit smarter, I would like to extend on it and install Portainer- so where should I start from in the video? Since I already have HA in a container, I need to first install Compose and then Portainer? Then I should already see existing HA container? Thanks in advance!

  • @HomeAutomationGuy

    @HomeAutomationGuy

    2 жыл бұрын

    You don't need to use Compose to install Portainer if you don't want to. You can just follow the instructions on their website here: docs.portainer.io/v/ce-2.11/start/install/server/docker/linux. You'll then see both your HA and Portainer Containers. I just find it easier to manage all my containers using the Compose file, but it's not mandatory. You can definitely install Compose and then move your HA container to there too if you want. Just make sure you use the same data volumes so you don't lose all your configuration.

  • @edipavic3208

    @edipavic3208

    2 жыл бұрын

    @@HomeAutomationGuy One thing that I found particularly interesting and beneficial with Portainer, is management of HA images - something that I haven't some across much reading about this type of installation. Since I was using HA with Docker for some time now, every time I updated HA a new image was downloaded- something I had no idea I was supposed to manage myself, and they can be quite big! So by installing Portainer I was finally made aware that I can clear basically 8GB of unused image files! O.O Such a relief for my SD card. :D

  • @AndrewGlasgow2020
    @AndrewGlasgow20203 ай бұрын

    Great. Very helpful at my level of knowledge. 👍 Would be even greater if you could do a Debian Linux version 🙂

  • @empty177
    @empty17711 ай бұрын

    very easy to follow and great how to video. can you do a video of link your video on how to add smart thing (samsung) and adding any camera into an RSTP streaming with Home Assit

  • @GenevieveShaba
    @GenevieveShaba10 ай бұрын

    Do you use any RTL_433 sensors (eg. temp/humidity)?? Any opinions? I've been following all your videos and would love a specific example of manually sending MQTT to HA container. I have the data coming through on my host, but can't get it to transfer to MQTT/Mosquitto HA. If you're not sure, can you point me in the right direction? I'm having a hard time finding successful solutions online currently. TIA

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

    Hello! This is so great for newbies like myself. I was wondering whether you could let me know how I could create a static IP on Ubuntu and to get SSH on Ubuntu with root/sudo permissions. Thank you. 🤗

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

    Great tutorial - video & blog - thank you! I got the portainer button to work on home assistant when using a web page, but it does not work when using the app? Any idea’s, thanks!

  • @babludhiman9512
    @babludhiman951211 ай бұрын

    Can you do the video for installing scrypted as a docker compose container and map scrypted from /opt directory. Thanks

  • @bmurphy88
    @bmurphy882 жыл бұрын

    Great vid. Can you do a vid on getting ldap to work with Home Assistant container

  • @BobanVelickovic
    @BobanVelickovic2 жыл бұрын

    Thank you! Can we expect that you will show us how to install for example Open VPN on Docker to allow externall access to Home Assistant?

  • @Jason-mk3nn
    @Jason-mk3nn2 жыл бұрын

    Thank you very much for this video. I had been waiting for someone to do a clear explainer video like this, as it was the direction I was hoping to go, but unsure of the best practices. One big question, though. I would really like to use the machine I have for more than just a server, as it is a beefy HP Z800 with 48GB of ram. It was an old attempt to try Windows for a video and graphics workstation. I would really like to use it both for Docker and as a driver for a few smart displays. To that end, I had hoped to run Ubuntu as a desktop and a server. This would allow me to drive a couple displays with dynamic content. Would using Ubuntu Desktop check both the need for the server and desktop needs? If not, I would love to hear your suggestions. Thanks again for the great series!

  • @HomeAutomationGuy

    @HomeAutomationGuy

    2 жыл бұрын

    That should work fine as far as I can tell! You can run Docker fine on Ubuntu Desktop

  • @betchphoto
    @betchphoto9 ай бұрын

    Hey, I just watched so many of your videos, you helped me a lot setting things up. Thank you. And your blog posts are also really useful to copy/paste the commands. I just can't find a solution to an issue: I can't get a shelly smartplug to be detected by HA. In the doc, this is what I found about my issue: "If Shelly devices are in a different subnet than the Home Assistant server, you should ensure communication on UDP port 5683 between these subnets." But I've no idea how to do that. Is it on my HA containers, my router or my linux? :/ sorry, I'm new to all this.

  • @Danish3Cubed
    @Danish3Cubed5 ай бұрын

    On newer versions of docker compose the command to check the version have been changed to: just "docker compose version". With out the "-"

  • @HomeAutomationGuy

    @HomeAutomationGuy

    5 ай бұрын

    Thanks for sharing!

  • @Jackflem
    @Jackflem2 жыл бұрын

    Thanks for this procedure, worked great. One question when new versions of Portainer or HA become available what is the recommended upgrade process?

  • @HomeAutomationGuy

    @HomeAutomationGuy

    2 жыл бұрын

    I'll be covering that in a video soon!

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

    Hello Alan, how are you? Greetings from Brazil! I'm having problems running the command docker compose up -d, docker compose creates the container folders with permissions for the root user, so I don't have permissions to edit or create new files (HA configuration.yaml for example). How to solve this problem?

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

    Hi Alan, nice video. I have a question. Why did you chose ubuntu server over the ubuntu desktop client? I want to migrate from HASS OS to docker but can't decide which way to go on my new intel nuc.

  • @SavvasMohito

    @SavvasMohito

    Жыл бұрын

    May be late to this, but if you're planning to use your nuc exclusively as a server and access it through ssh remotely from another computer, you don't really need a desktop graphical interface. That's why someone would choose Ubuntu server.

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

    Panel_: how to get access to panel_inframe from internet (external network)? I am using ZeroTierOne.

  • @justin.trading
    @justin.trading Жыл бұрын

    8:46 hi noticed you are creating files in opt directory in my set up opt is owned / group as root and has permissions set at 755. Is your's not the same? How did you manage to do this?

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

    Thank you!

  • @koenchiau4002
    @koenchiau40022 жыл бұрын

    Love your work ! I would be interested in learning how to integrate a Home Assistant Container install (without Supervisor) and Tailscale. There is no add-on in this setup,

  • @HomeAutomationGuy

    @HomeAutomationGuy

    2 жыл бұрын

    I've not personally used Tailscale, but I use Wireguard. Maybe I'll take a look and do a video on it!

  • @Cryptobob
    @Cryptobob2 жыл бұрын

    Hi, nice tutorial. I am migrating HA.os to docker. I can acces HA from outside via SSL. But when I have a HTTPS connection with HA I can't use HTTP in panel. Is there a way to have all https in ? without all reverse_proxies and port forwarding?

  • @zyghom

    @zyghom

    Жыл бұрын

    no, it is even mentioned on the HA webpage

  • @ajiteshkhosla12
    @ajiteshkhosla122 жыл бұрын

    Hi Alan (@Home Automation Guy), thanks for the awesome series. I managed to setup docker containers for most of the add-ons, however, facing issue with meross lan. Did you manage to set-it up if it's in your smart-home list. Also, could you please help to confirm whether DHCP discovery works for you with docker containers? Thanks again!

  • @HomeAutomationGuy

    @HomeAutomationGuy

    2 жыл бұрын

    My Docker containers get their own internal IP addresses, I don't use DHCP to assign them a normal network address. I'm not sure what meross lan is, so I can't comment on that I'm afraid.

  • @zyghom

    @zyghom

    Жыл бұрын

    I sorted out meross issues by... selling them all and buying ESP based devices, then all in ESPhome and voila ;) Too much hassle with Meross - especially when the guys from Meross started... disconnecting my devices due to "high number of API calls"

  • @RF-fr7jl
    @RF-fr7jl Жыл бұрын

    Thank you for the assistance in getting up and running with dock on my nuc. Now I'm trying to get my backup config in place. Can anyone point me to a detailed article on migrating a backup from a home assistant proxmox vm to docker? Thank you!!

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

    Short question: Can it be that when I want to install Docker on Linux Mint things change? I'm getting stuck during the install. Would it be better to install Ubuntu Server and start from there? Right now I basically have a clean Mint-install on my Intel NUC.

  • @JimDory
    @JimDory3 ай бұрын

    I have a question on shutting down a server with docker and HA (and Portainer) to move it or install something (battery backup). What is best way to shut down docker/HA and the host server? It is on a headless Odroid (installed following Home Automation Guy's tutorial - many thanks!) and I can ssh in and easily do a "shutdown -h now", but not sure that is good. In Portainer.. I assume I could just go to the containers and hit "Stop" on them, then shut everything down with the shutdown command. Wondering best practices. Also, in HA under Settings/System there's that little power button upper right, but under Advanced it no longer gives me the shutdown option.. just restart. Used to until I did something. I've been googling the heck out of this and so far empty handed.. found one or two explanations that weren't sure applied to my case. Thanks for reading!

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

    Amazing video! I'm planning to migrate from supervised to docker because I use other containers simultaneously and my install is now completely broken. Since we cannot restore backups done via supervised on the docker version, what do you recommend to migrate my installation? Is copying the config folder to the new install enough to recover everything (devices, zigbee network, profiles, history,...)?

  • @zyghom

    @zyghom

    Жыл бұрын

    I doubt it will work 100% Some things will work, some will not - especially all related to add-ons will not work (at least without reconfiguring them, i.e. IP addresses, usernames/passwords etc.) Also: if you use influxDB on HA for sure you have 1.x installed while in container it will be rather 2.x - these 2 are completely incompatible, starting with changes in configuration.yaml file on HA Zigbee as well. And so on, until you are done with all addons

  • @shawnhartsell1261
    @shawnhartsell12612 жыл бұрын

    your videos have been great keep them coming! quick question in visual code everything was working great with the ssl connection however all of a sudden i cant see any of my folders or files any more the connection still shows as active and i can expand the opt folder like something is there but the visual code folder wont display them. any ideas on a fix?

  • @HomeAutomationGuy

    @HomeAutomationGuy

    2 жыл бұрын

    Oh no, that's a weird one! I've never seen that! Perhaps you can remove and re-add the remote connection via SSH?

  • @justinsmall9149
    @justinsmall91498 ай бұрын

    out of interest what permissions as your non root user got to /opt directory? Finding that I have to sudo nano to edit the configuration.yaml file in this folder

  • @chimpsinties
    @chimpsinties9 ай бұрын

    Have you got any advice about setting up pihole to run in a container like you have here at 7:02mins. I have an old Pi2 running pihole on my network, it is also the DHCP server. I have bee following your other videos so basically have exatly the same setup as you. I have tried setting pihole up in docker compose following the documentation on the docker and pihole websites but can't get it to work right. I have pihole running in docker and I want it to handle my DHCP too. It appears to work as expected and will hand out IP addresses for new devices. The problem is, when I reboot the server, the server then doesn't seem to allocate itself an IP address. So then everything falls apart. The only thing I can do is to reenable DHCP on my old pihole and reboot the server again so it does get it's IP again. I have removed the ports from the docker compose file and added network_mode: host like it says. I have also suspected the systemd_resolved service to stop it conflicting on port 53. I'm at a loss here.

  • @davidforbes9299
    @davidforbes92992 ай бұрын

    great walkthrough! sorting nvme ssd m.2 with ubuntu server verison first then following your guide. I wondering what about hacs, Lovelace card and download from github in dockers?

  • @HomeAutomationGuy

    @HomeAutomationGuy

    Ай бұрын

    HACS and the lovelace cards all work as normal with this process.

  • @michnl1772
    @michnl177210 ай бұрын

    i can't restore a Home Assistant installation... (HA backup) is there a way to restore a backup in Docker (CasaOS)?

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

    I've been watching "Living without add-ons on Home Assistant Container" when you suddenly switch to Portainer in HA which is an addon! Portainer is installed in my Docker system. How do I ingest it into HA please?

  • @edwardrhodes4403
    @edwardrhodes44035 ай бұрын

    anyone know if its possible to do the editing of config files throguh vscode? When i try to save them it saves i dont have the right permissoion to edit in /opt. I think it would be way more conveneient this way

  • @aalmarshad
    @aalmarshad4 күн бұрын

    if I access HA from outside, I cannot open the portioner from the

  • @matthiasra1806
    @matthiasra18062 жыл бұрын

    great video :) Are you running on an Intel NUC? If so, which one are you using?

  • @HomeAutomationGuy

    @HomeAutomationGuy

    2 жыл бұрын

    Yep - I'm using an older Intel NUC 8, with an i5 processor.

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

    Does this still work? I cannot get Docker Compose to install and some of the commands are different on their website vs in the video. I am a complete noob to docker and Linux, but am just trying to setup Home Assistant in a Docker Container on my Raspberry Pi

  • @ketracker7302
    @ketracker73022 жыл бұрын

    I think I've seen that you run Pi Hole. Can you share how you run Pi Hole in Docker? I'm trying to get that to work and its being difficult. I do want to run a reverse proxy with it too.

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

    If you're using UbuntuServer there is also a docker-compose package, I'm wondering why do you use 'apt install' for the docker-packages but not for docker-compose? By using the apt command you will also install (or update) some package dependencies.

  • @I000I

    @I000I

    Жыл бұрын

    Which docker/compose version do you have in this Ubuntu package? In my case it was older version. Like Compose v1.9 something instead of 2.14.2. So I ended up deliting this docker packages from Ubuntu, and install a newest ones from Docker itself.

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

    Can;t get my head around it - say I get laptop with WIndows 10. I want the version that can install add-ons so either I need to do OS install (remove win10 I guess) or supervised in linux docker (I guess remove win10 or install alongside it). However I am not sure if I survive the linux part lol...

  • @rajveersingh-ix6ti
    @rajveersingh-ix6ti Жыл бұрын

    add ons not there in the blog post

  • @TheKd4lyfe
    @TheKd4lyfe10 ай бұрын

    i noticed a number of changes in docker desktop

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

    Many thanks 😀

  • @HomeAutomationGuy

    @HomeAutomationGuy

    11 ай бұрын

    You're welcome 😊

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

    Any chance you could make a video detailing how to set up this type of home assistant to remote onto the internet? Or even just link me with a straight forward explanation for specifically this set up? I spent hours today trying to do this just to give up and sign up for the nabu casa service... all the guides I can find are not specific enough or are specifically for a supervised setup. Thanks!

  • @HomeAutomationGuy

    @HomeAutomationGuy

    Жыл бұрын

    I suggest using Home Assistant Cloud by Nabu Casa. You get easy remote access, voice assistant integration and you directly fund future development and improvement to Home Assistant

  • @hineko_
    @hineko_9 ай бұрын

    just fyi docker's "network_mode:host" from homeassistant settings works only on linux. If you do it on windows or macos, your app won't have any ports open. You gotta do "ports:" instead

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

    Nice tutorial but how to restore backup then?

  • @leithgrifoni1849
    @leithgrifoni18492 жыл бұрын

    I’m interested in running my first HA instance on a NUC style machine just as you do. Do I need specific hardware or will just about anything work? Are there some minimum system requirements to follow? Thanks

  • @HomeAutomationGuy

    @HomeAutomationGuy

    2 жыл бұрын

    In my experience just about anything will work. I've run it on a Raspberry Pi 3, which isn't the most powerful machine.

  • @leithgrifoni1849

    @leithgrifoni1849

    2 жыл бұрын

    @@HomeAutomationGuy great thank you!

  • @Teeklin
    @Teeklin8 ай бұрын

    Great tutorial and I appreciate the blog post as well, but I'm running into issues as a new Linux user. I create the Home Assistant container with the docker-compose.yaml and it's running in Portainer, but I can't access it. And looking at your blog post/video/the Home Assistant documentation I notice that none of them include a "Ports" section to map ports out like your portainer section of docker-compose.yaml does, but yet it seems to work just fine for you. I'm curious as to what might be different or need changing on my end that it doesn't appear to use the default port or become accessible like it does for you there, and if I should add in a section mirroring portainer with a "Ports: 8123:8123/tcp" in that section to get it working. Also, I noticed I needed to actually make the directories here for the config files as I was getting errors when doing "docker-compose up -d" that the directories didn't exist. Doing mkdir and creating opt/homeassistant/config though and giving permissions seemed to get rid of those errors. Thanks again for the content, learned a lot even if it didn't all work right on Ubuntu 23.10 like it did here.

  • @rigpa3024

    @rigpa3024

    6 ай бұрын

    Hey I'm having exactly the same issue! My HA is running in Portainer but I can't access is via it's IP. Were you able to solve the problem somehow? Would be great if you could share what you did.

  • @s80275
    @s802752 ай бұрын

    >Who needs Add Ons and the Supervisor eh!? Cheers! 👍👍👍

  • @expbe
    @expbe2 жыл бұрын

    Love your video’s on this! I’m not new to HA, but haven’t got experience with Docker. Got it to work very well, even RFXCOM works. Unfortunately I can’t get HomeKit to work, I need to forward ports and/or bridge but the container doesn’t want to launch.

  • @JottyHB

    @JottyHB

    Жыл бұрын

    Hi. Your post is half a year old now, so I ask myself: can you run Homekit now? Did you solve the problem?

  • @Songio1983
    @Songio19832 жыл бұрын

    Thanks for the video and the blog post: I successfully installed everything via docker-compose. Just one question: do I need to add something to make home-assistant accessible from another device on the same LAN? I can connect to it neither from the android app nor another PC...

  • @HomeAutomationGuy

    @HomeAutomationGuy

    2 жыл бұрын

    If you copied the docker compose file from the Home Assistant website it should work properly. Make sure you've not missed this line in your compose file: network_mode: host

  • @Songio1983

    @Songio1983

    2 жыл бұрын

    @@HomeAutomationGuy Thanks for your reply. That line is in my compose file. I think that am I missing some 'server' configuration on my Ubuntu pc, to make that port accessible from other devices on the same LAN...

  • @ValZakharov
    @ValZakharov2 жыл бұрын

    Thanks Alan from your neighbour, I'm here in Ireland. Should I use this nice video when migrating my HA from raspberry pi 4 with portainer installed over to Intel NUC with Linux on it.? IS there any special actions required when doing this? Thanks, val.

  • @HomeAutomationGuy

    @HomeAutomationGuy

    2 жыл бұрын

    Hi Neighbour! 👋 Migrating a HA install from HA OS to HA Container is a bit tricky, but it sounds like you're running the HA Container version on both the Pi and NUC - am I understanding that correctly? If so, you should just be able to copy the Config directory from the old system to the new system and most things will probably work as before. You may need to do some cleanup though

  • @ValZakharov

    @ValZakharov

    2 жыл бұрын

    @@HomeAutomationGuy almost. Currently my HA is on raspberry pi, on docker, on portainer, sorry I'm still confusing what is based on what. Now I've purchased second hand Intel NUC and planning to move HA (on docker, on portainer) over to that fresh device. So far it took me 2 full days, still no results.

  • @fredandre3415
    @fredandre34152 жыл бұрын

    Thank you for your videos/site. They are responsible for me having a fully functional ubuntu server + docker + ha+ portainer + webmin system and controlling multiple silvercrest zigbee devices and gateway. Big THANKS! But i would like to ask if its possible to explain how to create the backup for portainer config to google drive and if possible the containers them self. How would we do to best backup and restore what we created?

  • @HomeAutomationGuy

    @HomeAutomationGuy

    2 жыл бұрын

    Glad to hear it! A video on how I backup my containers to Google drive is coming soon!

  • @fredandre3415

    @fredandre3415

    2 жыл бұрын

    @@HomeAutomationGuy Cant wait :) Have a fantastic day!

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

    THANKS A LOT!

  • @HomeAutomationGuy

    @HomeAutomationGuy

    Жыл бұрын

    YOU'RE MOST WELCOME!

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

    hey, i installed docker-compose but i don't get --version output, it says "/usr/local/bin/docker-compose: line 1: Not: command not found" any idea?

  • @zyghom

    @zyghom

    Жыл бұрын

    use: "docker compose" (it is not anymore extra software - it is not an option of docker command)

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

    The blog post doesn't open, has it been moved to a different URL?

  • @HomeAutomationGuy

    @HomeAutomationGuy

    Жыл бұрын

    Sorry, this has been fixed now.

Келесі