Installing Docker and Home Assistant Container

  Рет қаралды 178,004

Home Automation Guy

Home Automation Guy

Күн бұрын

Пікірлер: 268
@emilianofernandezcervantes4042
@emilianofernandezcervantes4042 Жыл бұрын
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 Жыл бұрын
Glad you learned something and found the video useful ☺️
@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 8 ай бұрын
Thank you so much!!! This should be stickied!
@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!
@patrickzockol9904
@patrickzockol9904 2 жыл бұрын
this video is way too underrated
@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
@sachnows
@sachnows Жыл бұрын
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.
@diosol
@diosol 9 күн бұрын
Did not help me, but I appreciate your contribution.
@fuzzbreezie81
@fuzzbreezie81 2 жыл бұрын
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
@MrSupersidewinder
@MrSupersidewinder 2 жыл бұрын
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!
@ThomasAshworth
@ThomasAshworth 2 жыл бұрын
Perfect timing, I just started my home lab upgrade for a pi to a micro pc
@AndreasLenze
@AndreasLenze 2 жыл бұрын
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!
@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!
@ARMCreations
@ARMCreations 2 жыл бұрын
This is incredibly helpful. Installed this on my NUC and everything went flawlessly! Thank you so much for this walk through!
2 жыл бұрын
Great tutorial, even a non-technical person will understand what to do. Thank you for making life easier for "lazy" people =]
@aseda8146
@aseda8146 2 жыл бұрын
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.
@matfen7978
@matfen7978 Жыл бұрын
Amazing video, still relevant and up to date as of March 21th 2023
@HomeAutomationGuy
@HomeAutomationGuy Жыл бұрын
Thank you!
@sharpenedge
@sharpenedge 2 жыл бұрын
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!
@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 ☺️
@fearthesmeag
@fearthesmeag 11 ай бұрын
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
@lidbergtech 2 жыл бұрын
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!
@tankx5915
@tankx5915 2 жыл бұрын
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!
@I000I
@I000I Жыл бұрын
Can't thank you enough! Best tutorial so far! Installed on Lenovo ThinkCenter mini computer with Ubuntu Server.
@systematictechnology
@systematictechnology Жыл бұрын
Excellent tutorial. I got everything set up on my system with no dramas. Thanks!
@marcelkoch-c2q
@marcelkoch-c2q Жыл бұрын
Thank you for your guidance. I have finally managed to get HA running on a WAGO PFC.
@nagisupercell
@nagisupercell Жыл бұрын
Great video. I believe people will know docker/docker-compose/container better after going though this series.
@Zolive974
@Zolive974 6 ай бұрын
Huge thanks for this very complet tutorial ! Very easy to understand, even for a french guy like me lol
@HomeAutomationGuy
@HomeAutomationGuy 6 ай бұрын
I am glad it was helpful!
@s80275
@s80275 3 ай бұрын
>Who needs Add Ons and the Supervisor eh!? Cheers! 👍👍👍
@wolfiy
@wolfiy Жыл бұрын
8:34 (ignore this i gtg and will resume later, great video btw thank you!)
@clarkedigital
@clarkedigital 2 жыл бұрын
Amazing. Thank you. Really easy step by step guide. Already lining up the next videos.
@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!
@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.
@Danish3Cubed
@Danish3Cubed 7 ай бұрын
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 7 ай бұрын
Thanks for sharing!
@mustafafathi9507
@mustafafathi9507 2 жыл бұрын
Perfect tutorial. when i have installed Hass , it can't onboard for ubuntu 20.4. and solution is i have enable 8123 within firewall
@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.
@AndrewGlasgow2020
@AndrewGlasgow2020 4 ай бұрын
Great. Very helpful at my level of knowledge. 👍 Would be even greater if you could do a Debian Linux version 🙂
@hineko_
@hineko_ 10 ай бұрын
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
@svalebkisheste2604
@svalebkisheste2604 Жыл бұрын
Extremely great video! Really awesome job - well done
@HomeAutomationGuy
@HomeAutomationGuy 11 ай бұрын
Thanks a lot!
@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
@edipavic3208
@edipavic3208 2 жыл бұрын
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
@BradleyHerbst
@BradleyHerbst 2 жыл бұрын
There is a difference between Docker and Docker Desktop. Docker for linux is free and doesn't have the restrictions that Docker Desktop has.
@nlemmon2001
@nlemmon2001 7 ай бұрын
Oh very intuitive.
@GenerlAce
@GenerlAce 2 жыл бұрын
Great tutorial. Glad I found your videos !
@kondzio2003
@kondzio2003 23 күн бұрын
Awesome tutorial video
@JimDory
@JimDory 5 ай бұрын
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
@luizhenriquemaria
@luizhenriquemaria 11 ай бұрын
Great Guy, thank you for your video.
@Jackflem
@Jackflem 2 жыл бұрын
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!
@davidforbes9299
@davidforbes9299 3 ай бұрын
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 3 ай бұрын
HACS and the lovelace cards all work as normal with this process.
@zyghom
@zyghom Жыл бұрын
great video of course, I managed to move almost everything (node-red, mariadb, mqtt, influxdb, grafana, wireguard, pihole...) to the containers, remaining one is... home assistant ;) that is my next step ;-) once I am done, I will say good bye Raspberry Pi... ;)
@HomeAutomationGuy
@HomeAutomationGuy Жыл бұрын
Sounds like an awesome upgrade 💪
@dennisclark6548
@dennisclark6548 2 жыл бұрын
@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
@NateDietrich
@NateDietrich Жыл бұрын
The instructions seem to be a bit out of date. Ubuntu core uses snap now instead of apt-get, and the docker-compose link no longer works. Maybe someone who is already fluent at Linux might be able to get this to work.
@AmbeSwag
@AmbeSwag 3 ай бұрын
I don't know jack diddly shit about linux. I know a little bit about coding cause I took classes in highschool multiple times. I keep getting stuck on ever container he gets us to make. They all keep installing with issues. Eventually I figure out what is causing issues and change the code a little. Now Im starting to understand what each line is doing. 😭
@UnikumMitsubishi
@UnikumMitsubishi 4 ай бұрын
My fix was removing the. "-" from "docker-compose up -d" to "docker compose up -d"
@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?
@koenchiau4002
@koenchiau4002 2 жыл бұрын
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!
@ajiteshkhosla12
@ajiteshkhosla12 2 жыл бұрын
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"
@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
@revealingfacts4all
@revealingfacts4all Жыл бұрын
you might consider removing network_mode: host setting and opting to, instead, define a self-contained network that is then bridged with the docker host machine's ports. Then internal docker images can freely "talk" to one another while only exposing pertinent external ports of interest.
@HomeAutomationGuy
@HomeAutomationGuy Жыл бұрын
Thanks for the tip. Docker networking is a dark art to me, I have NFI how it works!
@ljdswer
@ljdswer 8 ай бұрын
When installing docker using the terminal, the author confused Docker Desktop (the proprietary frontend for the containerd) with the containerd itself (the FOSS solution). @HomeAutomationGuy installed the free and open source Docker CLI with a containerd, but warned about the Docker Desktop license, which is completely unrelated to this video.
@j.r.r.tolkien5785
@j.r.r.tolkien5785 2 жыл бұрын
I loved your style It's great thank you
@harvasyuk
@harvasyuk Жыл бұрын
Thank you! Very helpful video.
@empty177
@empty177 Жыл бұрын
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
@basemkhuri7806
@basemkhuri7806 9 ай бұрын
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.
@Jason-mk3nn
@Jason-mk3nn 2 жыл бұрын
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
@expbe
@expbe 2 жыл бұрын
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?
@matthiasra1806
@matthiasra1806 2 жыл бұрын
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.
@betchphoto
@betchphoto 11 ай бұрын
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.
@GenevieveShaba
@GenevieveShaba Жыл бұрын
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
@shawnhartsell1261
@shawnhartsell1261 2 жыл бұрын
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?
@JRWJWV
@JRWJWV Жыл бұрын
When trying to add the home assistant to the docker-compose.yaml file, I get an error, [ File 'docker-compose.yaml is unwritable ] and get stuck at this step.
@Teeklin
@Teeklin 9 ай бұрын
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 8 ай бұрын
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.
@chimpsinties
@chimpsinties 10 ай бұрын
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.
@leithgrifoni1849
@leithgrifoni1849 2 жыл бұрын
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!
@edwardvanhazendonk
@edwardvanhazendonk 2 жыл бұрын
Thanks, very usefull and informative
@lee-he3ey
@lee-he3ey 2 жыл бұрын
Great tutorial, could you explain how to get PiHole running in an ?
@wolffair1119
@wolffair1119 2 жыл бұрын
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?
@aalmarshad
@aalmarshad Ай бұрын
if I access HA from outside, I cannot open the portioner from the
@BobanVelickovic
@BobanVelickovic 2 жыл бұрын
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?
@bmurphy88
@bmurphy88 2 жыл бұрын
Great vid. Can you do a vid on getting ldap to work with Home Assistant container
@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!
@adibbins
@adibbins 2 жыл бұрын
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
@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. 🤗
@Cryptobob
@Cryptobob 2 жыл бұрын
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
@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
@andreiczm
@andreiczm 2 жыл бұрын
HI! I installed everything under Ubuntu but now I'm stuck when trying to install the supervisor. I checked the home assistant page and I understood that it's only working with Debian version. "This installation method has very strict requirements, for example, it only supports Debian (and Ubuntu, Armbian, Raspberry Pi OS are not supported). So, make sure you understand the requirements from step 1 above." I needed supervisor to install DuckDNS and more addons from there. do you know how can I do that? Or should I go back using a Virtual machine with the image from home assistant? Thanks for your video!
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
If you're not wanting to run the container version of Home Assistnant, then I suggest using the Home Assistant OS on a virtual machine.
@zyghom
@zyghom Жыл бұрын
"I needed supervisor to install DuckDNS and more addons from there" - no, you don't need supervisor and supervisor is only supported on Debian
@babludhiman9512
@babludhiman9512 Жыл бұрын
Can you do the video for installing scrypted as a docker compose container and map scrypted from /opt directory. Thanks
@matthewbarton-pye9925
@matthewbarton-pye9925 Ай бұрын
Maybe this is now irrelevant due to the ago of the post but will be removed in HA according to a message that popped up for me today. Have you come up with a new way to display portainer within ha?
@ValZakharov
@ValZakharov 2 жыл бұрын
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.
@Songio1983
@Songio1983 2 жыл бұрын
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...
@joakimbengtsson9334
@joakimbengtsson9334 Жыл бұрын
Many thanks 😀
@HomeAutomationGuy
@HomeAutomationGuy Жыл бұрын
You're welcome 😊
@JaPaKa80
@JaPaKa80 Жыл бұрын
Hello, I have a problem, I follow the guide, but unfortunately I am blocked from editing the /opt/homeassistant/config file cd /opt/homeassistant/config sudo nano configuration.yaml -bash:No such file or directory my configuration.yaml file is locked, even when I have "root" rights, I can't do anything, I know it's a common case ... HELP !!!
@JaPaKa80
@JaPaKa80 Жыл бұрын
I found it, maybe someone is also looking for a solution, catch it .... Try changing the permissions to /opt then making sure that A and all of its contents are owned by you. sudo chmod 775 /opt sudo chown -R $USER:$USER /opt/
@michnl1772
@michnl1772 Жыл бұрын
i can't restore a Home Assistant installation... (HA backup) is there a way to restore a backup in Docker (CasaOS)?
@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.
@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.
@lossless4129
@lossless4129 2 жыл бұрын
Thank you!
@justinsmall9149
@justinsmall9149 10 ай бұрын
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
@serhioromano
@serhioromano 2 жыл бұрын
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?
@jarekmor
@jarekmor 2 жыл бұрын
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?
@r0y4l69
@r0y4l69 Жыл бұрын
The most thing i dont understand in so much tutorials is the part at volumes with the localtime I don't understand why and for what is this? Do I use here the localtime from my portainer in my container? why do I need to "bind" this to every container?
@r0y4l69
@r0y4l69 Жыл бұрын
sry forget it, now i understand XD wasted post. It links to the Host Timezone (Portainer) to sync all containers to the same Timezone :)
@r0y4l69
@r0y4l69 Жыл бұрын
And ":ro" does not mean romania it means ReadOnly :D
@HomeAutomationGuy
@HomeAutomationGuy Жыл бұрын
Glad you figured it out :)
@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?
Living without add-ons on Home Assistant Container
14:33
Home Automation Guy
Рет қаралды 158 М.
What's On My Smart HomeLab Server?
15:41
Everything Smart Home
Рет қаралды 310 М.
Apple peeling hack @scottsreality
00:37
_vector_
Рет қаралды 125 МЛН
An Unknown Ending💪
00:49
ISSEI / いっせい
Рет қаралды 44 МЛН
Players vs Corner Flags 🤯
00:28
LE FOOT EN VIDÉO
Рет қаралды 15 МЛН
Learning Docker // Getting started!
35:56
Christian Lempa
Рет қаралды 109 М.
Home Assistant Setup Made Easy: The Ultimate Guide
33:05
Crosstalk Solutions
Рет қаралды 451 М.
12 Of The Best Smart Home Automation Ideas!
20:14
Everything Smart Home
Рет қаралды 324 М.
What's on my Home Server?? MUST HAVE Services 2023!
27:29
TechHut
Рет қаралды 786 М.
Fixing my Zigbee with a network Zigbee coordinator
10:41
Home Automation Guy
Рет қаралды 48 М.
Don’t run Proxmox without these settings!
25:45
Christian Lempa
Рет қаралды 210 М.
Apple peeling hack @scottsreality
00:37
_vector_
Рет қаралды 125 МЛН