forked from patrickjahns/esp_rgbww_firmware
-
Notifications
You must be signed in to change notification settings - Fork 6
Requeue Flag
verybadsoldier edited this page Jul 18, 2019
·
1 revision
There is a special flag called requeue
which can be assigned to animations. When an animation flagged by requeue
finishes then it will immediately re-added to the back of the queue resulting in a looped animation queue. There can be several queue entries flagged with requeue
which will result in different animations being looped.
In the JSON message a parameter named r
is used to indicate a color command meant for requeueing.
Example:
{
"hsv":{"ct":2700,"h":"+40"},
"t":2000,
"cmd":"fade",
"r":"true"
}