Powerup
Feature containing properties to configure powerup behaviour of a lightsource.
Properties
Name | Type | Required | Description |
---|---|---|---|
preset | PowerupPreset2 | ❌ | When setting the custom preset the additional properties can be set. For all other presets, no other properties can be included. |
configured | boolean | ❌ | Indicates if the shown values have been configured in the lightsource. |
on | PowerupOn2 | ❌ | |
dimming | PowerupDimming2 | ❌ |
PowerupPreset2
When setting the custom preset the additional properties can be set. For all other presets, no other properties can be included.
Properties
Name | Type | Required | Description |
---|---|---|---|
safety | string | ✅ | "safety" |
powerfail | string | ✅ | "powerfail" |
last_on_state | string | ✅ | "last_on_state" |
custom | string | ✅ | "custom" |
PowerupOn2
Properties
Name | Type | Required | Description |
---|---|---|---|
mode | OnMode2 | ❌ | 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. |
on | On | ❌ |
OnMode2
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
Name | Type | Required | Description |
---|---|---|---|
on | string | ✅ | "on" |
toggle | string | ✅ | "toggle" |
previous | string | ✅ | "previous" |
PowerupDimming2
Properties
Name | Type | Required | Description |
---|---|---|---|
mode | DimmingMode2 | ❌ | 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. |
dimming | number | ❌ | Brightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness |
color | DimmingColor2 | ❌ |
DimmingMode2
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
Name | Type | Required | Description |
---|---|---|---|
dimming | string | ✅ | "dimming" |
previous | string | ✅ | "previous" |
DimmingColor2
Properties
Name | Type | Required | Description |
---|---|---|---|
mode | ColorMode2 | ❌ | 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. |
colorTemperature1 | ColorColorTemperature2 | ❌ |
ColorMode2
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
Name | Type | Required | Description |
---|---|---|---|
color_temperature | string | ✅ | "color_temperature" |
color | string | ✅ | "color" |
previous | string | ✅ | "previous" |
ColorColorTemperature2
Properties
Name | Type | Required | Description |
---|---|---|---|
mirek | number | ❌ | color temperature in mirek or null when the light color is not in the ct spectrum |
color | Color | ❌ |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs