logo elektroda
logo elektroda
X
logo elektroda

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

Cucumber8174 2418 5
ADVERTISEMENT
  • 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.
ADVERTISEMENT