Lumi
한국어 Open Lumi

Developers

Devices

The ways a device becomes someone's Lumi - a xiaozhi-compatible ESP32 board by voice, a spare phone, or your own robot over the API.

Every device on an account is the same Lumi: one memory, one set of lists, one conversation. An account can have up to 10 devices.

Device How it talks to Lumi Add it at
xiaozhi-compatible ESP32 board by voice, on its own ai.avenpa.com/add
A spare phone or tablet by voice, in the browser ai.avenpa.com/desk
Your own robot or app text, over the robot API Settings › Keys › New key, Robot or device

xiaozhi-compatible ESP32 boards

Boards that run the open xiaozhi firmware, with a microphone and a speaker, can use Lumi as their server. Lumi does the speech recognition, the answer and the voice; the usage is paid from the owner’s credits.

  1. Set the board’s OTA address to https://ai.avenpa.com/xiaozhi/ota/.
  2. The board shows or says a 6-digit code. It is good for 10 minutes.
  3. The owner opens ai.avenpa.com/add signed in and enters the code.

For firmware makers

The board checks in at /xiaozhi/ota/ on every start with a Client-Id header (a UUID). Until it is added, the answer carries an activation code; it polls POST /xiaozhi/ota/activate (202 while waiting, 200 once added). After that the answer carries the WebSocket address wss://ai.avenpa.com/xiaozhi/v1/ and its token. The conversation uses the xiaozhi WebSocket protocol: Opus audio at 16 kHz up and 24 kHz down in 60 ms frames, and MCP JSON-RPC for the board’s own tools.

A spare phone

Open ai.avenpa.com/desk on a phone or tablet you don’t use, signed in or by scanning the QR code, and leave it on the desk. It shows Lumi’s face and listens for “Hey Lumi”.

Your own robot or app

Make a key under Settings › Keys › New key: pick Robot or device and give the robot’s name. It is listed with the other devices, and the robot API gives it short spoken answers and faces.

It is not a Lumi device in every way:

  • In Settings › Devices it shows only its name, “API”, when it was last used and Unlink. It has no device page, remote, settings or updates.
  • Lumi can’t reach it first. Alarms and timers don’t ring on it, and the MCP tools list_devices, show_face and say don’t see it. It answers only when it asks.
  • The first-run hello for a new device doesn’t run. The account’s settings are made on ai.avenpa.com.

Checked against the service on December 5, 2026