OHF-Voice/linux-voice-assistant
Voice satellite for Home Assistant using the ESPHome protocol
What it solves
Building a smart speaker for Home Assistant usually means either using simple microcontrollers with very limited computing power or relying on cloud processing. This project solves that by letting you turn any capable Linux computer (x64 or ARM64) into a "voice satellite" — a smart speaker that detects its wake word locally on the device and then connects to Home Assistant's Assist voice assistant to handle the actual conversation. Because it runs on a full Linux system, it has far more local computing power than microcontroller-based satellites, so it can do on-device wake word detection and offers more flexibility for customization (for example, experimenting with PipeWire).
How it works
The software runs on a Linux machine with a 16kHz mono microphone and connects to Home Assistant using the ESPHome protocol/API (via aioesphomeapi). It listens continuously for a wake word (like "Okay Nabu") using local models — OpenWakeWord or MicroWakeWord — so detection happens on the device itself, not in the cloud. Once triggered, it streams your speech to Home Assistant's Assist pipeline, which processes the request and returns a response. It also supports announcements, starting/continuing conversations, and timers. The connection to Home Assistant can optionally be encrypted with an API key, just like ESPHome devices. It exposes a WebSocket API so peripherals like buttons and LEDs can be wired in. Prebuilt Docker images are available on GitHub Container Registry, and a prebuilt Raspberry Pi image is provided via PiCompose. It runs on linux/amd64, linux/aarch64, and 32-bit ARM.
Who it's for
Home Assistant users who want to build their own smart speaker from Linux hardware — especially a Raspberry Pi. Recommended setups include a Raspberry Pi Zero 2W with a Satellite1 microphone hat, or at least a Raspberry Pi 3 with a ReSpeaker Lite. It's also for developers who want to experiment with voice assistant customization on a full Linux system (e.g., trying PipeWire). The project is experimental and comes from the Open Home Foundation.
Highlights
- Local on-device wake word detection using OpenWakeWord or MicroWakeWord — no cloud needed for wake detection
- Supports multiple wake words and languages
- Works with Home Assistant via the ESPHome protocol (aioesphomeapi)
- Optional API encryption, like ESPHome devices
- Runs on multiple architectures: linux/amd64, linux/aarch64, and 32-bit ARM
- Supports announcements, start/continue conversation, and timers
- Prebuilt Docker image on GitHub Container Registry and a prebuilt Raspberry Pi image (PiCompose)
- WebSocket API for peripherals (buttons, LEDs, etc.)
- Automated builds with artifact attestation for security
- Tested with Python 3.11 and 3.13
- Apache 2.0 licensed, from the Open Home Foundation
Related
- Project
- Project
- Project
- Project
- Project