Tuya Dimmer - FengtianGu/Sonoff-Tasmota GitHub Wiki
Tuya Dimmer
The Tuya Dimmer is usually a 1 gang dimmer that dims mains voltage to various lighting types; incandescent, CFL, and LED. Consult the specific device for what type of bulbs and capacity it supports as well as the bulbs themselves to verify they support dimming.
As of version 6.2.1.16 Tuya Dimmer support was added as a device type. There are several Tuya Dimmer variants by various manufacturer.
Oittm, Moes, etc US variants
Video Flashing and Setup Guide - https://www.youtube.com/watch?v=fyxxk2NrKG8
Product Links:
Oittm - https://www.amazon.com/gp/product/B07D127YL5
Moes - https://www.amazon.com/gp/product/B07DRG19S6
Konesky - https://www.amazon.fr/gp/product/B07L3LNVG1/
Heygo - https://www.amazon.com/gp/product/B07JG6T1G8/
Pics
Flashing and GPIO Pins
The Tuya module uses is a standard TYWE3S. Once the switch is carefully popped open you will need to remove the ribbon cables for flashing and ease of soldering. An easy soldering method is to take several dupont style jumper wires, cut one end off, and apply a bit of solder to each stripped end. This will keep the wire flexible and prevent any circuit board pads from ripping off like seen in pictures using male jumper pins. Apply a bit of solder to each pad necessary to flash (do not get them backwards, double check your pin outs). Once the wire and pad have solder simple put the two together and apply a bit of heat and they will pull together.
Attach the GPIO0 wire to ground during initial boot to flash. A 3 pin header bridged together works great with GPIO0, GND and the GND from the USB flasher attached. (TX pin to RX pin and RX pin to TX pin on USB flash adapter). Verify that you are using 3.3volts to flash, NOT 5V!
Multiple manufacturers Touch (EU and US)
Product Links:
Flashing and GPIO Pins
The procedure is similar to above, additionally NRST must be connected to GND during flashing.
Additional configuration
SetOption34 2
(This sets the ID used to set the dim-level)
Hint: If power on/off works, but dimming doesn't, you probably haven't set the correct ID
Optional/recommended configuration
LedState 0
(To only use the green LED for wifi/mqtt connectivity.)
Charging Essentials (from Costco)
The CE dimmer uses TYWE1S module. And it uses U1TX (GPIO15) and U1RX (GPIO13) to communicate between ESP8266 and MCU, no other GPIO is used in this device.
Product Links:
https://www.costco.ca/CE-Smart-Home-Wi-Fi-Smart-Dimmer-Light-Switch%2c-2-pack.product.100417574.html
Flashing and GPIO Pins
Additional configuration
Konesky
The CE dimmer uses standard Tuya gpio