logo elektroda
logo elektroda
X
logo elektroda

Tuya TOMZ TOB9-63M T1-U-HL (BK7238) Pinout and Firmware Differences vs BK7231N

lamero345 861 10
ADVERTISEMENT
  • #1 21782856
    lamero345
    Level 2  
    TOMZ-TOB9-63M with T1-U-HL and not BK7231N CBU

    T1-U-HL module installed inside a device, visible with wires and components

    Link: https://www.aliexpress.com/item/1005005566505137.html

    
    {
       "bt1_pin":"17",
       "led1_pin":"21",
       "rl1_drvtime":"60",
       "net_trig":"2",
       "rl_on1_pin":"8",
       "jv":"1.0.5",
       "netled1_lv":"0",
       "netled_reuse":"0",
       "bt1_type":"0",
       "temp_fun_en":"0",
       "online_time":"10",
       "nety_led":"1",
       "rl_off1_pin":"6",
       "over_cur":"63000",
       "wide_vol":"1",
       "bt1_lv":"0",
       "reset_t":"5",
       "netled1_pin":"15",
       "equi_sampling":"mode_1",
       "chip_type":"3",
       "rl_on1_lv":"1",
       "lose_vol":"80",
       "over_vol":"265",
       "module":"T1-U",
       "ch_cddpid1":"9",
       "ch1_stat":"2",
       "led1_lv":"0",
       "rl1_type":"1",
       "ch_num":"1",
       "ele_fun_en":"1",
       "rl_off1_lv":"1",
       "netn_led":"0",
       "vol_def":"0",
       "ch_dpid1":"1",
       "crc":"37"
    }
    


    
    Device configuration, as extracted from Tuya: 
    - Button (channel 1) on P17
    - LED (channel 1) on P21
    - Bridge Relay On (channel 1) on P8
    - Bridge Relay Off (channel 1) on P6
    - WiFi LED on P15
    Device seems to be using T1-U module, which is using BK7238.
    And the Tuya section starts at 2052096, which is a default T1/XR806 and some T34 offset.
    


    StartupCommand is set to startDriver BL0942
    Attachments:
    • readResult_BK7238_2025-17-12-09-51-14.bin (2 MB) You must be logged in to download this attachment.
  • ADVERTISEMENT
  • #2 21783191
    divadiow
    Level 38  
    you have fully working cloud-free device with OpenBK7238?
  • ADVERTISEMENT
  • #3 21783192
    lamero345
    Level 2  
    Yes. On/Off switch and power monitoring
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #6 21783217
    divadiow
    Level 38  
    cool

    and here is boot log from firmware backup
    Code: Text
    Log in, to see the code
  • #7 21855401
    DeDaMrAz
    Level 22  
    This device is not complete. There is a ADC pin in use (I suspect to read internal temperature) also there are 3 more parameters that are important

        "over_cur":"63000",
        "lose_vol":"80",
        "over_vol":"265",


    Without them there is nothing to "trip" this braker, so more work is needed on this device.
  • #8 21855456
    divadiow
    Level 38  
    so OBK needs something to trip the breaker when those thresholds are hit? right now it's just a nice energy meter but no tripping?
  • #10 21855462
    divadiow
    Level 38  
    out of 1609 decoded Tuya key vaults, 134 reference "over_cur". a useful feature for plugs with energy metering too

    Screenshot of a tool listing JSON files and showing text preview with “over_cur” highlighted.

Topic summary

The discussion focuses on the Tuya TOMZ TOB9-63M device featuring the T1-U-HL (BK7238) chipset, contrasting it with the BK7231N CBU variant. The user shares pinout details and firmware configuration parameters, highlighting differences in GPIO assignments such as button (bt1_pin=17), LED (led1_pin=21), relay control pins, and firmware versioning (jv=1.0.5). Responses confirm successful operation of a cloud-free firmware based on OpenBK7238, supporting on/off switching and power monitoring functionalities. Firmware modifications and pin mappings are referenced via GitHub commits, aligning with the provided device template. A boot log from a firmware backup reveals initialization sequences, memory allocation, and hardware calibration steps specific to the T1_2.0.0 firmware version. The conversation clarifies compatibility and firmware adaptation for the BK7238-based TOMZ TOB9-63M device compared to BK7231N models.
Summary generated by the language model.
ADVERTISEMENT