How Home Assistant runs

Home Assistant runs on its own system in your home, day and night. It connects to your devices, runs your automations, and keeps the history of your sensors. You use it from your other devices. For example, you can use your phone, a tablet on the wall, or your laptop. You open it in a browser or in the Home Assistant Companion app.

Home Assistant runs locally, so automations and devices that use local protocols can keep working when the internet is down. Devices that rely on a vendor’s cloud still need an internet connection. Your data stays in your home. To use Home Assistant when you’re away from home, set up remote access.

A system that stays on all the time

Home Assistant controls your home around the clock. For example, it turns on the porch light at sunset, or sends you a notification when a leak sensor detects water. If the system that runs Home Assistant is turned off or goes to sleep, none of this happens. The Companion app on your phone can’t take over, because it only shows and controls what Home Assistant does.

That’s why the system that runs Home Assistant stays on all the time. A small, quiet device works well for this. For example, you can use Home Assistant Green or a Raspberry Pi.

No screen needed

The system that runs Home Assistant doesn’t need a monitor, keyboard, or mouse. You connect it to power and to your home network. Then you open Home Assistant in a browser on another device on the same network.

Connect the system to your router with an Ethernet cable if you can. Ethernet is more reliable than Wi-Fi. The installation guides use an Ethernet connection to set up the system.

A system just for Home Assistant

The recommended way to run Home Assistant is 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 on single board computers (like the Raspberry Pi) or Virtual Machines. It includes Home Assistant Core, the Home Assistant Supervisor, and supports apps. Home Assistant Supervisor keeps it up to date, removing the need for you to manage an operating system. Home Assistant Operating System is the recommended installation type for most users.. It’s a complete operating system. Besides Home Assistant itself, it provides tools for updates, backups, and appsApps are additional standalone third-party software packages that can be installed on Home Assistant OS. [Learn more]. When you install it directly on a device, everything on that device’s drive is erased; in a virtual machine, only the virtual machine’s disk is affected.

You can run Home Assistant OS in one of the following ways:

  • On a device that only runs Home Assistant.
    • For example, Home Assistant Green, a Raspberry Pi, or a mini PC that you no longer use for anything else.
  • In a virtual machine on a computer that you also use for other things.
    • Home Assistant OS then only uses the virtual machine, not the entire computer. The computer must still stay on all the time.

Home Assistant isn’t an app that you install on Windows or macOS like other software. To use your Windows or Mac computer, you run Home Assistant OS in a virtual machine on it.

There is also Home Assistant ContainerHome Assistant Container is a standalone container-based installation of Home Assistant Core. Any OCI compatible runtime can be used, but the documentation focus is on Docker. [Learn more], which runs next to other software on your own Linux system. It doesn’t support apps. For the differences, refer to About installation types.

Systems you can run Home Assistant on

The quickest way to start is Home Assistant Green, which comes with Home Assistant already installed. You can also use hardware that you already have.

You can run Home Assistant on the following systems. Each link leads to the installation guide.

  • Home Assistant Green.
  • Home Assistant Yellow.
  • A Raspberry Pi 4 or 5 with at least 2 GB of RAM, and an SD card of at least 32 GB.
  • An ODROID board, like the ODROID-N2+ or the ODROID-M1.
  • A mini PC or other computer with a 64-bit Intel or AMD processor that can start in UEFI mode.
    • Most computers made in the last 10 years can do this. The installation guide shows how to turn on UEFI mode.
  • A virtual machine with at least 2 GB of RAM and 2 virtual processors.
    • For most homes, 4 GB of RAM and 4 virtual processors work better.
    • You create the virtual machine with virtualization software. For example, you can use VirtualBox, KVM, Proxmox, VMware, or Hyper-V. For the steps, refer to Linux, macOS, Windows, or Other systems.
  • Home Assistant Container, on your own Linux system with Docker.

Ways to install Home Assistant

How you install Home Assistant depends on the system. For most systems, you use the Home Assistant OS image. An image is a single file that contains the complete operating system.

  • Home Assistant Green comes with Home Assistant already installed. You connect power and your network.
  • For a Raspberry Pi, an ODROID, or a mini PC, you write the Home Assistant OS image to its drive. For example, you can use Raspberry Pi Imager. The installation guide of your system has the steps.
  • For a virtual machine, you download the Home Assistant OS image for your virtualization software, and create a virtual machine with it.

When the installation is finished, open homeassistant.local in a browser on a device on the same network for Home Assistant OS. For Home Assistant Container, open http://YOUR_HOST:8123, where YOUR_HOST is the host name or IP address of the computer running the container. Then, create your account and set up Home Assistant.