Raspberry pi zero 2 w

Rpi5 is too power hungry, no mini UPS can handle it due to its 5v 5a requirements and it’s expensive on places like brazil (costs 1 minimim wage).

I think the rpi zero 2w is a great device for home assistant

1 Like

Hi! I know I am late to the party, but I just wanted to report that it is possible to run HA on a raspberry Pi zero 2w!

I am new to both smart home and linux, but I did manage to get HA running as a docker container on my rpi0-2w alongside a pi-hole container.

I set my pi up with portainer and followed this guide on youtube: https://www.youtube.com/watch?v=QnYLmrE0XZM

Essentially it came down to creating a stack with the following YAML file:

---
version: "2.1"
services:
  homeassistant:
    image: lscr.io/linuxserver/homeassistant:latest
    container_name: homeassistant
    network_mode: host
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
    volumes:
      - /ha/config:/config
    ports:
      - 8123:8123 #optional
    #devices:
    #  - /path/to/device:/path/to/device #optional
    restart: unless-stopped

I found out more or less by accident that this does indeed work! After I finished following the instructions I initially assumed that my attempt failed, because the Pi did not respond. I thought that was it, but when I checked back about a week later I found a HA instance running in my network!

So far everything seems fine and the RAM usage is at roughly 430MB. (together with pi hole!)

I don’t know if it is becaus of the older HA version or due to the fact that I don’t have anything on the network right now, but for the sake of just trying out HA, it is definitely feasible on a raspberry pi zero 2w!

You may easily install container version (without HAOS) on PiZero2W, using zram: check this.