logo elektroda
logo elektroda
X
logo elektroda

Minoston MP22W, ver 2.0 ( WB2S, BK7231T) outdoor smart plug, teardown, flash, configuration

fastness 1347 6
ADVERTISEMENT
  • Helpful post
    #1 20547948
    fastness
    Level 2  
    teardown a power plug, Minoston MP22W, ver 2.0, Date code 0920, FCC ID 2AQRWF96S
    This Minoston MP22W v2.0 has a new module, WB2S-WF96S, V2.1, 2020-07-29, with a BK7231T chip. OEM manufactured as WF96S by https://nie-tech.com/
    https://developer.tuya.com/en/docs/iot/wb2s-module-datasheet?id=K9ghecl7kc479

    1, my USB to TTL converter has a ch341 chip
    2, solder wires from ch341_USB to VBAT 3.3v, GND, 1RX and 1TX on WB2S
    3, flash OpenBK7231T_UA_1.17.11.bin into this WB2S module, with BK7231Flasher.exe v1.0.7 on MS Windows 10,
    4, search for a new wifi AP, OpenBK7231T*, ip: 192.168.4.1
    5, input wifi SSID and password.
    6, configure.

    The old Minoston MP22W (ver 1 ?) was built with TYWE2S modules, based on ESP8266 chips. The old configuration at Tasmota is available.
    https://templates.blakadder.com/minoston_MP22W.html

    Matched the pinouts of TYWE2S to WB2S, got the following configuration. After saving new configuration, this plug won't reboot by itself, . I have to use a power strip to power-cycle it.

    Configure module
    P6 (PWM0) Btn 1
    P7 (PWM1) LED_n 1,
    P24 (PWM4) Rel 1,

    P6 (PWM0) on WB2S = I/O_13 on TYWE2S
    P7 (PWM1) on WB2S = I/O_04 on TYWE2S
    P24 (PWM4) on WB2S = I/O_12 on TYWE2S

    Configure General/Flags
    checked Flag 6 - [BTN] Instant touch reaction instead of waiting for release (aka SetOption 13)

    After flashing and configuring, the plug works.
    But that button has significant delays, I have to push it twice. The first push seems like a wakeup call, the second one switches the plug on/off. Fixed

    Minoston MP22W, ver 2.0 ( WB2S, BK7231T) outdoor smart plug, teardown, flash, configuration Minoston MP22W, ver 2.0 ( WB2S, BK7231T) outdoor smart plug, teardown, flash, configuration
    Minoston MP22W, ver 2.0 ( WB2S, BK7231T) outdoor smart plug, teardown, flash, configuration
    Minoston MP22W, ver 2.0 ( WB2S, BK7231T) outdoor smart plug, teardown, flash, configuration Minoston MP22W, ver 2.0 ( WB2S, BK7231T) outdoor smart plug, teardown, flash, configuration Minoston MP22W, ver 2.0 ( WB2S, BK7231T) outdoor smart plug, teardown, flash, configuration Minoston MP22W, ver 2.0 ( WB2S, BK7231T) outdoor smart plug, teardown, flash, configuration Minoston MP22W, ver 2.0 ( WB2S, BK7231T) outdoor smart plug, teardown, flash, configuration Minoston MP22W, ver 2.0 ( WB2S, BK7231T) outdoor smart plug, teardown, flash, configuration Minoston MP22W, ver 2.0 ( WB2S, BK7231T) outdoor smart plug, teardown, flash, configuration
  • ADVERTISEMENT
  • #2 20548169
    p.kaczmarek2
    Moderator Smart Home
    We are usually using Btn, not Btn_n. Why do you think that this device is special and has invested Button logic?

    Also, we have a "quick button reaction" flag in flags... you may want to select that.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 20548731
    fastness
    Level 2  
    I saw the GPIO13 was set as Button1n at TYWE2S_ESP8285. But I didn't know that "n" = Button logic. So I transplanted that "n" to Btn_n at P6 (PWM0) on WB2S_BK7231T. I tried both settings. Both work in the same Btn way.

    I tried the LED_n and LED at P7 (PWM1). LED_n 1 means the LED lights on when toggle on. LED 1 means LED on when toggle off.

    The button works instantly by select that Flag 6
    checked Flag 6 - [BTN] Instant touch reaction instead of waiting for release (aka SetOption 13)

    Thank you.
  • #4 20548740
    p.kaczmarek2
    Moderator Smart Home
    It's good to hear it's working now. Is there anything else I may help you with? Btw, if you have full config, please post here the JSON from Web Application and maybe add some more information on your device, so we can add it to the templates list. Some maybe packaging photos, etc, link where it was bought...
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • Helpful post
    #5 20548922
    fastness
    Level 2  
    How about this exported template. I edited it with more details.
    Pictures were added to the 1st post.
    This smartplug is available at Amazon. https://www.amazon.com/Waterproof-Compatible-Assistant-Required-MP22W/dp/B07X52W1J8

    {
    "vendor": "Minoston",
    "bDetailed": "0",
    "name": "Minoston_MP22W_v2.0",
    "model": "MP22W_v2",
    "chip": "BK7231T",
    "board": "WF96S",
    "flags": "1088",
    "keywords": [
    "TODO",
    "TODO",
    "TODO"
    ],
    "pins": {
    "6": "Btn;1",
    "7": "LED_n;1",
    "24": "Rel;1"
    },
    "command": "",
    "image": "https://obrazki.elektroda.pl/7880951200_1682009326.jpg",
    "wiki": "https://www.elektroda.com/rtvforum/topic3973047.html"
    }
  • #6 20548924
    p.kaczmarek2
    Moderator Smart Home
    Thank you, device has been added to our templates list.
    Minoston MP22W, ver 2.0 ( WB2S, BK7231T) outdoor smart plug, teardown, flash, configuration
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT

Topic summary

The discussion revolves around the teardown and configuration of the Minoston MP22W outdoor smart plug, version 2.0, which features the WB2S module with a BK7231T chip. Users detail the process of flashing the device using a USB to TTL converter with a CH341 chip, including wiring instructions and the flashing of the OpenBK7231T firmware. The conversation highlights the differences between the new WB2S module and the older TYWE2S module based on ESP8266 chips, as well as the configuration of GPIO pins for button and LED functionality. A JSON template for the device configuration is shared, along with links to purchase the smart plug on Amazon and additional resources for further information.
Summary generated by the language model.
ADVERTISEMENT