devices.esphome.io
Shelly DUO E27
Shelly DUO E27
Device Type: lightElectrical Standard: usBoard: esp8266
GPIO Pinout
| Pin | Function | 
|---|---|
| GPIO4 | Temprature | 
| GPIO5 | Brightness | 
This template was made using the Tasmota template found here with the GPIO conversion in the Tasmota docs.
esphome:  name: your-name
esp8266:  board: esp01_1m  restore_from_flash: true
# Enable logginglogger:# Enable Web Server to allow for direct access via IP Addressweb_server:  port: 80
# Enable Home Assistant APIapi:
ota:  password: !secret ota_password  safe_mode: true
wifi:  ssid: !secret wifi_ssid  password: !secret wifi_password
  # Enable fallback hotspot (captive portal) in case wifi connection fails  ap:    ssid: "YourSSID"    password: !fallback_password
captive_portal:  output:  - platform: esp8266_pwm    id: warm_white    pin: GPIO4  - platform: esp8266_pwm    id: brightness    pin: GPIO5
light:  - platform: cwww    name: Your device name    warm_white: warm_white    cold_white: brightness    cold_white_color_temperature: 6500 K    warm_white_color_temperature: 2700 K