logo elektroda
logo elektroda
X
logo elektroda

[BK7231T - WB2S] ANTELA WiFi power plug with energy monitoring (BL0937)

nkuehnel86 
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:



About Author
nkuehnel86
nkuehnel86 wrote 5 posts with rating 8 . Been with us since 2022 year.

Comments

Add a comment
Rysiek.K 20 Nov 2022 12:16

Hello 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]

robig 20 Nov 2022 14:02

Freeing yourself from the manufacturer's cloud, using e.g. Home Assistant or another system. [Read more]

p.kaczmarek2 20 Nov 2022 17:40

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]

robig 20 Nov 2022 18:07

And that is why I always read your studies with great interest ? [Read more]

Tilator 24 Apr 2023 14:23

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]

p.kaczmarek2 24 Apr 2023 21:06

@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]

Tilator 24 Apr 2023 22:11

https://obrazki.elektroda.pl/5758567100_1682368938_thumb.jpg It's BK7231T as well as the Antela. Seems to have same WB2S board. [Read more]

lechndo 25 Apr 2023 20:36

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]

p.kaczmarek2 25 Apr 2023 21:15

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]

lechndo 26 Apr 2023 21:46

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]

p.kaczmarek2 26 Apr 2023 21:52

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]

lechndo 26 Apr 2023 23:28

Thanks @pkaczmarek2 for the hint about calibration. Already thought the measures were a bit off, but are now ok after calibration. [Read more]

p.kaczmarek2 27 Apr 2023 09:13

Calibration can be done through Web App -> Tools, or in a classic way, like in Tasmota, VoltageSet, etc commands. [Read more]

RappaSan 01 Aug 2023 19:14

Is it possible to flash that plug with cloudcutter? Tried it, but no effort.... [Read more]

p.kaczmarek2 01 Aug 2023 19:59

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]

RappaSan 01 Aug 2023 21:09

Tried the Antela F1s202-EU Smart Plug profile, but with no success. Tuya smart app also doesn't find the plug. [Read more]

RappaSan 02 Aug 2023 15:26

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]

p.kaczmarek2 02 Aug 2023 16:36

Hello, did you try Tuya JSON extraction? [Read more]

RappaSan 02 Aug 2023 18:31

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]