Homelab Plan

Smart home

How to install Home Assistant on your home server

Home Assistant links your lights, sensors and devices on your own network. The web page is on port 8123. The steps here are for the Container type.

What the steps install, and how it connects

Connects to it

  • Browser8123/tcp
  • Lights, sensors and deviceson your network

Your server, in Docker

container homeassistant

image ghcr.io/home-assistant/home-assistant:stable

--network=host: it uses the server’s own ports

  • 8123/tcpweb pageon the server’s own network

Its data on the server

  • /PATH_TO_YOUR_CONFIGto /configsettings
  • /run/dbusread-only

On TrueNAS the app’s web page is on 30103/tcp. Drawn from step 8 of the Debian + Docker steps. Ports are the ones in those steps and in the table below.

The diagram in words

The Debian + Docker steps install the container homeassistant, with port 8123/tcp. Connects to it: Browser on 8123/tcp; Lights, sensors and devices on your network. Its data: /PATH_TO_YOUR_CONFIG (settings); /run/dbus.

What it needs

Ports8123/tcp (web page)TrueNAS app web page: 30103/tcp
MemoryNot stated for the Container install. Only the Raspberry Pi guide gives a figure: a model with at least 2 GB.www.home-assistant.io/installation/raspberrypi/ read 25 Nov 2026
CPUNot stated by the project (read 25 Nov 2026)
DiskNot stated for the Container install. Only the Raspberry Pi guide gives a figure: a card of at least 32 GB.www.home-assistant.io/installation/raspberrypi/ read 25 Nov 2026
LicenceApache-2.0
Project pagehome-assistant/core

Ports are the project's defaults. Memory and disk figures are the project's own, with the page and the date read. Estimates only.

The one thing to know before you start

The Container type has no add-ons (now called apps). The command uses --privileged and --network=host, and Docker Desktop does not work (Docker Engine 23.0.0 or later is needed). The project's own operating system, Home Assistant OS, is a separate install and is not on this page.

Wondering what it costs to run? Read how much power a Home Assistant server uses.

Install steps

These steps follow the project's own pages and have not been tried on real hardware yet.

They start from a server that runs Docker: set up an old laptop or PC first. Docker or bare metal for Home Assistant: what each method needs.

Debian + Docker

checking Some details are still being checked.

  • WARNINGUse Docker Engine 23.0.0 or later. Docker Desktop does not work.
  • WARNINGKnow that this install has no add-ons. It is the Container type.
  • WARNINGKnow that the command uses --privileged and --network=host.
  1. Install Docker Engine with the Compose plugin. Use the Docker page for Debian.

  2. Type this command to create the docker group. If the group exists, go to the next step.

    sudo groupadd docker
  3. Type this command to add your user to the docker group.

    sudo usermod -aG docker $USER
  4. Log out and log in again so that the group change takes effect.

  5. Type this command to test Docker.

    docker run hello-world
  6. Replace MY_TIME_ZONE with your time zone.

  7. Replace /PATH_TO_YOUR_CONFIG with your config folder.

  8. Type this command to start Home Assistant.

    docker run -d --name homeassistant --privileged --restart=unless-stopped --stop-timeout 60 -e TZ=MY_TIME_ZONE -v /PATH_TO_YOUR_CONFIG:/config -v /run/dbus:/run/dbus:ro --network=host ghcr.io/home-assistant/home-assistant:stable
  9. Open http://<server address>:8123 in a browser.

  10. Complete the setup of Home Assistant.

TrueNAS app

checking Some details are still being checked.

  • WARNINGThis app is in the stable train. iXsystems supports it.
  • WARNINGKnow that this app is the Container type. It has no add-ons.
  • WARNINGUpdate TrueNAS to version 24.10.2.2 or newer before you start.
  1. Open Apps > Discover Apps.

    Apps > Discover Apps > search 'home-assistant' > Install (train: stable)
  2. Search for 'home-assistant'.

  3. Click Install.

  4. Open http://<server address>:30103 in a browser.

Proxmox VE (VM + Docker)

checking Some details are still being checked.

  • WARNINGUse a VM, not an LXC container. Proxmox says: "nesting containers inside a Proxmox QEMU VM remains a recommended practice".
  • WARNINGUse Docker Engine 23.0.0 or later. Docker Desktop does not work.
  • WARNINGKnow that this install has no add-ons. It is the Container type.
  • WARNINGKnow that the command uses --privileged and --network=host.
  1. Create a Debian VM in Proxmox VE.

  2. Sign in to the VM.

  3. Install Docker Engine with the Compose plugin. Use the Docker page for Debian.

  4. Type this command to create the docker group. If the group exists, go to the next step.

    sudo groupadd docker
  5. Type this command to add your user to the docker group.

    sudo usermod -aG docker $USER
  6. Log out and log in again so that the group change takes effect.

  7. Type this command to test Docker.

    docker run hello-world
  8. Replace MY_TIME_ZONE with your time zone.

  9. Replace /PATH_TO_YOUR_CONFIG with your config folder.

  10. Type this command to start Home Assistant.

    docker run -d --name homeassistant --privileged --restart=unless-stopped --stop-timeout 60 -e TZ=MY_TIME_ZONE -v /PATH_TO_YOUR_CONFIG:/config -v /run/dbus:/run/dbus:ro --network=host ghcr.io/home-assistant/home-assistant:stable
  11. Open http://<server address>:8123 in a browser.

  12. Complete the setup of Home Assistant.

Home Assistant documentation is licensed CC BY-NC-SA 4.0; this page links to it and does not copy it.

Licences and credits: Sources and licences.

What will it cost to run?

This page gives no power figure for Home Assistant. The planner adds up the box it runs on, where the power goes splits that figure part by part, and the guide gives idle watts and a yearly cost at your own price.

Plan a home automation box in the planner, or read the home server hardware guide.

Related apps

All 18 apps