How can I start a cyclic palette change?
In effects there is (FX=~), but in palettes how? It doesn’t work like that (PAL=~)
use json command for example. you need to specify which segment to change the palette ofr:
{“seg”:[{“id”:0,“pal”:“5~10~r”}]}
this will do a random palette between numbers 5 and 10
How do I choose the effects I need?
{“seg”:[{“id”:0,“fx”:“2,9,20,22,30,45~r”}]} it doesn’t work like that
{“seg”:[{“id”:0,“fx”:“26~30~”}]}
I don’t think you can pass a list, use a playlist for that.
{
"0": {},
"3": {
"seg": [{
"id": 0,
"pal": "6~71~r"
}
],
"n": "Fade"
},
"4": {
"seg": [{
"id": 0,
"fx": "26~30~r"
}
],
"n": "26-30"
},
"5": {
"seg": [{
"id": 0,
"fx": "50~60~r"
}
],
"n": "50-60"
},
"1": {
"playlist": {
"ps": [3, 0, 5],
"dur": [100, 200, 200],
"transition": [30, 30, 30],
"repeat": 0,
"end": 0,
"r": 1
},
"on": true,
"n": "AllRandomPlaylist"
}
}
not working 26-30
wled_presets (5).zip (380 Bytes)
I just put this in a preset:
{“seg”:[{“id”:0,“fx”:“26~30~r”}]}
and it works flawlessly. are you running the latest WLED?
I created a playlist and only effects 25, 50, 80 work
Only the first ones, and the rest do not
{"playlist":{"ps":[5,6,3,4],"dur":[300,300,100,300],"transition":[30,30,30,30],"repeat":0,"end":0,"r":1},"on":true}
{“0”:{} ,“2”:{“win”:“FX=~”,“n”:“Colorful”},“3”:{“seg”:[{“id”:0,“pal”:“6~71~r”}],“n”:“Fade”},“4”:{“seg”:[{“id”:0,“fx”:“25~30~r”}],“n”:“25-30”},“5”:{“seg”:[{“id”:0,“fx”:“50~60~r”}],“n”:“50-60”},“6”:{“seg”:[{“id”:0,“fx”:“80~100~r”}],“n”:“80-100”} ,“1”:{“playlist”:{“ps”:[5,6,3,4],“dur”:[300,300,100,300],“transition”:[30,30,30,30],“repeat”:0,“end”:0,“r”:1},“on”:true,“n”:“AllRandomPlaylist”} }
My goal is to make a playlist so that:
for example
set the effect {“seg”:[{“id”:0,“fx”:28}]} {“seg”:[{“id”:0,“fx”:102}]} {“seg”:[{“id”:0,“fx”:112}]} for 60 seconds and with this effect the palette {“seg”:[{“id”:0,“pal”:“6~71~r”}]} changes every 10 seconds
so you need to set your playlist to 10 seconds and trigger a preset that sets both, you cannot have two different timings in a playlist.
I don’t know if it’s right or not, but I did it this way.
wled_presets_Christmas (2).zip (730 Bytes)