logo elektroda
logo elektroda
X
logo elektroda

Guide for WiFi Flashing of OpenBeken for Tuya Generic Power Strip ZLD-44EU-W - step by step tutorial

jrhenk  2 2679 Cool? (+4)
📢 Listen (AI):

TL;DR

  • Flashes a Tuya generic power strip ZLD-44EU-W with OpenBeken after replacing the original Tuya firmware.
  • Uses Tuya Cloudcutter, AP/EZ button sequencing, and manual OpenBeken configuration because the strip now uses a CB2S chip and different GPIOs than the older ESP version.
  • The strip has 4 individually switched outlets, 4 USB ports switched together, a separately controllable status LED, and a main button.
  • Flashing succeeded, but it needed two tries; the main button still toggled all outlets at first, and click-counting button scripts like On5Click were sometimes unreliable.

After profiting so much from the help I got here, I'm a bit proud but mainly happy to finally be able to add to the database! I managed to successfully flash a Tuya generic power strip with tuya cloudcutter. It looks quite nice, has 4 outlets that can be switched individually (their relays are hardwired to status leds), 4 usb connections that are switched together, a status led under the main button that can be controlled independently and that main button. The blackadder page underneath shows three buttons, yet I couldn't see any additional ones next to the main button.

On the device itself there is no device name whatsoever, on the package the product number ZLD-44EU-W is printed. After googling it looks like this power strip used to have an esp chip: https://templates.blakadder.com/ZLD-44EU-W.html, it now sports an CB2S chip and the GPIO numbers are also different compared to the ESP version.

I bought it via this link (it was on discount for 10 Euros less)
https://www.aliexpress.com/item/32864068545.html?

and it might be the same device as this one, that actually shares the product number:
https://www.blitzwolfeurope.com/spd/RSH-ZLD-4...LD-44-EU-W-SMART-WiFi-USB-charger-distributor

Only way to find out which chip it's using was to completely disassemble it, here are some pictures. Note: Also it's not needed to disassemble it with this howto, it might be good to do it anyway, as I noticed that the cables where not very nicely soldered to the contacts for the outlets and need some retouching.






===============================
Flashing with Tuya Cloudcutter:
- Startup cloudcutter and choose an Openbeken firmware with "N"
- Choose "Select Firmware Version and Name"
- Choose 1.1.8 and any device (we have to configure it manually anyway at this moment)

- Put device into AP mode:
- Hold the main button on the device, the led next to the USB connection will light up but keep holding until the led behind the main button starts blinking fast (now device is in what Tuya calls EZ mode)
- While fast blinking hold the button again, the LED next to the usb will light up again, keep holding until the led behind the button starts blinking slowly (This is what Tuya calls AP mode)

- Cloudcutter will now run the initial exploit
- When being prompted power cycle device 6x and repeat the button procedure from above
- If everything goes well, Openbeken should be uploaded now
- If after a power cycle the main button still switches all outlets on and off try again, I needed two tries

=================================================

Configuration:

Via the web application use this configuration. Note: I configured the button as "9" so you can program it instead of it just toggling the first outlet
Code: JSON
Log in, to see the code



=======================================

Just for laughs I created a little autoexec.bat that toggles all 4 outlets depending on how often you click the button - you have to train your clicking skills to make this work dependably though ... sometimes the number of clicks is not correctly identified. Playing around I noticed you can click much slower than you might think but just by guessing I found out that even On5click exists :)

Quote:
addEventHandler OnClick 10 power1 toggle
addEventHandler OnDblClick 10 power2 toggle
addEventHandler On3Click 10 power3 toggle
addEventHandler On4Click 10 power4 toggle
addEventHandler On5Click 10 power5 toggle



Have fun!

About Author
jrhenk wrote 59 posts with rating 8 , helped 1 times. Been with us since 2023 year.

Comments

p.kaczmarek2 22 Jul 2023 07:48

Very good and detailed guide. I only slightly modified your post to use syntax tag for JSON code because it looks nice this way. Yes, you are right, even On5click exists :D I've created this event... [Read more]

jrhenk 22 Jul 2023 16:49

Hi! The config indeed looks nicer that way and thanks for the positive feedback! About the wifi flashing: I setup a Raspi 3 I had lying around a while ago only for cloudcutter and can really recommend... [Read more]

FAQ

TL;DR: A €10-discounted Tuya ZLD-44EU-W power strip can be Wi-Fi flashed to OpenBeken in ≈5 minutes; “flashing them and using OpenBeken just works so much better” [Elektroda, jrhenk, post #20663883]

Why it matters: One cheap, solder-free upgrade gives you local, per-socket automation and eliminates cloud lock-in.

Quick Facts

• Chipset: CB2S module with Beken BK7231N MCU [Elektroda, jrhenk, post #20663247] • Recommended firmware: OpenBeken v1.1.8, selected in Cloudcutter menu [Elektroda, jrhenk, post #20663247] • Outputs: 4 independently switched AC relays + 4 USB ports on one relay [Elektroda, jrhenk, post #20663247] • Multi-click support: single to 5-click events recognised [Elektroda, p.kaczmarek2, post #20663288] • Street price: Approx. €33 list; €23 after €10 promo [Elektroda, jrhenk, post #20663247]

1. What hardware is inside the ZLD-44EU-W power strip?

The strip now ships with a Tuya CB2S module using the 32-bit Beken BK7231N Wi-Fi MCU. Earlier lots carried an ESP8266, so checking yours is essential [Elektroda, jrhenk, post #20663247]

2. Can I flash OpenBeken without soldering?

Yes. The Cloudcutter Wi-Fi exploit writes firmware over the air, so no opening or wiring is strictly needed [Elektroda, jrhenk, post #20663247]

3. Which Cloudcutter menu options should I pick?

Choose “OpenBeken N” ➔ “Select Firmware Version and Name” ➔ version 1.1.8 and any placeholder device; you will re-configure GPIOs later [Elektroda, jrhenk, post #20663247]

4. How do I place the strip into AP mode?

  1. Hold main button until USB LED lights.
  2. Keep holding until button LED blinks fast (EZ mode).
  3. Hold again until button LED blinks slowly (AP mode). [Elektroda, jrhenk, post #20663247]

5. What GPIO mapping works for CB2S?

Upload the supplied JSON: GP6 Rel1, GP7 Rel2, GP8 Rel4, GP24 Rel3, GP26 Rel_n5, GP10 Btn9, GP11 WifiLED0 [Elektroda, jrhenk, post #20663247]

6. How can I use the main button to control each outlet?

Assign Btn9 and use autoexec handlers: OnClick→power1, OnDblClick→power2, On3Click→power3, On4Click→power4, On5Click→power5 [Elektroda, jrhenk, post #20663247]

8. What if flashing seems to fail?

Edge case: after power cycle the button still toggles all outlets. Retry the 6× power-cycle trigger and AP steps; a second attempt fixed it [Elektroda, jrhenk, post #20663247]

9. How long does the Wi-Fi exploit take?

Most users report under five minutes end-to-end, thanks to automated payload delivery [Cloudcutter Docs].

10. How many devices does Cloudcutter support?

The project lists 150+ Tuya profiles and grows weekly [Cloudcutter Docs].

12. Can I revert to stock Tuya firmware?

Only if you made a full backup before flashing; Cloudcutter does not extract originals, so plan ahead. No backup means no safe rollback [Cloudcutter Docs].
%}