I am a fan of Andreas Spiess on youtube and he has just given a tutorial on a docker/container scheme for Raspberry Pi 4B that includes everything I need except home-assistant. Is there a home-assistant container that works with RPI 4B? He has given a link to a person who has developed scripts to get everything setup. It will be very useful to me as long as I can get a home-assistant container into the system.
All comments and suggestions much appreciated. I am now running hassio on an RPI 3B (no containers). Thanks, Doug
Absolutely… I built nearly the identical project last night. (Wish I waited a day and built off of the great work that Grahm Garner’s did which Andreas featured in his video.)
Unfortunately, Grahm made it a little too turn key in some ways. Adding another service (HA) into his app is a little tricky. He generates the docker-compose.yml file needed directly out of the menu.sh file. Easy to extend – once you understand it. But understanding it is not a low bar.
This post by x99percent on redit last year, My Home Assistant setup is nearly the exact project you’re looking for… minus the turnkey solution. It was my inspiration to dive in and get to know docker, docker-compose, vim, zsh, git, shell scripting, and HA at a layer closer to the hardware. Nice when a hobby passion actually helps my professional career. A steep but enjoyable learning curve.
Someone can easily fork Grahms post and extend it. I’m not able to support his code or some of the techniques he used, so I’m out.
@pvizeli Could you shed a light on the differences between pi3 and pi4 docker images? I’m currently running the pi3 image on my pi4 because I didn’t even know there was a pi4 version
Thank you. That gives me the confidence to dig in. I am 72 but did a lot of real-time programming (like vehicle power-train controls) before I retired. My background is in assembly, C, and C++. In my work, we wrote every line of code (no canned routines). The world of Linux, Python, and YAML is a new paradigm and old dogs do have trouble learning new tricks (LOL). But I am too stubborn to quit. Thank you for the references and links.
Doug
I am not really sure it differs from the rpi3 image, I believe there is a builder container that publishes all the docker containers but did not track down the details.
I do know that the raspberrypi3/4 containers do include some rpi-specific things, like the Raspberry PI userland tools (vcgencmd, etc.), which the standard homeassitant container does not have.