logo elektroda
logo elektroda
X
logo elektroda

[BK7231N/CBU] WiFi 8046 SmartLED double light switch - firmware, template, guide

p.kaczmarek2 1698 0
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • Double smart light switch with WiFi module and Tuya app.
    Some time ago I presented a "single" version this product , today I am adding information about the "double" version. As before - first a description of the interior, and then changing the firmware of the WiFi module, so as to free the product from the cloud, from the manufacturer's servers and gain complete independence. In the topic I will also provide the GPIO configuration of this product, which I managed to generate based on JSON information from Tuya, which I extracted from the batch of this product with my flasher .

    Purchase 2xCLY701-2G (8046)
    As I wrote earlier, a set of these switches came to me from a reader so that I could upload the firmware to them. Then the reader picked them up and thanks to that, I documented them. All of them were bought on a Polish auction website and quite cheaply - the double version for less than PLN 60:
    Smart WiFi Wall Switch Black 2xCLY701-2G with app.
    Specifications of the Smart WiFi Wall Switch Black 2xCLY701-2G (8046)
    Original box:
    Original box of a black Smart LED WiFi 2x wall switch with label and barcode. Original box of Smart Wall Switch 2xCLY701-2G (8046)
    Instruction:
    WiFi switch manual against a cardboard box background. Original box with user manual for WiFi smart switch.
    The set includes mounting screws:
    Black wall switch 2xCLY701-2G in a box with mounting screws


    Interior 2xCLY701-2G (8046)
    The interior is very similar to the single version:
    PCB of the CLY701-1 switch with two touch coils. Disassembled casing of the 2xCLY701-2G product showing the PCB. Black casing plate with C1442 marking
    Only that in the single version there is a "middle" button soldered, and here there are two extreme ones. Probably the triple version has all three soldered on. The PCB design is common to all versions.
    The WiFi module is also a CBU:
    Disassembled WiFi module and PCB of the 2xCLY701-2G (8046) switch.
    On the second board there is a power supply section (based on BP2525), you can also see two transistors for controlling the relays, the relays are not visible in the photo because they are on the other side of the PCB.
    Close-up of a PCB circuit with electronic components and soldering points. Interior of PCB in double switch 2xCLY701-2G (8046) Close-up of a printed circuit board (PCB) with electronic components inside the 2xCLY701-2G switch.
    The PCB itself with touch buttons and the WiFi module is very similar to the "single" version:
    Device circuit board with WiFi module. Close-up of a circuit board with electronics and a WiFi module. Close-up of the circuit board of a 2xCLY701-2G wall switch with electronic components and a WiFi module. Close-up of a circuit board with electronic components and a connector. Green printed circuit board with a WiFi module and various electronic components.


    Firmware change
    Both uploading OpenBeken , as well as automatic GPIO configuration will be performed by my tool:
    https://github.com/openshwprojects/BK7231GUIFlashTool
    Just connect the USB to UART converter according to the instructions from the link.
    Flashing cheat:
    Connection diagram for the CBU (BK7231N) module with flashing instructions.
    My connection in practice:
    PCB board connected to USB to UART converter on a wooden background. Close-up of a WiFi module with several wires connected to a PCB.
    I extracted the following configuration from the Tuya partition:
    Code: JSON
    Log in, to see the code

    which translates into the OBK template:
    Code: JSON
    Log in, to see the code

    Unfortunately, this switch does not have separate LEDs and relays, the only LED that we can control separately is the one for WiFi.

    Summary
    Hassle-free and as in "single" version . Another device free from the cloud.
    Finally, I can only add that I prefer to buy "triple" versions of switches, because after changing the WiFi module firmware, you can use unused touch buttons to control other devices in the house, e.g. to control a 12V LED strip connected above a window or in a bar. The ability to control devices over WiFi and control them at will after a firmware change really opens up a wide range of possibilities that wouldn't make sense electrically otherwise.

    Cool? Ranking DIY
    Helpful post? Buy me a coffee.
    About Author
    p.kaczmarek2
    Moderator Smart Home
    Offline 
    p.kaczmarek2 wrote 11846 posts with rating 9941, helped 566 times. Been with us since 2014 year.
  • ADVERTISEMENT
ADVERTISEMENT