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
AlertobjectTODO
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
FixedMiredlongA fixed mired value of the white lamp

LightGetDimming

Properties

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

LightGetColorTemperature

Properties

NameTypeRequiredDescription
Mireklongcolor temperature in mirek or null when the light color is not in the ct spectrum
MirekValidboolIndication whether the value presented in mirek is valid
MirekSchema_MirekSchema

MirekSchema

Properties

NameTypeRequiredDescription
MirekMinimumlongminimum color temperature this light supports
MirekMaximumlongmaximum color temperature this light supports

LightGetColor

Properties

NameTypeRequiredDescription
XyGamutPositionCIE XY gamut position
Gamut_GamutColor gamut of color bulb. Some bulbs do not properly return the Gamut information. In this case this is not present.
GamutType_GamutTypeThe 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.
StatusValuesList<SupportedDynamicStatus>Statuses in which a lamp could be when playing dynamics.
Speeddoublespeed 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
SpeedValidboolIndicates whether the value presented in speed is valid

LightGetSignaling

Feature containing signaling properties.

Properties

NameTypeRequiredDescription
SignalValuesList<SupportedSignals>
EstimatedEndlongTimestamp indicating when the active signal is expected to end. Value is not set if there is no_signal
ColorsList<Color>Colors that were provided for the active effect.

LightGetMode

Properties

NameTypeRequiredDescription
Normalstring"normal"
Streamingstring"streaming"

LightGetGradient

Properties

NameTypeRequiredDescription
PointsList<Color>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
PointsCapablelongNumber of color points that gradient lamp is capable of showing with gradience.
ModeValuesList<SupportedGradientMode>Modes a gradient device can deploy the gradient palette of colors
PixelCountlongNumber of pixels in the device

LightGetEffects

Basic feature containing effect properties.

Properties

NameTypeRequiredDescription
StatusSupportedEffects
StatusValuesList<SupportedEffects>Possible status values in which a light could be when playing an effect.
EffectSupportedEffects
EffectValuesList<SupportedEffects>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
EffectValuesList<SupportedTimedEffects>Possible timed effect values you can set in a light
StatusSupportedTimedEffectsCurrent status values the light is in regarding timed effects
StatusValuesList<SupportedTimedEffects>Possible status values in which a light could be when playing a timed effect.
DurationlongDuration 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.
ConfiguredboolIndicates if the shown values have been configured in the lightsource.
OnPowerupOn1
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"
LastOnStatestring"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.
OnOn

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
ColorDimmingColor1

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
ColorTemperaturestring"color_temperature"
Colorstring"color"
Previousstring"previous"

ColorColorTemperature1

Properties

NameTypeRequiredDescription
Mireklongcolor temperature in mirek or null when the light color is not in the ct spectrum
ColorColor

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →