logo elektroda
logo elektroda
X
logo elektroda

(BK7231N/CB2S - BL0937) WOOX R6128 Smart Plug with Energy Monitoring

Ggaljoen 1380 2
ADVERTISEMENT
  • Helpful post
    #1 20458596
    Ggaljoen
    Level 6  
    About The Device
    Woox - Smart Plug
    Model: R6128
    Item no.: 2961341
    4 box ean: 8435606729147
    (BK7231N/CB2S - BL0937) WOOX R6128 Smart Plug with Energy Monitoring










    (BK7231N/CB2S - BL0937) WOOX R6128 Smart Plug with Energy Monitoring









    Disassembled
    CB2S BL0937

    (BK7231N/CB2S - BL0937) WOOX R6128 Smart Plug with Energy Monitoring








    (BK7231N/CB2S - BL0937) WOOX R6128 Smart Plug with Energy Monitoring








    Housing is the same as:
    https://www.elektroda.com/rtvforum/topic3959065.html
    and
    https://www.elektroda.com/rtvforum/topic3926632.html

    Flash / backup virgin state:
    https://github.com/libretuya/ltchiptool
    https://github.com/openshwprojects/BK7231GUIFlashTool

    (BK7231N/CB2S - BL0937) WOOX R6128 Smart Plug with Energy Monitoring


















    Pogo-pin jig and 0 Ohm resistor for the reset
    (BK7231N/CB2S - BL0937) WOOX R6128 Smart Plug with Energy Monitoring











    Configuration:
    "chip": "BK7231N",

    "pins": {
    "6": "LED;0",
    "7": "Btn;0",
    "8": "Rel;0",
    "11": "BL0937SEL;0",
    "24": "BL0937CF1;0",
    "26": "BL0937CF;0"

    Harmless successfully flashed with:
    https://github.com/tuya-cloudcutter/tuya-cloudcutter

    2) Flash 3rd Party Firmware
    > OpenBK7231N_UG_1.15.487.bin
    > By firmware version and name
    > 1.1.8 - BK7231N / oem_bk7231n_plug
    > Tuya Generic
    > BSD48 16A UK Smart Plug

    Enter AP-mode:
    1. Keep button pressed until light goes out; fast blinking
    2. Keep button pressed until light goes out; slow blinking
  • ADVERTISEMENT
  • #2 20458957
    p.kaczmarek2
    Moderator Smart Home
    Thanks! Remember to start the NTP driver if you want to use more advanced power metering features. There is also SetupEnergyStats command.
    https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/commands-extended.md
    Helpful post? Buy me a coffee.
  • Helpful post
    #3 21113219
    Yirkha
    Level 1  
    I've bought the same smart plug more recently, here are some updated information.

    Ordered as "WOOX R6128 Smart Plug 16A FR Type E with Energy Monitor" in Czechia from Alza.cz.
    (BK7231N/CB2S - BL0937) WOOX R6128 Smart Plug with Energy Monitoring WOOX R6128 smart plug lying on a gray surface, shown from the back with technical information visible.
    Quote:
    Smart Plug
    Model R6128
    Item no.: 2961601
    230V~ 16A 50Hz Max. 3680W
    IEEE 802.11 b/g/n 2.4GHz


    The case can be opened by prying out near the corners (not the flat sides), as noted in the other Nedis plug thread that uses the same housing.
    Some damage to the plastic edge must be expected, but fortunately from the back/wall side.

    Close-up of internal components of WOOX R6128 smart plug. Close-up of a smart plug circuit board with a blue module.

    Quote:
    PCB
    WGF-15 V2.0
    2022.11.15

    Module
    Model: CB2S
    P/N: 2.01.01.105610
    S/N: 1000940850....


    I've used a lab power supply to give the module the 3.3 V power and a some generic old trusty USB/Serial cable for communication.
    I decided to connect everything with just test hook clips, so no soldering was needed.
    GND was easy to hold on to some long component leg from the other side, for example (I traced some fat PCB line, verified with connectivity test).
    Well, one clip had to be held by hand a bit, but flashing with the BK7231GUIFlashTool was so easy and quick that it was not a problem.
    Workspace with an open smart plug and lab power supply on a wooden desk. Close-up of WOOX R6128 smart plug with open casing and connected test cables.

    Flashed with OpenBK7231N_QIO_1.17.602.bin without any issues.

    The device could not connect to my 2.4 GHz Wi-Fi network at first, even if it could see it.
    Turned out to be inability to do WPA3 for some reason. Enabling WPA2 on the AP helped.

    Configuration: (Assignments differ from the Item no.: 2961341 in the original post in this thread!)
    Code: JSON
    Log in, to see the code

    The pins were originally detected/suggested from the Tuya firmware differently, "8: WifiLED_n" and "10: LED", but I flipped both.
    The first one because the blue/Wi-Fi LED was left on all the time even after startup, contrary to what I'd expect and how it operated before.
    And the second one because the red/activity LED was turned off when the relay was on and vice versa, again the opposite what was happening before.
    (But this one depends on everybody's preference and plug usage, it could be changed even in the original firmware after all.)

    Also remember to check out "Channel 1" setting under "Configure Startup".
    The default is 0 (Off) after startup or power outage, but I prefer -1 to remember the last power state instead.

    I set the plug up with NTP and SetupEnergyStats at first, but I ended up not needing them in the end.
    As the device's state is periodically polled over the HTTP API `/cm?cmnd=SENSOR` from another box on the LAN instead.
    And then graphed with the venerable rrdtool.

    Used to monitor the washer/dryer operation 🙂
    Graph showing the washing machine's energy consumption over time.

    Thanks to everyone who made this possible, I've sent at least something through the project's PayPal link.
ADVERTISEMENT