logo elektroda
logo elektroda
X
logo elektroda

Flashing AESSY BK7231N CB2S 20A Smart Plug: Pinout, Config, and Firmware Details

tadeu1 45 3
ADVERTISEMENT
  • #1 21803069
    tadeu1
    Level 5  
    Flashing a Power Outlet AESSY BK7231N CB2S 20A


    Flashing using this post

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



    Aliexpress link
    https://pt.aliexpress.com/item/1005007540020229.html


    Smart Wi-Fi plug with power monitoring function, supports 16A and 20A current

    CB2S module on a circuit board inside an electrical device Printed circuit board with capacitors, inductor, and electronic components XY-M electronic module on green PCB with components and connectors Printed circuit board with FANHAR relay and various electronic components Close-up of green PCB labeled BSD69 with visible electronic components. Three-pin power plug with technical specifications printed on the back. Top view of an electronic device interior with relay and components labeled FANHAR



    ----------
    CONFIG
    ----------
    THE WRITER DONT EXTRACT THE TUYA CONFIG, I USE THE GPIO DOCTOR TO GET THE DETAILS
    {
      "vendor": "AESSY",
      "bDetailed": "0",
      "name": "Smart Plug 20A",
      "model": "BSD69+",
      "chip": "BK7231N",
      "board": "CB2S",
      "flags": "1024",
      "keywords": [
        "TODO",
        "TODO",
        "TODO"
      ],
      "pins": {
        "6": "BL0937CF1;0",
        "7": "BL0937CF;0",
        "8": "WifiLED;0",
        "10": "Btn;1",
        "23": "LED;1",
        "24": "BL0937SEL;0",
        "26": "Rel;1"
      },
      "command": "",
      "image": "https://obrazki.elektroda.pl/YOUR_IMAGE.jpg",
      "wiki": "https://www.elektroda.com/rtvforum/topic_YOUR_TOPIC.html"
    }




    ----------
    JSON - IGNORE IT, JUST FOR HISTORICAL PROPOSAL
    ----------
    {
       "abi":"0",
       "id":"null",
       "swv":"1.1.15",
       "bv":"40.00",
       "pv":"2.2",
       "lpv":"3.4",
       "pk":"keyjup78v54myhan",
       "firmk":"keyjup78v54myhan",
       "cadv":"1.0.5",
       "cdv":"1.0.0",
       "dev_swv":"1.1.15",
       "s_id":"null",
       "dtp":"0",
       "sync":"0",
       "attr_num":"1",
       "mst_tp_0":"9",
       "mst_ver_0":"1.1.15",
       "mst_md5_0":"null",
       "mst_tp_1":"0",
       "mst_ver_1":"null",
       "mst_md5_1":"null",
       "mst_tp_2":"0",
       "mst_ver_2":"null",
       "mst_md5_2":"null",
       "mst_tp_3":"0",
       "mst_ver_3":"null",
       "mst_md5_3":"null "
    }



    ----------
    TEXT
    ----------
    Sorry, no meaningful pins data found. This device may be TuyaMCU or a custom one with no Tuya config data.
    No module information found.
    And the Tuya section starts, as usual, at 2023424
  • ADVERTISEMENT
  • #2 21803140
    divadiow
    Level 37  
    I'm guessing it's some custom firmware with pin assignment hard-coded but I'd be curious to know if the attached Easy Flasher finds any assignments. The JSON side will of the extraction tab will have more in it, but not necessarily anything useful.
  • ADVERTISEMENT
  • #3 21803169
    tadeu1
    Level 5  
    attached the original fw

    using yout tool
    
    {
       "*Aj>C{sel_pin_pin":"24",
       "rl1_lv":"1",
       "bt1_pin":"10",
       "led1_pin":"23",
       "net_trig":"2",
       "jv":"1.0.5",
       "netled1_lv":"0",
       "netled_reuse":"0",
       "bt1_type":"0",
       "ffc_select":"0",
       "nety_led":"0",
       "vi_pin":"6",
       "resistor":"1",
       "over_cur":"20000",
       "bt1_lv":"0",
       "reset_t":"5",
       "netled1_pin":"8",
       "chip_type":"0",
       "lose_vol":"0",
       "over_vol":"0",
       "module":"CB2S",
       "ele_pin":"7",
       "ch_cddpid1":"9",
       "ch1_stat":"2",
       "led1_lv":"0",
       "rl1_type":"0",
       "ch_num":"1",
       "ele_fun_en":"1",
       "rl1_pin":"26",
       "netn_led":"1",
       "vol_def":"0",
       "ch_dpid1":"1",
       "sel_pin_lv":"1",
       "crc":"38",
       "}nc_tp":"0",
       "ssid":"null",
       "passwd":"null",
       "md":"0",
       "random":"0",
       "wfb64":"1",
       "stat":"0",
       "token":"null",
       "region":"null",
       "reg_key":"null",
       "dns_prio":"1",
       "psk_key":"wDTrD73quEERLUJRoEJUB9GjrYgMyVfpnf5Z9",
       "auth_key":"9pBVGnZSp8Ki8jBrYCH0ura8EMLYvZfV",
       "ap_s{nc_tp":"0",
       "ap_ssid":"SmartLife",
       "ap_passwd":"null",
       "country_code":"CN",
       "bt_mac":"null",
       "bt_hid":"null",
       "prod_test":"false",
       "fac_pin":"o7ve1lp3gfjvsvyo UMAgw_bi.VAuser_param_keymY3R0gQ474Sql2bcJaeBRmxhCNEuxKesUSJk2",
       "ap_s Agw_di_pin":"10",
       "{abi":"0",
       "id":"null",
       "swv":"1.1.15",
       "bv":"40.00",
       "pv":"2.2",
       "lpv":"3.4",
       "pk":"keyjup78v54myhan",
       "firmk":"keyjup78v54myhan",
       "cadv":"1.0.5",
       "cdv":"1.0.0",
       "dev_swv":"1.1.15",
       "s_id":"null",
       "dtp":"0",
       "sync":"0",
       "attr_num":"1",
       "mst_tp_0":"9",
       "mst_ver_0":"1.1.15",
       "mst_md5_0":"null",
       "mst_tp_1":"0",
       "mst_ver_1":"null",
       "mst_md5_1":"null",
       "mst_tp_2":"0",
       "mst_ver_2":"null",
       "mst_md5_2":"null",
       "mst_tp_3":"0",
       "mst_ver_3":"null",
       "mst_md5_3":"0",
       "cnt":"0",
       "ap_s3d":"SmartLife",
       "ap_s{abi":"0",
       "lckey":"null",
       "h_url":"null",
       "h_ip":"null",
       "hs_url":"null",
       "hs_ip":"null",
       "hs_psk":"null",
       "hs_psk_ip":"null",
       "mqs_url":"null",
       "mqs_ip":"null",
       "mq_url":"null",
       "mq_ip":"null",
       "ai_sp":"null",
       "ai_sp_ip":"null",
       "mq_psk":"null",
       "mq_psk_ip":"null",
       "lp_url":"null",
       "lp_ip":"null",
       "time_z":"null",
       "s_time_z":"null",
       "wx_app_id":"null",
       "wx_uuid":"null",
       "dy_tls_m":"0",
       "cloud_cap":"0",
       "psk21_key":"rw",
       "property":"bool",
       "type":"obj",
       "{mode":"rw",
       "max":"86400",
       "scale":"0",
       "step":"1",
       "maxlen":"6"
    }
  • #4 21803206
    divadiow
    Level 37  
    OK, interesting. thanks

    Code: Text
    Log in, to see the code
ADVERTISEMENT