devices.esphome.io

Delock 11826 Power Smart Plug

Delock 11826 Power Smart Plug

Device Type: plug
Electrical Standard: eu
Board: esp8266

General Notes

Model reference: 11826

Manufacturer: Delock

The device comes pre-flashed with Tasmota. Flashing ESPHome is easily possible by uploading an ESPHome .bin file using the device's web interface. In case of issues GZIP your .bin file!

Product

GPIO Pinout

PinFunction
GPIO0Button (inverted)
GPIO12Relay
GPIO13LED

Basic Config

Basic configuration with switch.

substitutions:
plug_name: delock01
esphome:
name: ${plug_name}
esp8266:
board: esp8285
# 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:
# Enable the Web Server component
webserver:
binary_sensor:
- platform: gpio
pin:
number: GPIO0
inverted: True
name: "${plug_name} Button"
on_press:
- switch.toggle: relay
switch:
- platform: gpio
id: led
pin: GPIO13
- platform: gpio
name: "${plug_name} Smart Plug"
pin: GPIO12
id: relay
on_turn_on:
- switch.turn_on: led
on_turn_off:
- switch.turn_off: led
Edit this page on GitHub