Skip to main content
Device Type:plug
Electrical Standard:us
Board:esp8266

FrankEver FK-PW801US

alt text

Model reference: FK-PW801US

Equivalent devices:

Manufacturer: FrankEver

GPIO Pinout

PinFunction
GPIO02Blue LED (Inverted: true)
GPIO13Push Button
GPIO15Relay

Basic Config

substitutions:
device_name: frankever-fk-pw801us
friendly_name: FrankEver FK-PW801US
device_description: FrankEver smart plug with button and blue led.

esphome:
name: ${device_name}
comment: ${device_description}

esp8266:
board: esp01_1m

wifi:
# Enable fallback hotspot (captive portal) for WiFi configuration
ap:
ssid: ${friendly_name}

captive_portal:

# Enable logging
logger:

# Enable Home Assistant API
api:

# Enable OTA
ota:

binary_sensor:
- platform: gpio
device_class: power
id: button
pin:
number: GPIO13
inverted: true
mode: INPUT_PULLUP
on_press:
- switch.toggle: relay

switch:
- platform: gpio
name: Relay
pin: GPIO15
id: relay
on_turn_on:
- output.turn_on: led
on_turn_off:
- output.turn_off: led

output:
- platform: gpio
id: led
pin:
number: GPIO02
inverted: true