Skip to main content

LightGet

Properties

NameTypeRequiredDescription
type_stringType of the supported resources
idstringUnique identifier representing a specific resource instance
idV1stringClip v1 resource identifier
ownerResourceIdentifier
metadataLightGetMetadataDeprecated, use metadata on device level
onOn
dimmingLightGetDimming
colorTemperatureLightGetColorTemperature
colorLightGetColor
dynamicsLightGetDynamics
alertanyTODO
signalingLightGetSignalingFeature containing signaling properties.
modeLightGetMode
gradientLightGetGradient
effectsLightGetEffectsBasic feature containing effect properties.
timedEffectsLightGetTimedEffectsBasic feature containing timed effect properties.
powerupLightGetPowerupFeature containing properties to configure powerup behaviour of a lightsource.

LightGetMetadata

Deprecated, use metadata on device level

Properties

NameTypeRequiredDescription
namestringHuman readable name of a resource
archetypeLightArchetypeLight archetype
fixedMirednumberA fixed mired value of the white lamp

LightGetDimming

Properties

NameTypeRequiredDescription
brightnessnumberBrightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
minDimLevelnumberPercentage of the maximum lumen the device outputs on minimum brightness

LightGetColorTemperature

Properties

NameTypeRequiredDescription
mireknumbercolor temperature in mirek or null when the light color is not in the ct spectrum
mirekValidbooleanIndication whether the value presented in mirek is valid
mirekSchemaMirekSchema

MirekSchema

Properties

NameTypeRequiredDescription
mirekMinimumnumberminimum color temperature this light supports
mirekMaximumnumbermaximum color temperature this light supports

LightGetColor

Properties

NameTypeRequiredDescription
xyGamutPositionCIE XY gamut position
gamutGamutColor gamut of color bulb. Some bulbs do not properly return the Gamut information. In this case this is not present.
gamutTypeGamutTypeThe gammut types supported by hue – A Gamut of early Philips color-only products – B Limited gamut of first Hue color products – C Richer color gamut of Hue white and color ambiance products – other Color gamut of non-hue products with non-hue gamuts resp w/o gamut

Gamut

Color gamut of color bulb. Some bulbs do not properly return the Gamut information. In this case this is not present.

Properties

NameTypeRequiredDescription
redGamutPositionCIE XY gamut position
greenGamutPositionCIE XY gamut position
blueGamutPositionCIE XY gamut position

GamutType

The gammut types supported by hue – A Gamut of early Philips color-only products – B Limited gamut of first Hue color products – C Richer color gamut of Hue white and color ambiance products – other Color gamut of non-hue products with non-hue gamuts resp w/o gamut

Properties

NameTypeRequiredDescription
Astring"A"
Bstring"B"
Cstring"C"
otherstring"other"

LightGetDynamics

Properties

NameTypeRequiredDescription
statusSupportedDynamicStatusCurrent status of the lamp with dynamics.
statusValuesSupportedDynamicStatus[]Statuses in which a lamp could be when playing dynamics.
speednumberspeed of dynamic palette or effect. The speed is valid for the dynamic palette if the status is dynamic_palette or for the corresponding effect listed in status. In case of status none, the speed is not valid
speedValidbooleanIndicates whether the value presented in speed is valid

LightGetSignaling

Feature containing signaling properties.

Properties

NameTypeRequiredDescription
signalValuesSupportedSignals[]
estimatedEndnumberTimestamp indicating when the active signal is expected to end. Value is not set if there is no_signal
colorsColor[]Colors that were provided for the active effect.

LightGetMode

Properties

NameTypeRequiredDescription
normalstring"normal"
streamingstring"streaming"

LightGetGradient

Properties

NameTypeRequiredDescription
pointsColor[]Collection of gradients points. For control of the gradient points through a PUT a minimum of 2 points need to be provided.
modeSupportedGradientModeMode in which the points are currently being deployed. If not provided during PUT/POST it will be defaulted to interpolated_palette
pointsCapablenumberNumber of color points that gradient lamp is capable of showing with gradience.
modeValuesSupportedGradientMode[]Modes a gradient device can deploy the gradient palette of colors
pixelCountnumberNumber of pixels in the device

