devices.esphome.io
LocalBytes Smart Plug
LocalBytes Smart Plug
Device Type: plugBoard: esp8266Difficulty: Comes with ESPhome, 1/5
Preflashed with ESPHome or Tasmota
GPIO Pinout
| Pin | Function |
|---|---|
| GPIO3 | Button |
| GPIO4 | BL0937 CF |
| GPIO5 | HLWBL CF1 |
| GPIO12 | HLWBL SELi |
| GPIO13 | LedLink |
| GPIO14 | Relay |
Basic Configuration
substitutions: name: localbytes-plug-pm-<NAME> friendly_name: Localbytes Plug PM <NAME>
packages: localbytes.plug-pm: github://LocalBytes/esphome-localbytes-plug/localbytes-plug-pm.yaml@main
esphome: name: ${name} name_add_mac_suffix: false friendly_name: ${friendly_name} # 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: