Elektroda.com
Elektroda.com
X

[BK7231T] Teardown Action LCS Smart Plug (without Energy Meter) 2578685

nielspiersma 1473 11
  • As I already did a teardown, a second one is no problem.
    This is the LCS Smart Power Plug Article number: 2578685.
    I got acquainted with ELEKTRODA as I bought this plug, hoping it contained an ESP82xx. Well, I got disappointed (again); this unit doesn't have an ESP82xx. As this was the 6th unit I ordered not contain an ESP82xx, I figured. Is there a replacement? And yes, there was. @p.kaczmarek2 has been a great help, and I am pretty happy with the updates and changes he committed to the code.

    Well, let us start again;


    Unpacking:
    The unit comes in a little square box
    [BK7231T] Teardown Action LCS Smart Plug (without Energy Meter) 2578685
    [BK7231T] Teardown Action LCS Smart Plug (without Energy Meter) 2578685
    [BK7231T] Teardown Action LCS Smart Plug (without Energy Meter) 2578685
    [BK7231T] Teardown Action LCS Smart Plug (without Energy Meter) 2578685
    [BK7231T] Teardown Action LCS Smart Plug (without Energy Meter) 2578685
    [BK7231T] Teardown Action LCS Smart Plug (without Energy Meter) 2578685
    [BK7231T] Teardown Action LCS Smart Plug (without Energy Meter) 2578685


    Physical appearance:
    [BK7231T] Teardown Action LCS Smart Plug (without Energy Meter) 2578685
    [BK7231T] Teardown Action LCS Smart Plug (without Energy Meter) 2578685
    [BK7231T] Teardown Action LCS Smart Plug (without Energy Meter) 2578685
    [BK7231T] Teardown Action LCS Smart Plug (without Energy Meter) 2578685


    Opening up:
    Even though not needed as cloud-cutter works OK, I did open up the LSC plug.
    Opening the plug is very easy. It is locked/snapped in the corners; if you put a knife or small screwdriver near the edge and gentry pry, it will pop open.
    [BK7231T] Teardown Action LCS Smart Plug (without Energy Meter) 2578685
    [BK7231T] Teardown Action LCS Smart Plug (without Energy Meter) 2578685


    Closing is also effortless, snap the chassis back in, and you will hear a click once.

    The inside:
    [BK7231T] Teardown Action LCS Smart Plug (without Energy Meter) 2578685
    [BK7231T] Teardown Action LCS Smart Plug (without Energy Meter) 2578685
    [BK7231T] Teardown Action LCS Smart Plug (without Energy Meter) 2578685
    [BK7231T] Teardown Action LCS Smart Plug (without Energy Meter) 2578685


    And the stuff we care about:
    These plugs do have a drawback; they are mislabeled. The Tuya board is labeled CB2S, which should be a BK7231N, but once you remove the label on the chip, it is a BK7231T. This did result in some extra frustration in the beginning, but once this was clarified, flashing went quickly.

    [BK7231T] Teardown Action LCS Smart Plug (without Energy Meter) 2578685


    And because we are using cloud-cutter, there is no need for soldering.

    Flashing is straightforward, and I've attached the whole process.

    I choose the 1.1.8 BK7231T / oem_bk7231s_rnd_switch and SS01S Single Pole Smart Light Switch (TreatLife)

    PINs
    As this is a very basic plug, there is not much configuring.
    PIN6 LED_n 1
    PIN7 Btn 1
    PIN8 Rel_1 1
    PIN26 Wifi



    And finished
    [BK7231T] Teardown Action LCS Smart Plug (without Energy Meter) 2578685 [BK7231T] Teardown Action LCS Smart Plug (without Energy Meter) 2578685 iled 0

    Cheers

    Added after 2 [hours] 46 [minutes]:

    My little collection;
    [BK7231T] Teardown Action LCS Smart Plug (without Energy Meter) 2578685

    I will head to the office to configure all these for our ceiling lamps.

    NIels

    Cool? Ranking DIY
    About Author
    nielspiersma
    Level 6  
    Offline 
    nielspiersma wrote 39 posts with rating 6. Been with us since 2022 year.
  • #2
    p.kaczmarek2
    Moderator Smart Home
    Thank you for detailed teardown. It will be added to our templates database.
    You have really a lot of those plugs. I am curious what kind of router are you using - is there a single one or a mesh network?
  • #3
    nielspiersma
    Level 6  
    p.kaczmarek2 wrote:
    Thanks for the detailed disassembly. It will be added to our template base.
    You have a lot of these plugins. I'm curious what kind of router you're using - is there one or a mesh network?


    I am using an OPNsense router and 2 Cisco 3560CXv2 in a 10GB stack configuration, 5 Unifi AU6 Pro APs and a Windows Server 2022 domain controller. ;)
  • #4
    Robgie
    Level 27  
    I bought the same plugin in Action described as LSC.
    It also has a module described CB2S but the system is in version N. In addition, I had to change the configuration
    PIN6 LED 1
    PIN7 Btn_n 1
    Without it, it worked in reverse on/off
  • #5
    p.kaczmarek2
    Moderator Smart Home
    @Robgie what do you mean with "reverse"? Don't you mean by chance that the button reacts when released? If so, it's not the other way around, it's standard behavior, just like in Tasmot.
    The correct solution to this problem is to run "Instant Touch Reaction", aka "SetOption 13", here:
    [BK7231T] Teardown Action LCS Smart Plug (without Energy Meter) 2578685
    This is not enabled by default, because sometimes we may want to support single click, double click, etc. separately, so you have to wait for the button to be released to know what event happened..
  • #6
    Robgie
    Level 27  
    I checked and I messed up.
    Configuration only requires changing LED_n to LED.
  • #7
    Tilator
    Level 6  
    I bought Nedis WIFIP121FWT.

    It has the same plastic package locked from the corners. Wifi-board is CB2S but it has the BK7231N-version chip.
  • #9
    jadom11
    Level 2  
    Hello, I am reading with interest information about the OpenBK7231 project. Great forum, thanks for the great work and so much valuable information. Interested in the topic, I decided to add a couple of plugins (as in the topic above) to my domoticz. After opening, it turned out that these are plugins with this strange CB2S BK7231T module, thanks to the information on the forum, flashing and configuration took place without any problems. Unfortunately, I have a problem with domoticz, the device is recognized in domoticz, but I can't switch it. I will add that I have a couple of devices in Tasmot and everything works without a problem. Domoticz detects the device, generates an idx and assigns it to the system. I've been looking for information for a few days but I can't move on.. Has anyone configured this device with domticz and can help me? Please note that I am a beginner in the subject and need a little more time :)
    [BK7231T] Teardown Action LCS Smart Plug (without Energy Meter) 2578685
    [BK7231T] Teardown Action LCS Smart Plug (without Energy Meter) 2578685
    [BK7231T] Teardown Action LCS Smart Plug (without Energy Meter) 2578685
  • #10
    p.kaczmarek2
    Moderator Smart Home
    Hello, the topic has already been discussed and it ended up that there is no publish in MQTT, I would have to know 1:1 what Domoticz "says" to Tasmota after MQTT and what Tasmota "replies" then I would do it twice ... of course I don't ask about all protocol documentation with only those necessary packages. If you know more or less what they look like, put their description here. What needs to be received and sent for the relay to work.

    If not, maybe I will finally find time to install Domoticz and pair it with Tasmota and eavesdrop on communication but it's a lot of fun
  • #11
    jadom11
    Level 2  
    Thanks for the reply, I thought it was a configuration issue. So far I have found a solution to the problem and I am controlling the relay from domoticz using http commands. It works without a problem and meets my needs. Eavesdropping on the MQTT message is unfortunately a new topic for me, but I will try to make up for it, maybe one of my colleagues has domoticz and can help pair it with Tasmota..
  • #12
    GP007
    Level 7  
    I also lack support for Domoticz (as it is in Tasmot) but I manage with node red.

    smart plug BK7231 -> domoticz

    From the topic mqtt obk..../1/get I fetch the state 0 or 1 and send it to the switch in domoticz accordingly using the mqtt message to domoticz/in function, e.g. msg.payload = { "command": "switchlight", "idx": 127, "switchcmd": "Off" }

    the other way domoticz->plug BK7231

    with domoticz/out I filter the mqtt message after the appropriate idx and depending on the nvalue 0/1 I send an Off or On command to cmnd/obk.../POWE R


    It may be a bit of guerrilla but it works :) [BK7231T] Teardown Action LCS Smart Plug (without Energy Meter) 2578685nodere..jpg Download (155.35 kB)