devices.esphome.io

Shelly Bulb Duo RGBW

Shelly Bulb Duo RGBW

Device Type: light
Electrical Standard: euukus
Board: esp8266

Product Image

This template was made using the Tasmota template found here with the GPIO conversion in the Tasmota docs.

GPIO Pinout

PinFunction
GPIO5PWM 4 (W)
GPIO12PWM 2 (G)
GPIO13PWM 1 (R)
GPIO14PWM 2 (B)

Configuration for RGBW

substitutions:
device_name: "shelly-bulb-duo-rgbw"
friendly_name: "Shelly Bulb Duo RGBW"
esphome:
name: ${device_name}
comment: ${friendly_name}
platform: ESP8266
board: esp01_1m
# Enable logging
logger:
web_server:
port: 80
# Enable Home Assistant API
api:
ota:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
captive_portal:
light:
- platform: rgbw
name: ${friendly_name}
red: pwm_r
green: pwm_g
blue: pwm_b
white: pwm_w
effects:
- random:
- strobe:
- flicker:
output:
- platform: esp8266_pwm
pin: GPIO13
frequency: 1000 Hz
id: pwm_r
- platform: esp8266_pwm
pin: GPIO12
frequency: 1000 Hz
id: pwm_g
- platform: esp8266_pwm
pin: GPIO14
frequency: 1000 Hz
id: pwm_b
- platform: esp8266_pwm
pin: GPIO5
frequency: 1000 Hz
id: pwm_w
Edit this page on GitHub