Skip to main content

MotionGet

Properties

NameTypeRequiredDescription
Type_stringType of the supported resources
IdstringUnique identifier representing a specific resource instance
IdV1stringClip v1 resource identifier
OwnerResourceIdentifier
Enabledboolture when the sensor is activated, false when deactivated
Motion_Motion
SensitivityMotionGetSensitivity

Motion

Properties

NameTypeRequiredDescription
Motion_boolDeprecated. Moved to motion_report/motion.
MotionValidboolDeprecated. Motion is valid when motion_report property is present, invalid when absent.
MotionReport_MotionReport

MotionReport

Properties

NameTypeRequiredDescription
Changedstringlast time the value of this property is changed
Motionbooltrue if motion is detected

MotionGetSensitivity

Properties

NameTypeRequiredDescription
StatusSensitivityStatus
SensitivitylongSensitivity of the sensor. Value in the range 0 to sensitivity_max
SensitivityMaxlongMaximum value of the sensitivity configuration attribute.

SensitivityStatus

Properties

NameTypeRequiredDescription
Setstring"set"
Changingstring"changing"

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →