Hi,
After implementing all of the functionality from the HTTP API in my app, I have a couple of suggestions/wishes/ideas for the documentation (https://api.developer.lifx.com) regarding some of the content, specifically the Effects section of the docs:
I suggest adding a new field to each of the “Effect” pages with specs on which LIFX models/types the effect works on. On a far note, I still haven’t found out which lights the “Flame” effect is designed for, but the following are just examples anyway
Example 1:
Flame Effect
Definition
https://api.lifx.com/v1/lights/:selector/effects/flame
Applies to
Parameters
…
Example 2:
Breathe Effect
Works on:
LIFX Color
LIFX White to warm
LIFX GU10 Color
Parameters
…
For instance, I spent hours debugging my app because I couldn’t get the “Morph” effect to work, and then (after almost pulling what’s left of my hair out) I realized it only runs on “Tiles”, although I can’t find a single product called “Tile” on the LIFX webshop.
It’s only mentioned once in the “Documentation” field:
"Performs a morph effect on the tiles in your selector. ".
To sum it up: I suggest adding a compability (“Works on/Applies to”…etc) field like in my example, so it will be clearer for the developer(s) what the options/parameters are, for every effect type.
Thanks.
Andreas