Home Assistant's Assist voice assistant can run entirely on your own hardware, so your spoken commands never leave your home. A local speech-to-text engine turns your voice into text, Home Assistant works out what you want, and a local text-to-speech engine speaks the answer back. This guide walks through building that pipeline step by step, choosing the right speech engine for your hardware, and fixing the most common problems.
If you're still choosing what to run it on, start with our guide to the best hardware for a fully local Home Assistant voice assistant.
What you need
Home Assistant describes a local Assist pipeline as a chain of parts that has to listen, understand and talk back:
Something to listen and talk back. That can be your phone with the Home Assistant Companion app, or a dedicated voice device (Home Assistant calls these voice satellites), such as the Home Assistant Voice Preview Edition or a DIY device built with ESPHome.
Speech-to-text and text-to-speech software. Home Assistant offers two local speech-to-text options, Speech-to-Phrase and Whisper, and its own local text-to-speech engine, Piper.
Home Assistant Operating System. Home Assistant's guide lists Home Assistant OS as a prerequisite for running it all together. If you run Home Assistant another way, the speech engines can also run as separate Wyoming services on another machine, as our GPU guide below shows.
A note on naming: Home Assistant now calls add-ons "apps". Older guides and forum posts that mention the Whisper or Piper add-on are talking about the same thing.
Step 1: Choose your speech-to-text engine
This is the most important decision, because speech-to-text is the part that needs the most computing power.
| Speech-to-Phrase | Whisper |
|---|
Type | Closed-ended: only recognises phrases it knows | Open-ended: tries to transcribe everything |
Speed (Home Assistant's figures) | Under one second on a Home Assistant Green or Raspberry Pi 4 | Around 8 seconds on a Raspberry Pi 4; under a second on an Intel NUC |
Commands | A subset of Assist's commands; shopping lists, naming a timer and broadcasts don't work out of the box | Anything you say |
Works with an AI agent | No, home control only | Yes |
Home Assistant's advice is that Speech-to-Phrase is a great option for home control, while Whisper only makes sense if you have powerful hardware at home or plan to go beyond simple home control, for example by pairing your assistant with a large language model. We cover the trade-offs in more depth in Speech-to-Phrase vs Whisper.
If Home Assistant runs on a low-powered box but you have a gaming PC with an NVIDIA graphics card, there's a third option: run Whisper on the PC and point Home Assistant at it. See how to run Home Assistant's Whisper on a GPU PC.
Step 2: Install the speech apps
In Home Assistant, go to Settings > Apps > Install app.
Find and install your speech-to-text app: Speech to phrase or Whisper.
Find and install Piper for text-to-speech.
Start the apps.
Two things to know before you start the Whisper app:
CPU requirements. On x86-64, the Whisper app needs a CPU with x86-64-v2 support, which its documentation says most CPUs made since about 2010 have. If Home Assistant runs in a virtual machine, the CPU type has to pass those features through. In Proxmox, the kvm64 CPU type hides them, so choose host (or x86-64-v2-AES or newer), otherwise the app stops at startup.
First start takes longer. Speech models are downloaded the first time they're used. Speech-to-Phrase also trains itself on your exposed entities, areas, floors and sentence triggers after it starts, and retrains automatically when needed.
Step 3: Add the apps through the Wyoming integration
Home Assistant talks to these speech apps through the Wyoming protocol, a small protocol for connecting voice services.
Go to Settings > Devices & services.
You should see each running app listed as discovered by the Wyoming Protocol integration.
Select Add for each one.
If an app isn't discovered automatically, select Add Integration, choose Wyoming Protocol and follow the on-screen steps.
Step 4: Create the assistant
Go to Settings > Voice assistants and select Add assistant.
Give it a name and choose the language you want to speak.
Under Conversation agent, choose Home Assistant, the built-in agent that runs locally.
Under Speech-to-text, choose Whisper or Speech-to-Phrase, and select the language.
Under Text-to-speech, choose Piper and select the language. Depending on your language, you may be able to pick a language variant and voice.
You can set up several assistants, each with its own language, engines and conversation agent. That makes it easy to keep a fast Speech-to-Phrase assistant for home control alongside a Whisper-based one for experiments.
Step 5: Expose your devices to Assist
Assist can only control entities you have exposed to it. If you skip this step, the pipeline will work but won't be able to switch anything on. Expose only what you actually want to control by voice; it keeps the list of names manageable, and Speech-to-Phrase trains itself on exactly that list.
Step 6: Start talking
Look for the Assist icon at the top right of your dashboard to try it straight away by typing or talking. For hands-free use, Home Assistant supports:
The Companion app on Android and iOS. On Android, you can enable wake word detection so you can start Assist by saying "Hey Jarvis" or "Hey Nabu", even when the phone is locked.
Home Assistant Voice Preview Edition, Home Assistant's recommended voice hardware.
ESPHome-based satellites you build yourself from inexpensive ESP32 boards.
Tune Whisper and Piper
Both apps document their options on their Documentation tab. The ones worth knowing:
Whisper app
Language: set your language explicitly. Choosing "auto" makes the model detect the language on every request, which the app's documentation says is much slower.
Model: the default, "auto", picks tiny-int8 on ARM devices such as the Raspberry Pi 4 and base-int8 otherwise. Compressed int8 models are slightly less accurate than their counterparts but smaller and faster. Larger options run up to large-v3 and turbo.
Speech-to-text library: despite its name, the app now chooses a backend per language when this is set to "auto". For English, the documentation says it uses the Parakeet model through the sherpa backend; Chinese, Cantonese, Japanese and Korean use SenseVoice; Russian uses GigaAM; everything else uses faster-whisper. You can force faster-whisper if you want classic Whisper behaviour.
Beam size: the default of 0 selects 1 on ARM devices and 5 otherwise. Raising it improves accuracy at the cost of speed.
Local files only: once your models have downloaded, turning this on keeps the app fully offline and skips an online update check on every request. Leave it off the first time you use a new model.
Piper app
Voice: voices follow the naming scheme <language>_<REGION>-<name>-<quality>, and are downloaded automatically. The default is en_US-lessac-medium, so UK users will probably want to switch to a voice for their own language variant.
Quality: there are four levels: x_low (16kHz, smallest and quickest), low (16kHz), medium (22.05kHz, slower but better sounding) and high (22.05kHz, slowest but best sounding). Home Assistant says up to the medium voices run at a usable speed on a Raspberry Pi 4, generating 1.6 seconds of speech per second.
Backend: Piper is the default. The app also offers an experimental OmniVoice backend that the documentation describes as considerably higher quality, with more languages and voice cloning, but much slower; it needs a desktop or server CPU and downloads a model of several GB on first start.
Troubleshooting
No assistants under Settings > Voice assistants. The assistants come from the Assist pipeline integration, which is part of Home Assistant's default configuration. If you removed default_config: from configuration.yaml, add this line and restart Home Assistant:
assist_pipeline:
Whisper, Speech-to-Phrase or Piper is missing from the assistant's options. Home Assistant doesn't list disabled entities. Go to Settings > Devices & services > Entities, filter by Disabled, and enable the relevant stt or tts entity.
Assist gets your words wrong. Open the assistant's debug view (select the three dots next to it under Settings > Voice assistants, then Debug) and check the text under speech-to-text. Home Assistant also lets you record what your device sent; if your voice sounds clear in the recording but the text is still wrong, the problem is the speech-to-text engine, not the microphone. Turn debug recording off and delete the recordings when you're done.
Commands like "add milk to the shopping list" fail on Speech-to-Phrase. That's expected: commands that accept arbitrary words aren't supported out of the box. Either add the items as a custom list (see our comparison article) or switch that assistant to Whisper.
Going further: add a local AI agent
If you choose Whisper, you can swap the conversation agent for a local large language model so Assist understands more freely worded requests. Home Assistant's Prefer handling commands locally setting makes the built-in agent try each command first and only sends commands it doesn't understand to the AI agent. Our guide to using Ollama with Home Assistant covers that setup.