Discordia is paused: in the meantime this domain hosts my portfolio.

All projects
on GitHub

Husky locale

A voice server that replaces the xiaozhi.me cloud for ESP32 devices and the HuskyLens 2 camera: voice, AI and sensors, all on your own computer.

What it is

xiaozhi voice devices (built on ESP32) normally send your voice to a third-party cloud server. Husky locale takes its place: it understands speech, answers, uses tools and sensors, but everything runs on your own computer. It works without the Internet, without outside accounts, and you pick the models.

What it does

  • Local voice: Whisper to listen, Ollama to answer, Piper to speak. The reply starts from the very first sentence.
  • HuskyLens 2: “what do you see?”, and it learns faces and objects.
  • Home and sensors: ESP32, ESPHome, MQTT and LoRaWAN, controlled by voice.
  • For the classroom: the teacher’s documents, transcribed lessons, several devices in the same room (only the closest one answers).
  • Speaker recognition, only with consent.

Technical choices

An Admin page runs everything: devices approved with a 6-digit code, models downloaded and swapped without restarting, and a list of every address the server contacts. There are accounts with two-factor login, encrypted data and backups, Prometheus and Grafana metrics, and one-click updates that roll back on their own if something goes wrong. It runs on Windows, Linux, Raspberry Pi, Docker and Kubernetes. The interface is in Italian and English.

Status

The code is on GitHub under the GPL-3.0 licence.