logo elektroda
logo elektroda
X
logo elektroda

Tuya Mini Smart Switch WiFi T1-2S-NL Module Datasheet and Encryption Key Details

00svd00 114 11
ADVERTISEMENT
  • #1 21649141
    00svd00
    Level 9  
    New module in tuya mini smart switch wifi
    t1-2s-nl
    datasheet
    https://developer.tuya.com/en/docs/iot/T1-2S-module-datasheet?id=Kcl2d5xjy1rly
    Tried to read as BK7231N and M and got
    Encryption key: 5cf97a16 5cf97a16 5cf97a16 5cf97a16
    ^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^
    WARNING! Non-standard encryption key!
    Firmware dump in attachment
  • ADVERTISEMENT
  • Helpful post
    #2 21649205
    p.kaczmarek2
    Moderator Smart Home
    I think it will work in BK7238 mode.

    Added after 33 [seconds]:

    https://www.elektroda.com/rtvforum/topic4132679.html
    Helpful post? Buy me a coffee.
  • #3 21649217
    00svd00
    Level 9  
    Seems that you are perfectly right!
    At least it booted and there was no CRC errors during firmware backup.
    Working pin config:
    "pins": {
    "1": "WifiLED_n;0",
    "8": "Rel;1",
    "9": "Btn_Tgl_All;1",
    "24": "TglChanOnTgl;1"
    },
  • ADVERTISEMENT
  • #4 21649943
    divadiow
    Level 35  
    boot log from factory backup

    Code: Text
    Log in, to see the code


    are you expecting device to have power monitoring too? there's mention of BL0942 in log

    Code: Text
    Log in, to see the code


    Added after 7 [minutes]:

    also, what does the device look like? where was it bought?
  • ADVERTISEMENT
  • #5 21649961
    00svd00
    Level 9  
    divadiow wrote:
    are you expecting device to have power monitoring too?

    I don't think so. No other chips on PCB, and also no other pins were soldered, only ADC, P8, P9, P24, 3V3, GND, RX1 and TX1
    divadiow wrote:
    where was it bought?

    From my country's local marketplace.
    divadiow wrote:
    also, what does the device look like?

    Mostly like normal Tuya smart mini. Only difference - different contact order
    Tuya Mini Smart Switch WiFi T1-2S-NL Module Datasheet and Encryption Key Details
  • Helpful post
    #7 21650305
    insmod
    Level 27  
    Did you flash it with bootloader overwrite flag turned on?
    If not, then OTA updates won't be possible.
  • #8 21650309
    00svd00
    Level 9  
    insmod wrote:
    bootloader overwrite flag

    No, I've used default setting. Thank you for info.
  • #9 21650893
    groove6j
    Level 8  
    Similar device, same BK7238. Connect 3V and GND to 1117 pins. Tx1 and Rx1 pins 29 and 30 are already laid out. No initials on board at all.
    Different pinout.
    "pins": {
    "6": "WifiLED_n;0",
    "8": "Rel;1",
    "9": "TglChanOnTgl;1",
    "26": "Btn;1"
    },
    Close-up of a MINI Smart Switch label with technical specs and screw terminal connectors.
  • #10 21651110
    p.kaczmarek2
    Moderator Smart Home
    We need to update our list for T1 devices: https://openbekeniot.github.io/webapp/devicesList.html
    If it's not yet added, please add. Also, when posting GPIO template, you can help us by posting complete json and by filling all fields, also image and wiki links.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #11 21651132
    groove6j
    Level 8  
    >>21651110
    Will do that. There is just no model name anywhere for this device.
  • #12 21651136
    divadiow
    Level 35  
    PCB silkscreen markings are good for keywords if there are any. helps distinguish

Topic summary

The discussion centers on the Tuya Mini Smart Switch WiFi module T1-2S-NL, specifically regarding its datasheet and encryption key details. The module is based on the BK7231N chipset, with attempts to read firmware revealing a non-standard encryption key: 5cf97a16 repeated four times. The official datasheet is available on Tuya's developer platform, providing technical specifications for the T1-2S module. The warning about the non-standard encryption key indicates potential challenges in firmware extraction or modification. The firmware dump was shared for further analysis, highlighting the need for specialized handling due to encryption peculiarities.
Summary generated by the language model.
ADVERTISEMENT