[OBSOLETE] Original & Aqara Xiaomi Zigbee Sensors (contact, temp, motion, button, outlet, leak, etc)

I just wanted to let you know that I am working on changing the virtual app tile button behavior in the Xiaomi Button WXKG01LM device handler to match the other button device handlers.

All three device handlers will display “App Pressed” in the main tile when the virtual button is pressed in the SmartThings “Classic” mobile app, and generate a button 1 pushed event.

ALSO, the update to all three device handlers will allow the virtual button to be pressed as often as liked, with no need to wait for the display to clear to “Released”.

AND, the method for the timer to automatically clear the app tile display to “Released” will be changed to function that hopefully fixes the issues you’ve experienced with it taking 15-30 seconds to clear to “Released”.

It’s really important to understand that for physical button interactions the tile display is only giving the user visual feedback. Many button device handlers don’t show anything in the mobile app tile display when the button is pressed, but these Xiaomi / Aqara device handlers include a mechanism to give visual feedback which is completely separate from the events that are generated for different physical button interactions.

So even if the UI tile display isn’t working 100% due to cloud execution timing issues, the events to use for automations will still work as expected.



Please see my explanation above. The SmartThings “Classic” mobile app tile display for different types of button actions is separate from the generation of events. Some users have been reporting issues with the tile display, and I suspect it is related to the code being run “in the cloud.” The most important thing is that the events will still work as expected, based on all my testing.

I am currently working on an update to all the button device handlers which should hopefully help reduce or eliminate the issues with the button status tile display.



There are a number of reasons why this could be happening. To help troubleshoot, I have some questions:

  • How far is the problematic door/window sensor from your SmartThings Hub?
  • How many ZigBee devices are connected to your hub?
  • Are you using any ZigBee devices which are mains-powered, not battery-powered (i.e., ZigBee devices that plug into the wall)?


No. That is a Wi-Fi device, so there won’t be any device handlers released in this thread, which only focuses on Xiaomi / Aqara ZigBee devices. There is only one solution I know of which allows use of Xiaomi / Aqara WiFi devices with SmartThings, called Mi Connector.



I this same question elsewhere in your own thread and also the FAQ on ZigBee direct connection thread, and the best answer I can give is the same as you got on that thread:

SmartThings v2 and v3 hubs have a limit of 32 ZigBee end devices, and very likely the v1 hub is the same. The only way to get past that limit is to use ZigBee routers (also known as "repeaters) which are most mains-powered ZigBee devices (except some ZigBee bulbs).

Unfortunately, the vast majority of ZigBee router devices are incompatible with Xiaomi / Aqara devices, either resulting in them dropping off the network or messages not getting passed on to the hub. However, IKEA sells a Trådfri Smart Outlet which has been confirmed to work just fine with Xiaomi / Aqara devices. In fact I use one myself, with no issues. That said, to my knowledge, nobody with a v1 hub has tried using a Trådfri Smart Outlet with Xiaomi / Aqara devices, so I can’t make any promises!



I have seen that DTH and plan to examine how it parses the temperature report data to improve the DTH available in the GitHub/bspranger/Xiaomi DTH collection.