Warm White/ Cool White LED feature request

If it’s easy then it would be even easier for someone that knows what to do, i have a busy schedule and not the required knowledge

Wherever!, at first, if you like, you can have a look to my GitHub, look for a folder called leds, inside my repository Phoenix X86, apart of this, you have tons of informations about in the internet.

Thanks but i cannot read your language and really do not care so much to do all this. I put a fearure request as i thought this would be a good feature and be useful to others as much as myself. This community is far different from home assistant and ESPhome it would seem, it’s just do it yourself, i dont care it seems

Fist of all, let me tell you, that you need to be a bit more incisive, and fight for the knowledge, once, even the people with bigger knowledge, had no knowledge about anything, once said, the first is to define your led strip, even if not rgb, this is the way:


[led tira_led] # Change the name tira_led, by the name you want to have for your light
#red_pin:
#green_pin:
#blue_pin:
white_pin: PA1 # Change this value by your own output pin in your card
#   The pin controlling the given LED color. At least one of the above
#   parameters must be provided.
cycle_time: 0.010
#   The amount of time (in seconds) per PWM cycle. It is recommended
#   this be 10 milliseconds or greater when using software based PWM.
#   The default is 0.010 seconds.
#hardware_pwm: False
#   Enable this to use hardware PWM instead of software PWM. When
#   using hardware PWM the actual cycle time is constrained by the
#   implementation and may be significantly different than the
#   requested cycle_time. The default is False.
#initial_RED: 0.0
#initial_GREEN: 0.0
#initial_BLUE: 0.0
initial_WHITE: 0.2 # Initial bright you want to have at machine's switch on
#   Sets the initial LED color. Each value should be between 0.0 and
#   1.0. The default for each color is 0.

Once defined, you need to control it, not only switch it on or off, you can control the bright from 0 to 100 %,
This command make the led strip bright at 10 % of his max power:

        # setting the led strip at 10% bright
        SET_LED LED=tira_led WHITE=0.1

and so on:

        # setting the led strip at 5% bright
        SET_LED LED=tira_led WHITE=0.05
        # setting the led strip at 100% bright
        SET_LED LED=tira_led WHITE=1.0
        # setting the led strip at 50% bright
        SET_LED LED=tira_led WHITE=0.5
        # setting the led strip at 90% bright
        SET_LED LED=tira_led WHITE=0.9

Good luck!

1 Like

Thanks, i have this, it does not resolve warm white and cool white still

Then, buy a led strip, or two, according your needs, or buy a single RGB or Neopixel one, and take the colors you need, one is clear, may be for warm you’ll need to decrease blue a bit

But once again, follow the tip from Backstreet boys, “move your body”, otherwise this will remain in time being my last answer

You clearly don’t understand, never mind bud, thanks

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.