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
Edit: Useful advice as docs are confusing: before flashing IO0 has to be grounded.