# Xiaomi Aqara Zigbee Switch DTH--help needed

**URL:** <https://community.smartthings.com/t/xiaomi-aqara-zigbee-switch-dth-help-needed/82072>\
**Category:** Writing Device Types\
**Tags:** zigbee, switch\
**Created:** [March 20, 2017, 2:54pm UTC](https://community.smartthings.com/t/xiaomi-aqara-zigbee-switch-dth-help-needed/82072 "2017-03-20T14:54:17Z")\
**Posts on this page:** 1\
**Showing post:** 72

<div class="post-metadata">

**Author:** ![simic](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@simic](https://community.smartthings.com/u/simic)\
**Post date:** [October 7, 2017, 4:55pm UTC](https://community.smartthings.com/t/xiaomi-aqara-zigbee-switch-dth-help-needed/82072/72 "2017-10-07T16:55:48Z")

</div>

I spent some time looking the 2 button aqara wireless button switch

To make sure we talking about the same thing. its WXKG02LM

I’m afraid there is no way to discriminate which button is pressed. This is because the ST backend parser pre-processes the catchall and only returns on/off:1 without the endpoint ID.

This effectively renders the 2 button version useless. Only the single button version can be used with ST platform, until they change their backend to return more info to the device handler.

 ![20170425155855_61165](https://global.discourse-cdn.com/smartthings/original/3X/1/2/120634288d8c7981980f85885d7110ad3bc3e062.jpg)

If you need a DTH with the wired switch version, to control dumb bulbs (with or without neutral), pls refer to the below link

> [@\[OBSOLETE\] Device Handler for Aqara Wired Wall Switch](https://community.smartthings.com/t/device-handler-for-aqara-wired-wall-switch/101062):
>
> \*\* This DTH is no longer supported \*\* Pls refer to [Device Handler for Aqara 2 Gang Wired Wall Switch no Neutral](https://community.smartthings.com/t/device-handler-for-aqara-2-gang-wired-wall-switch-no-neutral/182600) for the latest supported version. This is DTH for 86x86 Aqara Wired wall switch. It comes in 4 variants. Single Gang Neutral Required Dual Gang Neutral Required Single Gang Neutral NOT required Dual Gang Neutral NOT required Just to avoid confusion, this is what it looks like:

---

_[View the full topic](https://community.smartthings.com/t/xiaomi-aqara-zigbee-switch-dth-help-needed/82072)._
