# Xiaomi Devices ( aqara zigbee switch ) with ST v3?

**URL:** <https://community.smartthings.com/t/xiaomi-devices-aqara-zigbee-switch-with-st-v3/141343>\
**Category:** Devices & Integrations\
**Created:** [November 5, 2018, 4:59am UTC](https://community.smartthings.com/t/xiaomi-devices-aqara-zigbee-switch-with-st-v3/141343 "2018-11-05T04:59:28Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Raghav\_Gupta](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/raghav_gupta/32/86417_2.png) [@Raghav\_Gupta](https://community.smartthings.com/u/Raghav_Gupta)\
**Post date:** [November 14, 2018, 1:48pm UTC](https://community.smartthings.com/t/xiaomi-devices-aqara-zigbee-switch-with-st-v3/141343/5 "2018-11-14T13:48:40Z")

</div>

> [@veeceeoh](#):
>
> WXKG02LM

I found out another post with the DTH, for the two buttons. Any thoughts on this ?

> [@\[OBSOLETE\] Device Handler for Aqara Wired Wall Switch](https://community.smartthings.com/t/device-handler-for-aqara-wired-wall-switch/101062/2):
>
> Step 1: Pairing. Like most Aqara stuff, you need to extract the zigbee ID from the Hub catchall From the example below, the zigbee ID you need is A8B2. catchall: 0104 0000 01 01 0100 00 A8B2 00 04 115F 0A 01 01FF42296410016510006E20016F20000121E40C0328 Step 2: Assign the Aqara DTH to the newly created device Step 3: Tie the 2nd input to a virtual switch handler. You can reuse the smartapp from my kudled DTH post Note: The state of the buttons for the 2 gang switch will NEVER be able to be in sync. This is because smartthings masks the endpoint end when it returns the on/off status. Hence the DH will never know the on/off returned is for which button. But you can certainly use it to explicitly send ON or OFF commands in conjunction with smartapps or other automations.

---

_[View the full topic](https://community.smartthings.com/t/xiaomi-devices-aqara-zigbee-switch-with-st-v3/141343)._
