Hey @veeceeoh
Thanks for answer. Have you already added the code into your device handler:
or some other one ?
In this one all the code refering to hold action is commented out.
Hey @veeceeoh
Thanks for answer. Have you already added the code into your device handler:
or some other one ?
In this one all the code refering to hold action is commented out.
Sorry, thatâs not my device handler.
The updated Aqara Button DTH which supports the new WXG12LM model is part of the bspranger/Xiaomi GitHub repository.
Please see this SmartThings forum thread for discussion of the bspranger collection of Xiaomi device handlers, and my announcement of the updated Aqara Button DTH is here.
Hi,
Iâve done some google searches, but found nothing definite.
Does anyone know if the xiaomi mijia (round) switches work well with any of the current DTHs?
I already have a number of the more rounded door sensors working with the a4refillpad dth, but I donât want to go out and buy several of these to find they donât work.
Additional question: do they also support double-click? and hold?
TIA
For almost all Xiaomi devices, the newest DTHs are available from the GitHub/bspranger repository. Here is the SmartThings Community Forum thread for the discussion about this collection of DTHs:
I would also recommend switching to the Door/Window sensor DTH from the bspranger collection because the battery reporting does not work correctly with the a4refillpad DTHâŠ
Unfortunately, due to the way certain Zigbee messages are parsed by SmartThings, the multi-click functionality of the round Xiaomi button is not supported. The hold function is supported, however. For detailed information about the latest version of the round Xiaomi button DTH, see my post here.
I have the square Aqara button and Iâm using version 1.3 of Terkâs DH. I was using it to control my outside downlights however it appears that after one day, the button doesnât work. I can manually press âPushâ on the app which seems to work however physically pressing the button doesnât do anything at all. âMy Devicesâ shows the button as being âActiveâ.
any suggestions?
Usually I have to add Xiaomi devices once leave them connected for over an hour and they stop responding like you are seeing then remove it from the system and re-add them, they usually stay connected after that.
The button I have doesnât respond to a physical button push anymore however it does respond when I âpressâ it in the app. Does that still mean itâs dropped off as such? Or is there something else going on? Thatâs the second time itâs done this now. And itâs the second time my motion sensor has dropped off.
Iâve also changed my WiFi channel of the router to be as far away as possible from my Zigbee channel.
It sounds like they are both disconnected from ST. Xiaomi devices donât conform strictly to the standards so ST will likely never support them on their own and I wouldnât expect them to be as reliable as all the other zigbee devices although maybe try replacing your battery.
I just managed to pair the WXKG11LM type button - but it only shows up as âthingâ and âunknownâ so it does not work. I have used this DH: https://github.com/bspranger/Xiaomi. Is there another DH to use or does anyone know what could be wrong? Thanks for any advice
Try the DH at the top of this page, youâd want to unpair and repair it or just assign it via the IDE.
There is a new revision of the WXKG11LM Aqara Button, and I have published a new beta device handler which adds support for it. You may have one of the new WXKG11LM buttons, so you should try this beta DH.
The download link is different from the current release version. Please see my post here for more information and the beta DH download link:
Thank you. But still no luck here. Shows up as thing. But I have ordered the â12â version and hope that will work better. Also the button states it have will make it very flexible and the cost is low.
Did you try logging into the IDE and change the device type of the newly paired device to use the custom device handler?
Super! Working now - thanks a lot!
Cannot get it to work then you post 4 gearbest links. Really?
The new firmware includes changes that âbreakâ some functionality in the previous device handlers, but also allows for much improved functionality.
In order to fix the issues and add improved functionality, I have updated all Xiaomi / Aqara Button device handlers (DTHs). All SmartThings v2 & v3 Hub users are encouraged update to the newest DTHs immediately.
The code of these updated and improved device handlers is open source and free.
But if it has helped you, a coffee / beer donation is always very much appreciated!
PayPal: Venmo: @KeithPG
Uhmm got it to add the button as a thing, battery is showing, got the automation set up with smart light, everything works from the classic app but nothing happens if i press the button no change of status in the app, nothing⊠am i missing something? my smartthings samsung button works like a charm
thanks
Xiaomi devices are close to conforming to the zigbee standards that they connect and work after a bit of playing but arenât strictly following the standard so there are some issues with them. Iâve always added mine then an hour later the device would drop and I would reset it and join it again and they would then stay connected. The best way to see what the issue is is to check the logs of the device when you push the button to see if the logs even reflect the push if not then reset the button and rejoin it or if it had been working for weeks or more and suddenly stopped then just try replacing the battery.
Thanks, where can i see the logs of the device?
On the My Home Tab choose the device then choose the Recently tab at the top of the device screen. Or go to live logging in the IDE.