[BK7231T - WB2S] ANTELA WiFi power plug with energy monitoring (BL0937)
Hi Community,
I would like to contribute my teardown to a power plug with energy monitoring.
The power plug is from ANTELA and is called "ANTELA Smart Plug Model: F1s202-EU".
I bought it on Amazon Germany Link.
The Tuya module WB2S is used for this power plug, which is based on the BK7231T. The energy monitory IC is the known BL0937.
The flashing was pretty easy since I could use "bk_writer1.60.exe" to get a backup of the original firmware and the same program to flash the firmware. Before writing the firmware "OpenBK7231T_UA_1.15.52.bin" I needed to erase the original one.
But before flashing we need to open the device, which is to be hones not very easy and will not happen without any damage on the housing.
With two small screwdrivers between the inlet and the housing we can manage this. Connect 3,3V, GND, TX1 and RX1 (see pictures) with your UART device of trust.
Ones we flashed it, use the following config:
In short:
Brand: ANTELA
Module: WB2S
MCU: BK7231T
Power monitoring IC: BL0937
PWM4 = P24 = BL0937 SEL
PWM1 = P7 = BL0937 CF
PWM2 = P8 = BL0937 CF1
RX = P10 = Button
PWM5 = P26 = Relay
PWM0 = P6 = LED (negated)
@p.kaczmarek2, maybe you could add this to the database.
Here some picture to compare and verify:

I would like to contribute my teardown to a power plug with energy monitoring.
The power plug is from ANTELA and is called "ANTELA Smart Plug Model: F1s202-EU".
I bought it on Amazon Germany Link.
The Tuya module WB2S is used for this power plug, which is based on the BK7231T. The energy monitory IC is the known BL0937.
The flashing was pretty easy since I could use "bk_writer1.60.exe" to get a backup of the original firmware and the same program to flash the firmware. Before writing the firmware "OpenBK7231T_UA_1.15.52.bin" I needed to erase the original one.
But before flashing we need to open the device, which is to be hones not very easy and will not happen without any damage on the housing.
With two small screwdrivers between the inlet and the housing we can manage this. Connect 3,3V, GND, TX1 and RX1 (see pictures) with your UART device of trust.

Ones we flashed it, use the following config:

In short:
Brand: ANTELA
Module: WB2S
MCU: BK7231T
Power monitoring IC: BL0937
PWM4 = P24 = BL0937 SEL
PWM1 = P7 = BL0937 CF
PWM2 = P8 = BL0937 CF1
RX = P10 = Button
PWM5 = P26 = Relay
PWM0 = P6 = LED (negated)
@p.kaczmarek2, maybe you could add this to the database.
Here some picture to compare and verify:






Comments
Add a commentHello You got me interested in the article, but you didn't write the most important thing - What did you get or want to get by this flashing. - unless I didn't drink coffee today and I can't... [Read more]
Freeing yourself from the manufacturer's cloud, using e.g. Home Assistant or another system. [Read more]
In fact, you don't even need a Home Assistant. OpenBeken can be scripted so that it is able to send GET requests between devices and operate based on simple events or timers (as well as triggering... [Read more]
And that is why I always read your studies with great interest ? [Read more]
Hello, Denver SHP-102 seems to be the same device. Can be flashed using Cloudcutter. Package is simply glued, but no need to open it. Configuration: P6 (PWM0) LED ... [Read more]
@Tilator thanks, is Denver SHP-102 BK7231T or BK7231N? https://obrazki.elektroda.pl/4260076700_1682363154_thumb.jpg https://obrazki.elektroda.pl/4338606900_1682363169_thumb.jpg [Read more]
https://obrazki.elektroda.pl/5758567100_1682368938_thumb.jpg It's BK7231T as well as the Antela. Seems to have same WB2S board. [Read more]
Hi community First of all, special thanks @nkuehnel86 for the tear-down. I recently bought some of these smart plugs and wanted to try out OpenBeken, because it looks quite nice. So I started by... [Read more]
Have you tried the second method, doing power cycle by disconnecting 3.3V from device (maybe connecting it to GND from device side) and reconnecting it? Where do you get 3.3V from, can it supply enough... [Read more]
Thank @pkaczmarek2 for your thoughts. Seem I finally got it to work. At least I was able to properly connect and read a backup of 1150976 bytes (0x119000) and a CRC of 0x1e9b0464 followed by one failed... [Read more]
I know this issue. Cura also suprised me with it few years ago. It just takes over COM port without any reason and blocks any other applications from using it. Good job on flashing the plug, don't... [Read more]
Thanks @pkaczmarek2 for the hint about calibration. Already thought the measures were a bit off, but are now ok after calibration. [Read more]
Calibration can be done through Web App -> Tools, or in a classic way, like in Tasmota, VoltageSet, etc commands. [Read more]
Is it possible to flash that plug with cloudcutter? Tried it, but no effort.... [Read more]
Which profile did you try and what version is your Tuya app showing? Some of devices are now patched and not vulnerable to OTA hack. [Read more]
Tried the Antela F1s202-EU Smart Plug profile, but with no success. Tuya smart app also doesn't find the plug. [Read more]
Found the bug: The AVM router disabled the login of unknown wlan clients. After correcting that the flashing works as followed: 1. Flash 3rd Party Firmware 2. From device-profiles (i.e. custom profile) 3.... [Read more]
Hello, did you try Tuya JSON extraction? [Read more]
Can't find that tool for windows. OK, found it. But what's to do to change the BK7231N to BK7231T ??? Resetting the plug and flashing the right version is not possible so far.... [Read more]