LightGetEffects

Basic feature containing effect properties.

Properties

NameTypeRequiredDescription
statusSupportedEffects
statusValuesSupportedEffects[]Possible status values in which a light could be when playing an effect.
effectSupportedEffects
effectValuesSupportedEffects[]Possible status values in which a light could be when playing an effect.

LightGetTimedEffects

Basic feature containing timed effect properties.

Properties

NameTypeRequiredDescription
effectSupportedTimedEffectsCurrent status values the light is in regarding timed effects
effectValuesSupportedTimedEffects[]Possible timed effect values you can set in a light
statusSupportedTimedEffectsCurrent status values the light is in regarding timed effects
statusValuesSupportedTimedEffects[]Possible status values in which a light could be when playing a timed effect.
durationnumberDuration is mandatory when timed effect is set except for no_effect. Resolution decreases for a larger duration. e.g Effects with duration smaller than a minute will be rounded to a resolution of 1s, while effects with duration larger than an hour will be arounded up to a resolution of 300s. Duration has a max of 21600000 ms.

LightGetPowerup

Feature containing properties to configure powerup behaviour of a lightsource.

Properties

NameTypeRequiredDescription
presetPowerupPreset1When setting the custom preset the additional properties can be set. For all other presets, no other properties can be included.
configuredbooleanIndicates if the shown values have been configured in the lightsource.
on1PowerupOn1
dimmingPowerupDimming1

PowerupPreset1

When setting the custom preset the additional properties can be set. For all other presets, no other properties can be included.

Properties

NameTypeRequiredDescription
safetystring"safety"
powerfailstring"powerfail"
last_on_statestring"last_on_state"
customstring"custom"

PowerupOn1

Properties

NameTypeRequiredDescription
modeOnMode1State to activate after powerup. On will use the value specified in the “on” property. When setting mode “on”, the on property must be included. Toggle will alternate between on and off on each subsequent power toggle. Previous will return to the state it was in before powering off.
on1On

OnMode1

State to activate after powerup. On will use the value specified in the “on” property. When setting mode “on”, the on property must be included. Toggle will alternate between on and off on each subsequent power toggle. Previous will return to the state it was in before powering off.

Properties

NameTypeRequiredDescription
onstring"on"
togglestring"toggle"
previousstring"previous"

PowerupDimming1

Properties

NameTypeRequiredDescription
modeDimmingMode1Dimming will set the brightness to the specified value after power up. When setting mode “dimming”, the dimming property must be included. Previous will set brightness to the state it was in before powering off.
dimmingDimming
color1DimmingColor1

DimmingMode1

Dimming will set the brightness to the specified value after power up. When setting mode “dimming”, the dimming property must be included. Previous will set brightness to the state it was in before powering off.

Properties

NameTypeRequiredDescription
dimmingstring"dimming"
previousstring"previous"

DimmingColor1

Properties

NameTypeRequiredDescription
modeColorMode1State to activate after powerup. Availability of “color_temperature” and “color” modes depend on the capabilities of the lamp. Colortemperature will set the colortemperature to the specified value after power up. When setting color_temperature, the color_temperature property must be included Color will set the color tot he specified value after power up. When setting color mode, the color property must be included Previous will set color to the state it was in before powering off.
colorTemperatureColorColorTemperature1

ColorMode1

State to activate after powerup. Availability of “color_temperature” and “color” modes depend on the capabilities of the lamp. Colortemperature will set the colortemperature to the specified value after power up. When setting color_temperature, the color_temperature property must be included Color will set the color tot he specified value after power up. When setting color mode, the color property must be included Previous will set color to the state it was in before powering off.

Properties

NameTypeRequiredDescription
color_temperaturestring"color_temperature"
colorstring"color"
previousstring"previous"

ColorColorTemperature1

Properties

NameTypeRequiredDescription
mireknumbercolor temperature in mirek or null when the light color is not in the ct spectrum
color1Color

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →