[WB2L/BK7231T] Spectrum Smart E27 1500 lm 13W WOJ14473 template switched to DMP-L1

Hello.

I have bought Spectrum Smart E27 1500 lm 13W WOJ14473 and switched module to “DT-Light ESP8285 Lighting Module (DMP-L1)” and I would like to share my template for ESPHome:

light:
  - platform: rgbww
    name: "DMP-L1WW"
    red: w_pwm_output
    green: b_pwm_output
    blue: y_pwm_output
    cold_white: r_pwm_output 
    warm_white: g_pwm_output 
    restore_mode: RESTORE_AND_ON
    color_interlock: true
    cold_white_color_temperature: 6536 K
    warm_white_color_temperature: 2000 K
    constant_brightness: true
output:
  - platform: esp8266_pwm
    pin: GPIO4
    frequency: 1000 Hz
    id: w_pwm_output
  - platform: esp8266_pwm
    pin: GPIO5
    frequency: 1000 Hz
    id: b_pwm_output
  - platform: esp8266_pwm
    pin: GPIO12
    frequency: 1000 Hz
    id: r_pwm_output
  - platform: esp8266_pwm
    pin: GPIO13
    frequency: 1000 Hz
    id: y_pwm_output   
  - platform: esp8266_pwm
    pin: GPIO14
    frequency: 1000 Hz
    id: g_pwm_output   

I believe color temperatures can be improved but it did not bothered me :wink:

Edit: Useful advice as docs are confusing: before flashing IO0 has to be grounded.

1 Like

How did you switch the modul to DT-Light ESP8285 in this bulb? I have a hand full of those SPECTRUM SMART bulbs at home and I would like to add them to HA. In the past I had them connected through tuya platform but it is no longer possible to add those bulbs to tuya platform.

Yest I did with ones that i have bought previously. Unfortunately I got few others couple months ago and they no longer rely on PWM driving directly form MCU. Instead MCU controls LED driver KP18058 with variation of I2C protocol. I have not found time nor skills to reimplement it to esphome.

Edit: There was some movement in ESPhome but it got stale.