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.
- Put the board in Wi-Fi setup mode. Hold BOOT once while it connects.
- 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.
- Open the Advanced tab. Paste the address above into Custom OTA URL.
- Go to the Wi-Fi Config tab and enter your home Wi-Fi. It must be 2.4 GHz.
- The board restarts and says 6 digits out loud.
- 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
- Use Chrome or Edge on Windows, Mac or Linux. Other browsers cannot talk to the board.
- Plug the board in with a data cable. Some cables only charge.
- Open ai.avenpa.com/install?keep.
- Press Connect over USB and pick the board’s port.
- 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.
- 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
- Devices covers adding, the device page and removing.
- Lumi’s own open-source firmware is on the ESP32 page.
- The device API is in Developers: Devices.
- Problems: Troubleshooting.