Skip to content
MCU Atlas
Walkthrough

ESPHome voice assistant: from wake word to working satellite

Build an ESPHome voice assistant for Home Assistant: the boards that work, how to flash them, and how wake word detection gets from mic to spoken answer.

By · Published: 11/27/2026 · Updated: 11/27/2026

An ESPHome voice assistant is a cheap ESP32 board running ESPHome firmware that listens for an ESPHome wake word — "Okay Nabu" and friends — and hands your sentence to Home Assistant's Assist pipeline, which turns speech into text, matches an intent and speaks the answer back, all on your own network. No cloud microphone, no subscription. This guide goes from "what is this" to a working satellite on your desk; every board, version and flash step is checked against the official ESPHome and Home Assistant docs plus our ESPHome wake-word voice assistant project write-up — full parts list, the pinned YAML configs and known issues.

Illustration: a cream fabric-topped voice-assistant puck with three coral sound arcs talking to a small slate Home Assistant server box on a morning kitchen island, a wooden cutting board with two lemons beside them.

What is an ESPHome voice assistant?

A voice satellite does four jobs in sequence:

Diagram: on the left a voice satellite — an ESP32 board with a microphone, on-device microWakeWord wake-word detection and a speaker — streams your words over local Wi-Fi to Home Assistant on the right, where the Assist pipeline runs Speech-to-Text, a conversation agent and Text-to-Speech, then sends the spoken answer back to the satellite's speaker.
  1. Listen. The board's microphone captures audio continuously.

  2. Detect the wake word on the device. With ESPHome's micro_wake_word component, the "Okay Nabu" check runs entirely on the ESP32 — audio only leaves the board after the wake word fires.

  3. Hand the sentence to Home Assistant. The board streams your command to HA's Assist pipeline, which runs speech-to-text, works out the intent, and generates a spoken reply.

  4. Speak. The reply plays through the board's speaker or media output.

The contrast with an Alexa or Google device: microphone audio stays on your LAN unless the wake word fires, and every stage after it can run locally too. Your ESP32 is the ears and mouth; Home Assistant is the brain.

What you need before you start

Hardware

  • Any ESP32 variant with a microphone works. A plain classic ESP32 with a PDM or I2S mic will do it — Home Assistant's own budget build runs on-device wake word detection on a classic ESP32-PICO-D4 with no PSRAM at all.

  • An ESP32-S3 with PSRAM is the recommendation, not a requirement. Audio processing eats RAM, so S3 boards give comfortable headroom. The honest framing: S3 + PSRAM is the recommended floor; classic ESP32 works with the tightest headroom.

  • A speaker is optional but expected. A listen-only satellite that answers in text is possible, but a spoken reply is the point for most people.

  • Board-level details are in the table below — and if you don't own an ESP32 yet, start from which ESP32 board you should buy.

Software and network

  • Home Assistant 2023.5 or later (when the voice_assistant component landed; the per-board tutorials assume 2023.10+ or 2023.12+ on Home Assistant OS).

  • ESPHome 2025.5.0 or later for the official ready-made firmware.

  • A 2.4 GHz Wi-Fi network — ESP32 Wi-Fi doesn't do 5 GHz, which catches first-timers on mesh systems that hide the 2.4 GHz band under one name.

  • Chrome or Edge on a desktop computer for browser flashing — the Web Serial technology the installer uses doesn't work on phones or tablets.

Which boards work as ESPHome voice assistants?

Any mic-equipped ESP32 works, but four routes cover almost everyone. Full details, live stock notes and pinned firmware for each are in the full wake-word satellite build write-up; here's the short version:

BoardChip / memoryMic + speakerBest forWake word
Home Assistant Voice Preview EditionESP32-S3, 16 MB flash, 8 MB PSRAMDual-mic array + XMOS echo cancellation, internal speaker + 3.5 mm outThe no-solder pickOn-device microWakeWord
ESP32-S3-BOX-3ESP32-S3, 16 MB flash, 16 MB PSRAMDual mics, speaker, 2.4″ touchscreenThe reference boardOn-device microWakeWord (openWakeWord streaming also supported)
M5Stack ATOM Echo (sold as "ATOM Voice")Classic ESP32-PICO-D4, 4 MB flash, no PSRAMPDM mic + small I2S speakerThe budget pickOn-device microWakeWord or openWakeWord streaming
Generic ESP32-S3 DIY buildAny S3 dev board, PSRAM variant recommendedINMP441 I2S mic + MAX98357A amp you wire yourselfFull controlOn-device microWakeWord; openWakeWord as the fallback

Home Assistant Voice Preview Edition — the no-solder pick

Nabu Casa's own hardware and Home Assistant's recommended voice assistant device. It ships with ESPHome already loaded, so there is nothing to flash for first use: power it over USB-C, walk through the on-device setup wizard, done. It's a serious audio device for the money — a dual-microphone array with a XMOS chip handling echo cancellation, noise removal and auto gain, an internal speaker and a 3.5 mm line out. To customize the firmware later, adopt it in the ESPHome dashboard. Current availability is on the Voice Preview Edition part page.

ESP32-S3-BOX-3 — Espressif's reference board

The S3-BOX-3 is Espressif's own voice devkit: dual mics, a speaker, a 2.4″ touchscreen and the largest memory of the group (16 MB of PSRAM) — the board ESPHome's wake-word documentation is written against. Two caveats: retail stock is patchy, so check the usual distributors before committing; and the older ESP32-S3-BOX and S3-BOX-Lite are discontinued — do not buy them, even where listings remain.

M5Stack ATOM Echo — the budget pick

A thumb-sized classic-ESP32 board with a PDM microphone and a tiny speaker, and the subject of Home Assistant's own low-cost voice-assistant tutorial. It runs on-device microWakeWord with no PSRAM — proof that "you must have an S3" is false — but it has the tightest resource headroom here: ESPHome's warning about stacking audio components (especially Bluetooth) bites hardest on this board, and third-party reviews note wake-word reliability and speaker quality are the compromises. M5Stack sells it as "ATOM Voice" now (same SKU); the firmware configs still call it ATOM Echo.

Build your own: generic ESP32-S3 + INMP441 mic + MAX98357A amp

The flexible route: an ESP32-S3-DevKitC-1 (the PSRAM variant is worth the premium), an INMP441 I2S microphone and a MAX98357A I2S amp driving any small speaker. You solder it yourself and write your own ESPHome YAML — so you choose the pins, the wake words and every behavior. The parts list and the community build we followed are linked from our project page's resources.

Wiring diagram: INMP441 I2S microphone (VDD to 3V3, GND to GND, SD to GPIO6, SCK to GPIO5, WS to GPIO4, L/R tied to GND) and MAX98357A I2S amplifier (DIN to GPIO7, BCLK to GPIO15, LRC to GPIO16, VIN to 3V3, GND to GND) wired to an ESP32-S3-DevKitC-1, with an 8 Ω speaker on the amp's SPK+ and SPK− outputs.

The pin numbers in the figure are one working example, not the only way — set your own pins in the YAML and keep the mic, amp and speaker wired to match.

ESPHome wake word: how detection works and which words you get

Wake word detection is the "always listening" part — and the two engines you'll meet differ in exactly where that listening happens.

microWakeWord: detection on the device

ESPHome's micro_wake_word component runs a small neural network — the "Okay Nabu" model needs a ~22.9 KB tensor arena, which fits in any ESP32's internal memory — directly on the board. The practical consequence: your microphone audio never leaves the ESP32 until the wake word fires. Only then does it stream your command to Home Assistant.

The official model repository ships four wake words: alexa, hey_jarvis, hey_mycroft and okay_nabu. What a given device listens for out of the box depends on its firmware — Home Assistant's own pages list slightly different sets, so treat the model repo as the source of truth. One quirk: on first boot, only the first model in the config's list is enabled — the rest are present but asleep until you switch them on.

openWakeWord: detection in Home Assistant

The alternative flips the architecture: the satellite simply streams all audio to Home Assistant, and the openWakeWord add-on (via Wyoming) does the detection on your HA server. That buys you two things: the weakest board works — any device that streams audio can become a voice satellite, even if it can't run detection itself — and you can train custom wake words rather than picking from the preset list.

The cost lands on the Home Assistant side: every streaming satellite spends server CPU and network. Home Assistant's sizing guidance is roughly five concurrent streaming satellites on a Raspberry Pi 4 — fine for one or two rooms, a planning constraint for a whole house. Wake words are English-only today on both engines.

Choosing and changing your wake word

Since ESPHome 2025.5, switching words is civilized: every model in your config takes an id, the micro_wake_word.enable_model / disable_model actions exist, and — if your YAML names micro_wake_word under voice_assistant — Home Assistant can switch the active wake word for you, no reflash needed. That's the setup our pinned configs use. If none of the four preset words suits you, you can train your own wake word with TensorFlow Lite and run it on-device.

Flash your first voice assistant

Three of the four routes use the browser installer; the DIY route means writing YAML. Easiest first.

Voice Preview Edition: no flashing at all

It arrives with ESPHome firmware already on it. Plug in USB-C, follow the on-device wizard (language, Wi-Fi, Home Assistant), and it appears in your ESPHome dashboard as an adoptable device — adopt it only when you want to customize the firmware.

ATOM Echo: browser install

  1. Open Home Assistant's ATOM Echo voice-assistant tutorial in Chrome or Edge on a desktop.

  2. Click Connect and pick the board's USB serial port. If no new port appears, install the CH342 USB driver first.

  3. Click Install Voice Assistant → Install and let it write the official firmware (this is exactly the config we pin on our project page, ESPHome 2025.5.0+).

  4. Join your 2.4 GHz Wi-Fi when prompted, then click Add to Home Assistant.

S3-BOX-3: browser install, two gotchas

Same web-serial flow from Home Assistant's S3-BOX tutorial, with two board-specific traps: plug the USB-C cable into the box itself, not the dock, and if the serial port never appears, hold boot and tap reset to force flash mode.

