How to make simple loop transitions for several panels at once

Started by tobias33

tobias33

Hi,
I got the aurora light panels and made it work with postman that I can set different colors for specific panelIds based on
{
"write": {
"command": "display",
"animType": "custom",
"animData": "1 20 1 255 0 0 0 1 1",
"loop": false
}
}

Could you tell me, when I want to implement a basic effect, like transitioning from white to red to white every 1s for let's say for only panelId 1 or as separate request panelIds 1, 2 and 3.

How would I do that?

I am stuck and help would be highly appreciated.
Thank you

Tobias

tobias33

For people also trying to figuring out this (the docs under 3.4.2 are not clear imo), through another post I got static and loop effects working:

explanation for statics
{
"write": {
"command": "display",
"animType": "static",
"animData": "2 113 1 0 100 0 0 1 234 1 0 100 0 0 1",
"loop": false
}
}
animType": "static" !
animData: 2 > number of panels which will be targeted
COLOR DEFINITION PANEL I
113 > panelId
1 > number of frames > fixed to 1 because static
0 100 0 > rgb
0 1 > fixed for static > 1 frame each color
COLOR DEFINITION PANEL II
234 > panelId
1 > number of frames > fixed to 1 because static
0 100 0 > rgb
0 1 > fixed for static > 1 frame each color

explanation for loops
{
"write": {
"command": "display",
"version": "1.0",
"animType": "custom",
"animData": "2 5 2 0 255 0 0 15 0 255 0 0 1 37 2 255 0 0 0 15 0 255 0 0 1",
"loop": true
}
}
animData: 2 > number of panels which will be targeted
FRAME DEFINITION I
5 > panelId
2 > how many following frame definitions will follow
255 255 255 > rgb
0 > ? set always 0
15 > number of frames for this color
FRAME DEFINITION II
0 255 0 > rgb
0 1 > 0 is fixed (see above) 1 > number of frames for this color
NEXT PANEL DEFINITION
FRAME DEFINITION I
37 > panelId
2 > how many following frame definitions will follow