Hello, first post here.
So i want my RGBWW ESPhome Light to be useable as a normal Lamp with the normal lightswitch.
So it should instantly always light up in WARM white on boot.
It kind of works, Warmwhite is on, coldwhite is off, BUUUUUT R & G & B is completely on. It seems like a bug. If i set red: 1% only red turns on. even though Warmwhite is set to 100%. Bug? Weird. I need help
Markant lines of my yaml file of the ESP8266:
esphome:
name: deckenlampe
friendly_name: Deckenlampe
on_boot:
priority: 750.0
then:
- light.turn_off:
id: deckenlampe
- light.turn_on:
id: deckenlampe
warm_white: 100% # Warmweiß auf 100% setzen
red: 0% # Rot auf 0% setzen
green: 0 # Grün auf 0% setzen
blue: 0 # Blau auf 0% setzen
cold_white: 0%
restore_mode: ALWAYS_OFF
What light platform are you using?
Also, include ``` before and after your code so it gets formatted correctly, makes it easier to read.
Have you considered using WLED instead of ESPHome? I find it to work MUCH better than ESPHome (I only use ESPHome with LEDs when they are part of a larger project), plus it’s much easier to modify on the fly.
Thx, i updated the code formatting.
I dont want to fumble around too much, i just want a light that works how it should.
The lightplatform is called rgbww
light:
- platform: rgbww
name: "Deckenlampe"
id: deckenlampe
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
restore_mode: ALWAYS_OFF
Is there a reason you’re using such a high priority value? You can definitely get weird behavior if you do something too soon before everything is properly setup. I’d try the default of 600 (and even lower if that doesn’t work).
i just wanted it to happen instantly on boot. lowering the priority may work, but i found a Solution:
just turn color_brightness to 0% and brightness to 100%
esphome:
name: deckenlampe
friendly_name: Deckenlampe
on_boot:
priority: 750.0
then:
#- light.turn_off:
# id: deckenlampe
- light.turn_on:
id: deckenlampe
brightness: 100%
color_brightness: 0%
warm_white: 100% # Warmweiß auf 100% setzen
red: 0% # Rot auf 0% setzen
green: 0% # Grün auf 0% setzen
blue: 0% # Blau auf 0% setzen
cold_white: 0%