How to Flash the Wyze Outdoor Plug - ESPHome or Tasmota - Local Control


  • ESP32 for Bluetooth scanning!
  • Higher Gain antenna than a normal ESP module PCB antenna
  • LUX Sensor
  • Power Monitoring (Both relays combined, single channel)
  • Dual Relays
  • Dual Status LEDs
  • IP64 Weather proofing
  • 15 Amp capacity

First...plot change!  ESPHome is what we are going to use here.  Tasmota could be used but the two buttons would not work since Tasmota does not support the use of enabling pull-down resistors on the ESP32 module. UPDATE: 9.5 Tasmota supports this (template near the end of this article)  Yes, you heard this right, it's an ESP32 just like how the Sonoff Dual R3 came.  Luckily the efuses are not burned and we can use the device how we want, cloudless!  Thanks Wyze!  Dear Wyze, this is a good thing, you'll sell more of these plugs as well as additional word of mouth exposure for the company.  Win win situation, don't screw it up!

If you just came for the ESPHome Yaw Mill and don't care about reading or looking at my cool pics, you know the drill, go like and share my stuff, you'll find the YAML here.  

You will need to solder this plug, there's almost no way around that but it is relatively easy.  If you need to brush up on how to solder to the pads below, check out my in depth how to solder jumper wires to PCB pads in the Sonoff Dual R3 video as well as products I used in the video description - Sonoff Dual R3 Video.

