How to setup on Pi Zero 2 W headless

Hey everyone, developer here but new to pi and Home Assistant.

I am trying to setup my pi headless but it seems like the Home Assistant OS doesn’t like the wifi config file that Raspberry Pi Imager is writing? If I don’t add the config after plugging it into the pi, the LED blinks erratically for a long time (10min+) and after awhile (30m now) settles to being on almost always on with occasional single blinks. If I do provide the config, the LED doesn’t blink at all and I assume the pi isn’t booting. I had success doing all of this earlier today with HomeBridge so I know it’s possible.

Am I missing something obvious here or is there a trick to deciphering the LED blinks? Thanks!

Yeah. Do not try to run Home Assistant on a Pi Zero.

2 Likes

You don’t…

The Pi zero doesn’t meet the minimum system requirements. Currently a Pi3 (and with recent changes in memory load I believe it. I wouldn’t attempt on a 3 unless it’s a basic/demo installation)

Sorry got distracted dealing with spammers.

https://www.home-assistant.io/installation/#diy-with-raspberry-pi

2 Likes

We need to be a tad more consistent with docs as which RPi3 really matters. The HA installation instructions call this out as the RPi3a a different beast from the RPi3b.

The RPi3A+ only has 512Mb of RAM, and although the RPi3b+ works (and is ARM64), it is still a little underpowered for complex add-ons and ESPhome compiles.

My dev/test machine is a RPi3B+, but it’s only got a bare-bones install and already uses 0.7 GB / 1 GB RAM (okay, it is ONE of my dev/test machines… ).

The Raspberry Pi Zero has been getting more powerful, but the RPiZ-2W still only has 512Mb of RAM.

1 Like

Thank you all for the replies! As someone who’s been out of the microcontroller scene for a long time and am brand new to pi’s, I assumed the Zero W 2 (a seemingly brand new device) was on par with the last 3 generations of devices and only different in form factor. I didn’t think that stripped down networking server would need gigabytes of RAM to connect my thermostat but I stand corrected!

@tom_l It might be worth explicitly calling out for others that there are Pis HA cannot run on or at least that these are the only Pis it does run on.

I’m up and running on a Pi 5 now! Having trouble getting it to accept WPA wifi now but at least I can connect ethernet to configure it :wink: