Installing on nuc

Hello,
Today i have full home assistant image installation on a rpi 4.

I have 2 problems:

  1. This kind of installation doesn’t allow me to install other software that i use (right now it is only rhasspy voice assistant and lms).

  2. Rpi is now powerfull enough so i use multiple pi’s.

So, I want to go to the next level and use nuc as the heart of my smart home server.

My questions are:

  1. What is the best way to manage the different software packages.
  2. Since i’m familiar with the full home assistant installation, will installation on nuc is missing some of the functions?
1 Like

You should go with Proxmox and then with VM. You will be able to run HassOS so HA with all features and run other VM to do what you want.
If you go HA Supervised and install other app, your system won’t be “HA supported”.

Thanks.

  1. Does every vm need to have its own operating system?
  2. If, so, what is recommended?
  3. Will i be able to use containers on one of the vm’s

yes

HAOS for home assistant, debian or ubuntu for anything linux based, but you can run windows if (god forbid) you feel the need.

On any or all of them.

I read that vm needs a powerful hardware, is this true?
If yes, which nuc is recommended in order to perform well and with the ability to grow in the future?

How long is a piece of string?

proxmox does not add a lot of overhead compared to running HAOS on the bare metal.

I run Proxmox on a basic i3 nuc with an ssd and it runs very well. I have 6 containers and 2 vm’s running at the moment.

By the way, I used this script to install HA in Proxmox.

Thank you all

Running Proxmox on a 2.5 year old Celeron NUC with a Debian VM to run Docker w/ Home Assistant and associated containers, a container with the Unifi controller, a PiHole container, and an OpenVPN/Wireguard VM. Runs great.

Hello,
Will proxmox run on a pi4 8GB with SSD?

Does one of this is good as home automation server (or should i stick to nuc)?
I want to be able to grow with it as I add more to my home automation

https://www.amazon.com/Celeron-Processor-Computer-Ethernet-Bluetooth/dp/B081H24H8Z/ref=sr_1_3?dchild=1&keywords=mini+pc&qid=1602152375&sr=8-3

https://www.amazon.com/AK1-Windows-Processor-Computer-Ethernet/dp/B07D77W8CZ/ref=sr_1_4?dchild=1&keywords=mini+pc&qid=1602152501&sr=8-4

https://www.amazon.com/ACEPC-Celeron-Computer-Graphics-Ethernet/dp/B07KSV7XZY/ref=sr_1_8?dchild=1&keywords=mini+pc&qid=1602152501&sr=8-8

Yes any of them will be more than enough to run home assistant.

I don’t think proxmox runs on pi. Maybe it does.

I am a big fan of go big or go home. With my current setup, none of those devices would work at all, for many reasons.

The Celeron NUCs do not support more than 8 gigs of ram, and they are slower than you think. Of course you can run HA on them, but if you want to get real and use it as a VM/container platform… go BIG.

My 6 year old machine is a quad core Haswell Xeon workstation, it was upgraded from 8GB to 32GB last year because I was starting to run out of mem, this was even before I started using containers (not using VMs). Even though it is 6 years old, it is several times faster than that Celeron NUC. I am sitting around 20% CPU, which would max that little thing out, and the HA ecosystem will require me to add more containers and VMs as I add more features. After some more ram and a few SSDs, this thing still has capacity to play around.

Currently running
Ubuntu 18.04 with 20.04 kernel
Docker: HA, Rhasspy, BlueCherry with motion detection
Databases: Prometheus, MongoDB, MySQL
DNS, Filtered DNS, NTP, NUT, Duplicati, Mosquitto
Grafana, Netdata
Unifi controller, Adaptec RAID controller
Samba and NFS file servers

You do not have to go as big, but maybe there is a good middle ground. The 8th gen NUC has the Iris Plus graphics ( NUC8i5BEH), which you wouldnt think would be a big deal if you are not using a monitor, but it has 128MB EDRAM, which acts as an L4 cache, makes them very quick for multitasking and running lots of stuff. It is 3 times faster single threaded than that Celeron, and 4 times faster multithreaded, and even more for graphics and applications that support AVX, which the Celeron does not.

If you end up wanting to do more, you will very quickly regret getting a Celeron, especially if you want to run VMs, which need allocated RAM

Thanks for your input.
I saw that nuc i5 8th gen cost almost like i5 10th gen.
Which gen is preferable?

I recommend the gen 8 mainly for the EDRAM, there is a gen 10 i7 in testing for work use in my basement right now, from what I can tell:

They are almost the exact same performance, however
Gen10 has higher mem bandwidth
Gen10 runs cooler at idle and load
Gen10 has 64GB RAM support

the Gen8 can be faster in many cases due to the EDRAM and higher TDP where you are non memory limited

Celerons run great with Home Automation software. Way faster than a PI and not overly expensive. Size up if you need more power for something like an NVR or Plex.

It seems i will go with the nuc8i5beh.
For RAM i saw this one on amazon

https://www.google.com/url?sa=t&source=web&rct=j&url=https://www.amazon.com/Crucial-Single-PC4-21300-SODIMM-260-Pin/dp/B071KP8CGJ&ved=2ahUKEwiBhKGCia_sAhXjpnIEHZ77BiAQFjACegQIAxAB&usg=AOvVaw2ekELTniAd778cmF8OjNnM

Is it a good memory?

If i want 32gb, should i choose 32gb (2×16) kit or 32gb (2x16) dual rack?

That is not good, because it is a single ram stick, and you need 2 to saturate the memory controller

See CT2K8G4SFRA266
For 32GB see CT2K16G4SFRA266

For dual vs single rank, that is a memry controller support issue, single rank is faster, dual rank sodimm usually has 2 sides with chips populated, but that can cause fitment issues in some systems

I would suggest looking at the Intel memory support document for the CPU, but generally they are all supported on an i5

Hello,
I got my nuc, installed proxmox and created two vm’s: one with hass and the second with ubuntu (with a couple of docker containers).

I have a few questions:

  1. How should I do a regular backup of proxmox and vm’s?

  2. How do I shutdown properly? Do I have to shutdown each container manually and after that proxmox? Or does shutting proxmox manage all vm’s shutdown properly?

  3. The nuc is connected to a ups - How can I do an automatic shutdown when the ups battery is nearly ending?

Google say Backup and Restore - Proxmox VE

Google say UPS APC to shutdown VMs? | Proxmox Support Forum

etc

1 Like