LIFX Lights

Control LIFX lights using their API.

List the status of all lights

Gets all lights. Properties such as id, label, group and location can be used in selectors. Most endpoints accept selectors when performing actions.

List the status of selected lights

Gets lights belonging to the account. Filter the lights using selectors. Properties such as id, label, group and location can be used in selectors. Most endpoints accept selectors when performing actions.

Set lights state

Sets the state of the lights within the selector. All parameters (except for the selector) are optional. If you don’t supply a parameter, the API will leave that value untouched.

Toggle lights power state.

Turn off lights if any of them are on, or turn them on if they are all off. All lights matched by the selector will share the same power state after this action. Physically powered off lights are ignored.

Perform a breathe effect on lights

Performs a breathe effect by slowly fading between the given colors. Use the parameters to tweak the effect.

Perform a pulse effect on lights

Performs a pulse effect by quickly flashing between the given colors.

Top of the page

Try before you buy

Free Trial

Learn how it works

Request Demo

Set up for success

Success Programs
Graph