The light board has been successfully verified. (The total cost is less than 20 yuan.)
This modified light board is suitable for the classic version of Xiaoai speaker:

(that is, there are 5 touch buttons on the top and a touch ring for adjusting the volume, and there are light strips around it)
Note: All the directional words (up, down, left, right) in the text are the direction of the PCB on the computer display, that is, the direction of the PCB when the antenna of the ESP-12F module is placed to the left. It is currently found that the atmosphere light board will affect the networking process of the Xiaoai speaker when it is turned on. The solution is to not power on the atmosphere light board when the Xiaoai speaker is started, and the atmosphere light can be started after the Xiaoai speaker is successfully connected to the network (starting the atmosphere light after the network is successfully connected has no effect on the Xiaoai speaker responding to calls, playing music, etc.).
Instructions for use:
1. Use WLED firmware (provided in the attachment), and you can use mobile phones, computers and other devices to connect to the network after powering on.
2. It comes with an infrared receiver (either TSOP38238 or VS1838B, located at GPIO12), which can be controlled by a common 24Key or 44Key flat film RGB remote control (see the official website for the corresponding settings). It is recommended to weld, but it is also possible not to weld. When using the remote control, you need to be as close to the position of the speaker light strip as possible, so that the success rate of remote control reception is higher.
3. It comes with Hall (HALL), and an external magnet can be used to control the switch. A physical switch is required for the power input section, because the Hall can only disable the ESP8266 but not turn off the WS2812 colored lights. The Hall element can be welded.
4. The onboard ESP-12F module is used as the main control, and 12 WS2812b-5050 lamp beads are used as the light source.
5. The VIN-12V port at the notch on the left can directly input 12V, where the pin close to D1 is the positive pole, and the other side is the negative pole (reverse connection will not burn).
--------------------
Installation steps:
1. Solder the components. Note that VIN-12V, TTL pins and GPIO pins should not be soldered. Hall element HALL and infrared receiver IR are all soldered horizontally. When soldering, the pins should not protrude from the PCB. It is best to be flush with the lower surface of the PCB. SMD components such as WS2812 can be patched on a heating table. The WAKE pad (0402, no silk screen on the PCB, located on the right side of R1 and the lower side of ESP8266) is used to short-circuit GPIO16 and RST to wake up from deep sleep. If you only use WLED, you don’t need to short-circuit. If necessary, you can directly short-circuit with solder. AMS1117 is divided into 5V (3) and 3.3V (1). Please be sure to solder according to the silk screen, otherwise the ESP8266 module will burn.
2. Disassemble the Xiaoai speaker, lead out 12V from the power input interface and connect it to the VIN-12V interface with two sufficiently long wires (see the figure below. The wire on the right side of the picture is connected to the PCB and needs to pass through the opening on the top cover (there are two openings on the top cover, and the wire needs to pass through the larger opening. The small opening is the cable opening between the touch light control board and the main board on the top of the Xiaoai speaker, corresponding to the rectangular slot above the PCB; the VIN-12V on the left side corresponds to the larger opening, and the wire can pass through the larger opening). The wire on the left side of the picture is connected to the bottom and led out from the seam of the shell for connecting the switch. The wire is directly soldered to VIN-12V). Don't worry about the external switch at this step, just solder it directly. Don't use hot melt glue to fix the wire welding point first (the picture was taken after it was completed, so it has been fixed with hot melt glue. In actual production, the wire is fixed and led out to the shell in the last step).
3. Use a USB to TTL module to connect the PCB to the computer, where the module's RX is connected to the leftmost pad of the TTL pin header (corresponding to TX of ESP8266), TX is connected to the middle pad of the TTL pin header (corresponding to RX of ESP8266), GND is connected to the rightmost pad of the TTL pin header (corresponding to GND of PCB) and the rightmost pad of the GPIO pin header (corresponding to GPIO0 of ESP8266, used to make 8266 enter the burning state after powering on). It is recommended to press the pin header obliquely on the pad on the PCB, and use a small amount of tin to fix the 4 pin header pins that need to be used (because the pin header is too high, it will cause the PCB to be unable to be installed inside the top cover of the speaker, so the pin header cannot be soldered normally).
4. Power on the XiaoAi speaker. If the blue light on the ESP8266 flashes briefly, it means that there is no problem with the soldering of the 8266 peripheral circuit (because WS2812 is connected to GPIO2, the debug log information sent by 8266 through GPIO2 during power-on initialization will make several lights of WS2812 always on. This problem is inevitable. You can only wait for ESP8266 to be burned and restart 8266).
5. Open the ESP8266Flasher software (see attachment) and import the WLED firmware (.bin format), select the correct port and click upload. After the software prompts that the upload is successful (a green "√" is displayed in the lower left corner), use tweezers or wires to short the middle pin and the rightmost pin of the Hall element or disconnect the power and reconnect to reset. At this time, a circle of 12 WS2812s should light up orange (see the effect below). After the burning is successful, desolder the TTL pin header and GPIO pin header, otherwise the top cover cannot be covered.
6. Press the PCB down lightly, make sure the cable opening reserved for the Xiaoai speaker light control board is large enough, and then use hot melt glue to fix it around the PCB (it is recommended to use a small amount of hot melt glue for the first fixation, and try to cover the top light control board after cooling. If the top cover is successfully closed and the PCB does not block the cable interface, you can add some hot melt glue appropriately).
7. Use a computer to connect to WLED's AP access point (WiFi name: WLED-AP; password: wled1234) and set the home WiFi name and password in the open browser interface (if the browser interface does not open automatically, you need to open the browser and manually enter the IP address 4.3.2.1 to set it).

Connect to the AP access point

and click "WIFI SETTINGS"

to enter the name (Network name) and password (Network password) of your home WiFi.
8. Open the management interface of your home router and find the device named "WLED-wled" (it should be called this, anyway, there is a "WLED". I named the atmosphere light board "WLED-MI_AI_Soundbox" in the router management interface because there are already several WLED devices at home) and record its IP address (after that, as long as you use a device connected to the same WiFi environment to access the IP address, you can control the colored lights).
9. Arrange the wiring and assemble the Xiaoai speaker, and use the lead-out wires to connect the external switch.

Lead out from the top cover

and press into the gap between the speaker motherboard and the cavity .

Follow the motherboard wiring

to directly weld the negative pole of the PCB to the negative pole of the speaker power interface. Lead out the positive pole of the PCB and the positive pole of the power interface along the power cord of the speaker to the seam of the outer shell .

Lead out from the seam and weld the physical switch. Close the bottom cover with a little force and tighten the screws.

The effect of the key switch after installation
--------------------
Usage effect:
