top of page

Strip Light Controller/Bulb

Public·1 member

E27 15W RGBCCT and EspHome, can't get CW to work

So basing my ESPHome (via Home-Assistant) configuration on this thread https://www.athom.tech/forum/light/e27-15w-rgbcct-bulb-esphome-config but no matter what, I can't get the Cool White LEDs to come on. I only get RGB and Warm White. I really don't understand it, the 7W config came together quick and easy.


My config is


substitutions:
  devicename: dining_light_1
  upper_devicename: Dining Light 1

esphome:
  name: $devicename
  platform: ESP8266
  board: esp01_1m

wifi:
  ssid: "<SSID>"
  password: "<PW>"

  ap:
    ssid: "${devicename} AP"
    password: "<PW>"

# Enable logging to ESPHome
logger:
  # Disable logging to serial
  baud_rate: 0

# Enable Home Assistant API
api:
  password: "<PW>"

# Setup OTA password
ota:
  password: "<PW>"
  
output:
  - platform: esp8266_pwm
    id: output_red
    pin: GPIO4
  - platform: esp8266_pwm
    id: output_green
    pin: GPIO12
  - platform: esp8266_pwm
    id: output_blue
    pin: GPIO14
  - platform: esp8266_pwm
    id: output_warm_white
    pin: GPIO5
  - platform: esp8266_pwm
    id: output_cold_white
    pin: GPIO13
    
light:
  - platform: rgbww
    name: "${upper_devicename}"
    red: output_red
    green: output_green
    blue: output_blue
    cold_white: output_cold_white
    warm_white: output_warm_white
    cold_white_color_temperature: 6000 K
    warm_white_color_temperature: 3000 K
    restore_mode: ALWAYS_ON
    color_interlock: true

308 Views
drizzt321
Aug 26, 2021

ESPHome now has a RGBCCT component! With HomeAssistant I'm using


output:
  - platform: esp8266_pwm
    pin: GPIO13
    id: out_ct
    inverted: true
  - platform: esp8266_pwm
    pin: GPIO5
    id: out_ctbrightness
  - platform: esp8266_pwm
    pin: GPIO4
    id: out_red
  - platform: esp8266_pwm
    pin: GPIO12
    id: out_green
  - platform: esp8266_pwm
    pin: GPIO14
    id: out_blue


light:
  - platform: rgbct
    name: "${upper_devicename}"
    red: out_red
    green: out_green
    blue: out_blue
    color_temperature: out_ct
    white_brightness: out_ctbrightness
    cold_white_color_temperature: 166 mireds
    warm_white_color_temperature: 333 mireds
    color_interlock: True


bottom of page