Skip to main content

Powerup

Feature containing properties to configure powerup behaviour of a lightsource.

Properties

NameTypeRequiredDescription
presetPowerupPreset2When 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.
onPowerupOn2
dimmingPowerupDimming2

PowerupPreset_2

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

Properties

NameTypeRequiredDescription
SAFETYstr"safety"
POWERFAILstr"powerfail"
LAST_ON_STATEstr"last_on_state"
CUSTOMstr"custom"

PowerupOn_2

Properties

NameTypeRequiredDescription
modeOnMode2State 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

OnMode_2

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
ONstr"on"
TOGGLEstr"toggle"
PREVIOUSstr"previous"

PowerupDimming_2

Properties

NameTypeRequiredDescription
modeDimmingMode2Dimming 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.
dimmingfloatBrightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
colorDimmingColor2

DimmingMode_2

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
DIMMINGstr"dimming"
PREVIOUSstr"previous"

DimmingColor_2

Properties

NameTypeRequiredDescription
modeColorMode2State 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.
color_temperatureColorColorTemperature2

ColorMode_2

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_TEMPERATUREstr"color_temperature"
COLORstr"color"
PREVIOUSstr"previous"

ColorColorTemperature_2

Properties

NameTypeRequiredDescription
mirekintcolor 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 →