Generic x86-64 - Home Assistant
Generic x86-64 - Home Assistant
io
Generic x86-64
Home Assistant
15-19 minuti
Follow this guide if you want to get started with Home Assistant
easily or if you have little to no Linux experience.
Prerequisites
• The system must be 64-bit capable and be able to boot using UEFI.
• Most systems produced in the last 10 years support the UEFI boot
mode.
Summary
To boot Home Assistant OS, the BIOS needs to have UEFI boot
mode enabled and Secure Boot disabled. The following
screenshots are from a 7th generation Intel NUC system. The BIOS
menu will likely look different on your system. However, the options
should still be present and named similarly.
Required material
• Computer
• The target x86-64 hardware, on which you want to install the Home
Assistant Operating SystemHome Assistant OS, the Home
Assistant Operating System, is an embedded, minimalistic,
operating system designed to run the Home Assistant ecosystem. It
is the recommended installation method for most users. [Learn more]
(HAOS)
• Internet connection
3. Insert the USB flash drive into the system on which you want to run
Home Assistant.
• Boot the live operating system.
• Connect your system to your network and make sure it has internet
access.
7. In the applications, search and open Disks and start restoring the
HAOS image:
1. In Disks, on the left side, select the internal disk device you want to
install HAOS onto.
2. On top of the screen, select the three dots menu and select
Restore Disk Image….
3. Select the image you just downloaded.
• Most likely, you are running Ubuntu on your internal disk. Instead,
you need to run it on your stick.
• Go back to step 3 and during start up, make sure you select Try
Ubuntu (and NOT Install Ubuntu).
6. In the partitions overview, you should now see the restore operation
in progress.
• The Home Assistant Operating System is now being installed on
your system.
8. Once the Home Assistant Operating System is installed, shut down
the system.
• Once Ubuntu has been shut down, remove the USB flash drive
(Ubuntu will inform you when this is the case).
• Your Home Assistant server is now set up and you can start using
it.
Use this method only if Method 1 does not work for you.
Required material
• Computer
• The target x86-64 hardware, on which you want to install the Home
Assistant Operating SystemHome Assistant OS, the Home
Assistant Operating System, is an embedded, minimalistic,
operating system designed to run the Home Assistant ecosystem. It
is the recommended installation method for most users. [Learn more]
(HAOS)
• Boot medium
• Internet connection
• This means you will lose all the data as well as the previously
installed operating system.
3. Download and start Balena Etcher. You may need to run it with
administrator privileges on Windows.
• If there are multiple links below, make sure to select the correct link
for your version of Generic x86-64.
Select and copy the URL or use the “copy” button that appear when
you hover it.
6. Select Flash from file and select the image you just downloaded.
• Do not use Flash from URL. It does not work on some systems.
7. Select target.
8. Select the boot medium (storage device) you want to use for
your installation.
9. Select Flash! to start writing the image.
• If the operation fails, decompress the .xz file and try again.
• When Balena Etcher has finished writing the image, you will see a
confirmation.
Start up your Generic x86-64
• If you used method 1 for the installation, make sure the USB flash
drive is removed from the system.
• If you used method 2 for the installation, install the boot medium
into your x86-64 hardware.
Or else, the BIOS might provide you with a tool to add boot options,
there you can specify the path to the EFI file:
Have you just installed Home Assistant? The Home Assistant team
is looking to talk to you to understand how the installation went.
Help now
Prerequisites
Platform installation
1. In your Home Assistant UI, go to the Settings > System and click
the Restart button.
2. You can go to the Developer Tools > Services, select the service
homeassistant.restart and select Call Service.
Docker compose
Start it by running:
Exposing devices
Optimizations
Install dependencies
Before you start, make sure your system is fully updated, all
packages in this guide are installed with apt, if your OS does not
have that, look for alternatives.
Create an account
Once you have activated the virtual environment (notice the prompt
change to (homeassistant)
homeassistant@raspberrypi:/srv/homeassistant $) you
will need to run the following command to install a required Python
package.
Once you have installed the required Python package, it is now
time to install Home Assistant Core!
Start Home Assistant Core for the first time. This will complete the
installation for you, automatically creating the .homeassistant
configuration directory in the /home/homeassistant directory,
and installing any basic dependencies.
You can now reach your installation via the web interface on
http://homeassistant.local:8123.
When you run the hass command for the first time, it will download,
install and cache the necessary libraries/dependencies. This
procedure may take anywhere between 5 to 10 minutes. During
that time, you may get a site cannot be reached error when
accessing the web interface. This will only happen the first time.
Subsequent restarts will be much faster.