I started using Home Assistant a couple of days ago as a Docker container on Mac. As it has some drawbacks (e.g. no --net=host available under Mac) I want to move Home Assistant to a Raspberry Pi 4 (4GB) I’m currently using for Pi-Hole, unbound and Wireguard server. What install would you recommend? Docker? Any Cons? Or buy a second Pi and install Hass.io?
Well that’s the link to the hass.io installation files for Pi. I saw that and I would need a clean Pi for that… Was looking for a recommendation what to do in my situation (obviously I would prefer using my existing Pi if there are not major drawbacks using pip, docker container or venv).
I spent 20 mins trying to find the “generic Linux install” for hassio (dockerised HA install with supervisor) (or whatever it’s called in the ‘current hour’ (tomorrow it’ll be different again)) I eventually gave up, assuming it was related to kanga’s observation.
I’ve got the image I used so, I assume I’ll have to use that (then upgrade a lot) until this is sorted out (if I ever need to reinstall)
Is it me, or was there no warning of this ? Explanation ? Reasons ? Plan for Future ?
Just install the Home Assistant image. PiHole/Adguard and wireguard are both available as addons. If you need to add unbound you can use portainer to spin up another docker container manually.
Thanks everyone for the suggestions. I’m still a bit unclear about what the pros and cons are of the different installs? Specifically what are the limitations with a regular docker container running with --net=host?
@francisp thanks for digging this up. It seems like according to the warning in the readme it would be a bad idea to take this route as I have other things running on the same Pi?
@callifo what’s the advantage over docker? I would have to get familiar with venv first if there’s any benefit over Docker.
I found docker a pain in the ass to update, it would leave a tonne of old images laying around, and ended up with multiple instances of the same VMs running. IMO venv just works.
My Pi isn’t just a HA instance, I run lots of stuff on it. I’ve done things you can’t do with the Home Assistant OS builds like multiple VLAN nics etc.