avatar

5577  5577.io 

polycab_16A-01

15 Jul 2023

Tasmotizing a Polycab Wi-Fi Plug

Documenting the process involved in preparing this smart plug for loading the very much excellent custom firmware Tasmota. It’s not particularly easy but very much essential.

polycab_16A-02

A vise helps with separating the casing.

polycab_16A-03

Which can then be helped with a box cutter.

polycab_16A-04

Eventually the bottom edge will separate completely.

polycab_16A-05

Which can then be lifted up with a considerable amount of force. This step should not be done on the 10A version, there’s an essential electrolytic capacitor that will tear away if this pivoted lift is attempted.

polycab_16A-06

Your first 10,000 tear-downs are your worst.

polycab_16A-07

Next is to remove the earthing pin contact, which can be easily unscrewed.

It’s also very easy to forget to reattach it at the end.

polycab_16A-08

Cutting away at the heatstaking now will make removal of the pcb during desoldering much easier.

polycab_16A-09

A generous blob of flux helps with temperature set at 350C.

polycab_16A-10

A desoldering pump is essential in removing large amounts of molten solder from the pin.

polycab_16A-11

Here, the fuse suffered a little so the metal contact was bent a little to make space for the soldering iron. Once the solder is molten, the pcb can be wriggled free. The heavy vise makes a good third hand in this situation.

polycab_16A-12

Cleaning up the holes is always a good idea.

polycab_16A-13

A desoldering wick is essential in removing solder between the main pcb and wifi module, at 260C.

polycab_16A-14

This Tuya TYWE2S module is now free.

polycab_16A-15

Pre-applying small bits of solder helps with temporarily connecting a ch340 usb programmer.

polycab_16A-16

The keyword here is temporarily. Proceed with Tasmota’s web installer, erasing the device when asked.

polycab_16A-17

The most crucial part of the reassembly is to make sure there’s no shorts between the pads after resoldering.

Once tasmotized, this smart plug then needs to be calibrated.

A verbose version of this guide is on github.

The tasmota template:

{
"NAME":"SLV1910001",
"GPIO":[0,0,0,32,2720,2656,0,0,2624,576,224,0,0,0],
"FLAG":0,
"BASE":18
}