TheLaw
(Christopher)
December 31, 2021, 11:22pm
1
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
bdraco
(J. Nick Koston)
January 3, 2022, 7:45am
2
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
TheLaw
(Christopher)
January 4, 2022, 3:04am
3
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]]
bdraco
(J. Nick Koston)
January 4, 2022, 7:17am
4
Both formats should work for setting rgb colors. The docs has a collapsed version for compactness.
Art
(Artur)
December 20, 2022, 5:51pm
5
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”.