Aqara Vibration Sensor DJT11LM¶
This documentation was generated from: aq1_vibration_sensor.json
Attribute | Value |
---|---|
status | Bronze |
product | Aqara Vibration Sensor DJT11LM |
modelid | lumi.vibration.aq1 |
manufacturername | LUMI |
1. ZHAVibration¶
Endpoint: /sensors
Top level attributes¶
Attribute | Datatype | Description | Access |
---|---|---|---|
id | String | Identifier of the resource, unique within an endpoint. | R |
lastannounced | ISO 8601 timestamp | Timestamp of the last power-cyle or rejoin. | R |
lastseen | ISO 8601 timestamp | Timestamp of the last communication. | R |
manufacturername | String | "LUMI" | R |
modelid | String | "lumi.vibration.aq1" | R |
name | String | Name of the resource. | RW |
swversion | String | Firmware version of the device. | R |
type | String | "ZHAVibration" | R |
uniqueid | String | Unique identifier of the resource. | R |
swversion | String | Firmware version of the device. | R |
type | String | "ZHAVibration" | R |
uniqueid | String | Unique identifier of the resource. | R |
Config attributes¶
Attribute | Datatype | Description | Access |
---|---|---|---|
on | Bool | When true the sensor is enabled in rules. Default: true |
RW |
reachable | Bool | When true the device is assumed to be operational. | R |
pending | Array | Pending tasks to configure the device. | R |
battery | UInt8 | The current device battery level in 0–100 %. Default: 0 |
R |
temperature | UInt8 | The current device temperature in °C. | R |
sensitivity | UInt8 | The sensor sensitivity. Default: 1
|
RW |
sensitivitymax | UInt8 | The maximum sensor sensitivity. Default: 21 |
R |
State attributes¶
Attribute | Datatype | Description | Access |
---|---|---|---|
orientation | Array[3] | The orientation in degrees [X, Y, Z]. Where X, Y, Z can be in range -90–90. |
R |
tiltangle | UInt16 | The current tilt angle. Default: 0 |
R |
vibration | Bool | True when vibration is detected. Default: false |
R |
vibrationstrength | UInt16 | The strength of the detected vibration. Default: 0 |
R |
lastupdated | ISO 8601 timestamp | Timestamp when state was last updated. | R |
Example output¶
{
"config": {
"battery": 95,
"on": true,
"pending": [],
"reachable": true,
"sensitivity": 1,
"sensitivitymax": 21,
"temperature": 2800
},
"lastseen": "2020-12-29T22:03Z",
"manufacturername": "LUMI",
"modelid": "lumi.vibration.aq1",
"name": "Vibration Sensor",
"state": {
"lastupdated": "2020-12-29T22:02:50.534",
"orientation": [
81,
1,
9
],
"tiltangle": 84,
"vibration": false,
"vibrationstrength": 11
},
"swversion": "20180130",
"type": "ZHAVibration",
"uniqueid": "00:15:8d:00:02:af:95:f9-01-0101"
}
Known Issues¶
Sticky Parents¶
Almost all Xiaomi end-devices stick to their parent after pairing. The parent is the device which repeats the signal, it can be a router or the coordinator.
Once a parent is cut from power or otherwise lost, the end-device won’t automatically search for a new parent and appears to be offline.
→ Best practice for pairing is therefore to pair the device at the place where it’s gonna be installed to force it to select a good parent. It’s also advisable to power off all routers which aren’t powered all the time, so that they aren’t considered as parent when pairing.