MotionGet
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| type_ | str | ❌ | Type of the supported resources |
| id_ | str | ❌ | Unique identifier representing a specific resource instance |
| id_v1 | str | ❌ | Clip v1 resource identifier |
| owner | ResourceIdentifier | ❌ | |
| enabled | bool | ❌ | ture when the sensor is activated, false when deactivated |
| motion | Motion | ❌ | |
| sensitivity | MotionGetSensitivity | ❌ |
Motion
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| motion | bool | ❌ | Deprecated. Moved to motion_report/motion. |
| motion_valid | bool | ❌ | Deprecated. Motion is valid when motion_report property is present, invalid when absent. |
| motion_report | MotionReport | ❌ |
MotionReport
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| changed | str | ❌ | last time the value of this property is changed |
| motion | bool | ❌ | true if motion is detected |
MotionGetSensitivity
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| status | SensitivityStatus | ❌ | |
| sensitivity | int | ❌ | Sensitivity of the sensor. Value in the range 0 to sensitivity_max |
| sensitivity_max | int | ❌ | Maximum value of the sensitivity configuration attribute. |
SensitivityStatus
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| SET | str | ✅ | "set" |
| CHANGING | str | ✅ | "changing" |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs