Flux LED Custom Effects Brightness (SERVICE FLUX_LED.SET_CUSTOM_EFFECT)

Feedback

Calling a custom effect defaults at 50% brightness, but cannot be adjusted without stopping the custom effect. Is it possible to add a request for brightness when requesting the custom effect? It is possible in the Magic Home app.

URL

Version

2021.12.7

This is already supported. Brightness is a function of the RGB level. If you want 50% brightness:

entity_id: light.led_strip
colors:
  - [128,0,0]
  - [0,128,0]
  - [0,0,128]
speed_pct: 80
transition: "jump"
1 Like

Duh! Makes total sense, I lowered the brightness by lowering the RGB, thank you!

Also, for reference the documentation is not up to date in regards to setting the RGB colors.

YAML format:

  colors:
    - - 128
      - 0
      - 0
    - - 0
      - 128
      - 0
    - - 0
      - 0
      - 128

Visual Editor Format:

[[128, 0, 0], [0, 128, 0], [0, 0, 128]]

Both formats should work for setting rgb colors. The docs has a collapsed version for compactness.

I try this for Node-Red but it doesn’t work.

{
“colors”:
- - 128
- 0
- 0
- - 0
- 128
- 0
- - 0
- 0
- 128
“speed_pct”: 90
“transition”: “gradual”
}

What’s wrong? Node send “Error”. When i try example data, send “API Error”.