devices.esphome.io
Wyze Plug (2021)
Wyze Plug (2021)
Device Type: plugElectrical Standard: usBoard: esp32
Initial Install
This device is glued together pretty tightly, but can be opened with the application of hot air and prying. It must be opened for the first upload.
GPIO Pinout
There are multiple versions of this device, all nominally using the WLPP1 base model number. An earlier version may use these GPIOs:
Pin | Function |
---|---|
GPIO15 | Button |
GPIO16 | Relay |
GPIO19 | Relay LED |
A current device purchased in late 2023 has a model number of WLPP1CFH, which uses a ESP32C3 variant, and uses GPIOs:
Pin | Function |
---|---|
GPIO10 | Button |
GPIO0 | Relay |
GPIO1 | Relay LED |
Basic Configuration
# Basic Configsubstitutions: display_name: WyzePlug
esphome: name: wyzeplug platform: ESP32 board: esp-wrover-kitwifi: ssid: !secret wifi_ssid password: !secret wifi_passwordlogger:api:ota:
# Device Specific Configswitch: - platform: gpio name: ${display_name} Relay pin: number: GPIO16 inverted: false id: relay on_turn_on: - light.turn_on: relay_led on_turn_off: - light.turn_off: relay_led - platform: restart name: ${display_name} Restart
output: - platform: gpio pin: GPIO19 inverted: True id: relay_led_gpio
light: - platform: binary name: "Relay LED" id: relay_led internal: true output: relay_led_gpio
binary_sensor: - platform: gpio internal: true pin: number: GPIO15 mode: INPUT_PULLDOWN inverted: True name: ${display_name} Button on_press: - switch.toggle: relay