-
-
Save ctalkington/9c6caf65d7a3f9fee358afab2a88eb05 to your computer and use it in GitHub Desktop.
esphome: | |
name: bulb_75w_rgbw_qpw06 | |
platform: ESP8266 | |
board: esp01_1m | |
wifi: | |
ssid: 'YOURWIFISSID' | |
password: 'YOURWIFIPASSWORD' | |
logger: | |
api: | |
ota: | |
password: 'YOUROTAPASSWORD' | |
power_supply: | |
- id: rgb_power | |
pin: GPIO13 | |
sm16716: | |
data_pin: GPIO14 | |
clock_pin: GPIO4 | |
num_channels: 3 | |
num_chips: 1 | |
output: | |
- platform: esp8266_pwm | |
pin: GPIO5 | |
frequency: 1000 Hz | |
id: pwm_white | |
- platform: sm16716 | |
id: sm16716_red | |
channel: 2 | |
power_supply: rgb_power | |
- platform: sm16716 | |
id: sm16716_green | |
channel: 1 | |
power_supply: rgb_power | |
- platform: sm16716 | |
id: sm16716_blue | |
channel: 0 | |
power_supply: rgb_power | |
light: | |
- platform: rgbw | |
name: Bulb | |
id: bulb_75w_rgbw | |
red: sm16716_red | |
green: sm16716_green | |
blue: sm16716_blue | |
white: pwm_white |
Has there still not been a encompassing 1 entity solution to this bulb?
@coneyrabbit there is now in ESPHome 1.14 (updated this gist). BEWARE that brightness in Home Assistant controls the RGBs and White Value controls the White brightness.. if you have both values at 100% both sets of LEDS will run and overheat chip causing random restarts within 10min.
Created a different YAML for the bulb recently that controls the colors correctly in Home Assistant. Not sure if it will work for all bulbs but the ones I purchased yesterday locally do work correctly. https://github.com/nightshade00013/ESP-Home-Configs/blob/master/Merkury-A21.yaml
@coneyrabbit there is now in ESPHome 1.14 (updated this gist). BEWARE that brightness in Home Assistant controls the RGBs and White Value controls the White brightness.. if you have both values at 100% both sets of LEDS will run and overheat chip causing random restarts within 10min.
If you put color_interlock: true in the rgbw platform attributes it will force the white off for colors and turn the colors off when going back to white preventing both being on and overheating. Also when you click white or tell google to set the light to bright white it goes back to white. Saying just white they still turn to a dim white cause it doesn't turn the white value back up unless you say bright white. Pretty much fixes this is sure you are taking about here
Thanks @jokesters, I'll try it out tonight... Didn't get a notification of your mention/response so I'm just seeing this.
FCC: https://fccid.io/2AJ3WEBEQPW06