A custom board: your own YAML

This is the route where the 2025.5 breaking change matters. Since ESPHome 2025.5, microphone settings moved under the component that uses them (esphome#8645): voice_assistant.microphone now carries channels and gain_factor directly, and pre-2025.5 YAML breaks. Our migration template shows old-vs-new side by side — served at migration-2025-5.yaml — and its voice section is the canonical shape:

voice_assistant:
  id: va
  # 4) lets Home Assistant change which wake word model is enabled
  micro_wake_word:
  # 1) microphone source config lives here since 2025.5 (esphome#8645)
  microphone:
    microphone: echo_microphone
    channels: 0
    gain_factor: 4
  media_player: echo_media_player
  noise_suppression_level: 2
  auto_gain: 31dBFS
  # 2) how long the conversation context survives before HA resets it
  conversation_timeout: 2min
  # Re-arm detection on the paths this minimal example handles. The official
  # config (m5stack-atom-echo.yaml next to this file) covers more paths --
  # see the known-issues note on the MCU Atlas page (esphome issue #22361).
  on_client_connected:
    - delay: 2s  # give the api server time to settle
    - micro_wake_word.start:
  on_client_disconnected:
    - micro_wake_word.stop:
  on_error:
    - delay: 2s
    - micro_wake_word.start:

micro_wake_word:
  vad:
  # 3) ids let the enable/disable actions (and Home Assistant) target a model
  models:
    - model: okay_nabu
      id: okay_nabu
    - model: hey_mycroft
      id: hey_mycroft
  on_wake_word_detected:
    - voice_assistant.start:
        wake_word: !lambda return wake_word;

Flash it from the ESPHome dashboard (Home Assistant add-on: new device, plug in over USB, install) or over USB. Copy the block above from the template — don't retype it — and change pins and names only.

Connect it to Home Assistant

The board is now on your Wi-Fi. Three steps turn it into something that answers.

Get an Assist pipeline ready

The satellite is ears and mouth; it needs a brain to talk to. Either enable Home Assistant Cloud (simplest — processing happens in Nabu Casa's cloud, still tied to your HA instance), or go fully local: install Speech-to-Phrase or Whisper (speech-to-text) and Piper (text-to-speech), accept each in Settings → Devices & services when Wyoming discovers them, then go to Settings → Voice assistants → Add assistant and pick your language, conversation agent, STT and TTS engines.

Add the device and run the onboarding wizard

Back in the flash flow, click Add to Home Assistant (the Voice PE runs its own on-device wizard during setup). Once the device is added, an onboarding wizard walks you through the two choices that define daily use: which wake word it listens for, and which voice it replies with.

Let it control your home

  • Expose your devices to Assist. Voice control only sees entities that are exposed — check Settings → Voice assistants → Expose, where you can expose devices individually or by area.

  • Know what the satellite entity gives you. Every ESPHome voice assistant arrives through Home Assistant's Assist satellite integration: an entity with idle/listening/processing/responding states, triggers for each of those moments, an announce action for spoken messages, and — on boards with a speaker — a media player entity that plays announcements through the same audio chain. Assistants themselves are managed under Settings → Voice assistants.

Say the wake word, ask for a light, and the loop from the top of this guide closes: mic → wake word on the ESP32 → Assist → speaker.

Troubleshooting: when your satellite misbehaves

  • It went deaf until you power-cycled it. Known issue (esphome #22361): satellites can stop responding after an aborted voice session until restarted. Not yet fixed upstream; our project page tracks it — power-cycling is the workaround.

  • It crashes or reboots randomly. ESPHome's own warning: audio and voice components are resource-hungry, and combining them with Bluetooth/BLE means "crashes are likely." Worst on the ATOM Echo. If you need BLE, expect to fight for stability.

  • The installer shows no serial port. You're on a phone or tablet (use desktop Chrome/Edge), the cable is power-only, or you need the CH342 driver (ATOM Echo) / boot+reset (S3-BOX-3).

  • It won't join Wi-Fi. It's a 2.4 GHz-only radio. Force your phone or laptop onto the 2.4 GHz band first, or create a separate 2.4 GHz network name.

  • You want a non-English wake word. Not available yet — both microWakeWord's models and openWakeWord are English-only today.

Keep going with voice on ESP32

One working satellite tends to become two. From here: the full wake-word satellite build covers the parts list, pinned configs and known issues for every board in this guide; XiaoZhi, an ESP32 voice chatbot that talks to an LLM instead of Home Assistant, takes the same hardware in a completely different conversational direction; and VA5, a push-to-talk ESP32-S3 voice assistant with a screen and a personality you write, is what a fully custom satellite looks like when you design the whole thing yourself. Or browse every ESP32 project on MCU Atlas — voice is just one of the things these boards do.

— Connie, MCU Atlas editor. Board facts, version gates and flash steps checked against the official ESPHome and Home Assistant documentation and our own pinned firmware files on 18 November 2026; the pinned YAML configs are compile-verified on ESPHome 2026.10.2. Last reviewed: 18 November 2026.