Del via


LIFX

LIFX make Wi-Fi-enabled LED smart lighting. Deep colors, bright whites, and unique features, effects and integrations make for Smarter Light. Use this connector to control your LIFX.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Connector Metadata
Publisher Microsoft

To use this integration, you need to have a LIFX account and some LIFX lights. Follow steps below to get your API Key and Secret.

Create a LIFX Acount

  • Register for a LIFX Account, or register through the app.

You're now ready to start using this integration.

Advanced Features

This connector is based on the LIFX public API. The documentation for this is https://api.developer.lifx.com/

It may sometimes be necessary to enter custom values for the Lights or Color dropdown lists.

  • Selectors are advanced ways of addressing lights. If you would like to address in a way the dropdown list doesnt allow, you an enter a custom selector. This is particularly useful when addressing specific zones in a beam or z trip.
  • Colors can be specified in a range of formats when the dropdown list doesnt have the color you are looking for

Creating a connection

To connect your account, you will be prompted for the email and password of your LIFX account.

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Activate a scene

Activate a scene

Breathe effect by slowly fading between the given colors

Breathe effect by slowly fading between the given colors

Morph effect on Tiles

Morph effect on Tiles

Move current pattern across Beam or Z Strip

Move current pattern across Beam or Z Strip

Pulse effect by quickly flashing between the given colors

Pulse effect by quickly flashing between the given colors

Set different states on multiple sets of lights

Set different states on multiple sets of lights

Set state of the lights

Set state of the lights

Turn off any running effects on the device

Turn off any running effects on the device

Turn off lights if any of them are on, or turn them on if they are all off

Turn off lights if any of them are on, or turn them on if they are all off

Activate a scene

Activate a scene

Parameters

Name Key Required Type Description
Scene
Scene True string

The scene to activate

Duration
duration integer

Time in seconds to transition from current light state to the scene state

Returns

Breathe effect by slowly fading between the given colors

Breathe effect by slowly fading between the given colors

Parameters

Name Key Required Type Description
Lights
Lights True string

Light or group of lights to apply action to

Color
color True string

The color to use for the breathe effect

From Color
from_color string

The color to start the effect from

Period
period double

The time in seconds for one cycle of the effect.

Cycles
cycles double

The number of times to repeat the effect.

Persist
persist boolean

True leaves lights with last effect color.

Power On
power_on boolean

If true, turn the bulb on if it is not already on.

Peak
peak double

Defines where in a period the target color is at its maximum. Minimum 0.0, maximum 1.0.

Returns

Morph effect on Tiles

Morph effect on Tiles

Parameters

Name Key Required Type Description
Lights
Lights True string

Light or group of lights to apply action to

Period
period integer

How quickly the morph runs in seconds

Duration
duration integer

How long the animation lasts for in second

palette
palette array of string

Colors

Power On
power_on boolean

Switch light that is off to on before performing the effect

Returns

Move current pattern across Beam or Z Strip

Move current pattern across Beam or Z Strip

Parameters

Name Key Required Type Description
Lights
Lights True string

Light or group of lights to apply action to

Direction
direction string

Move direction, can be forward or backward.

Period
period double

The time in seconds for one cycle of the effect.

Cycles
cycles float

The number of times to move the pattern across the device

Power On
power_on boolean

Switch any selected device that is off to on before performing the effect

Returns

Pulse effect by quickly flashing between the given colors

Pulse effect by quickly flashing between the given colors

Parameters

Name Key Required Type Description
Lights
Lights True string

Light or group of lights to apply action to

Color
color True string

The color to use for the pulse effect

From Color
from_color string

The color to start the effect from

Period
period double

The time in seconds for one cycles of the effect.

Cycles
cycles double

The number of times to repeat the effect.

Persist
persist boolean

False sets the light back to its previous value when effect ends, if true leave the last effect color

Power On
power_on boolean

If true, turn the bulb on if it is not already on.

Returns

Set different states on multiple sets of lights

Set different states on multiple sets of lights

Parameters

Name Key Required Type Description
Lights
selector True string

Light or group of lights to apply action to

Power
power string

Turn lights on or off

Color
color string

The color to set the light to

Brightness
brightness double

The brightness level from 0.0 to 1.0. Overrides any brightness set in color (if any).

Duration
duration double

How long in seconds you want the power action to take

Infrared
infrared double

The maximum brightness of the infrared channel from 0.0 to 1.0

Power
power string

Turn lights on or off

Color
color string

The color to set the light to

Brightness
brightness double

The brightness level from 0.0 to 1.0. Overrides any brightness set in color (if any).

Duration
duration double

How long in seconds you want the power action to take

Infrared
infrared double

The maximum brightness of the infrared channel from 0.0 to 1.0

Returns

Set state of the lights

Set state of the lights

Parameters

Name Key Required Type Description
Lights
Lights True string

Light or group of lights to apply action to

Power
power string

Turn lights on or off

Color
color string

The color to set the light to

Brightness
brightness double

The brightness level from 0.0 to 1.0. Overrides any brightness set in color (if any).

Duration
duration double

How long in seconds you want the power action to take

Infrared
infrared double

The maximum brightness of the infrared channel from 0.0 to 1.0

Returns

Name Path Type Description
results
results array of object

results

id
results.id string

id

status
results.status string

status

label
results.label string

label

Turn off any running effects on the device

Turn off any running effects on the device

Parameters

Name Key Required Type Description
Light or group of lights to apply action to
Lights True string

Light or group of lights to apply action to

Power Off
power_off boolean

Turn the devices all off

Returns

Turn off lights if any of them are on, or turn them on if they are all off

Turn off lights if any of them are on, or turn them on if they are all off

Parameters

Name Key Required Type Description
Lights
Lights True string

Light or group of lights to apply action to

Duration
duration double

The time is seconds to spend performing the power toggle.

Returns