logo elektroda
logo elektroda
X
logo elektroda

Tuya RTL8710BX socket with energy monitor BL0937

przemsi_ele 2817 8
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 20862248
    przemsi_ele
    Level 11  

    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
    White smart plug adapter with a power button on top.

    Plate
    View of a printed circuit board with electronic components, production date 2023/09/13. Close-up of a printed circuit board with electronic components such as contacts and traces. Close-up of an electronic module on a circuit board with markings T102 V1.1 and visible integrated circuits. Close-up of a printed circuit board with a module labeled WH_EU_ME V04 and electronic components.


    Description of pads
    Close-up of a circuit board in a smart socket with labeled components and connections.

    comparison of RTL and ESP modules
    Comparison of ESP-02S module and another electronic board on a blue background. Comparison of RTL8710BX and ESP-02S PCB modules on a blue background.

    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
    Screenshot of Tasmota settings for a smart socket Tasmota interface menu for a smart socket with energy consumption meter. Tasmota interface on ESP-02S smart socket device.


    Template Tasmota.
  • ADVERTISEMENT
  • #2 20900728
    AreYouLoco
    Level 8  

    Hey thanks for this topic. I found 3 of these ESP 02S on the way.

    I will update with pictures. Thanks so far.
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #4 20903674
    AreYouLoco
    Level 8  

    @przemsi_ele Did you flash Tasmota after soldering or before?

    I'm still waiting for ESP.
  • #5 20903799
    przemsi_ele
    Level 11  

    Prior to the insertion, it is certain that the hardware will not interfere with the eventual flashing after the insertion.
  • #6 20920326
    przemsi_ele
    Level 11  

    >>20902057

    I got two of these 20A, one with BK7231N and one with RTL8710BX
    what distinguishes them:
    20A version with energy measurement:
    - two LEDs are blue
    - pcb with RTL or BK chip is soldered perpendicular to the edge of the motherboard
    16A version with energy measurement:
    - one LED red the other blue
    - pcb with RTL or BK chip is soldered at an angle between the edges of the motherboard

    pin configuration different, previously given for 16A version with measurement, under 20A with measurement:

    
    Power Monitor 20A
    -------------------------------------------
    |ESP-02S    |   RTL8710BX | Tasmota       |
    -------------------------------------------
    |   RST     |    29       |  ----------   |
    |   AD      |    30       |  ----------   |
    |   13      |    5        |  ledlink      |
    |   04      |    0        |  BL0937 CF    |
    |   05      |    12       |  HLWBL CF1    |
    ---- druga strona -------------------------
    |    3V3    |    3V3      |   VCC         |
    |    GND    |    GND      |   GND         |
    | RX(GPIO3) |    IO18     |  Switch1      |
    | TX(GPIO1) |    IO23     |  ----------   |
    |    12     |    IO14     |  HLWBL SEL_i  |
    |    14     |    IO15     |  relay1       |
    -------------------------------------------
    Power Monitor 16A
    -------------------------------------------
    |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  |
    -------------------------------------------
    

    
    tasmota template: {"NAME":"RTL8710BX_BL0937_20A","GPIO":[0,0,0,32,2720,2656,0,0,2624,544,224,0,0,1],"FLAG":0,"BASE":18}
    
    .
  • ADVERTISEMENT
  • #7 20936981
    _LukaszD_
    Level 11  

    I also found a 20A version on a board parallel to the edge.
    I have the problem that every now and then turns off and immediately turns on the relay.
    Has anyone encountered a similar problem?
  • #8 20937026
    przemsi_ele
    Level 11  
    I have such 3 pieces with tasmot and with me it is ok

    I also have a new socket and I am waiting for the esp, when I get it I will upload the supple and check
    esp is on the way, if I forget then remind me
  • #9 20938315
    _LukaszD_
    Level 11  

    I don't think it will play from the supply .... I have these 3 pcs on two I put esp-02s one on Supla the other on Tasmota.
    The Tasmota seems to work all ok, the Supla restarts the relay every so often, not sure why this happens.
    The third original also works properly.

Topic summary

The discussion revolves around the modification of a smart socket featuring the RTL8710BX and BL0937 chips. A user successfully transplanted these components to an ESP-02S and flashed Tasmota firmware, reporting that the setup functions correctly. Other participants shared their experiences with similar sockets, including a 20A version with energy monitoring capabilities. They discussed differences in LED indicators and PCB configurations between 16A and 20A models. Some users reported issues with relay stability when using different firmware, such as Supla, while others confirmed stable operation with Tasmota. The conversation includes technical details about pin configurations and hardware compatibility.
Summary generated by the language model.
ADVERTISEMENT