List effects
list_effectsRetrieve predefined Twinkly effects with their unique IDs and count, plus the currently selected effect. Use the returned ID in set_effect to play an effect.
Instructions
List the predefined effects available on a Twinkly device (count + unique ids) and which effect is currently selected. Some firmware cannot report a numeric id for the current effect, in which case only currentEffectUniqueId is set. Use set_effect with an effect id to play one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Name of the target device (see list_devices). Omit to use the default device. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| device | Yes | ||
| effectIds | Yes | ||
| currentEffectId | Yes | ||
| currentEffectUniqueId | Yes |