A local voice assistant for the lounge, and all that went wrong
A reSpeaker XVF3800 as a Home Assistant voice satellite. Speech, answers and who's talking all worked out on my own server, plus the fixes that made it usable.
- Difficulty
- Advanced
- Parts cost
- A reSpeaker XVF3800 with its XIAO ESP32-S3, a set of powered speakers, and a home server you already run
- Build time
- A day to build, then weeks of tuning
- Skills
- ESPHome, Home Assistant, Linux command line
The problem
My goal was simple to say: fast, and understands you like Alexa, without the Alexa. Nothing leaving the house, no cloud account, and it has to work for the whole family, kids included, with the TV or the radio on.
Before this, the lounge had an old Pi Zero satellite and then the Home Assistant box’s own microphone, which streamed sound to Home Assistant all the time so it could listen for the wake word there. I wanted a proper unit that does the wake word itself: a Seeed reSpeaker XVF3800 microphone array with a XIAO ESP32-S3 on it, running ESPHome.
Building it took a day. Making it good took months, and that’s most of this guide. If you only read one part, read the lessons at the bottom.
Updated 2 November 2026. Three weeks on, it knows which of us is talking and says hello. It pauses the show as well as muting the TV, and it answers more questions without the language model. The lock-ups turned out to be a bug ESPHome had already fixed. The new parts are Knowing who’s talking, More answers without the language model, Stay on a current ESPHome, and the new lessons at the end.
How it works
The XVF3800 is a microphone array with its own sound chip. It does the clever audio work itself: beamforming (listening harder in one direction) and echo cancellation (subtracting what our own speakers are playing). The ESP32-S3 listens for the wake word on the device (“Okay Nabu”), plays a short chime, and only then streams audio to Home Assistant. Nothing is sent anywhere until you say the wake word.
Home Assistant runs the rest of the “pipeline” (the chain from your voice to the reply). Speech-to-text runs on my home server. Short house commands (“turn on the lounge lights”) are matched by Home Assistant’s own local sentences and answered in under half a second. Anything that doesn’t match goes to a local language model (Qwen3 8B, running in Ollama on the same server), which handles open questions. The spoken reply comes back out of the reSpeaker’s 3.5 mm jack into a set of powered speakers. Text-to-speech is Piper, also local.
While it’s listening, Home Assistant mutes the TV and the radio, so the microphones aren’t fighting them, and pauses the show if one’s playing on the TV stick.
As your voice goes to speech-to-text, a second small program on the server makes a “voice print” from the same audio and compares it with the family’s. That takes about 25 milliseconds, alongside the transcription rather than after it, so it adds next to nothing. Home Assistant then knows who asked, and can say “Hi Mum!” before the answer.
What you need
- A Seeed reSpeaker XVF3800 with a XIAO ESP32-S3 fitted, and the XIAO’s Wi-Fi antenna. Seeed’s page for it: https://wiki.seeedstudio.com/respeaker_xvf3800_introduction/
- Powered speakers for the 3.5 mm jack. Mine are a set of Z623 computer speakers with a subwoofer, which also play the radio.
- One USB-C cable and power supply for the XIAO.
- Home Assistant with the ESPHome integration.
- A home server for speech-to-text and the language model. On mine, speech-to-text runs on the CPU and the language model on the server’s built-in 780M graphics.
- ESPHome on a computer, and dfu-util for flashing the chip firmware by hand (or rescuing it).
- The community ESPHome config for this board: https://github.com/formatBCE/Respeaker-XVF3800-ESPHome-integration
Wiring
There’s almost none, which is the point of this board. The XIAO is soldered onto the reSpeaker, and the two talk to each other over I2C (control) and I2S (audio). The pin setup is all in the community config.
| Connection | Where it goes |
|---|---|
| Power, normal running | The XIAO’s USB-C port only. One cable powers the whole thing. |
| Wi-Fi antenna | On the XIAO, not the reSpeaker. The XIAO does the Wi-Fi. |
| Speakers | The reSpeaker’s 3.5 mm jack. |
| The reSpeaker’s own USB port (next to the jack) | Only for the one-time chip firmware flash. Never at the same time as the XIAO’s port. |
Two traps here. Plug in both USB ports at once and the board shuts off after 10 to 30 seconds. And the XIAO’s little LED going out isn’t power loss. It changes with the connection state in software.
Firmware and config
The XVF3800 chip firmware
Out of the box the XVF3800 has its USB firmware. The XIAO couldn’t talk to it: 1,989 I2C errors in the log,
“couldn’t communicate with XVF3800”. It needs the I2S firmware instead. I used
application_xvf3800_inthost-lr48-sqr-i2c-v1.0.7-release.bin (version 1.0.7). After the flash: zero I2C
errors and setup() finished successfully!.
To flash it, put the reSpeaker in Safe Mode: hold MUTE while you plug in the reSpeaker’s own USB port.
The red LED blinks. Flash it promptly, because it drops out of Safe Mode quickly. If dfu-util sees more than
one DFU device (mine also found the laptop’s webcam), pick the reSpeaker by its USB id with -d 2886:001a:
sudo dfu-util -d 2886:001a -R -e -a 1 -D application_xvf3800_inthost-lr48-sqr-i2c-v1.0.7-release.bin
The community ESPHome config also has a respeaker_xvf3800: firmware: block that’s meant to flash the chip
for you, from the XIAO, on boot. I did mine by hand. Either way, keep dfu-util and Safe Mode in your back
pocket as the recovery route.
I’ve stayed on 1.0.7. The newer 1.0.8 and 1.0.9 didn’t add anything for echo cancellation or the beams, and looked like they could break the driver.
The ESPHome config
Start from the example in the community repo and give it your Wi-Fi in secrets.yaml:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
Two changes I’d make straight away:
- Pin the external components to a commit. Mine tracked
main, so a rebuild could quietly pull in someone else’s changes. Pin both the integration and its audio fork:
external_components:
- source:
type: git
url: https://github.com/formatBCE/Respeaker-XVF3800-ESPHome-integration
ref: <full commit hash you've tested>
- Check the chip firmware URL in the auto-flash block. Mine used a
/raw/refs/heads/main/address, which GitHub answered with an error 400. The working form ishttps://raw.githubusercontent.com/formatBCE/Respeaker-XVF3800-ESPHome-integration/main/...
Don’t open the microphone during the chime
This is the change that stopped it eating the first word (see the lessons). When the wake word fires, the chime plays, and the microphone stream only starts once the chime has finished. Trimmed down to the important part:
micro_wake_word:
on_wake_word_detected:
- delay: 150ms
- wait_until:
condition:
not:
media_player.is_announcing:
timeout: 1.5s
- delay: 150ms
- voice_assistant.start:
My config also switches the beam lock on at that point. I also swapped the chime for a shorter one: the first 0.4 seconds of the stock sound with a 0.1 second fade.
Stay on a current ESPHome
Every few days the unit went deaf, and only pulling the plug brought it back. It turned out to be a bug in the chip’s software platform (ESP-IDF) that ESPHome had already worked around in 2026.10.0: stopping the radio could kill its stream while the connection stayed open, and that jammed every link to Home Assistant. I spent an evening tracing it and patching it myself, then found the fix was already out, nine days earlier. I was still on 2026.9.1. Read the lessons for that one.
Two things to know when you move to 2026.10:
- Setting the volume no longer un-mutes the player. If anything of yours relies on “set the volume to 100%” to make a muted speaker loud, add an un-mute first.
- The community config brings its own copy of the I2S audio driver, which overrides ESPHome’s. So some of 2026.10’s audio fixes don’t reach this board until that fork catches up.
Two settings on the unit worth knowing
- Speaker ducking while listening. The unit turns its own speaker down the moment it wakes, before Home Assistant’s mute arrives. Mine ducked 20 dB, and that wasn’t enough: with the radio loud, speech-to-text wrote down the radio. 40 dB fixed it.
- The “DSP route” select. Leave it on the route that sends the processed microphone (ASR) to the wake word. I tried sending ASR to both speech-to-text and the wake word, and the wake word stopped hearing anything at all for nearly ten hours.
Speech-to-text on the server
I started with whisper.cpp. These are the settings that fixed its delay and its repeats: greedy decoding instead of beam search, Silero VAD (voice activity detection) to trim the silence before you speak, a 300 ms speech pad, no carried-over context and no temperature fallback:
-l en --vad -vm models/ggml-silero-v6.2.0.bin -vp 300 -mc 0 -nf --prompt "..."
The --prompt is a list of house words to bias it towards. Don’t leave -vp at the default of 30 ms: through
Home Assistant it clipped “Turn” off “Turn on…”. 300 ms fixed it.
These days the main engine is NVIDIA’s Parakeet (TDT 0.6B v2), served to Home Assistant by https://github.com/chiabre/wyoming-onnx-asr on the server’s CPU, with Whisper kept running as the fallback:
--model parakeet-v2 --cpu --threads 4 --no-vad --uri tcp://0.0.0.0:10302
--threads 4 matters (the default is 1). --no-vad because its own VAD clipped “Turn” too, and Home
Assistant already trims the end of speech. I had to patch two things locally: loading the model from a plain
folder (the onnxruntime versions I tried rejected the Hugging Face cache layout with “External data path
escapes model directory”), and a small tidy-up that turns “T V” into “TV” and “to morrow” into “tomorrow”.
That tidy-up matters: “T V” misses the local TV sentence and lands on the wrong command. A git pull would
drop both patches, so keep copies.
Add it in Home Assistant as a Wyoming integration, then pick it as the speech-to-text engine in the pipeline.
The language model
The model is Qwen3 8B (Q4_K_M) in Ollama, with num_ctx 12288. Two things made it fast:
- It got its own model file. It had been sharing one runner slot with every other AI job on the server,
so each request threw the other’s prompt away. Ollama keys runners by model file, so a copy made with
ollama cpwould still share. I pulled the same model again as a separate file (hf.co/unsloth/Qwen3-8B-GGUF:Q4_K_M). - A warm-up after every Home Assistant restart. A small service on the server waits 150 seconds after Home Assistant comes back, then asks the pipeline a harmless question (“what colour is a lemon”) as the satellite. That matters: requests from the satellite carry extra timer tools, so they’re a different prompt from requests sent by automations. Warming the wrong one does nothing.
In the pipeline, “Prefer handling commands locally” stays on, so exact matches never touch the model.
Catching near-miss commands
Kids don’t say commands the way the sentence list expects. “Turn off turn off the TV” and “living room room
lights” both fell through to the language model, which answered “I cannot do that”. I installed Assist
Canonicalizer from HACS (https://github.com/luuquangvu/assist-canonicalizer). It’s fully local, with no
model: it fuzzy-matches the text against the known sentences, devices and rooms, rewrites a near miss and
tries it locally again. Only low-confidence text goes on to the language model. I set the pipeline’s
conversation agent to the canonicalizer, its fallback to the Ollama agent, min_confidence 0.5 and
min_margin 0.04.
One catch: the canonicalizer builds its list of known sentences when it loads. After you add custom sentences, reload it (Settings → Devices & services → Assist Canonicalizer → Reload). Until you do, a misheard version of your new sentence gets “corrected” to an old one, or goes to the language model.
Muting the radio while it listens
The radio plays through the same reSpeaker, out the same speakers, and the microphones sit between them. Ducking wasn’t enough. This mutes it while the satellite is listening and unmutes it the moment it stops listening, so the spoken reply isn’t muted too:
alias: "Mute the radio while the assistant is listening"
mode: queued
max: 10
triggers:
- trigger: state
entity_id: assist_satellite.example_satellite
to: listening
id: mute
- trigger: state
entity_id: assist_satellite.example_satellite
from: listening
id: unmute
- trigger: state
entity_id: assist_satellite.example_satellite
to:
- unavailable
- unknown
id: unmute
- trigger: state
entity_id: input_boolean.example_radio_muted
to: "on"
for: "00:01:00"
id: unmute
actions:
- choose:
- conditions:
- condition: trigger
id: mute
- condition: state
entity_id: media_player.example_speaker
attribute: is_volume_muted
state: false
sequence:
- action: media_player.volume_mute
target:
entity_id: media_player.example_speaker
data:
is_volume_muted: true
- action: input_boolean.turn_on
target:
entity_id: input_boolean.example_radio_muted
- conditions:
- condition: trigger
id: unmute
- condition: state
entity_id: input_boolean.example_radio_muted
state: "on"
sequence:
- action: media_player.volume_mute
target:
entity_id: media_player.example_speaker
data:
is_volume_muted: false
- action: input_boolean.turn_off
target:
entity_id: input_boolean.example_radio_muted
The input_boolean is the safety catch. It records that the automation muted the radio, so a radio you
muted yourself is never unmuted behind your back. The last trigger is a 60-second watchdog, and the
unavailable/unknown trigger means a dropped satellite can’t leave the radio silently muted. Mute the raw
ESPHome media player, the one the radio actually streams to, not the Music Assistant one.
The TV gets the same treatment with two differences: it stays muted for the whole exchange (listening, thinking and replying), because the reply doesn’t come out of the TV, and its watchdog is 90 seconds. It also skips muting if the TV is off or already muted.
Two things have changed since:
- It pauses the show too. When the TV woke it by accident, we missed whatever was said while it was muted. Now, if the TV stick is playing, the same automation pauses it (with its own “we paused it” flag) and presses play again when the assistant goes back to idle. Every voice command for the TV clears that flag first, so “pause the TV” stays paused.
- On a Sony Bravia, mute is a toggle in Home Assistant. The Bravia integration ignores whether you asked for mute on or mute off. Every call flips it. So the wake mute, a spoken “mute the TV” and the unmute afterwards kept undoing each other: four flips in seven seconds. I replaced every direct mute with a small script that presses mute only if the TV isn’t already in the state I want. It waits four seconds, checks, and presses once more only if it’s still wrong.
Radio volume by voice
“Turn down the radio” used to go to the language model, whose only radio tool was “play the radio”. So it
started the radio. The radio’s player isn’t exposed to Assist either, so the built-in volume commands can’t
reach it. Custom sentences fixed it. In custom_sentences/en/radio_phrases.yaml:
language: "en"
intents:
RadioVolumeDown:
data:
- sentences:
- "turn down the (radio|music)"
- "turn the (radio|music) down [a bit]"
- "make the (radio|music) quieter"
- "(radio|music) quieter"
- "lower the (radio|music)"
RadioVolumeUp:
data:
- sentences:
- "turn up the (radio|music)"
- "turn the (radio|music) up [a bit]"
- "(radio|music) louder"
- "raise the (radio|music)"
RadioVolumeSet:
data:
- sentences:
- "set the (radio|music) [volume] to {radio_pct} [percent]"
lists:
radio_pct:
range:
from: 5
to: 100
And in configuration.yaml. It steps 10%, never goes below 5% (so it can’t go silent by accident), and a
set value is clamped to 5–100%:
intent_script:
RadioVolumeDown:
action:
- action: media_player.volume_set
target:
entity_id: media_player.example_speaker
data:
volume_level: >
{{ [ (state_attr('media_player.example_speaker', 'volume_level') | float(0)) - 0.1, 0.05 ] | max | round(2) }}
speech:
text: "Okay."
RadioVolumeUp:
action:
- action: media_player.volume_set
target:
entity_id: media_player.example_speaker
data:
volume_level: >
{{ [ (state_attr('media_player.example_speaker', 'volume_level') | float(0)) + 0.1, 1.0 ] | min | round(2) }}
speech:
text: "Okay."
RadioVolumeSet:
action:
- action: media_player.volume_set
target:
entity_id: media_player.example_speaker
data:
volume_level: >
{{ ([[radio_pct | int, 5] | max, 100] | min) / 100 }}
speech:
text: "Okay."
Knowing who’s talking
This is the start of what I really want: an assistant that learns the family, not just the house. Step one is knowing who asked.
I used Assist Speaker ID (https://github.com/witold-gren/home-assistant-assist-speaker-id). It runs as a small server that sits in front of your speech-to-text. Home Assistant sends it the audio, it passes the audio on to Parakeet, and while Parakeet transcribes, it makes a voice print with a small model (3D-Speaker CAM++, run by sherpa-onnx) and compares it with the people you’ve taught it. Home Assistant gets the text back as usual, plus a sensor saying who it sounded like and how sure it is.
How I set it up:
- Only one setting in the pipeline changes: the speech-to-text engine now points at Speaker ID instead of Parakeet. To undo it, point it back. Everything else works without it.
- Pinned and copied, not auto-updated. I read through the code at one commit, built the server from that, and copied its Home Assistant integration in by hand rather than through HACS, so an update can’t change it under me.
- A time limit on the voice print. The version I used had none. I added a quarter-second limit, so a slow voice print can never hold up the answer.
- It never unlocks anything. A voice is easy to copy. Who’s talking changes what Nabu says, never whether a door, lock, garage or alarm does something.
Measured on my server: the voice print takes 23 to 26 milliseconds against Parakeet’s 150 or so, and runs alongside it, so the whole thing adds 11 to 15 milliseconds.
Teaching it your voice
The project has its own guided enrolment, but it asks you to “say a normal command”. On my setup, normal commands are matched locally and run. Twelve practice commands would have done twelve things around the house.
So I made my own. “Learn my voice” (or “I’m Mum, learn my voice”) starts a script that asks twelve short
questions using Home Assistant’s assist_satellite.ask_question. The answer to an ask-question stops after
speech-to-text, so it’s recorded as a voice sample and never treated as a command. If it gets no usable answer
three times, it stops early.
Two more phrases help:
- “Who am I?” says who the last voice sounded like. It doesn’t change anything, so it’s a safe test.
- “I’m Mum, not Dad” adds the last thing you said to the right person. Kids will try this on each other, so it checks first: if the voice doesn’t sound enough like the person named, nothing is saved. After five corrections for one person, I get a message on my phone with a calibration report. It doesn’t change anything by itself.
Enrol from where you normally talk to it. I first enrolled about a metre away. From the couch, three metres off, my voice only scored 0.40 against the 0.50 it needs. I enrolled again from the couch, and real use now scores 0.57 to 0.65.
“Hi Mum!”
The first time someone asks it something in half an hour, the reply starts with their name. It’s a Jinja
macro in custom_templates/voice.jinja (reload with Developer tools → YAML → Custom Jinja2 templates):
{% macro hi() -%}
{%- set s = states.sensor.speaker_id_last_speaker -%}
{%- set names = {'dad': 'Dad', 'mum': 'Mum'} -%}
{%- if s is not none -%}
{%- set who = s.attributes.get('speaker') -%}
{%- if who in names and (now() - s.last_reported).total_seconds() < 60 -%}
{%- set seen = as_timestamp(states('input_datetime.example_last_greeted_' ~ who), 0) -%}
{%- if as_timestamp(now()) - seen > 1800 -%}Hi {{ names[who] }}! {% endif -%}
{%- endif -%}
{%- endif -%}
{%- endmacro %}
The keys in names are the ids you enrolled people under. There’s one input_datetime helper per person,
with date and time. Then put it at the front of any reply:
speech:
text: "{% from 'voice.jinja' import hi %}{{ hi() }}Okay."
I added it to all my custom replies and to the built-in “done” replies, which you can override in a
custom_sentences file under responses:. ⚠️ If the macro breaks, every reply that uses it breaks. Try it
in Developer tools → Template first.
The tricky part is when to reset the half-hour clock. My first version reset it whenever a voice was recognised, and the greeting kept getting lost: the twelve enrolment answers used it up, and so did any question that went to the language model, which can’t greet. Now a small program on my server reads each finished request and resets the clock only when the answer came from a local reply, one that could have said hello.
The same program keeps a log, one line per request: when, who, what it heard, what it did, what it said and how long it took. There’s no audio in it. After a few weeks of that, the plan is to have it notice what each person asks for and offer it.
More answers without the language model
Every question that the local sentences answer comes back in under half a second. The language model takes a second or more, and sometimes gets it wrong. So I keep moving common questions over to custom sentences:
- Weather for a day: “what’s the weather like tomorrow”, “is it going to rain today”, “do I need a
jacket”. It reads the forecast with
weather.get_forecastsand says the high, low, rain chance and wind. - Opening hours: “what time does Bunnings close”. The reply comes from a web search on my server, but the sentence matching is local. It also fixes the usual mishearings first: speech-to-text heard “funding’s” for Bunnings. Searches that sound local get the name of my town added, so it finds the nearby store and not one in another state.
- School: “what’s on at school this week” and “is there school tomorrow”. These come from the school calendars Home Assistant already has for our cork-board display.
- “What time does the alarm go off?” This used to match the built-in “turn off” sentence, which is the wrong way round for a question. Now it’s a read-only answer.
One for the language model’s prompt: my prompt told it to say it couldn’t do things it had no tool for. It started saying that to “is Bunnings open” too, even when the web search tool had just answered. I spelled it out: the refusal is only for controlling something it has no tool for, and when the search returns an answer, say that answer.
Recording what it actually heard
While tuning, I had Home Assistant save every voice clip:
assist_pipeline:
debug_recording_dir: /share/assist_pipeline
There’s no automatic clean-up. Take it out and delete the folder when you’re done.
Step by step
- Flash the XVF3800 with the I2S firmware in Safe Mode, using the reSpeaker’s own USB port. Unplug it.
- Fit the antenna to the XIAO. From now on, power it through the XIAO’s USB-C only.
- Build the community ESPHome config with your secrets, pinned components and the fixed firmware URL. Flash it, then check the log for zero I2C errors.
- Home Assistant should discover it. Adopt it under Settings → Devices & services. The firmware version sensor should read the chip version you flashed (1.0.7 for me).
- Pick your voice pipeline on the device, choose the wake word and the sensitivity. Set the speaker volume (mine came up at 0.5, too quiet; 1.0 was loud and clear).
- Give the satellite device an area, and give that area the aliases people actually say (“lounge”, “the lounge”, “lounge room”).
- If another microphone already covers that room, retire it, so two units don’t answer at once.
- Set up speech-to-text on the server, add it with the Wyoming integration, and pick it in the pipeline.
- Set up the language model, the warm-up and the canonicalizer.
- Add the TV and radio mute automations and any custom sentences. Reload the canonicalizer after each batch of new sentences.
- Turn on debug recording for a week or two, and use real clips to decide what to change next.
- Optional: add Speaker ID in front of your speech-to-text, point the pipeline at it, and have each person say “learn my voice” from where they usually sit. Then add the greeting macro to your replies.
Testing it
- Use the pipeline’s debug view. Settings → Voice assistants → your pipeline → Debug shows what speech-to- text heard, which path handled it (local or the language model) and how long each step took. This is how I found nearly every problem below.
- Test speech-to-text with recorded clips, not just your own voice. I made 20 test clips with Piper (two voices, 2.5 seconds of lead-in, quiet pink noise as room tone) and sent them through Home Assistant’s speech-to-text. Whisper with the settings above got 20 out of 20 (a median of 1.16 seconds, worst 1.30). Parakeet got 20 out of 20 with a median of 0.59 seconds (worst 0.79).
- Check where a phrase goes without running it. Home Assistant’s conversation debug shows which sentence a phrase would match, without doing it. ⚠️ Anything you speak to the real satellite, or put in a warm-up question, runs. Never use a device, a room or a verb in a test phrase unless you want it to happen.
- My results. Local commands answer in about 0.4 seconds. Warm questions to the language model come back in about 1 second. The first question after a Home Assistant restart was 24 seconds before the warm-up.
- Speaker ID. Mum and Dad are enrolled; the kids are next. Our voices score 0.08 to 0.32 against each other, well clear of the 0.50 it needs to name someone. Speech-to-text now takes about 0.23 seconds from the end of speech, voice print included.
- Where it’s at, early November. No lock-ups since moving to ESPHome 2026.10 on 30 October, but that’s only days. Still not properly measured: whether beam lock has stopped the loud/quiet swings, and how the higher wake-word gain trades off against the TV.
Lessons learnt
Whisper was the delay and the repeats. In my partner’s first three test phrases, Whisper took 2.6 to 3.1 seconds after the speech ended, and made things up. “What’s the time” came out as “Time. Time.”, and “turn off the lounge lights” came out as “Now what do I say? Turn off the lounge lights.” four times over. Garbled text misses the local sentences, so it fell through to the language model, and one answer took 31.7 seconds. The satellite’s end-of-speech detection was fine. Greedy decoding plus VAD fixed Whisper, and switching to Parakeet halved it again.
The chime ate the first word. The stock wake chime is 0.95 seconds long but only audible for about a quarter of a second. During its silent tail the XVF3800’s echo cancelling keeps the microphones suppressed, and my firmware was starting the microphone stream 300 ms into the chime. The recordings showed the first second almost silent and the start of each command 15 to 20 dB down. “Turn off the TV” became “on the TV”. A shorter chime, and waiting for it to finish before listening, fixed it.
The TV was its most frequent talker. In ten days, 11 of the 17 wake-ups were the TV. Each one tied the unit up for 20 to 54 seconds, listening to continuous TV sound and then sending nonsense to a cold language model. I turned the sensitivity down for a while because of it. It’s since gone back to the most sensitive setting, and in October I doubled the gain feeding the wake word, because it was missing real requests. I’ve since raised it to three times that, because it still couldn’t hear us over the TV. The TV still wakes it now and then, which is why it now pauses the show as well as muting it. The wake word choice is limited: Okay Nabu, Hey Jarvis, Hey Mycroft or Kenobi. There’s no “Alexa”.
The first question after a restart took 24 seconds. The language model was re-reading the assistant’s whole prompt (about 5,000 tokens) every time, because it shared one slot with other AI jobs on the server. Its own model file and a warm-up as the satellite fixed it: after one cold answer, about a second.
The satellite didn’t know which room it was in. Its device had no area, so “lights on” or “turn it up” couldn’t be matched locally and went to the language model. Give it an area. One catch: my open-plan light group sits in the same area, so “lights on” from the lounge lights the dining room and kitchen too.
The wake word couldn’t hear me over the radio. In 11 days it woke 124 times, but only 23 of those were during 37 hours of radio. The echo cancelling was fed correctly. The problem was which output the wake word listened to. On this chip firmware, one output is a single echo-cancelled microphone with no beamforming, and that’s the one the wake word was reading. The radio’s leftovers (with the subwoofer up) buried “Okay Nabu”. In October I moved to a newer config that sends the wake word the proper beamformed, echo-cancelled output. I haven’t yet tested it at the radio’s usual volume. Keep the speaker audio mono: only the left channel is the echo-cancelling reference.
The same voice came through three times louder in one clip than the next. Same speaker, same room, same background noise. My best guess is the chip’s automatic gain control or the beam swinging towards another sound, but three clips don’t prove it. I turned beam lock on, which holds the beam on the wake-word direction until you stop speaking, so the radio or the washing machine can’t pull it away mid-command. Too early to say whether that’s cured the swings.
An announcement while the radio played froze the whole unit, and the fix was already out. It went deaf every few days, usually just after the radio stopped or restarted around an announcement, and only a power cycle fixed it. I added a black-box log that sends the unit’s log to my server, so it survives a reboot, and a watchdog that restarts the unit if the speaker jams. They showed every connection to Home Assistant dying at the same moment. The cause: when ESPHome stopped the radio, an ESP-IDF function could stop waiting too early. The radio’s reader was killed while its connection was still open, and that connection kept filling up until the network stalled. I’d patched it locally before I checked ESPHome’s releases. 2026.10.0 had fixed it nine days before (ESPHome pull request #20326), and I was on 2026.9.1. Now I check the installed version against the latest release, read the changelog and search the issue tracker before I debug anyone else’s code.
The LED ring is dead, and that’s a hardware fault. The ring’s 12 LEDs are daisy-chained, and the first one (nearest the XIAO’s soldered legs) has its top knocked off. One dead first LED darkens the whole ring. The software was fine the whole time. Don’t try to fix it by writing to the chip’s GPO 33 pin, as I did: that turned the ring off and latched it, through reflashes, until a full power-cycle. It works fine as a voice satellite without LEDs.
“Deaf after one command” was the radio. One morning it would answer once, then mishear everything. I blamed the firmware changes I’d just made. The recordings showed speech-to-text writing down the radio: the unit ducked the radio only 20 dB for the first second, until Home Assistant’s mute arrived. Ducking 40 dB fixed it. Now I test with the radio loud and at least three commands in a row. One command proves nothing.
On a Sony Bravia, every mute in Home Assistant is a toggle. The integration ignores mute on or off and just presses the button. Mute only through a script that checks the TV’s state first.
The project’s own voice enrolment would have run twelve commands. It asks you to say normal commands as samples, and with local commands those happen. Use ask-question prompts instead: the answer stops at speech-to-text.
Enrol from where you’ll actually talk. Enrolled a metre away, my voice from the couch scored under the line, and it never greeted me. Enrolled from the couch, it does.
Don’t change the language model’s prompt per request. I tried adding “start your reply with Hi Dad!” to the prompt for the greeting. That one answer took 27 seconds instead of about one, because Ollama re-read the whole prompt and tool list. The 8B model ignored the line anyway. Greetings only go on local replies.
“I hear nothing” was a loose plug. The first time, the speakers weren’t plugged into the 3.5 mm jack.
“What colour bin goes out tonight?” got “I don’t have that information”. The bin sensor wasn’t exposed to Assist, so the language model couldn’t see it. Exposing it fixed the question in one step.
Real recordings include the kids. Debug recording saves everything, including the kids’ voices, and there’s no clean-up. Collect what you need, then turn it off and delete the folder.
Questions and comments
Loading comments…