logo elektroda
logo elektroda
X
logo elektroda

Flashing Power BK7231N CB2S Smart Plug: Pinout, Tuya Config, BL0937 Mapping (PLUG EU/BRA)

tadeu1 87 3
ADVERTISEMENT
  • Helpful post
    #1 21800896
    tadeu1
    Level 5  
    Flashing a Power BK7231N CB2S

    Flashing using this post

    https://www.elektroda.com/rtvforum/topic4057500.html
    https://www.elektroda.com/rtvforum/topic3951016.html

    ADVERTISEMENT


    Aliexpress link
    https://pt.aliexpress.com/item/10050093848872...in.11.6750caa44MYR5p&gatewayAdapt=glo2bra


    White UNKAS smart plug with button and WiFi logo, shown with compatibility icons



    ----------
    JSON
    ----------
    Code: JSON
    Log in, to see the code


    ----------
    TEXT
    ----------
    Device configuration, as extracted from Tuya: 
    - BL0937 SEL on P24
    - Button (channel 1) on P10
    - BL0937 VI (CF1) on P6
    - WiFi LED on P8
    - BL0937 ELE (CF) on P7
    - Relay (channel 1) on P26
    Device seems to be using CB2S module, which is using BK7231N.
    And the Tuya section starts, as usual, at 2023424
    

    ----------
    CONFIG
    ----------
    I change the wifiled_n to wifiled to be red LED when is on
    
    {
      "vendor": "Unkas",
      "bDetailed": "0",
      "name": "Smart Plug Socket 20A",
      "model": "smartplug",
      "chip": "BK7231N",
      "board": "CB2S",
      "flags": "1073742848",
      "keywords": [
        "TODO",
        "TODO",
        "TODO"
      ],
      "pins": {
        "6": "BL0937CF1;0",
        "7": "BL0937CF;0",
        "8": "WifiLED;0",
        "10": "Btn;1",
        "24": "BL0937SEL;0",
        "26": "Rel;1"
      },
      "command": "",
      "image": "https://obrazki.elektroda.pl/5928655200_1767718533.jpg]
      "wiki": "https://www.elektroda.com/rtvforum/viewtopic.php?p=21800896"
    }
  • ADVERTISEMENT
  • #2 21801889
    p.kaczmarek2
    Moderator Smart Home
    Thanks for sharing, do you have some photos from device teardown?

    Don't forget to use PowerSave 1.

    Do you have 16A or 20A version? In title it looks like you put 20A. I wonder if they are both internally the same.


    Here are some extra photos from given link:
    Two smart plug boxes on a wooden shelf below a TCL television
    Plug with white cable connected to wall socket
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #4 21801947
    tadeu1
    Level 5  
    I forget to take, I'll do for the next
ADVERTISEMENT