Hi all!
I would like to share some good hints to quickly assemble a Smart Switch ESPHome compatible with a total cost of around 4€.
- Go on Aliexpress and buy a Smart Switch Tuya-compliant, the cheapest version at around 2€. Here is the picture:
Then you can desolder the original, totally unknown wifi board:
Then , still on the same site, buy an ESP-02 which is pin to pin compatible. Program it with a standard Usb-to-serial programmer with ESP Home and then solder it in the same place:
Then, once the chip is connected, configure the pins as follows:
GPIO12: Relay
GPIO14: Manual switch
That’s all. Hope you will find it useful!
Cheers!