Hi everyone,
I have a Wi-Fi thermostat from AliExpress (Wenzhi BAC-006EW) that uses a CB3S Wi-Fi module (BK7231N-based) and I want to replace its firmware with ESPHome so I can integrate it with Home Assistant.
I’ve opened the device and it clearly has the CB3S board inside. According to device lists, CB3S is a supported board type in ESPHome (bk72xx / LibreTiny), but I haven’t found a ready-made thermostat template for this specific model.
Can anyone help with flashing this thermostat with ESPHome — do I need to use serial (USB-TTL) or is there a cloud/OTA method like tuya-cloudcutter?
If I flash it by soldering the chip, how can I read the UART pins and identify GPIOs — any pinout example for the BAC-006/BHT-006 series?
Any DPID mapping or Tuya protocol hints specific to these thermostats?
I also saw some discussion about other flash methods (OpenBeken / LibreTiny), and that CB3S can be tricky because it’s not ESP32/ESP8266. Any pointers on how to approach this (tools, boot mode, required wiring, gotchas) would be great.
Here is the picture of thermostat and current FW version


Thank you
I have a Wi-Fi thermostat from AliExpress (Wenzhi BAC-006EW) that uses a CB3S Wi-Fi module (BK7231N-based) and I want to replace its firmware with ESPHome so I can integrate it with Home Assistant.
I’ve opened the device and it clearly has the CB3S board inside. According to device lists, CB3S is a supported board type in ESPHome (bk72xx / LibreTiny), but I haven’t found a ready-made thermostat template for this specific model.
Can anyone help with flashing this thermostat with ESPHome — do I need to use serial (USB-TTL) or is there a cloud/OTA method like tuya-cloudcutter?
If I flash it by soldering the chip, how can I read the UART pins and identify GPIOs — any pinout example for the BAC-006/BHT-006 series?
Any DPID mapping or Tuya protocol hints specific to these thermostats?
I also saw some discussion about other flash methods (OpenBeken / LibreTiny), and that CB3S can be tricky because it’s not ESP32/ESP8266. Any pointers on how to approach this (tools, boot mode, required wiring, gotchas) would be great.
Here is the picture of thermostat and current FW version
Thank you