I bought a smart socket took apart and there a set of RTL8710BX and BL0937
I transplanted to ESP-02S and threw Tasmote.
For the moment everything works. Maybe someone will find it useful.
Plug-in some "noname" ( QNCX from Digitaling Store)
Date on the board: 2023/09/13 , so quite fresh
PN on board:WH_EU_ME V04

Plate




Description of pads

comparison of RTL and ESP modules


Mapping pins on modules
-------------------------------------------
|ESP-02S | RTL8710BX | Tasmota |
-------------------------------------------
| RST | 29 | |
| AD | 30 | |
| 13 | 5 | BL0937 CF |
| 04 | 0 | relay1 |
| 05 | 12 | HLWBL CF1 |
---- druga strona -------------------------
| 3V3 | 3V3 | |
| GND | GND | |
| RX(GPIO3) | IO18 | Switch1 |
| TX(GPIO1) | IO23 | ledlink |
| 12 | IO14 | |
| 14 | IO15 | HLWBL SEL_i |
-------------------------------------------
Template Tasmota:
Tasmota Template: {"NAME":"RTL8710BX_BL0937","GPIO":[0,544,1,32,224,2656,0,0,1,2720,2624,0,0,1],"FLAG":0,"BASE":18}
Screens of Tasmota and HA



Template Tasmota.