Raspberry Pi

Suggested hardware

We will need a few things to get started with installing Home Assistant.

  • Raspberry Pi 5 or Raspberry Pi 4 with power supply (Raspberry Pi 3 Model B is ok to get started, but the Model A does not have enough RAM).
  • Micro SD Card.
    • Ideally get one that is Application Class 2. Check for the label A2 on the card. Application Class 2 cards perform better especially on small read and write operations and are better suited to host applications.
    • Make sure to use a card that provides at least 32 GB.
  • SD Card reader. This is already part of most laptops, but you can purchase a standalone USB adapter if you don’t have one. The brand doesn’t matter, just pick the cheapest.
  • Ethernet cable. Required for installation. After installation, Home Assistant can work with Wi-Fi, but an Ethernet connection is more reliable and highly recommended.

Note

Remember to ensure you’re using an appropriate power supply with your Raspberry Pi. Mobile chargers may not be suitable, since some are designed to only provide the full power with that manufacturer’s handsets. USB ports on your computer also will not supply enough power and must not be used.

Install Home Assistant Operating System

This guide shows how 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] onto your Raspberry Pi using Raspberry Pi Imager.

If Raspberry Pi Imager is not supported by your platform, you can download the Home Assistant image and use another imaging tool.

Write the image to your SD card

  1. Download and install the Raspberry Pi Imager on your computer as described under https://www.raspberrypi.com/software/.
  2. Open the Raspberry Pi Imager and select your Raspberry Pi device. Open Raspberry Pi Imager
  3. Choose the operating system:
    1. Select Choose OS.
    2. Select Other specific-purpose OS > Home assistants and home automation > Home Assistant.
    3. Choose the Home Assistant OS that matches your hardware (RPi 3, RPi 4, or RPi 5). Choose the operating system
  4. Choose the storage:
    1. Insert the SD card into the computer. Note: the contents of the card will be overwritten.
    2. Select your SD card. Select the storage
  5. Write the installer onto the SD card:
    1. To start the process, select Next.
    2. Wait for the Home Assistant OS to be written to the SD card. Select write
  6. Eject the SD card.

Start up your Raspberry Pi

  1. Insert the SD card into your Raspberry Pi.
  2. Plug in an Ethernet cable and make sure the Raspberry Pi is connected to the same network as your computer and is connected to the internet.
  3. Connect the power supply to start up the device.

Access Home Assistant

Within a few minutes after connecting the Raspberry Pi, you will be able to reach your new Home Assistant.

Note

If you are running an older Windows version or have a stricter network configuration, you might need to access Home Assistant at homeassistant:8123 or http://X.X.X.X:8123 (replace X.X.X.X with your Raspberry Pi’s IP address).

  • The time it takes for this page to become available depends on your hardware. On a Raspberry Pi 4 or 5, this page should be available within a minute.
    • If it does not show up after 5 minutes on a Pi 4 or 5, maybe the image was not written properly.
      • Try to flash the SD card again, possibly even try a different SD card.
    • If this did not help, view the console output on the Raspberry Pi.
      • To do this, connect a monitor via HDMI.

Congratulations! You finished the Raspberry Pi setup!

Downloading the Home Assistant image

If Raspberry Pi Imager is not supported by your platform, you can download the Home Assistant image and use another imaging tool, such as Balena Etcher.

To download the image to your computer, copy the correct URL for the Raspberry Pi 3, 4 or 5 (Note: there are 3 different links below!):

https://github.com/home-assistant/operating-system/releases/download/13.1/haos_rpi5-64-13.1.img.xz
https://github.com/home-assistant/operating-system/releases/download/13.1/haos_rpi4-64-13.1.img.xz
https://github.com/home-assistant/operating-system/releases/download/13.1/haos_rpi3-64-13.1.img.xz

Help us improve Home Assistant

Have you just installed Home Assistant? The Home Assistant team is looking to talk to you to understand how the installation went.

Help now

With the Home Assistant Operating System installed and accessible, you can now continue with onboarding.

  Onboarding

We get commissions for purchases made through links in this post.