logo elektroda
logo elektroda
X
logo elektroda

Mapping Pins and Flashing Firmware on WB2S/BK7231T Chip from La Foir'Fouille Smart Plug

bmarchais  Cool? (+1)

Hello,

I've recently found this smart plug at a France store (La Foir'Fouille) for really cheap (less than 5 dollars on sale).
Packaging of That's smart WiFi plug with QR code on a white background.
White smart electrical plug.
So I teardown the device (using a flat screwdriver and some brute force), and found the chip is a WB2S with a BK7231T. Great news!
Dismantled smart plug showing internal circuit board.
I flash the firmware using the bk7231flasher_1.0.3 app with the latest 7231T firmware. Works great!
I follow the traces on the PCB, and after a little bit of trial and errors I successfully map the following pin :
ButtonPWM5
LEDPWM1 (inverted !)
RelayPWM4


If you have any questions, I am at your disposal!
Happy hacking!

About Author
bmarchais wrote 7 posts with rating 2 . Been with us since 2023 year.

Comments

p.kaczmarek2 07 Nov 2023 11:40

Thanks, can you post JSON template from the Web App? PS: I recently had to fix a similiar plug. Electrolytic capacitor had to be replaced due to the lack of enabled PowerSave 1 in OBK. So, please consider... [Read more]

bmarchais 07 Nov 2023 21:34

Hi, I successfully added the command "PowerSave 1" in the startup command tab. Thanks for the info. Here's the json : { "vendor": "Tuya", "bDetailed":... [Read more]

%}