devices.esphome.io

Globe Electric Wi-Fi Smart Plug 50359

Globe Electric Wi-Fi Smart Plug 50359

Device Type: plug
Electrical Standard: us
Board: bk72xx
Difficulty: Plug-n-flash, 2/5

alt text alt text alt text

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

PinNameFunction
P7LEDStatus LED
P26ButtonPower Button
P24OutletRelay

Basic Configuration

# Globe Electric 50329 smart plug
substitutions:
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 flashing
ota:
- platform: esphome
wifi: # Your Wifi network details
# Enable fallback hotspot in case wifi connection fails
ap:
# Enabling the logging component
logger:
# Enable Home Assistant API
api:
# Enable the captive portal
captive_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
Edit this page on GitHub