Hi,
I build an array of 100 leds in a hexagon shape. Now I want to create some Presets with individual leds to get shapes like a star or smaller hexagons via the API on the WebGUI.
I can control individual leds with this API code:
{
"on":true,
"bri":128,
"inputLevel":128,
"transition":7,
"mainseg":0,
"seg":
[
{"i":[32,[255,0,0], 36,[255,0,0], 40,[255,0,0], 78,[255,0,0], 80,[255,0,0], 82,[255,0,0]],
"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,
"fx":127,"sx":128,"ix":128,
"c1x":0,"c2x":0,"c3x":0,
"pal":0,"sel":true,"rev":false,"rev2D":false,"mi":false,"rot2D":false},
{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},
{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},
{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},
{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},
]
}
But when I do this, I can not use the Effects on this preset neither change the color via the WebGUI.
Also when I change the effect number in the code it seems to do nothing.
Is there a way to apply effects on this presets?
And is there a way to change the color of all individual assigned LEDs together via the API code or the WebGUI?
Many thanks for answers or links which would help me.