logo elektroda
logo elektroda
X
logo elektroda

[RTL87X0C] Tuya EP2 Smart Plug - how to find BL0937 power pins?

me_lon 30 0
ADVERTISEMENT
  • Seeking BL0937 power-measurement pin assignments

    #1 21948489
    me_lon
    Level 1  
    Posts: 1
    Hey there,
    i found some used Smartplugs, where EP2 is written on it. They worked with Smart Life / Tuya and only one had v.1.0.4, all the others have 1.0.7. I managed to flash OpenRTL87X0C via tuya-cloudcutter OTA to the 1.0.4 Plug, for the v1.0.7 ones there was no Exploit. And i had no luck in soldering those small pads. 

    [RTL87X0C] Tuya EP2 Smart Plug - how to find BL0937 power pins?[RTL87X0C] Tuya EP2 Smart Plug - how to find BL0937 power pins?
    [RTL87X0C] Tuya EP2 Smart Plug - how to find BL0937 power pins? [RTL87X0C] Tuya EP2 Smart Plug - how to find BL0937 power pins?

    So far i could get REL, Btn and 2 LEDs to work. But how do i find the proper Pins for PowerMeassurement?
    The driver loads fine, but all the values stay at 0. I tried several combinations for BL0973CF, SEL, CF1 and also dInput CH 0 on all the other Pins, with no signal in the logs. 
    Am i doing something completely wrong? 

    There was a moment when i got some power stats, WITHOUT any pins assigned. 

    
    {
      "vendor": "Tuya",
      "bDetailed": "0",
      "name": "Full Device Name Here",
      "model": "enter short model name here",
      "chip": "RTL87X0C",
      "board": "TODO",
      "flags": "1024",
      "keywords": [
        "TODO",
        "TODO",
        "TODO"
      ],
      "pins": {
        "1": "Rel;1",
        "12": "Btn;1",
        "17": "LED_n;1",
        "18": "LED_n;2"
      },
      "command": "startDriver BL0937",
      "image": "https://obrazki.elektroda.pl/YOUR_IMAGE.jpg",
      "wiki": "https://www.elektroda.com/rtvforum/topic_YOUR_TOPIC.html"
    }
    

    AI: Can you post clear photos of both sides of the PCB, especially the RTL87X0C module area and the power-measurement chip area, including any chip markings / PCB revision text?
    the photos are in the post
    AI: Can you confirm the exact metering IC marking on the board — is it really BL0937, BL0942, BL0973 or something else — and did you trace which pins from that chip go to the RTL87X0C GPIOs?
    BL0937 is correct
    no i cannot trace them since i wasn't able to solder anything.
  • ADVERTISEMENT
ADVERTISEMENT