ltchiptool icon indicating copy to clipboard operation
ltchiptool copied to clipboard

Tuya Avatto Thermostat CB3S reading error

Open saforever99 opened this issue 2 weeks ago • 3 comments
trafficstars

I just succesfully flashed a new Tuya Avatto Thermostat (chip CB3S) using ltchiptool v.4.12.2 with fw kickstart-bk7231n-2025-05-28.bin, after many unsuccessful attempts with tuya-cloudcutter.

Image

When I analyze the firmware dump or Grab from ESPHome-Kickstart via ltchiptool, I have the following error: W: Block by ID 11 does not exist, returning empty. Therefore I cannot generate an ESPHome YAML file. Any suggestion on how to proceed ?

Image

I can see and connect to the AP kickstart-bk7231n, but I guess I need a meaningful ESPHome YAML file to have the device working, don't I ? I have the original saved .bin file, but I don't know where I can share it here.

Thanks a lot for your help

saforever99 avatar Nov 01 '25 18:11 saforever99

That means it has incompatible storage and likely doesn't have any data to generate a config. You will need to generate a config manually. Based on the image attached, it is likely a TuyaMCU device.

Cossid avatar Nov 01 '25 18:11 Cossid

Where do you think I can learn about the configuration of this device ? I found this yaml file for a Tuya thermostat, although the chip is different: https://github.com/vladyspavlov/esphome-avatto-wifi-thermostat/blob/main/thermostat.yaml. Do you think it can work ?

saforever99 avatar Nov 01 '25 19:11 saforever99

There is a chance, as all TuyaMCU devices are controlled by DPIDs, and there is a chance the programming is the same. There isn't much for documentation beyond https://esphome.io/components/tuya/ (and by extension https://esphome.io/components/climate/tuya/) as each device is very different.

The first link shows how to view the DPIDs your device reports (but it may not actively announce all of them it supports).

Cossid avatar Nov 01 '25 19:11 Cossid