Hardware
CE Smart Home Wifi Smart Dimmer Light Switch (TYWE1S) Model WF500D
Tuya Hardware
The TYWE3S module mostly takes care of Wi-Fi and software features while the MCU controls the actual hardware (buttons, relays, dimmer, power measurement, etc). The MCU is interfaced to TYWE3S using the serial interface which connects to the Rx and Tx pins.
Install Tuya Convert on a Raspberry Pi
See https://github.com/ct-Open-Source/tuya-convert
Flash Device
See https://github.com/ct-Open-Source/tuya-convert
Configuring Dimmer
Configuring WIFI
Connect to the flashed device by looking for it's SSID - <tasmota****>
Browse to http://192.168.4.1/
Configure the SSID and password.
Set the GPIOs
Turn on Weblog
From console, enter the following:
> weblog 4
00:19:34 CMD: weblog 4 00:19:34 RSL: stat/tasmota/RESULT = {"WebLog":4} 00:19:34 CFG: Saved to flash at F7, Count 177, Bytes 4096 00:19:43 TYA: Send "55aa00000000ff" 00:19:43 {"TuyaReceived":{"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} 00:19:43 TYA: Heartbeat 00:19:47 WIF: Checking connection... 00:19:47 WIF: Connected 00:19:47 RSL: tele/tasmota/STATE = {"Time":"2019-12-20T00:19:47","Uptime":"0T00:10:09","UptimeSec":609,"Heap":27,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":20,"MqttCount":0,"POWER":"OFF","Wifi":{"AP":1,"SSId":"mehan1","BSSId":"38:D5:47:DB:DA:BA","Channel":11,"RSSI":100,"LinkCount":1,"Downtime":"0T00:00:08"}} 00:19:54 TYA: Send "55aa00000000ff" 00:19:54 {"TuyaReceived":{"Data":"55AA000000010101","Cmnd":0,"CmndData":"01"}} 00:19:54 TYA: Heartbeat
> TuyaMCU 21,3
00:27:49 CMD: TuyaMCU 21,3 00:27:49 SRC: WebConsole from 192.168.1.103 00:27:49 CMD: Group 0, Index 1, Command "TUYAMCU", Data "21,3" 00:27:49 RSL: stat/tasmota/RESULT = {"TuyaMCU":[{"fnId":11,"dpId":1},{"fnId":21,"dpId":3}]}
> DimmerRange 25, 255
Reference
Reference | URL |
---|---|
Tuya Convert | https://github.com/ct-Open-Source/tuya-convert |
*Lasted Docs on Tuya MCU for Tasmota | https://tasmota.github.io/docs/#/TuyaMCU?id=tuyamcu-command |
*How to setup a Tuya MCU Dimmer (Video) | https://www.youtube.com/embed/_3WW4NVYHrU |
Tuya MCU Based Dimmers and Switches | https://github.com/arendst/Tasmota/wiki/MCU-Based-Tuya-Dimmers-and-Switches |
Custom Dimmer Tasmota Firmware | https://github.com/digiblur/TuyaDimmer-Tasmota |
CE Smart Home Wifi Smart Dimmer Light Switch (TYWE1S) Model WF500D | https://github.com/arendst/Tasmota/issues/4003 |
CE Dimmer Manual | https://fccid.io/ZZH-WF500D/User-Manual/Users-Manual-3846958#download |
Tasmota - Tuya Convert | https://tasmota.github.io/docs/#/Tuya-Convert |
Tasmota - Other Supported Devices | https://github.com/arendst/Tasmota/wiki/Other-devices |
Video - Setup |