Skip to main content

LightLevelGet

Properties

NameTypeRequiredDescription
type_strType of the supported resources
id_strUnique identifier representing a specific resource instance
id_v1strClip v1 resource identifier
ownerResourceIdentifier
enabledbooltrue when sensor is activated, false when deactivated
lightLight

Light

Properties

NameTypeRequiredDescription
light_levelintDeprecated. Moved to light_level_report/light_level
light_level_validboolDeprecated. Indication whether the value presented in light_level is valid
light_level_reportLightLevelReport

LightLevelReport

Properties

NameTypeRequiredDescription
changedstrlast time the value of this property is changed.
light_levelintLight level in 10000*log10(lux) +1 measured by sensor. Logarithmic scale used because the human eye adjusts to light levels and small changes at low lux levels are more noticeable than at high lux levels. This allows use of linear scale configuration sliders.

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →