logo elektroda
logo elektroda
X
logo elektroda

Smart socket from AliExpress, no TX1/RX1 leads, BK7252N flashing

piotr.ino26  10 591 Cool? (+3)
📢 Listen (AI):
Good morning.
Socket smart from Ali cheap (£9.5) and a great mine, but probably the latest :) Under the T34 chip the TX1/RX1 signals are not routed anywhere, no approach from the side. Only pulling off the circuit or scraping. With the previous WB2S there was no problem. It's impossible to tell what you're buying from the chassis auction photos.
White smart socket with power button lying on wooden surface
Close-up of PCB with T34, BL0937, and AMS1117 chips and surface-mounted components.
Close-up of a smart plug module with T34 chip and electronic components on PCB
As I am doing this purely as a hobbyist, it looks like what it looks like.
Beken microchip on white base, surrounded by wires and black insulating tape
I managed to rip the backup (below as someone would need) and upload the new firmware, but relied on soldering back in. With 2 I'll wait until it can be done over Wi-Fi.
Read/write as BK7231N
Spoiler:
{
"sel_pin_pin": "8",
"rl1_lv": "1",
"bt1_pin": "28",
"on_off_cnt": "10",
"onoff_rst_m": "0",
"onoff_clear_t":"10",
"rand_dpid": "42",
"net_trig": "4",
"netled1_lv": "1",
"jv": "110.0.3",
"onoff_rst_type":"2",
"ffc_select": "2",
"total_bt_pin": "26",
"key_rst_en": "1",
"nety_led": "1",
"vi_pin": "7",
"over_cur": "30000",
"resistor": "1",
"total_stat": "2",
"bt1_lv": "0",
"reset_t": "5",
"netled1_pin": "24",
"chip_type": "0",
"lose_vol": "90",
"remote_add_dp":"49",
"remote_list_dp":"50",
"net_type": "0",
"over_vol": "250",
"inch_dp": "44",
"module": "T34",
"ele_pin": "6",
"ch_cddpid1": "9",
"ble_pair_time":"30",
"init_conf": "38",
"zero_select": "0",
"onoff_type": "2",
"series_ctrl": "2",
"bt_self_type": "0",
"total_bt_lv": "0",
"cyc_dpid": "43",
"ch_num": "1",
"rl1_pin": "14",
"netn_led": "0",
"vol_def": "0",
"ch_dpid1": "1",
"sel_pin_lv": "1",
"crc": "55"
}


Device configuration, as extracted from Tuya:
- BL0937 SEL on P8
- Button (channel 1) on P28
- Pair/Toggle All Button on P26
- BL0937 VI (CF1) on P7
- WiFi LED on P24
- BL0937 ELE (CF) on P6
- Relay (channel 1) on P14
Device seems to be using T34 module,


Moderated By p.kaczmarek2:


One minor note - the T34 is a BK7231N, not a BK7252. It's important not to get this wrong, because if you load the wrong batch the module won't start.


About Author
piotr.ino26
piotr.ino26 wrote 62 posts with rating 6 . Live in city Inowrocław. Been with us since 2006 year.

Comments

gulson 08 Dec 2025 22:30

Thanks for the presentation. I also added this plug to my purchases by the way - it was supposed to be for Christmas tree lights, I opened it and threw it in the corner. Cool that you managed to upload,... [Read more]

piotr.ino26 09 Dec 2025 06:32

Welcome. I now have a conundrum. Have I relied on soldering or uploaded the wrong batch? I considered that it was left reading BK7252N (T4) is such a batch (OpenBK7252N_QIO_1.18.225) I uploaded BK7231Flasher.... [Read more]

divadiow 09 Dec 2025 09:57

T34 should be flashed as BK7231N (T2) Maybe the confusion came from 'T34' being the designation on the chip in your device? T1, T2, T3, T4 are newer Tuya designations for various Beken chips. I... [Read more]

piotr.ino26 09 Dec 2025 16:40

1m USB extension cable, 15cm cable to the programmer, powering the chip from the power supply. Something to change? [Read more]

p.kaczmarek2 10 Dec 2025 09:32

The error message looks a bit strange, the T34 has no other keys. Maybe it really is a communication error. I always shorten the wires as much as possible. The second socket works? So it worked after... [Read more]

piotr.ino26 10 Dec 2025 10:37

https://obrazki.elektroda.pl/4644222800_1765356202_thumb.jpg CP2102 from Ali + 3.3 V from power supply, and it only gives 2.4 V from USB. 1 socket died from an impression :) after an encounter... [Read more]

p.kaczmarek2 10 Dec 2025 10:46

I haven't even tested this CP2102 , good to know it works. Keep that other socket, it might come in handy as a parts donor. The capacitors there wear out quickly. Turn on PowerSave 1 in the OBK to extend... [Read more]

piotr.ino26 10 Dec 2025 11:17

I did the calibrations because I have had such a socket for 3 years to control the boiler heater and I made an energy meter out of another one (the relay and pins came out). It counts one way consumption... [Read more]

p.kaczmarek2 10 Dec 2025 11:21

Here someone presented an interesting firmware modification for the BL0937 - improving precision at the expense of longer sampling times: OpenBeken BL0937 Mod: Improved accuracy/resolution for low power... [Read more]

piotr.ino26 10 Dec 2025 11:36

To run the air heater in the garage out of laziness :) All 60 watts. I reduced the RPM with the RO-12 controller because it was cooling down momentarily on the original control. I was going to do it on... [Read more]

%}