Lumi
한국어 Open Lumi

Lumi guide

ESP32 and xiaozhi boards

Point a board that runs stock xiaozhi firmware at Lumi, by phone or by USB.

Many small ESP32 boards ship with the open-source xiaozhi firmware. You can point one at Lumi by changing its update address. The board keeps its own firmware. Only the address changes.

The update address is:

https://ai.avenpa.com/xiaozhi/ota/

Lumi’s site says talking on a real board is not checked yet. It was tested in an emulator. If you try it, you are one of the first.

What you get

  • The board talks to your Lumi. It shares your conversation, memory and lists.
  • Voice uses the same credits as the chat. See Plans and credits.
  • Alarms and timers do not ring on a stock board, because it has no line for Lumi to ring on. Lumi says “This device can’t ring for … so your phone will.” Turn on notifications in the Lumi app so the phone rings instead.
  • Boards that can move, such as Otto, Electron-bot, ESP-SparkBot, ESP-Hi, EDA and Stack-chan, are recognized. Their gestures were tested only in an emulator.

Way 1: from your phone

This needs xiaozhi firmware 1.6.1 or later.

  1. Put the board in Wi-Fi setup mode. Hold BOOT once while it connects.
  2. On your phone, join the Wi-Fi network whose name starts with “Xiaozhi-”. Then open 192.168.4.1 if the setup page does not appear.
  3. Open the Advanced tab. Paste the address above into Custom OTA URL.
  4. Go to the Wi-Fi Config tab and enter your home Wi-Fi. It must be 2.4 GHz.
  5. The board restarts and says 6 digits out loud.
  6. On a device where you are signed in, open ai.avenpa.com/add, choose A xiaozhi (小智) device, type the 6 digits and press Add to my Lumi.

If your firmware is 2.3.0 to 2.4.0, the Advanced tab is hidden. Use the USB way.

Way 2: over USB

  1. Use Chrome or Edge on Windows, Mac or Linux. Other browsers cannot talk to the board.
  2. Plug the board in with a data cable. Some cables only charge.
  3. Open ai.avenpa.com/install?keep.
  4. Press Connect over USB and pick the board’s port.
  5. Press Switch to Lumi. If the board has no Wi-Fi yet, enter yours first (2.4 GHz only). When it finishes, press Restart and add it.
  6. The board says 6 digits. Type them at ai.avenpa.com/add.

Possible messages on the page:

Message What to do
This isn’t xiaozhi The board’s firmware is not xiaozhi, so there is no server to switch.
Too old to switch Update the board’s xiaozhi first, then try again.
Its settings are locked They are encrypted, so USB cannot change them. Use way 1.
No room in its settings Switch it on its Wi-Fi setup page instead (way 1).
The port is in use Close other tabs or apps that use the board (serial monitor, Arduino IDE), then try again.
Couldn’t talk to the board Use a data cable, not a charge-only one. Install the CP210x or CH340 driver if the port does not show. Or hold BOOT while you press Start.
It couldn’t join Wi-Fi Check the name and password. The board works on 2.4 GHz only.

Lumi no longer flashes its own firmware from this page.

Go back to xiaozhi’s server

Remove the device in Lumi (Settings › Devices › Unlink). Then set the update address on the board back to xiaozhi’s original one, https://api.tenclass.net/xiaozhi/ota/, the same way you set Lumi’s.

More