logo elektroda
logo elektroda
X

[BK7231N][CB2S] Generic Wifi Smart Switch

giovannij600 3084 13
ADVERTISEMENT
📢 Listen (AI):
  • Hi! Here is a teardown of a r generic smart switch from aliexpress.
    On Tuya app is named: Latched hidden Switch Single pro

    Bought From:
    https://it.aliexpress.com/item/1005004152926240.html

    Pictures:

    [BK7231N][CB2S] Generic Wifi Smart Switch [BK7231N][CB2S] Generic Wifi Smart Switch [BK7231N][CB2S] Generic Wifi Smart Switch [BK7231N][CB2S] Generic Wifi Smart Switch [BK7231N][CB2S] Generic Wifi Smart Switch [BK7231N][CB2S] Generic Wifi Smart Switch

    ADVERTISEMENT


    Flashing:

    Is simple to flash with tuya-cloudcutter:

    sudo ./tuya-cloudcutter.sh -p aubess-16a-mini-smart-switch -fOpenBK7231N_UG_1.15.517.bin


    Config:

    [BK7231N][CB2S] Generic Wifi Smart Switch


    Code: JSON
    Log in, to see the code

    Cool? Ranking DIY
    About Author
    giovannij600
    Level 3  
    Offline 
    giovannij600 wrote 16 posts with rating 1. Been with us since 2023 year.
  • ADVERTISEMENT
  • #2 20465783
    p.kaczmarek2
    Moderator Smart Home
    Thank you, can you provide the pins configuration for that device?
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 20465807
    giovannij600
    Level 3  
    I'm trying to find it, but using the configuration like this

    [BK7231N][CB2S] Generic Wifi Smart Switch
    only relay work.

    S1 and S2 and push button not work
  • #4 20465815
    p.kaczmarek2
    Moderator Smart Home
    Well, you have either to look at the board and check traces with multimeter to see where things are connected, or just try pin roles one by one... you can also search for similar devices on our template list. https://openbekeniot.github.io/webapp/devicesList.html
    Helpful post? Buy me a coffee.
  • #5 20466792
    giovannij600
    Level 3  
    I find it, I put it on post

    Thanks
  • ADVERTISEMENT
  • #6 20466798
    p.kaczmarek2
    Moderator Smart Home
    You can also copy JSON template from the Launch Web Application in obk firmware.
    Helpful post? Buy me a coffee.
  • #7 20466832
    giovannij600
    Level 3  
    Ok I get it, where I have to copy?
  • #8 20467175
    p.kaczmarek2
    Moderator Smart Home
    Copy from Web Application and paste here in the post, make sure to use syntax = json tag here on the forum.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #9 20467540
    giovannij600
    Level 3  
    Ok I put it on first post
  • #10 21725502
    mcgyver83
    Level 2  
    Hi, I just bought this but it goes offline afte 12hours. Doesn't matter if close do the router,2.4Ghz and no AP isolation.
    I want to tray to flash it. I need it as timer to turn on garden light 21:00 - 06:00, no switch attached, just scheduling from app.

    Would it fit my needs once flashed?
  • #11 21725548
    p.kaczmarek2
    Moderator Smart Home
    In OBK, you can enable NTP driver and use addClockEvent in autoexec.bat to script your smart switch to do given action at certain time.
    Helpful post? Buy me a coffee.
  • #12 21726283
    mcgyver83
    Level 2  
    >>21725548 Ok, probably I miss a lot of knowledge about OBK.
    I used a couple of device with Tasmota and they have a web gui interface.
    You suggest to add something manually to autoexec.bat, so I think OBK is a little bit less user friendly I suppose.
    I will try, first I need to understand / find guide how to flash.
    I flashed 2 sonoff using a usb to pin board, I hope is something similar :)

    I used this board to flash sonoff. Is it ok for OpenBK?

    USB to UART converter module with FTDI chip and micro USB port
  • #13 21727453
    p.kaczmarek2
    Moderator Smart Home
    This may be ok, as long as you power WiFi module from external LDO, not from 3.3V pin on this board.
    Helpful post? Buy me a coffee.
  • #14 21728142
    mcgyver83
    Level 2  
    Ops :)
    I miss that.

    I though I need to connect TX,RX,Gnd, 3,3v from my USB board to pins on the blue board shown in first post.
📢 Listen (AI):

Topic summary

A user shared a teardown of a generic smart switch from AliExpress, identified in the Tuya app as the "Latched hidden Switch Single pro." The device utilizes the BK7231N chip and can be flashed using tuya-cloudcutter with a specific command. Users discussed the pin configuration for the device, with one user initially struggling to get all functions working. Suggestions included checking the board traces with a multimeter and referring to a template list for similar devices. The user later found the correct configuration and shared it in the discussion. Additional guidance was provided on copying JSON templates from the OpenBK firmware web application.
Summary generated by the language model.
ADVERTISEMENT