Wyze made a nice little weatherproof door for us to easily open and close this plug!  To access it you will need a triangle screw driver bit.  If you do not have one, it's time to get a nice kit.  You can cheap out of course and get a cheap kit, but if you want a nice one, I can't say how impressed I am with the quality on the iFixit toolkit (they didn't sponsor this).  Super nice!  Amazon Link

Once you get the five screws out you'll be greeted with the ESP32 module (that I traced out for you...) and the nicely labeled flashing pads.  

Right next to the module is GND, RX, TX and BOOT.  Boot is your GPIO 0 pin that needs to be held to ground to enable the flash mode.  Where's 3.3v?  It's tucked up under the mains AC lines.  

If you are afraid you might melt the case or the wires soldering 3v3, you can remove the board from the case, remove the two screws on the wire clamp and rotate the board out.  Please do not attempt to power this via Mains AC while you have small wires attached to it or the case open!

If you only have one Ground pin on your USB TTL adapter for flashing, I use a simple solder bridged header pin to make a splitter.  Make sure your USB TTL is on 3v3 and NOT 5v!

Use the provided ESPHome YAML for an example setup, create your bin and flash it up!  Enjoy.  Flashing instructions -

New to ESPHome?  Check out some of my previous sensor builds for complete walkthroughs with ESPHome setup and flashing - Bathroom Sensor or Multisensor

If you need help flashing, setting up ESPHome, or anything, feel free to join us in the Discord Chat.

Purchase the Wyze Outdoor Plug (Amazon)

Tasmota ESP32 Bin File Template (DO NOT USE ESPHOME FLASHER) use the Chrome based Tasmota Flasher

{"NAME":"Wyze Outdoor Plug","GPIO":[0,0,0,0,0,576,0,0,0,0,0,224,321,7712,7713,320,0,0,0,0,0,2624,2656,2720,0,0,0,0,225,0,4704,0,0,0,0,0],"FLAG":0,"BASE":1}

Products We Use/Recommend

Be Social!
Discord Chat -
Patreon -
Facebook -
Instagram -
Please note that links above may be affiliate link, using them could earn digiblurDIY a small commission of most purchases and helps with future video projects. Thank you!


  1. Thank you DigiBlur.

    Here utilized Amazon Fermerry 28 AWG Stranded Wire Silicone Cables and purchased new soldering tips. I connected different colored wires to GND, RX, TX , BOOT, 3.3VDC and 2nd GND pads.

    I have yet to upgrade the firmware. Went off to modifying the Wink Relay 2.

  2. Thanks for this write up. My local Home Depot has these on the shelf for $15.

    Do you think it is possible to add any sensors or a small display to the ESP32 in this unit? I.e. are any of the other I/O pins accessible?

    1. It looks like the module is an ESP32-WROOM-32x. Pinout can be found at:
      I'm going to get one and try attaching a DS18B20 temperature sensor for thermostatic control of a heater

    2. Success! With the help of a little flux, I soldered onto one of the castellations on the ESP module to connect to a DS18B20. Thanks, DigiBlur!

  3. Hey T,

    Wondering if you possibly have the bandwidth to develop a (ESPHome or Tasmota) plug / power device solution regardig this device or a similar device to cater to backyard or even quasi-commercial chicken keepers? 14ish daylight hours on full spectrum LED + heated water or heated coop options. HMU and let's discuss some things. More than willing to pay for your expertise just to coolaberate a potential solution for my individual situation.

  4. Hi.......I bought a couple of these and flashed and used your template file however the Switch 2 turns itself on and off repeatedly. The button press on Switch 1 works fine. Getting ready to flash the 2nd one now. My first flash was with Tasmota, not Tasmota32 and I wonder if there are some gremlins left behind. At any rate the template is not working on my device. Everything else is perfect. Thanks!........John

  5. Had to sign in and say thanks. First time learning/flashing these ESP32 chips and all worked (surprisingly) well thanks to your guide. 👍

  6. And you are a dumdum like me and you pull the boot pad right off the board, the last pin in the closest corner is a harder to solder substitute.

  7. Wondering if anyone is having issues with this recently. I just bought 2 new plugs. I had purchased one a few months ago and flashed with esphome no issues. Now I am trying one of these new plugs and flashed esphome. It shows it uploaded but from there nothing happens. Shows no logs, doesn't connect to AP. I also tried flashing tasmota and same issue. Flashes fine but doesn't work after flash. Seeing if anyone else is having this issue before I try my other one.

    1. I had this problem and after a ton of troubleshooting it turns out that it was my wifi configuration. I have a separate SSID that I use for all my IOT devices to isolate them from computers and whatnot. I had that SSID set to not broadcast, all the other devices I have connected to it work just fine but for some reason esphome cannot connect to it. The SSID needs to be broadcast.

  8. Thank you for your great vids and lessons! Am I reading the update correctly? You can flash tasmota on this? does it support OTA flashing?

    1. Yes, flash the regular tasmota32.bin on it. And yes, that version supports OTA updates.

    2. How does one do it with the Chrome based flasher since there is no choice for a "vanilla" Tasmota32 in it?

    3. Pick Tasmota and it will do Tasmota32

  9. Great guide - flashed all 10 of 'em :)

  10. Please update the custom config to the config from a comment from Unknown on 10/14/2021@12:03: {"NAME":"Wyze Outdoor Plug","GPIO":[0,0,0,0,0,576,0,0,0,0,0,224,321,7713,7712,320,0,0,0,0,0,2624,2656,2720,0,0,0,0,225,0,4704,0,0,0,0,0],"FLAG":0,"BASE":1}
    The config on the page does not work correctly, but the one posted has the correct LEDs on power. I believe the flags are both set to Led_i 1 where GPIO16 should be Led_i 2

    1. updated both to have the working one

    2. When I uploaded this configuration, the buttons were swapped as well. This is the right config:

      {"NAME":"Wyze Outdoor Plug","GPIO":[0,0,0,0,0,576,0,0,0,0,0,224,321,7713,7712,320,0,0,0,0,0,2624,2656,2720,0,0,0,0,225,0,4704,0,0,0,0,0],"FLAG":0,"BASE":1}

    3. There must be some hardware changes as I've seen various LEDs and buttons swapped from people before.

  11. Thanks for all the tutorials you do. I somehow stumbled on your washer automation tutorial, and suddenly I've got home assistant, smart plugs, sensors and automations all over the place.

    I'm having an issue with this plug, when try to flash with the web installer i get, "failed to open serial port", and when I try to flash tasmota32.bin with Tasmotizer i get "Failed to connect to ESP8266: Timed out waiting for packet header"

    Some observations about the situatn
    - It seems like my solder connections are all good.
    - i double checked RX/TX and even tried with them reversed to make sure.
    - when trying to flash with Tasmotizer, RX and TX lights are blinking on the USB adapter.
    - I'm grounding GPIO0 to the ground pad that the usb ground is connected to.
    - when I boot with GPIO0 grounded, there's no lights lit up on the plug. Should there be?
    - when I boot without GPIO0 grounded, the blue light blinks and both white lights are on.

    I'm wondering if I'm missing something silly here. I've flashed a bunch of S31s without an issue.

    1. Upon chatting in discord, I took the advice and I bought a new usb adapter, and powered with my bench power supply. With that I was able to get a response back with ` flash_id `. But still no serial connection with the Tasmota web installer on either my Linux or Windows machines.

      Since I was getting some response from esptool, I decided to attempt to flash with that following your instructions on this video -

      Worked great and I'm up and running. Thanks again!


Post a Comment