Skip to main content

LightLevelGet

Properties

NameTypeRequiredDescription
type_stringType of the supported resources
idstringUnique identifier representing a specific resource instance
idV1stringClip v1 resource identifier
ownerResourceIdentifier
enabledbooleantrue when sensor is activated, false when deactivated
lightLight

Light

Properties

NameTypeRequiredDescription
lightLevelnumberDeprecated. Moved to light_level_report/light_level
lightLevelValidbooleanDeprecated. Indication whether the value presented in light_level is valid
lightLevelReportLightLevelReport

LightLevelReport

Properties

NameTypeRequiredDescription
changedstringlast time the value of this property is changed.
lightLevelnumberLight 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 →