devices.esphome.io
Globe Electric Wi-Fi Smart Plug 50359
Globe Electric Wi-Fi Smart Plug 50359
Device Type: plugElectrical Standard: usBoard: bk72xxDifficulty: Plug-n-flash, 2/5
Sold at Costco model (50207)
Custom Firmware Needed
This device uses the WB2S module that comes with Tuya firmware which can be flashed to esphome using cloudcutter following instructions here
Support for WB2S modules is available in ESPhome 2023.9.0 (https://github.com/esphome/esphome/pull/3509).
GPIO Pinout
Due to the fact that this uses a custom esphome firmware the pin numbers start with a P instead of the usual GPIO
| Pin | Name | Function |
|---|---|---|
| P7 | LED | Status LED |
| P26 | Button | Power Button |
| P24 | Outlet | Relay |
Basic Configuration
# Globe Electric 50329 smart plugsubstitutions: number: "1" device_name: globe-plug-${number} device_description: Globe Electric 50329 Smart plug friendly_name: Globe Plug ${number}
esphome: name: ${device_name} comment: ${device_description} # OTA flashingota: - platform: esphome
wifi: # Your Wifi network details # Enable fallback hotspot in case wifi connection fails ap:
# Enabling the logging componentlogger:
# Enable Home Assistant APIapi:
# Enable the captive portalcaptive_portal:
bk72xx: board: wb2s
light: - platform: status_led name: "led" internal: true id: led pin: number: P7 inverted: true
binary_sensor: - platform: gpio pin: number: P26 inverted: true id: button1 filters: - delayed_on: 10ms - delayed_off: 10ms on_click: - switch.toggle: outlet
- platform: status name: ${friendly_name} status
switch: - platform: gpio name: ${friendly_name} Outlet id: outlet pin: P24 icon: mdi:power-socket-us on_turn_on: - light.turn_on: led on_turn_off: - light.turn_off: led