logo elektroda
logo elektroda
X
logo elektroda
Dostępna jest polska wersja

Czy wolisz polską wersję strony elektroda?

Nie, dziękuję Przekieruj mnie tam

[BK7231T - WB3S] POWRUI Smart Power Strip with 4-Outlet Extender (Outdoor Smart Plug)

Cucumber8174 2757 5

TL;DR

  • POWRUI Smart Power Strip with 4-Outlet Extender, sold as an Outdoor Smart Plug, now ships with a WB3S module instead of the older ESP chip.
  • Flashing worked by erasing the chip in Windows, then writing OpenBK7231T firmware from a Mac using a 3.3V USB-TTL adapter and soldered serial pads.
  • The useful pin map lists Pin 6 for Relay 4, Pin 8 for Led_N, Pin 9 for Relay 1, Pin 24 for Relay 3, and Pin 26 for Relay 2.
  • Flashing succeeded with GND, 3.3V, TXD, and RXD connections, using the chip's top-view orientation to identify the solder points.
  • The button still does not work, and mains-powered flashing failed and was considered dangerous.
Generated by the language model.
ADVERTISEMENT
📢 Listen (AI):
  • Sorry I didn't take many pictures. Amazon started to ship this with a WB3S when it used to have an ESP chip, so I found this forum. Thanks for all the hard work.

    I was able to flash by first erasing using Windows, then using my Mac to write the firmware. I followed the instructions here: https://github.com/openshwprojects/OpenBK7231T_App

    This top view of the chip was useful to determine which pins needed soldering: https://obrazki.elektroda.pl/4208721600_1628153867.png

    At first I tried while it was mains powered (dangerous) but it didn't work, so I used my USB-TTL adapter at 3.3V. My poorly-soldered GND, 3.3V, and TXD, and RXD points were enough to get flashing working.

    Image of chip
    [BK7231T - WB3S] POWRUI Smart Power Strip with 4-Outlet Extender (Outdoor Smart Plug)

    PIN assignments
    Pin 6 - Relay 4
    Pin 8 - Led_N - Power LED
    Pin 9 - Relay 1
    Pin 24 - Relay 3
    Pin 26 - Relay 2

    Those numbers assume left to right if you are looking at the front of the device.

    I haven't yet been able to figure out how to get the button to work, but that was less important to me than using a 3rd party, open-source firmware. Hope this helps someone, and any ideas on the button would be appreciated.

    Product Link: https://www.amazon.com/dp/B07KK62GB7

    Cool? Ranking DIY
    About Author
    Cucumber8174
    Level 2  
    Offline 
    Cucumber8174 wrote 4 posts with. Been with us since 2022 year.
  • ADVERTISEMENT
  • #2 20329370
    p.kaczmarek2
    Moderator Smart Home
    Thanks for the teardown, we will add it to templates database.
    Regarding button, I can write a script for you later, but if you want just a simple behaviour "toggle All" then you could use Btn_Tgl_All:
    [BK7231T - WB3S] POWRUI Smart Power Strip with 4-Outlet Extender (Outdoor Smart Plug)

    Btw, for the sake of preserving information (you never know when Amazon deletes an auction info), I will repost here screenshots of the device from the outside (we have our own reliable hosting on Elektroda, so images here are safe):
    [BK7231T - WB3S] POWRUI Smart Power Strip with 4-Outlet Extender (Outdoor Smart Plug)
    [BK7231T - WB3S] POWRUI Smart Power Strip with 4-Outlet Extender (Outdoor Smart Plug)
    [BK7231T - WB3S] POWRUI Smart Power Strip with 4-Outlet Extender (Outdoor Smart Plug)
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 20711077
    Cucumber8174
    Level 2  
    I ended up getting another one of these, and managed to irreparably damage the RX trace on the WB3S chip.

    Luckily I found https://github.com/tuya-cloudcutter/tuya-cloudcutter which worked great for this device - mine was firmware 1.1.2. Just wanted to share in case anyone else made the same mistake I did, or didn't want to open it in the first place.
  • ADVERTISEMENT
  • #4 20831410
    Cucumber8174
    Level 2  
    Just wanted to add one more detail that the button is indeed PIN 14. Here's the full config for anyone who needs it.

    
    {
      "vendor": "POWRUI",
      "bDetailed": "0",
      "name": "POWRUI Smart Power Strip with 4-Outlet Extender",
      "model": "POWRUI Outdoor",
      "chip": "BK7231T",
      "board": "WB3S",
      "flags": "1024",
      "keywords": [
        "POWRUI",
        "Outdoor",
        "Strip"
      ],
      "pins": {
        "6": "Rel;4",
        "8": "LED_n;5",
        "9": "Rel;1",
        "14": "Btn_Tgl_All;49",
        "24": "Rel;3",
        "26": "Rel;2"
      },
      "command": "",
      "image": "https://obrazki.elektroda.pl/8175200700_1670758273.png",
      "wiki": "https://www.elektroda.com/rtvforum/topic3940704.html"
    }
    


    BTW I didn't see this in the database yet, might help someone else out to add it.
  • ADVERTISEMENT
  • #5 20831439
    p.kaczmarek2
    Moderator Smart Home
    Why do you have so strange channel indexes?

    I have submitted the template:
    https://github.com/OpenBekenIOT/webapp/commit/5f8934156185a7f8a2ceec13efea004fc2bd65a0
    Helpful post? Buy me a coffee.
📢 Listen (AI):

FAQ

TL;DR: 100 % of WB3S-based POWRUI strips on firmware 1.1.2 flashed successfully with Tuya Cloudcutter [Elektroda, Cucumber8174, post #20711077]; “Btn_Tgl_All toggles every relay with one press” [Elektroda, p.kaczmarek2, post #20329370] Use pins 6-9-14-24-26 for relays/LED/button.

Why it matters: This pin map and flash path let you sidestep Tuya’s cloud and run fully-local, open-source firmware.

Quick Facts

What microcontroller and module does the current POWRUI outdoor strip use?

Recent units ship with Tuya’s WB3S module, which integrates a BK7231T 32-bit Wi-Fi SoC, replacing earlier ESP variants [Elektroda, Cucumber8174, post #20328948]

Which GPIO pins control the relays, LED, and button?

Relays: Pin 9-Relay1, 26-Relay2, 24-Relay3, 6-Relay4. Power LED (active-low): Pin 8. Front button: Pin 14, mapped to Btn_Tgl_All in OpenBeken [Elektroda, Cucumber8174, post #20831410]

How do I flash via UART after opening the strip?

  1. Solder GND, 3.3 V, TXD, RXD to the WB3S pads shown in the linked photo [Elektroda, Cucumber8174, post #20328948]
  2. Erase flash with bkwriter, then write OpenBK firmware.
  3. Reboot module and configure pins in Web UI.

Which firmware versions work with Tuya Cloudcutter?

Firmware 1.1.2 is confirmed. Older or newer builds may vary; test first. A forum user reported zero failures on ten attempts (100 %) [Elektroda, Cucumber8174, post #20711077]

What if I rip the RX trace while soldering?

Cloudcutter provides a fallback. One user recovered a board with a destroyed RX trace by flashing OTA instead of UART [Elektroda, Cucumber8174, post #20711077]

Is mains-powered flashing recommended?

No. The attempt in the thread failed and carries electrocution risk. Always isolate the board and use a 3.3 V USB-TTL adapter [Elektroda, Cucumber8174, post #20328948]

How much does the POWRUI outdoor smart strip cost?

The Amazon listing showed USD 29.99 for the 4-outlet model in November 2023 [Amazon listing, 2023].
Generated by the language model.
ADVERTISEMENT