Building Ada (part one): an Echo Show that answers to me
I want a voice assistant at home that runs my own AI. AI models get more capable every few months, and I want to connect mine to whatever I like. Alexa only connects to what Amazon allows.
Living in the UAE makes it worse. Alexa isn't well supported here, so even asking for the weather where I live doesn't work.
So I'm building my own. Her name is Ada, after Ada Lovelace. It's also a short name, which makes it easy to type and to write down.
This is the first post in a series about building her. It covers the hardware I chose, how I flashed it, and the first time a reply from my own server came out of the speaker. That reply was a recording, and Ada didn't understand anything yet. But the whole round trip worked, from my voice to my laptop and back to the speaker.
The hardware problem
The software for a home assistant is easy to find. Speech to text, chat models and text to speech all have good open-source options. The hard part is the box on the shelf that listens.
I looked at a Raspberry Pi with a microphone board, and at the voice hardware Home Assistant sells, which is built for long-range pickup. I didn't buy either, for three reasons:
- Availability. The boards were hard to get.
- Far-field pickup. A small mic board works when you're close to it. Hearing a voice from across a room over a TV needs a good mic array.
- Echo cancellation. When the speaker plays music or a reply, the mics hear it too. The device has to remove its own audio to pick out my voice, or I can't talk over it.
An Echo Show already has all of that, with a mic array and echo cancellation built for exactly this job. Second-hand ones are cheap. I bought two from CeX in London, an Echo Show 8 for £70 and an Echo Show 5 for £40. One will be the main room speaker and the other will go in the office or bedroom. The only problem with them is Amazon's software.
Hacking an old Echo Show
The older Echo Shows are MediaTek Android tablets underneath, and people have unlocked them. The Echo Show 5 2nd gen (board name cronos) can be unlocked with a bootloader exploit called amonet. After that it runs a custom recovery and custom ROMs like any rooted tablet.
TECHO5 goes one step further. It replaces Android and Alexa with a small Alpine Linux image and a single Go program. The Show becomes a voice satellite, and its touchscreen still works. It detects its wake word on the device, and it normally talks to Home Assistant over the ESPHome API.
It also has a mode for people without Home Assistant. You give it three servers: one for speech to text, one chat model, and one for text to speech. That mode made Ada possible.
Flashing the Show
I started with the Show 5. These steps follow the TECHO5 getting-started guide for the 2nd gen. Read the guide and its linked XDA threads before you start, because a wrong file can leave the Show in a boot loop.
On a Mac, the tools come from Homebrew:
xcode-select --install
brew install android-platform-toolsCheck the firmware first. A Show fresh from the box may have firmware too new for the exploit. Read its version before you let it onto the internet, because it updates itself as soon as it can.
Unlock it with amonet. With the Show on mains power, hold all three top buttons until the screen says => FASTBOOT mode. Then connect USB and run the fastbrick step from the XDA thread for the Show 5 2nd gen. It reboots into TWRP on its own, so leave it alone while it works. Use amonet v2.0.1 or later. An older version can leave the bootloader locked while everything else looks fine.
Install LineageOS 18.1. TECHO5 needs the Wi-Fi and Bluetooth drivers from one exact LineageOS build, the 2026-09-04 cronos build. TECHO5's kernel is built from that build's kernel, and the drivers only load on the kernel they were built for. Once LineageOS boots, tap Build number seven times under Settings → About, then turn on USB debugging in Developer options.
Install TECHO5. With the Show on LineageOS and connected by USB:
git clone https://github.com/HuskerMinion/techo5
cd techo5
python3 tools/install-show.py --dry-run
python3 tools/install-show.pyThe dry run downloads and checks the latest release. The real run asks once before it erases anything, replaces LineageOS with TECHO5, and waits for the first boot.
Nothing went wrong for me. The only surprise was finding help. I asked Claude and Codex to walk me through it, and both refused to help me flash the device. GLM was the one that got me through it.
A keyboard with no >
When TECHO5 first booted, it opened its own Wi-Fi screen. My Wi-Fi password has a > in it, and the on-screen keyboard doesn't have one.
TECHO5 has a tool for exactly this. tools/show-wifi.py sends the network over the USB cable, so you type the password on your computer instead. It found the Show, then said it wasn't answering:
$ python3 tools/show-wifi.py "LAHome"
== the unit
error: techo51 does not answer on its USB console: keep the cable in and try againOn macOS the script reads the Show's serial number from the name of the USB port, /dev/cu.usbmodemtecho51. macOS adds a 1 to the end of that name, and the Show's real serial is a different string anyway. The script checks the serial before it runs any command, so the check failed.
The USB console is a plain root shell, so I opened it myself:
screen /dev/cu.usbmodemtecho51 115200cat /proc/cmdline showed the real serial. Passing it with --serial still didn't get an answer, so I skipped the script and wrote the Wi-Fi config by hand. It's the same file the script writes:
mkdir -p /data/techo5-linux
cat > /data/techo5-linux/wpa_supplicant.conf <<'EOF'
ctrl_interface=/run/wpa
update_config=0
network={
ssid="LAHome"
scan_ssid=1
psk="my-password-with-a->-in-it"
}
EOF
sync; rebootMy Mac's keyboard has a > on it. After the reboot, ip -4 addr show wlan0 showed the Show on the network.
I built it the wrong way round
Before I knew which firmware was on the Show, I assumed it was a Wyoming satellite. Wyoming is the protocol Home Assistant uses for voice. A Wyoming satellite is a TCP server on port 10700, and Home Assistant dials into it. So my first version of Ada dialled into the Echo, opened a session, and waited for wake word events.
TECHO5 works the other way. In its "speech and a chat model, directly" mode, the Show dials into your servers, once for each request.
That change also deleted code. The Show decides when you've stopped talking before it sends anything, so the voice activity detector I'd written had no job left. I removed it.
Ada as three servers
Ada is now three small servers on my Mac. Each one fakes its real job for now, so I could prove the round trip before making any of them clever.
| Server | Protocol | Port | What it does for now |
|---|---|---|---|
| Speech to text | Wyoming | 10300 | Saves what it heard as a WAV, answers "hello ada" |
| Chat | OpenAI-style HTTP | 8000 | Always replies "Hi, I'm Ada." |
| Text to speech | Wyoming | 10200 | Always sends back one recorded WAV |
Like Vault, Ada has no runtime dependencies. Node 24 runs TypeScript files directly, and node:net, node:http and node:test cover the rest.
The Wyoming protocol
A Wyoming message is a line of JSON, then optional JSON data, then an optional binary payload. The header line gives the length of each part:
{"type":"audio-chunk","version":"1.4.1","data_length":37,"payload_length":2048}
{"rate":16000,"width":2,"channels":1}<2048 bytes of 16-bit PCM>TCP can split a message anywhere, so the parser keeps bytes until a whole frame has arrived:
const header = JSON.parse(this.#buffer.subarray(0, newline).toString("utf8")) as Header;
const dataLength = header.data_length ?? 0;
const payloadLength = header.payload_length ?? 0;
const frameEnd = newline + 1 + dataLength + payloadLength;
if (this.#buffer.length < frameEnd) return events;One test feeds two messages through the parser seven bytes at a time and checks both come out whole.
Speech to text, without the text
For each request, the Show sends transcribe, then audio-start, a stream of audio-chunk events and audio-stop. Then it waits for a transcript. Ada keeps the chunks, and on audio-stop it writes them to a WAV so I can hear what the Show heard:
case "audio-stop": {
const pcm = Buffer.concat(chunks);
if (format) writeFileSync(file, encodeWav({ ...format, pcm }));
send({ type: "transcript", data: { text: transcript } });
return;
}Text to speech, without the speech
The Show sends synthesize with the text. Ada ignores the text and streams back one prerecorded WAV, 1,024 samples per chunk. TECHO5 only accepts 16-bit mono audio, so Ada won't start with a file in any other format. Its error message includes the ffmpeg command that converts it.
Testing without the Show
I didn't want the Show to be the first thing to talk to Ada. I read TECHO5's Go client to see exactly which events it sends. Then I replayed them in the same order at Ada with the Python wyoming library, which is what Home Assistant uses. The recording Ada saved was exactly as long as the audio I sent, 6.1 seconds. The audio that came back matched the response file byte for byte.
First words
On the Show's setup page I chose Voice assistant → Answered by: Speech and a chat model, directly. Then I pointed the three fields at my Mac's IP address.
The default wake word was "Alexa", and my real Alexa answered too. I switched the Show to "Computer".
I said "Computer", then a few words, and the Show answered "Hi, I'm Ada. I heard you." Ada's log showed each step:
10:12:53 AM stt: heard 1.8s, saved recordings/2026-11-30T06-12-53.242Z.wav, answering "hello ada"
10:12:53 AM chat: user said "hello ada", replying "Hi, I'm Ada."
10:12:53 AM tts: asked to say "Hi, I'm Ada.", playing the recorded responseWhen I played the saved recording back, my voice came through clearly.
What's next
The goal for the next part is to match what my Alexa does for me today. That means playing music and telling the time, plus the weather for where I live, which Alexa can't do here. Ada needs two of her fakes replaced first:
- Real speech to text, so Ada knows what I actually said.
- A real chat model with tools, so she can act on it by playing music or looking up the weather.
After that come her own voice, the Echo Show 8 in the second room, and a "Hey Ada" wake word. TECHO5 can run a custom wake word, and its author's wakesmith trains one from synthetic speech and recordings of my own voice.
Part two replaces all three fakes, so Ada can tell me the time and the weather.