If you install hass.io as a generic Linux install (my suggestion) you will have exactly the same functionality with addons and everything else you have now with HassOS. (Including updates) You will also have real Linux and can install other stuff as well… best of both worlds,
I was exactly in the same boat. I ended up using ubuntu with hassio docker.
Debian had some problems i could not fix on my nuc.
You can find all the hurdles i had to take (limited linux knowledge myself) here:
I plan moving to NUC and my research conclusion is to run HA in ESXI/Proxmox cause linux way will make this linux a point of failure if I’ll install something wrong on linux OS
Running in ESXI/Proxmox allows VM’s in addition to Dockers and will isolate each thing and allow easy and fast snapshot/restore
Another plus is Proxmox can be run from USB so the SSD will be storage for all VM’s
Tip for Proxmox (and possibly ESXi) - when you create the VM, it doesnt automatically add an virtual sound card, which resulted in my HassIO logs being spammed with “no audio device enabled”
You can add one in easily in the System tab (i think) - I only discovered it last night after a week of wondering why I was getting such log spam
@AdmiralRaccoon, This has been covered in a number of other similar threads recently. I will post the same info I have in other threads, plus some extra steps and info, hopefully it will help you.
This, in my experience, is the fastest and simplest way to deploy Hass.io on a NUC (or other PC, RPi, etc) running Ubuntu Desktop or Server as the OS in this case (or using Raspbian on an RPi3). I have used this method myself on a NUC, an RPi3 and recently an old Dell Optiplex 990. The method is repeatable and simply, it just works.
1.) Get ubuntu form Here. Use the torrent link - either 16.04 LTS, or 18.04 LTS. Server or desktop won’t really matter. I have recently changed to using Server 18.04.03 LTS myself.
2.) Make a bootable Ubuntu USB using Rufus. Available Here
3.) Install Ubuntu to the NUC using the bootable USB you have just made, once the install and setup is complete, update the OS via a terminal window with;
sudo apt-get update && sudo apt-get upgrade -y
4.) If you have a current HA install on another machine, backup all your yaml files, lovelace config, etc to your PC, USB or HDD. A handy way to do that is using WinSCP, available Here. Connect to your current install and copy/paste all your config to a PC.
5.) Follow this guide , specifically from the line " To prepare your machine for the Hass.io installation, run the following commands:"
Copy each line of the below commands and paste them into a terminal window, and execute them one at a time.
I followed this myself just this week to do a fresh install on a Dell Optiplex SFF 990, and the entire process took me 19mins. I timed it just to see. This included making the bootable USB, Ubuntu install, updates, installing and having HA up and running. Very easy.
The time it takes will change depending on the speed of the CPU of the NUC/PC/RPi you use, but this should give you a good indication of just how fast and easy it is.
Now I´m struggling with some basic Linux Problems to get started:
Am I right that I don´t need the Samba Addon for Home Assistant anymore, but instead the Samba server for Ubuntu, to access and edit the Configuartion.yaml?
I have installed Samba, and made this share:
[config]
path = /usr/share/hassio/homeassistant/
public = yes
writable = yes
comment = hassio config dir
printable = no
guest ok = yes
And ran this command:
sudo chmod 777 /usr/share/hassio/homeassistant/
I´m able to read and create files, but I´m unable to edit, as I´m not allowed to save the files.
Another vote for Ubuntu server with docker compose.
There is a project called dock starter that is pretty cool if you want to run Plex radarr etc. It has lots of useful scripts auto backup auto upgrade etc.
Edit the Samba config file sudo nano /etc/samba/smb.conf
Press and hold control+K to remove all the text
Copy the below and paste in;
[global]
workgroup = WORKGROUP
server string = Samba Server %v
netbios name = Ubuntu
security = user
map to guest = bad user
name resolve order = bcast host
dns proxy = no
bind interfaces only = yes
[Public]
path = /
writable = yes
guest ok = yes
guest only = yes
read only = no
create mode = 0777
directory mode = 0777
force user = nobody
create mask = 0777
directory mask = 0777
force user = root
force create mode = 0777
force directory mode = 0777
hosts allow =
Ctrl+X to save
Create a username and password
sudo smbpasswd -a YOUR_USERNAME
Restart the samba service sudo service smbd restart
I started with Ubuntu around 8.04 release. And I changed hardware twice but still use same OS ( one recovery due to unsuccessful BTRFS install). It’s rock solid and very well documented on Internet. Mix of Ubuntu and Docker is perfect. New installs do not affect your main OS. In case of troubles you simple delete containers/images and start from scratch. Backups you can keep on server (NUC) or download to PC. Portrainer is really a good addition, it makes thing simpler in case of troubles.
I wish everyone a goodfmorning and a nice start of the week!
Thanks to everyone, the migration worked fine and I can also edit my config files from windows now, and even my z-wave stick works without altering the config.
However, some questions came in mind recently:
1.) This NUC5CPYH has a celeron CPU. Right now I have installed Hassio and Plex, and the CPU sensor within HA shows me about 19-25% CPU usage. Is that too high? My Raspberry
2.) How do you backup your Linux installations? Just relying on the Hassio Snapshot feature, or is there something available to backuop the whole disk. (Acronis? Rsync?)