Setup Home Assistant on a Mini PC
DedicatedNOTE: hardwareYou maywill beneed bettera dedicated computer to rune Home Assistant. There are other options available, but most of them require a new device. It's possible to use VirtualBox or VMware, but there are big limitations with that so I would only recommend it for you,trying butthings out. I found it easier to just dive in fully.
After investigating several options, I decided the easiest route to usestart a Hypervisor for a few reasons:
Container and Core installations had too many limitationsI already have an Intel NUC with linux running some local services for meI'm just getting startedout with Home Assistant was to purchase a cheap Mini PC and install HAOS on it directly, without a Hypervisor.Finding a cheap Mini PC
I browsed https://lowcostminipcs.com/ which is a site that links to good Mini PC deals on eBay. Almost any will do, but I splurged and payed about $80 for an HP Elitedesk. If you just want the basics and don't want to set anything up, you can get a Home Assistant Green device, I just knew I could get a lot more computer for a lot less price.
Installing HAOS on a Mini PC
The installation instructions Home Assistant provides for a Generic x86-64 are pretty good. If you've ever installed linux from a Live CD before then it's
annothingeasiertoofirstcomplicated.stepA
I decidedthings to watch out for though:
- HAOS does not provide a live ISO for installing. You must create an Ubuntu Live USB device and then once in the Ubuntu trial environment you download the HAOS image and use
VirtualBoxUbuntu to write that image to your disk. A little odd but it works - You may need to modify your BIOS boot order and disable Secure Boot.
- Your computer probably won't boot after following the directions. There's a step they hide at the end to create the EFI boot entry. If you follow their instructions step-by-step you'll have to boot back into Ubuntu live mode just to run one more command.
- Once installed, you need ethernet on your first boot, but you don't need a monitor on your first boot. HAOS does a great job of launching a web interface automatically and immediately with everything you need, so don't worry about lugging a monitor around after the
VMinitialstartinstall.since- I
aninstalledeasyHAOSwayover wifi where my monitors were and then moved it totestmy router where the ethernet was for the first boot and didn't need to bring a monitor.
it's - I
Backups
One of the first things out.you Latershould do is enable backups and have them copied off of your device. More details on it may be worth movingthat to somethingcome like Proxmox to run my other local services as well.
here
Note: Currently on Lubuntu 22.04 LTS with Virtualbox 6.1 which is not working. Rumor is that virtualbox 7 may resolve this issue, but LTS 24.04 will not be available until August 15th.
Post In Progress