logo elektroda
logo elektroda
X
logo elektroda

[BK7231N/T34] BK7231N T34 Tuya 2-Gang WiFi RF Switch: Config Location and Firmware Backup Query

CaseworthM33 282 1
ADVERTISEMENT
  • #1 21529808
    CaseworthM33
    Level 1  
    Some time ago I bought an unbranded Tuya 2 gang switch from aliexpress and recently got around to playing with it.

    It's a T34 (BK7231N ) based device with RF capabilities, the PCB has 3 touch/proximity sensors but only 2 are populated (the middle one might still be readable with a custom firmware?)

    I am yet to flash OBkn to it but I got a firmware backup from it.
    The flashing pads on the back were easy to reach no soldering/desoldering needed.
    Close-up of a green printed circuit board with visible integrated circuits and electronic components.PCB board with installed integrated circuits and connectors.

    Seems to be an upgraded version of -Link

    Also seen here -Link

    My current issue is that it could not auto fetch the json from 0x1D1000 (all are 0xff values ), but looking at the firmware file the config might be at 0x1D4000


    Glass Wi-Fi touch light switch with two illuminated buttons.Flush-mounted electrical socket with terminal markings L3, L2, L1, L, N.The image shows a printed circuit board mounted in a white plastic frame, with two white rectangular components.Close-up of a printed circuit board (PCB) mounted in a white plastic frame, likely part of an electrical device.

    AI: What tool or method did you use to try and auto-fetch the JSON from 0x1D1000?
    The BK7231GUIFlashTool from the github.
    AI: Have you already tried extracting or reading the config from 0x1D4000, and if so, what were the results?
    I am not familiar with the exact format the json should be in just by reading the HEX from the firmware.


    Eddit: corrected link.
  • ADVERTISEMENT
  • Helpful post
    #2 21529845
    divadiow
    Level 34  
    Often the pin assignments can be seen in the uart boot log.
    From your backup:
    Code: Text
    Log in, to see the code


    which means

    Code: Text
    Log in, to see the code
ADVERTISEMENT