logo elektroda
logo elektroda
X

Surge power strip with Wi-Fi control, outlets, USB and energy metering? Check.

p.kaczmarek2  0 324 Cool? (+3)
📢 Listen (AI):
White power strip with four sockets and four USB ports
I'd like to invite you to a demonstration of the interior, construction and software change of yet another device offering remote control via Wi-Fi with a split between four 230 V sockets, a 5 V line (four USB ports together) and energy metering. The strip shown here is based on the BK7231N chip and normally works with the Tuya app, but here I will show how to upload our open batch ensuring compatibility with Home Assistant.
Black box with image of power strip showing 4 Schuko outlets and 4 USB ports Packaging of SMART_STRIP_EU4_M power strip with 4 sockets and 4 USB ports Power strip with four sockets and USB ports covered in protective plastic
We bought the strip for around £120. It appears under the name SMART_STRIP_EU4_M, although this description may also fit similar products.
White power strip with four 230 V outlets and four USB ports, function and usage description
The product description is interesting in that it mentions anti-overvoltage (such as '100%' - I wonder how this was calculated).
Wi-Fi power strip with 4 Schuko sockets and 4 USB ports (5V/3.1A), 1.5 m cable length
The USB power supply (5 V, up to 3.1 A) is also present. There is no QC support, USB will not attach higher voltage.
Bottom of white power strip with label showing model RH-EU411-4U-W
There is a different model on the bottom - RH-EU411-4U-W.
Bottom of white power strip with triangle screws, red triangular screwdriver on top

Inside of the product
It's time to take a look inside.
The interior is secured by slightly less typical screws requiring a triangular-tipped screwdriver.
Interior of disassembled power strip showing PCB and internal wiring
The design of the strip is not that bad. Even the earthing is connected - in the cheapest products only "pretend" happens. The thickness of the wires is not significantly underrated either.
Bottom side of SMART_STRIP_EU4_M PCB with model marking RH410B3S
The PCB designation is RH410B3S_4U4K_V2, version V3. Date 20231118 Interestingly, you can also see the Wi-Fi module soldered into the board, but its pads do not resemble the standard CB2S/WB2S.
By removing the screws from the centre, the PCB can be lifted:
Inside view of power strip with four relays and USB charging ports
The whole thing doesn't look so bad. There are even filters against EMI emissions on the input. In addition, I can even see a varistor (surge protection) and, of course, relays - one per socket, CNHZ HZ73-1A5S-H at 5V.
Close-up of a PCB with three USB ports and integrated circuits labeled RH7902A and BL0942
Here we see the BL0942 chip, it is used to measure voltage, current and power. It communicates with the Wi-Fi module via the UART. It looks like this UART is isolated - I can see two optocouplers there. Also visible next to it are the USB ports along with the U3 chip, which I'm betting is responsible for the power supply reporting to the connected device. Phones and mobile devices will not draw more than 500 mA without this. Sometimes you short-circuit the D+ and D- pins or set levels on them with resistors, but this is also not the best method and many devices will then not draw more than 1 A. A dedicated circuit is the best solution.
Close-up of four USB ports and electronic components on a power strip PCB
The designation of this circuit is RH7902A. It is designed for two USB ports.
RH790x chip package diagrams with pin labels and version comparison table
According to the catalogue note, this chip supports the following power supply notification protocols:
- Divider1 / Divider2 / Divider3 - charging protocols used in Apple devices
- D+ / D- = 1.2 V - Samsung compatible mode
- BC1.2 DCP - standard Battery Charging 1.2 protocol (Dedicated Charging Port)
- CTIS YD/T 1591-2009 - Chinese standard for charging mobile devices
Here you can see its second piece. There is an LDO AMS1117-3.3V next to it, too. And the L4410 (if I read it correctly), which is the MOSFET that the Wi-Fi module uses to switch on the 5 V line.
Close-up of power strip interior with CNHZ relays and USB ports
The relays are controlled by small transistors, here you can also see the secondary side of the inverter next to it, the distance between the "hot" and "cold" side seems to be ok:
Close-up of smart power strip interior with CNHZ relays and USB ports
The inverter is in flyback topology and is based on an SD8666QS chip with an integrated MOSFET transistor.
Close-up of PCB components: CNHZ relay, capacitors, coils, SD8666QS chip
Specification of SD8666QS controller with protection feature list
Internal construction and leads:
Block diagram of SD8666QS power IC showing MOSFET control and input protection
That leaves the Wi-Fi module - EZO-WBGNNCN-A V1.1 20221124 - I haven't seen this type yet:
Wi-Fi module EZO-WBGNNCN-A V1.1 inside power strip with visible PCB components


