Hi, new to WLED, just got lights and everything installed a few weeks ago. I’ve been looking around the documentation, but so far I’m not finding what I need. I have the below simple API call. It’s on FX 35, the “traffic light” effect, and I have somewhat modified the code already for grouping and spacing. What I can’t figure out is, why the colors I have selected aren’t all applying when I save the code? I have selected basic red, white, and green, but the lights switch between red, YELLOW, and green. How do I modify this? Is it preset in the “FX” setting to always choose yellow? I am alspo modding other effects, and having the same issue–the colors don’t seem to be applying the way I want.
{“on”:true,“bri”:65,“transition”:7,“mainseg”:0,“seg”:[{“id”:0,“start”:0,“stop”:1343,“grp”:1,“spc”:3,“of”:0,“on”:true,“frz”:false,“bri”:255,“cct”:127,“set”:0,“col”:[[255,0,0],[0,255,0],[255,255,255]],“fx”:35,“sx”:128,“ix”:128,“pal”:0,“c1”:128,“c2”:128,“c3”:16,“sel”:true,“rev”:false,“mi”:false,“o1”:false,“o2”:false,“o3”:false,“si”:0,“m12”: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},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0}]}
Second scenario, let’s say I want to keep it simpler, and just want a Solid effect of Red, Green, and White. How would I modify this “Solid” preset effect?
{“on”:true,“bri”:65,“transition”:7,“mainseg”:0,“seg”:[{“id”:0,“start”:0,“stop”:1343,“grp”:2,“spc”:0,“of”:0,“on”:true,“frz”:false,“bri”:255,“cct”:127,“set”:0,“col”:[[187,0,255],[0,0,255],[255,255,255]],“fx”:0,“sx”:128,“ix”:128,“pal”:0,“c1”:128,“c2”:128,“c3”:16,“sel”:true,“rev”:false,“mi”:false,“o1”:false,“o2”:false,“o3”:false,“si”:0,“m12”: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},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0},{“stop”:0}]}
Any explanations you can give on how to make these work the way I want, would be appreciated. I’m a developer by trade, so I get how this code should work, I just don’t see why it isn’t working–seems like it should be pretty self-explanatory