Arlec 130cm White 4 Blade DC Ceiling Light and Fan (DCF4002WHA)
Arlec 130cm White 4 Blade DC Ceiling Light and

Available from:

Install method:
Replace module

GPIO #Component
GPIO00 User
GPIO01 User
GPIO02 User
GPIO03 User
GPIO04 User
GPIO05 User
GPIO09 None
GPIO10 None
GPIO12 User
GPIO13 User
GPIO14 User
GPIO15 User
GPIO16 User
GPIO17 None
{"NAME":"Arlec DCF4002WHA","GPIO":[1,1,1,1,1,1,0,0,1,1,1,1,1,0],"FLAG":0,"BASE":54}
This device uses WR4 module which needs to be replaced with an ESP. Besides the module, this process will require a heat gun, soldering tools and moderate soldering skill.

Requires removal of the Tuya WR4 (Realtek) module and installation of an ESP controller (e.g. ESP12/ESP8266). As this is an MCU-controlled device it only requires use of VCC, GND, TXD, RXD and EN pins on the ESP, soldered to the locations showing the image. https://imgur.com/a/TtjWidJ

Note that the image refers to pin IDs for the WR4 module such as ““A18””. You can ignore this and just focus on the ““TXD”” and ““RXD”” as referring to TX/RX respectively.

Use the following console commands to map to the correct Tasmota Function IDs: Backlog TuyaMCU 11,1; TuyaMCU 64,3; TuyaEnumlist 4,5; TuyaMCU 97,4 TuyaMCU 12,9; TuyaMCU 22,10

If your Backlog command does not execute as expected, enter each command separately, allowing time for Tasomota to reboot after each command execution.

WARNING: Do not use the command TuyaMCU 21,10 as this crashes the MCU on the main controller board and the light/fan will cease to function completely. The command TuyaMCU 21,0 will remove the issue. Use of the command TuyaMCU 22,10 allows the dimmer to work but you will be unable to set the Dimmer Range which is 2-100, however the default Tasmota values of 10-100 are fine. The Dimmer is increased in steps of 2 (e,g: 2,4,6,8,10,12,etc) for a total of 49 possible dimmer values.

The LED Colour Temperature (CCT) values for the three colour temperatures are 0, 50, and 100.