Firmware change
To upload our open-source firmware this serves our flasher , it too can detect the GPIO configurations of the device. You will need a USB to UART converter. You need to get to TX1/RX1 of the Beken chip, it is best to solder out the whole module to be sure. I use flux and braid for this. The flux makes it easier to melt the binder and the braid allows us to collect it and clean the pads.
Close-up of PCB underside showing exposed row of pads and prominent traces.
The module is based on the BK7231N, the pads are signed, no need to guess.
BK7231N Wi-Fi module held by pliers above power strip PCB
EZO-WBCNNCN-A V1.1 Wi-Fi module held by tweezers above a circuit board
Before soldering, I will braze the pads with lead binder, such has a lower melting point:
Close-up of EZO-WBGNNCN-A Wi-Fi module showing labeled pins and version number
Then I solder the four wires - power supply and UART:
Wi-Fi module with BK7231N chip, soldered with power and UART wires
I additionally power the whole thing from an external 3.3 V LDO (the 3.3 V pin from the USB to UART converter does not have enough current capacity).
Wi-Fi module connected to UART programmer on a solderless breadboard
For programming I use our flasher , the flasher correctly detects the GPIO configuration:
BK7231 Flasher app with JSON template and extracted GPIO configuration visible.
JSON Tuya:
Code: JSON
Log in, to see the code

Verbal description:

Device seems to be using CBU module, which is BK7231N chip.
- Relay (channel 1) on P6
- Relay (channel 2) on P7
- Relay (channel 3) on P8
- Relay (channel 4) on P9
- Relay (channel 5) on P26
- WiFi LED on P20
- Pair/Toggle All Pin on P22


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

Template import tutorial:



HA pairing tutorial:



Then we still calibrate and the strip already works 100% locally with Home Assistant.

Current capacity test
I was able to draw up to 4 A from the strip, then the voltage drops significantly.
Cooling fan with meter showing 4.03 A held near power strip with USB ports

Summary
The offer description mentioned a current capacity of 3.1 A, and managed to achieve up to 4 A, so it's ok here, although there could also be QC supported.
What I don't like is the mention of surge protection ("surge protection"), with this I have my doubts - is this about the varistor in the power supply circuit? Or is it about the fact that if we remotely unplug the device, the surge will not damage it? Additionally, supposedly this protection is "100%", according to the description. Not good. In my opinion, this is misleading and this power strip is not anti-overvoltage.
However, the rest of the design of the strip seems to be quite good. There are filters against interference emissions in the power supply circuitry, the USB ports have dedicated circuitry to report themselves as a suitable power supply for phones, and the transformer itself also looks quite good.
Changing the firmware of this device turned out to be quite easy. It was enough to solder out the Wi-Fi module. Each of the sockets is controlled separately, this is realised based on relays, while the USB ports are switched together based on a MOSFET transistor.
The strip also offers voltage, current and power measurement realised on the BL0942, which is connected to the Wi-Fi module via UART. After changing the batch, calibration is required, as in Tasmot, VoltageSet/PowerSet/CurrentSet commands.
I think that as a 'smart' gadget this product can be bought, while it is not suitable for surge protection of equipment.
Do you see applications for this type of strip?

About Author
p.kaczmarek2
p.kaczmarek2 wrote 13101 posts with rating 10877 , helped 602 times. Been with us since 2014 year.

Comments

%}