All hacks

Cheap AliExpress ESP32 speaker given new firmware as an AI voice assistant for Home Assistant

A CA$41 round-screened ESP32-S3 speaker gets custom firmware and a Docker server, so any AI you choose can run Home Assistant by voice.

Cheap AliExpress ESP32 speaker given new firmware as an AI voice assistant for Home Assistant
Cheap AliExpress ESP32 speaker given new firmware as an AI voice assistant for Home Assistant, as posted by u/MasterGlassMagic
Photo: u/MasterGlassMagic, from the original post.

A Spotpear ESP32-S3 speaker, a small cylinder with a 1.28 inch round touch screen, a mic and a battery, now works as a home voice assistant. It costs CA$41 on AliExpress and ships with Xiaozhi firmware, which the builder’s own firmware, Harkenn, replaces.

The wake word runs on the speaker, while Whisper and Piper run on a Docker server at home. The speaker talks to whichever AI you pick, anything OpenAI-compatible (Ollama included) or Anthropic, and that AI uses Home Assistant to get things done, rather than the other way round. Each speaker still shows up in Home Assistant over MQTT.

The builder designed it and tested on the device. An AI coding assistant wrote most of the code and tracked down bugs such as the speaker running out of memory. It’s early days and only the 1.28 inch model is supported, so check the listing before buying. Code and write-up are on u/MasterGlassMagic’s GitHub.

All credit to u/MasterGlassMagic. The full story is at the original source.

Cracked something open?

Send us your hack. Clever, useful or gloriously pointless, we want to see it.

Submit a hack