Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions source/_components/binary_sensor.xiaomi_aqara.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,29 @@ The requirement is that you have setup the [`xiaomi aqara` component](/component
| Aqara Wireless Switch (Single) | 86sw1 | WXKG03LM | off (always) | `click` | `click_type` | `single` |
| Aqara Wireless Switch (Double) | 86sw2 | WXKG02LM | off (always) | `click` | `click_type` | `single`, `both` |
| Cube | cube | MFKZQ01LM | off (always) | `cube_action` | `action_type`, `action_value` (rotate) | `flip90`, `flip180`, `move`, `tap_twice`, `shake_air`, `swing`, `alert`, `free_fall`, `rotate` (degrees at action_value) |
| Aqara Intelligent Door Lock | lock.aq1 | ZNMS11LM | unsecu (Unlock failure), unlocked (Unlock success: fingerprint, password, card) | `motion` | | |


To use an Aqara Intelligent Door Lock in your installation, add the following to your `configuration.yaml` file:

```yaml
# Example configuration.yaml entry
# aqara
xiaomi_aqara:
gateways:
- mac: xxxxxxxxxxxxxx
key: xxxxxxxxxxxxxxxxxx
lockuids:
- uid: 65536
- uid: 65537
- uid: 196608
```

Configuration variables:

- **uid** (*Optional*): Your door lock user ID, eg. `65536`.
The user ID contains the ID type. The integer value obtained by dividing the user ID by 65536 is the ID type. The ID type value is: 1 fingerprint, 2 password, 3 proximity card, 5 check-in password.
uid can find in mihome app. so, can be configured through the user ID list in the mihome app.

### {% linkable_title Automation examples %}

Expand Down
1 change: 1 addition & 0 deletions source/_components/xiaomi_aqara.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ The `xiaomi_aqara` component allows you to integrate [Xiaomi](http://www.mi.com/

- Xiaomi Aqara Gateway (lumi.gateway.v2, lumi.gateway.v3)
- Aqara Air Conditioning Companion (lumi.acpartner.v3)
- Aqara Intelligent Door Lock (lock.aq1)
- Temperature and Humidity Sensor (1st and 2nd generation)
- Motion Sensor (1st and 2nd generation)
- Door and Window Sensor (1st and 2nd generation)
Expand Down