Tuya-Convert might not be possible for this device since the template was added (2020-01-03). All new Tuya devices have firmware preventing flash but it is still possible to Tuya-Convert old stock devices without connecting them to the Tuya app.
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