I built a local voice assistant that doesn't need the internet, and it actually understands me

1 day ago 2 Back

Published May 30, 2026, 3:30 PM EDT

Jasmine is Software and PC Hardware Author at XDA with years of tech reporting experience ranging from AI chatbots right down to gaming hardware, she's covered just about everything.

Whether it's breaking news about the latest AMD NPUs or creating video tutorials on social media platforms, Jasmine has contributed to the world of AI and tech in a variety of ways including interviewing the CEO of Razer, AMD's Director of Product Marketing and the VP of Lenovo. Passionate about gaming and PC technology, she has built countless computers, keyboards and other peripherals - knowing them inside and out.

Any smart home user knows the familiar irritation of asking a cloud-based smart speaker to turn off a desk lamp. You will find that the audio is recorded, shipped over the internet to a corporate data center, processed, and then sent back. When it fails, you get the spinning red or orange ring of doom and a robotic voice complaining about connection issues. If it succeeds, you will find that it took so much longer to turn off your desk lamp than if you had just gotten up and done it yourself.

Contrast this with a local setup where you give a command to a tiny, non-monetized microphone on your desk. The local lights blink instantly, and a natural-sounding voice replies without a single packet ever exiting your front door.

Building a private voice assistant used to mean compromising on accuracy or typing endlessly into Linux terminal configurations. However, thanks to recent engineering leaps in Home Assistant's local voice engine, you can now build an entirely local, offline smart speaker that matches the speed and intent comprehension of big tech alternatives for zero monthly fees.

Running HASS on a laptop Related

Local LLMs changed how I use Home Assistant, and now my smart devices actually listen

Local LLMs made my Home Assistant setup far more responsive than any app or integration

The software trilogy

Your new voice assistant can actually understand you

Home Assistant Voice PE

The anatomy of an offline voice stack needs to be understood before you get started. There are three open-source software pillars running on the server backend to make this possible. Pillar number one is your speech-to-text software. An example might be Whisper. OpenAI's open-source Whisper model, specifically optimized variants like Faster-Whisper, convert raw spoken audio into text data. Of course, the hardware matters here too, as a Raspberry Pi 4 takes six to eight seconds to parse a sentence, but an affordable Intel N100 mini PC completes it in under 300ms.

Pillar number two is intent recognition, but this can be done through a Home Assistant assist. Using Home Assistant Assist takes your speech from just words to a model that actually understands you. Instead of an LLM guessing wildly and hallucinating commands, ASSIST relies on a native, hard-coded, phrase-matching blueprint. It executes the automation instantly because it has direct local access to your smart home database.

And the third and final pillar to complete the Holy Trinity is your text-to-speech. This will allow your new smart home assistant to actually respond to you. Piper is a great option for this, as it's a hyper-optimized local neural text-to-speech engine. Unlike the choppy, robotic, legacy Linux voices of the past, Piper generates human-like, high-fidelity vocal responses locally, using minimal system memory.

You'll need hardware, too

And it's significantly cheaper than an Amazon Echo

Of course, alongside all of the software you have to implement, the hardware is fundamental too. Physical microphones in your home can capture voice commands within rooms without relying on expensive hardware. Devices like the Home Assistant Voice Preview Edition or even custom M5 Stack ATOM Echo boards run entirely on cheap ESP32-S3 microcontrollers via ESPHome.

By pairing an ESP32-S3 microcontroller with a dual-mic array like the XMOS one, you get your hardware satellite. Add on a physical mute switch, and you've got yourself the absolute perfect setup. While it might not look the most peachy, you could always 3D print a case to keep all of this in, so it looks a little flashier when you've got it on your desk or in your kitchen.

A physical hardware toggle switch that literally cuts the electrical power trace to the microphone can be so fundamental. It's a security barrier built on physics rather than code. The satellite has no operating system or local storage and can only stream raw audio data over your local Wi-Fi when triggered by its local wake-word engine.

How to get set up

It's an easier process than you think

Assist card on Home Assistant Dashboard

So once you've got your software stack and your hardware satellite, you're ready to get started. The first thing is to deploy the voice add-ons. Navigate to your Home Assistant settings panel and install the local Whisper and Piper containers via the add-on store. Allow these containers to install and ensure that they boot correctly before proceeding to the next step.

Next is Bind via the Wyoming Protocol. Once the containers are booted, Home Assistant should automatically discover them using the Wyoming integration, an ultra-lightweight communication protocol designed to pass raw audio buffers between local servers. And now you're ready to construct your voice assistant profile. Go to your Settings, select Voice Assistants, and create a new pipeline profile. Map your Speech to text field to Whisper and set your Conversation Agent to Home Assistant. Choose your preferred local voice profile in Piper.

Next, it's time to flash and adopt your microphone. Plug your ESP32-S3 voice satellite into your computer over USB. Use a browser-based ESP home tool to flash the native voice firmware over the web wire. Connect it to your local Wi-Fi subnet and adopt it into your dashboard. With that, you're ready to go. The hardware you've created can be used just like standard smart home hubs and voice assistants, such as Google Assistant and Alexa.

Stop relying on big tech's servers

Get rid of the cloud altogether

Your home shouldn't depend on an internet connection or a corporate privacy policy just to switch off a bedside lamp. Instead of letting big tech monitor your voice data and drop support for your aging smart speakers, spend an afternoon setting up a local Whisper-and-Piper pipeline. Scatter a few cheap ESP32 mic satellites around your home and claim absolute local sovereignty over your infrastructure.

Read Entire Article