1.) if you have HA already installed and running, Backup all your yaml files, lovelace config, etc to your PC, USB or HDD. If not, go to step 2.
2.) Install Ubuntu or similar Linux OS (I use Ubuntu 16.04 LTS on my NUC)
3.) Follow this guide , specifically from the line “To prepare your machine for the Hass.ioinstallation, run the following commands:”
But since I know nothing about Ubunto it would have felt simpler to just run Hass.io, I’m a bit concerned that I won’t get security and so on set up in a proper way and that the server will use more resources compared to just running Hass.io. I will not use it for anything else than Hass.io.
But since I then need to buy an expensive SSD case in order to connect it to my computer maybe this is the best way.
Is there no simple way to mount the Hass.io image to a brand new SSD without taking the SSD out of the NUC but still only running Hass.io on the NUC (not installing Ubunto on the SSD)?
Sounds easy but since I know nothing about Ubuntu I think the easiest way is to take the SSD out of the NUC, mount the Hass.io image and then put it back. I need to buy a SSD enclosure but think that’s th way to do it then. Thanks anyway, I really appreciate it!
Yeah, I will give it a try. So what you are saying is that if I do the Hassio.io image from here (https://www.home-assistant.io/hassio/installation/) I will get Ubunto anyway, so there is no way of setting this up with “just” Hass.io? I’m looking for an as minimal installation as possibe with just the absolut core of software needed to get it runnning.
In that case it makes sense to go with your approach. As I wrote, the SSD case is just as expensive as the SSD.
How many more times do I need to say, you need to install an operating system?
Those images are just versions of Hass.io for different machine types.
Hass.io is Home Assistant in a Docker container. Docker is software, that runs on an operating system, the same as home Assistant is software, that runs on an operating system.
Been watching this video (https://www.youtube.com/watch?v=gsanqLTU5J0) since I initially planned on getting a Raspberry Pi. Thought the image file was similar (and just a file to flash to the disk) but this one contains the OS, and the NUC file doesn’t, that is what confused me. Sorry for bothering you.
Yes it’s possible to flash directly to an SSD, and you don’t need a case for it, assuming you have a desktop computer. Just plug it into the sata port on your motherboard.
Honestly HassOS isn’t worth it. Just run normal Ubuntu and hassio.
Thanks for clarifying! And to be 100% sure, when installing Ubuntu I get the option to partition and format the drive so no need to buy a case and connect to my PC first?
Since your initial post specifically stated that you only want Hass.io running on the box, that means getting the case and using the NUC image, or as you’ve mentioned, booting a live Linux Distro and burning the Hass.io/HassOS image (I don’t have instructions for that - I pieced it together from elsewhere in this thread and a couple of others that I didn’t save as it didn’t work for me, per the below).
Note that there’s no guarantee that will work for you though as there’s variation between the NUCs that the HassOS doesn’t necessarily accommodate. I ended up giving up on getting the NUC Hass.io/HassOS image working on my NUC, and so went the Ubuntu route that others have suggested - which is an entirely different approach from what you were originally asking about.
Installing Ubuntu on the NUC, followed by Hass.io per the instructions that the others have linked to (just Hass.io running in a docker container - not Hass.io running under HassOS, since you’re using Ubuntu as your OS) gives you a fairly similar result, but you won’t need to flash the image directly to the drive, so no need for the case.
It means also having to maintain the Ubuntu environment (e.g. system updates) outside of Home Assistant, but it also gives you some flexibility to run more stuff on the NUC if you end up wanting to do that.
THIS! That is exactly what I was hoping to avoid. To keep it simple and with a bare minimum of “server maintenance”. So you are saying that the image under your first link actually contains an OS, Hass OS, and that would be enough?
A bit afraid of getting Ubuntu without kowing how to keep it up to date, secure and protected since the NUC will be connected to the internet. But I guess that applies to Hass OS too…
Run sudo apt-get update && sudo apt-get upgrade - y once a Month via SSH, that’s almost all the maintenance you need to do. It really is VERY simple. VERY.
Just to add to the good suggestions made by others above: Do you already have a running HA install and want to shift to a NUC because you are running out of resources? I’m asking because if you are just getting started with HA, then why not go for a Raspberry Pi running HassOS first? This is really the easiest way to run HA and will serve you quite well for some time. A NUC is only required if you plan to run tons of other things in parallel to HA. Installing just HassOS on a NUC is a total waste of resources.