logo elektroda
logo elektroda
X
logo elektroda

Flashing Tuya Smart Plug with CB2S Module and BK7231N Chip: Pinout and Process

Hamalaon 1488 1
ADVERTISEMENT
  • #1 21153084
    Hamalaon
    Level 3  
    Today we are flashing another tuya smart plug.

    The plug was purchased in a local store for 3 EUR, which is good price for it.

    Some photo of device and packaging:
    White smart plug Camelion with a visible power button in the center. Tuya smart plug with a max load of 16A, shown against its packaging. Camelion smart plug and its packaging. Close-up of the back of a smart plug showing technical specifications.

    It can be opened from the downside unlike most similar plugs. The cover doesnt glued to the case, but instead uses a plastic lockers on the corners.
    This devices uses CB2S module. Flashing process is exactly same as for this one, so I will skip details here.

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

    Note that there is no red led for monitoring power state.

    Some photos of internal PCB:
    Interior of a Tuya smart plug showing the PCB and electronic components. Smart plug with an open case, revealing the internal PCB. Camelion Smart Home smart plug with two prongs and a button on the front. Interior of a smart plug with a CB2S module and electronic components.

    Extracted config:
    Code: JSON
    Log in, to see the code


    And template:
    Code: JSON
    Log in, to see the code
  • ADVERTISEMENT
  • #2 21153152
    p.kaczmarek2
    Moderator Smart Home
    Thank you for sharing, added:
    https://github.com/OpenBekenIOT/webapp/commit/360fc5755158ac4f4dcf3871d8ae6e8c2d39ac70
    Remember to enable PowerSave
    Helpful post? Buy me a coffee.
ADVERTISEMENT