FrankEver FK-PW801US
Device Type:
Electrical Standard:
Board:

Model reference: FK-PW801US
Equivalent devices:
Manufacturer: FrankEver
GPIO Pinout
| Pin | Function |
|---|---|
| GPIO02 | Blue LED (Inverted: true) |
| GPIO13 | Push Button |
| GPIO15 | Relay |
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 logginglogger:
# Enable Home Assistant APIapi:
# Enable OTAota:
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