Overview

We are hoping to flash Tasmota firmware on our Treatlife DS01C Dimmer switch.

The Treatlife DS01 uses a TYWE3S Chip (ESP8266):

This dimmer has an MCU connected to the TYWE3S over the RX/TX pins.


MCU: BYD - BF7612AM28T W9He

BF7612AMXXE-CN-MCU-Datasheet




Pictures





Flashing

This chip is essentially an ESP8266. The ESP-12 Chip has the same pinout. 

We can desolder the TYWE3S board and flash it just like we would an ESP-12.

To flash the ESP-12, you would need to connect it up as follows:

Flash:


Disconnect GPIO-0 and toggle power to configure


Re-assemble


Configuring

https://templates.blakadder.com/treatlife_DS01.html


From the console, issue the following commands:

TuyaMCU 21,2
DimmerRange 150,1000
Rule1 on system#boot do SerialSend5 55AA00060005040400010114 endon
Rule 1 1 


References

ReferenceURL
Tasmota - Tuya MCU Deviceshttps://tasmota.github.io/docs/TuyaMCU-Devices/
Tasmota - TuyaMCUhttps://tasmota.github.io/docs/TuyaMCU/
Tasmota - TuyaMCU Protocolhttps://tasmota.github.io/docs/TuyaMCU/#tuya-protocols
Tasmota Ruleshttps://tasmota.github.io/docs/Rules/

Trying to flash tasmota on TYWE3S #5377

https://github.com/arendst/Tasmota/issues/5377
Configuring Tasmota on DS01https://templates.blakadder.com/treatlife_DS01.html