Last active
November 23, 2021 12:24
-
-
Save ctalkington/9c6caf65d7a3f9fee358afab2a88eb05 to your computer and use it in GitHub Desktop.
Merkury A21 75W Bulb ESPHome Config (requires v1.14+)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Thanks @jokesters, I'll try it out tonight... Didn't get a notification of your mention/response so I'm just seeing this.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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