logo elektroda
logo elektroda
X
logo elektroda

[CB2S/BK7231N] Calex Holland Smart Power Plug with Energy Metering (5201000300)

owmahgawd 192 1
ADVERTISEMENT
  • Helpful post
    #1 21575152
    owmahgawd
    Level 1  
    Hi folks, just wanted to give back some info as thanks for the wonderful work that is OpenBeken. Very easily modded plug here.
    [CB2S/BK7231N] Calex Holland Smart Power Plug with Energy Metering (5201000300)
    [CB2S/BK7231N] Calex Holland Smart Power Plug with Energy Metering (5201000300)
    I presume this will be very similar to the UK plug I saw on the template website, which has a 2 instead of the 1 in the article number.
    Opening it is easy, I guess using some shims in the corners will work fine but I just plugged it into a tight fitting power strip (that wasn't itself plugged in of course) and twisted the casing until it opened. Not best to repeat too often as the tabs did not enjoy it a lot, but no glue so easily done.
    A disassembled electric plug with visible electronic components on a green PCB.
    Disassembled electrical plug with visible circuit board and wires.
    An opened electronic device housing with visible PCB components and elements.
    Inside I found a CB2S that was easily flashed to OpenBeken with a single press of the button in the application using some test probes and well placed electrical tape. The app gave me correct pins, although it gave me a Wifi activity LED pin that didn't work, and upon closer inspection I only saw a single LED with just 2 leads soldered in a place that had room for another leg, so perhaps they used to have 2 colour LED housings and opted to cut some costs. Not sure though because while it is booting up the light is much fainter than when the relay is on, so not sure if this is a case of PWM or poorly defined voltage or I just missed the other LED. In any case the pin provided did not let me light it up manually in HA. EDIT: I mixed it up, the RELAY pin (6) as provided by the application did not work. WiFi LED (10) did.
    JSON:
    Code: JSON
    Log in, to see the code


    Device configuration, as extracted from Tuya:
    - BL0937 SEL on P11
    - Button (channel 1) on P7
    - LED (channel 1) on P6
    - BL0937 VI on P24
    - WiFi LED on P10
    - BL0937 ELE on P26
    - Relay (channel 1) on P8
    Device seems to be using CB2S module, which is using BK7231N.
    And the Tuya section starts, as usual, at 2023424


    Hope this helps, keep up the good work :) 
  • ADVERTISEMENT
ADVERTISEMENT