[BETA UPDATE] Xiaomi Aqara Vibration Sensor (Model DJR11LM) SmartThings DTH v0.91b
It turns out I forgot to include an important line of code to correctly initialize the sensitivity level to low when the sensor is paired which results in that UI tile displaying “–” and not changing the level when pressed. This is now fixed, and all users are highly recommended to update to this new DTH code.
The new DTH code can be grabbed from here.
- UI Refresh code now correctly initializes and displays the sensitivity level at low when the sensor is paired, or if not initialized at pairing, when the user saves preferences or presses the refresh UI tile button
- Added initialization of a “blank” battery UI tile at pairing (or when preferences are saved / refresh UI tile button is pressed). Like with all Xiaomi devices, the battery tile will only display a percentage after the first battery voltage report is sent by the sensor, usually 1 or 2 hours after pairing.
No, there is not. In my experience with these vibration sensors, a lot of patience is required.
Here’s what you should try doing:
- Update the DTH code with my new version (see above link)
- Do not manually add the sensor in IDE - make sure to use the “Add a Thing” method in the SmartThings Classic mobile app.
- Once the mobile app is in “Add a Thing” mode, press and hold the reset/pairing button on the vibration sensor. The LED will stay on, and then when it blinks a couple times, release the reset/button.
- Watch for the LED to blink again. One long flash means pairing was unsuccessful, and a series of short flashes means successful pairing.
- Either way - successful or not - you need to short press the reset/pairing button, wait for the LED to flash after that (open long or multiple short flashes), and then short press again, etc.
- After you’ve seen the multiple short flashes in response and continued to short-press the reset/pairing button, it could take up to a minute or even more for the sensor to finally appear in the SmartThings mobile app ready to rename.
If this doesn’t make sense, I can take a video of the process tonight and then upload it to YouTube. What I’ve described above is actually the same for most Xiaomi Zigbee-based devices - just that these vibration sensors seem to take a little longer to complete the pairing process.