Build a 100% Local Voice Assistant With Home Assistant

Saying “turn on the living room” without your voice travelling to an Amazon or Google server is possible today with Home Assistant. This tutorial builds a voice assistant that runs entirely at home: speech recognition, understanding the command and the voice that answers. No subscription, and it keeps working when the Internet goes down.
Prefer to set it up in French? We have a full walkthrough: assistant vocal 100 % local en français (in French).
Quick verdict
- The simplest and most reliable: Speech-to-Phrase for recognition + Piper for the voice. It runs even on a Home Assistant Green or an Intel N100 Mini PC, and the answer arrives in under a second. Limit: it only understands the smart home commands it’s been set up for.
- To speak freely: Whisper in place of Speech-to-Phrase. More flexible, but you need a bigger model for fast, reliable results, so a Ryzen Mini PC or better for a quick response.
- The speaker: the Home Assistant Voice Preview Edition remains the reference. An ESP32-S3-BOX-3 is a good fallback sold on Amazon.ca.
Don’t have a server yet? Start with our guide to installing Home Assistant on a Mini PC, then come back here.
How a local voice assistant works
A voice command goes through four stages, which Home Assistant calls a “pipeline”:
- The wake word (“Okay Nabu,” “Hey Jarvis”) is detected right in the speaker. Nothing is sent before that.
- Speech recognition turns your voice into text: that’s the job of Speech-to-Phrase or Whisper, on your server.
- The conversation agent understands the text and carries out the action. By default, it’s Home Assistant’s built-in agent, with no AI and no cloud.
- Speech synthesis (Piper) reads the answer aloud.
The add-ons talk to Home Assistant through the Wyoming protocol, discovered automatically.
Speech-to-Phrase or Whisper: which to choose?
| Criteria | Speech-to-Phrase | Whisper |
|---|---|---|
| What it understands | Expected smart home commands (turn on, turn off, set, device status) | Free-form phrases, including shopping lists and timer names |
| Speed | Under a second, even on a Raspberry Pi 4 or a Home Assistant Green | A few seconds on an N100; fast only on a more powerful machine |
| Accuracy | Very good for expected phrases, accents included | Average with small models, good from the “small” model up |
| Recommended hardware | Home Assistant Green, Raspberry Pi 4 or N100 Mini PC | N100 Mini PC at minimum; Ryzen 5 / 7 recommended for larger models |
| Who it’s for | 90% of homes that want to control lights and heating | Enthusiasts who want to chat or plug in an AI |
Our advice: start with Speech-to-Phrase. If you run into its limits, add Whisper in a second assistant, without uninstalling anything.
Hardware prerequisites
The Home Assistant server
If your home already runs on a Mini PC, you don’t need to buy anything more. Otherwise, here are the two profiles that work well for voice. For a full comparison, see which Mini PC to choose for Home Assistant.
Intel N100 / N150 Mini PC, 16 GB RAM, 512 GB SSD (Beelink S12 Pro / EQ13 or GMKtec G3 Plus)
Pros
- Speech-to-Phrase and Piper respond in under a second
- Around 8 to 12 W continuously, a few dollars a year in electricity
- Enough power for Whisper with a small model
Cons
- Whisper with a reliable model takes several seconds to respond
- Too tight for a local AI like Ollama
- Windows preinstalled, to be wiped before installing Home Assistant OS
Approximate budget: around $200 – $300.
AMD Ryzen 5 / Ryzen 7 Mini PC, 16 to 32 GB RAM (Beelink SER5 MAX or Minisforum)
Pros
- Runs a bigger Whisper model, so it's more accurate
- Noticeably faster response than an N100 with Whisper
- Headroom for Frigate and other services on the same machine
Cons
- Higher idle power draw than an N100
- Price often out of proportion if you stick to Speech-to-Phrase
- Audible fan during speech recognition
Approximate budget: around $450 – $700 depending on the configuration.
The voice speaker (satellite)
The reference choice: Home Assistant Voice Preview Edition. Designed by the Home Assistant team, it combines an ESP32-S3 chip, an XMOS audio processor that filters noise, a 3.5 mm jack and a switch that physically cuts the microphones. It isn’t sold on Amazon.ca: in Canada, it goes through official resellers such as Apollo Automation. Plan on roughly $90 – $120 CAD delivered, and plan on a USB-C power supply, which isn’t included.
The fallback on Amazon.ca: Espressif’s ESP32-S3-BOX-3, compatible with ESPHome’s official voice firmware.
Espressif ESP32-S3-BOX-3
Pros
- Home Assistant voice firmware installs straight from the browser
- Wake word detected on the device: nothing goes onto the network beforehand
- Small touchscreen that shows the assistant's state
Cons
- Weak built-in speaker: fine for a short reply, not for music
- Microphones less capable than the Voice Preview Edition's in a noisy room
- No physical switch to cut the microphones
Approximate budget: around $60 – $90.
A real speaker for the answers
The Voice Preview Edition’s built-in speaker is enough for confirmations. For a clear voice in a kitchen or a living room, plug a small speaker into its 3.5 mm jack.
Creative Pebble V3
Pros
- 3.5 mm jack input for a direct connection to the Voice Preview Edition
- USB-C powered: no extra 120 V adapter
- Compact and inexpensive
Cons
- Two speakers to place, less discreet than a single one
- Limited bass, like any desktop speaker of this size
- Bluetooth is no use here: use the jack cable to avoid delays
Approximate budget: around $40 – $60.
One last detail: use a 5 V USB-C power supply of at least 2 A that’s cUL or CSA certified, not an old no-name phone charger. A weak supply causes random reboots of the satellite.
Step 1: install the voice add-ons
- In Home Assistant, open Settings > Add-ons > Add-on Store.
- Install Speech-to-Phrase (or Whisper if you’re after free-form phrases), then Piper.
- Start each one and tick Start on boot and Watchdog, so they restart on their own after a power outage.
- For Whisper, open the Configuration tab and choose your language (en). On an N100, start with a small model, then go up a notch if recognition disappoints you.
- For Piper, choose an English voice. Several variants are available: pick the one that sounds best to you.
Step 2: link the add-ons through Wyoming
- Go to Settings > Devices & services.
- Home Assistant shows the discovered services: Speech-to-Phrase or Whisper, and Piper, through the Wyoming Protocol integration.
- Click Configure for each one, then Submit.
If they don’t appear after a restart, add the line assist_pipeline: to your configuration.yaml and restart.
Step 3: create the assistant
- Open Settings > Voice assistants and click Add assistant.
- Give it a name, for example “Home EN”.
- Language: English.
- Conversation agent: Home Assistant (the built-in local agent).
- Speech-to-text: Speech-to-Phrase or Whisper.
- Text-to-speech: Piper, with the voice you chose.
- Save, then set it as the preferred assistant.
Step 4: expose only the right devices
The assistant can only control the entities you expose to it. In Settings > Voice assistants > Expose, tick the lights, thermostats, plugs and useful sensors. Don’t tick locks or the garage door at first: a misheard command should never unlock the house.
Also give rooms and devices short, unique names: “living room lamp,” “bedroom thermostat.” Add aliases for the phrasings you really use, like “the basement” or “the downstairs bedroom.” Speech-to-Phrase generates its phrases from these names: it retrains automatically when you change them.
Step 5: plug in and configure the speaker
- Plug the Voice Preview Edition (or the ESP32-S3-BOX-3) into its USB-C power supply.
- Follow the setup wizard in the Home Assistant app to connect it to your Wi-Fi.
- Home Assistant detects it through the ESPHome integration. Accept the addition.
- In the device’s page, select your “Home EN” assistant and choose the wake word.
- Test: “Okay Nabu, turn on the living room lamp,” then “What’s the temperature in the bedroom?”
Place the satellite at chest height, away from a clicking electric baseboard or a noisy air exchanger: microphones hate constant noise.
Step 6 (optional): add an AI
To ask real questions, you can replace or complement the built-in agent with an AI agent: OpenAI or Google Gemini in the cloud, or Ollama locally. Keep two rules in mind:
- Turn on “Prefer handling commands locally” in the assistant’s page. Simple orders stay local and instant, only the rest goes to the AI.
- A local AI needs serious hardware. On an N100 Mini PC, Ollama is far too slow for a conversation. You need a graphics card or a much more powerful dedicated computer.
With a cloud AI, your questions leave the house. For smart home commands, the local agent is more than enough.
Traps to avoid
- Choosing Whisper on a small server. On a Raspberry Pi 4, the response can take ten seconds or so. It’s the number one reason people give up.
- Exposing every entity. Hundreds of exposed devices muddle recognition. Expose only what you actually control by voice.
- Keeping technical names. “switch.sonoff_1234” isn’t pronounceable. Rename it in plain words.
- Forgetting the automatic restart. After a power outage, the add-ons need to come back on their own: tick Start on boot and set the Mini PC’s BIOS to “Restore on AC Power Loss.”
- Comparing it to Alexa on day one. The local assistant is less chatty. It wins on privacy, on the speed of simple commands and on working without Internet. To weigh the pros and cons, reread our comparison of Alexa, Google Home, Apple Home and Home Assistant.
Photo: “Sonos PLAY 1 wireless speaker”, Robert Wetzlmayr, Wikimedia Commons, CC BY-SA 4.0 (cropped and converted).
Frequently asked questions (FAQ)
Does a Home Assistant voice assistant understand Canadian accents well?
Yes for everyday smart home commands, with some nuances. Speech-to-Phrase recognizes the expected phrases very well, accents included, because it matches your voice against a closed list of commands. Whisper understands free-form phrases, but it needs a mid-sized model to be reliable, so a reasonably powerful Mini PC. English is the best-supported language, so results are generally easier to get than in other languages. Piper's synthetic voices come in several English variants, but there's no dedicated Canadian voice.
Does my local voice assistant work during an Internet outage?
Yes. With Speech-to-Phrase or Whisper for recognition and Piper for the voice, all the processing happens on your Home Assistant server. As long as the server, the router and the speaker have power, you can turn on the lights or ask for the temperature even if Bell, Rogers or Vidéotron is down. If the power goes out, a small UPS keeps the server and router running for a few minutes.
Do I need a Home Assistant Cloud subscription for voice control?
No. The Home Assistant Cloud (Nabu Casa) subscription offers faster hosted speech recognition on small hardware, but it's optional. The Whisper, Speech-to-Phrase and Piper add-ons are free and run at home. You only pay for the hardware, once: the server, the voice speaker and a USB-C power supply.
Can I plug ChatGPT or a local AI like Ollama into the voice assistant?
Yes. Home Assistant supports AI-based conversation agents, in the cloud (OpenAI, Google Gemini) or locally with Ollama. A fast local AI does need a graphics card or a powerful computer, far beyond an Intel N100 Mini PC. To keep the house responsive, turn on the option that lets Home Assistant handle simple commands locally first and send only real questions to the AI.


