Nice little Sat afternoon project.
Bought a couple of the generic WiFi RGB+WW (Cold and warm white) controllers.
Cracked one open to find an ESP8285 embedded, and 5 beefy outputs the data says 4amps for each of the outputs, I’m not sure I’d go that far but they are certainly higher rated than most OEM modules.
Amazon UK Link
Flashing is possible using pogo pins; I chose to solder -
The back of the board has legends printed for connections, and as an added bonus the reset switch shorts GPIO0 so nice and easy.
The ESPHome header for these boards is:
esphome:
name: name_it
platform: ESP8266
board: esp01_1m
Finding the correct pins for the outputs took some time and lots of flashing;
output:
- platform: esp8266_pwm
id: output_component1
pin: 12
max_power: 100%
- platform: esp8266_pwm
id: output_component2
pin: 14
max_power: 100%
- platform: esp8266_pwm
id: output_component3
pin: 13
max_power: 100%
- platform: esp8266_pwm
id: output_component4
pin: 5
max_power: 100%
- platform: esp8266_pwm
id: output_component5
pin: 15
max_power: 100%
And the assignments:
light:
- platform: rgbww
name: "Name to show up in HA"
red: output_component1
green: output_component2
blue: output_component3
cold_white: output_component4
warm_white: output_component5
cold_white_color_temperature: 6536 K
warm_white_color_temperature: 2000 K
Enjoy!