In this guide

Set Light Color

Set Light Color using the selected light.

Action referenceChange

What this action does #

First, connect Philips Hue in Services. Then open Actions → + → Philips Hue and choose Set Light Color.

What a run does

Running or testing this action changes something in your connected service.

More about this action

Feature support depends on the resource, not its model number. Read its details first. Brightness 0 means minimum brightness, not off. Transition duration is milliseconds. Hue recommends no more than 10 light commands per second or 1 group command per second. Partial updates can affect devices even when Hue reports an error.

Inputs to fill in #

Open an input to choose its value. Keep a fixed value with Text, receive it from Shortcuts, ask when the action runs, or use an Earlier Step. Read how input sources work.

Light

RequiredText

Choose the named v2 resource. V1 numeric IDs cannot be used here.

This input offers a picker for light from your connected account. You can also supply its value directly.

Example value (replace with your own):
fc2daa74-0d44-4712-a373-e39a9c2b426d

Color X

RequiredNumber

Supply a number value for this input.

Minimum: 0

Maximum: 1

Color Y

RequiredNumber

Supply a number value for this input.

Minimum: 0

Maximum: 1

Transition (ms)

OptionalWhole number

Duration in milliseconds.

Minimum: 0

What comes back #

In the action editor, open Output → Returned Value to choose fields for your shortcut. These are the response fields described by the app; a service may omit an optional field or return an empty list. JSON File contains the full response.

Returned fieldTypeMeaning
errorsarrayA list of values.
errors[].descriptionstringText value.
errors[].error_codestringText value.
dataarrayA list of values.
data[].ridstringText value.
data[].rtypestringText value.

Run it from Shortcuts #

  1. Give the action a recognizable name and tap Save.
  2. In Apple Shortcuts, add Shortcutify’s Execute Action and select the saved action.
  3. Supply any Param or File slots you bound in the inputs, then run the shortcut.

If the result is unexpected, open Logs in Shortcutify, select the run, and inspect this step’s inputs and response.

Advanced reference #

Request, permissions, and identifiers

Request: PUT https://api.meethue.com/route/clip/v2/resource/light/{id}

Action identifier: philips-hue.light.color.v1

No additional per-action permissions are declared in the app’s catalog. The integration’s connection and account access rules still apply.

InputRequest keyLocation
Lightidpath
Color Xcolor.xy.xbody
Color Ycolor.xy.ybody
Transition (ms)dynamics.durationbody

Philips Hue API reference