Tuya-Convert might not be possible for this device if the manufacturer started using newest Tuya firmware since this template was published (2020-01-03).
This is the english version
Para a versão em português (pr-BR) use ESSE LINK
Recently, some smart plugs with the BR plug type started appearing on AliExpress
Usually, these products don’t have a specific model and make, since they are mostly Tuya whitelables. After searching alot, I’ve found Nanxin NX-SM400 which looks like this one.
Since this model working with the Smart Life app, we know it uses a Tuya chip. To flash Tasmota, we need to us tuya-convert. There’s an excellent tutorial (in pt-BR) by Douglas Baptista that you can use.
Go to the device’s IP address >
Configure Other >
Just paste that line and check
To create the template, I had to open the plug up.
If you want to do that, you can use a hot air gun on the bottom part and a flat head screwdriver to force it open. It will probably damage the case a little bit and you will need to glue it shut.
The smart plug uses the
TYWE2S Tuya chip, which is a
The power monitoring chip is the BL0937 It’s pins are connected like this:
|Pin 6 (CF)||GPIO 4|
|Pin 7 (CF1)||GPIO 5|
|Pin 8 (SEL)||GPIO 12|
The switch and LEDs are on another PCB. They are connected like this:
|Red LED||GPIO 14 (Same as Relay)|
|Blue LED||GPIO 13|
|Switch||GPIO 3 (Rx)|
At last, the Relay is connected to the