logo elektroda
logo elektroda
X
logo elektroda

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

lamero345 1758 12
Best answers LABEL_AI_GENERATED

How do I configure this Tuya T1-U-HL / BK7238 device in OpenBK7238, and what is different about its pinout and firmware compared with BK7231N modules?

You can run this device cloud-free on OpenBK7238, and it already works for on/off switching plus power monitoring [#21783192] The existing template matches it after adding the P17 button mapping [#21783212][#21783215] The Tuya-extracted config shows button P17, LED P21, relay ON P8, relay OFF P6, and WiFi LED P15, with the module identified as T1-U and the Tuya section starting at offset 2052096, which is noted as a default T1/XR806 and some T34 offset [#21783212] One caveat is that the device is not fully complete: an ADC pin is in use, likely for internal temperature reading, and the breaker-related parameters over_cur=63000, lose_vol=80, and over_vol=265 are important [#21855401] Without those trip conditions implemented, it behaves more like an energy meter than a breaker, so there is still more work needed for full breaker functionality [#21855401][#21855459]
AI summary based on the discussion. May contain errors.
ADVERTISEMENT
  • Tuya config with BK7238 pin mapping

    #1 21782856
    lamero345
    Level 2  
    Posts: 33
    Help: 1
    Rate: 3
    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  
    Posts: 5220
    Help: 449
    Rate: 918
    you have fully working cloud-free device with OpenBK7238?
  • #3 21783192
    lamero345
    Level 2  
    Posts: 33
    Help: 1
    Rate: 3
    Yes. On/Off switch and power monitoring
  • ADVERTISEMENT
  • #5 21783215
    lamero345
    Level 2  
    Posts: 33
    Help: 1
    Rate: 3
    Yes now
  • Boot log shows firmware backup and OTA init errors

    #6 21783217
    divadiow
    Level 38  
    Posts: 5220
    Help: 449
    Rate: 918
    cool

    and here is boot log from firmware backup
    Code: Text
    Log in, to see the code
  • ADVERTISEMENT
  • #7 21855401
    DeDaMrAz
    Level 23  
    Posts: 621
    Help: 34
    Rate: 130
    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  
    Posts: 5220
    Help: 449
    Rate: 918
    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  
    Posts: 5220
    Help: 449
    Rate: 918
    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.
  • #12 21935511
    brokeniotdevs
    Level 1  
    Posts: 1
    >>21855401
    I think this breaker is just polling for voltage and current from the BL0942 and using that to turn the relay off.
    Not real fast breaker functionality here, I think.
  • ADVERTISEMENT
  • #13 21935512
    DeDaMrAz
    Level 23  
    Posts: 621
    Help: 34
    Rate: 130
    brokeniotdevs wrote:
    Not real fast breaker functionality here


    Not even by a long shot. Their primary use is metering with optional slow "braker" functionality so I would not use them as primary braker in any scenario.

Topic summary

LABEL_AI_GENERATED
Discussion about a Tuya TOMZ-TOB9-63M breaker/smart meter module using a T1-U-HL BK7238-based board instead of the expected BK7231N CBU. A working cloud-free OpenBK7238 setup was confirmed for on/off switching and power monitoring, and the pin template was matched and updated, including a button on GPIO17. A boot log from firmware backup was shared, showing Tuya firmware startup and flash initialization. Later analysis noted that the device is still incomplete because an ADC pin appears to be used, likely for internal temperature sensing, and additional protection parameters such as over-current, undervoltage, and overvoltage thresholds are needed for breaker tripping; otherwise the device functions mainly as an energy meter without trip capability.
AI summary based on the discussion. May contain errors.
ADVERTISEMENT