I want to use the button with webCoRE in the end, but this “troubleshooting” that I was doing was directly in ST app.
I am using version 1.2 by bspranger.
It is also possible that I got lost in the topic at some point and maybe I am not interfering where I should. These topics tend to get very long in a very short amount of time.
Yeah they can be tricky little devils to get working… wish they sold them in the US…ordering from over seas is rough. I’d like to get about 4 more of these.
In fact, I’ve been working on an update that will work with both Aqara Button models (WXKG11LM & WXKG12LM), and the pre-release device handler code can be grabbed from here.
Please note that with the Aqara Button model WXKG11LM, there is no possible way to implement a hold function. A hold function is only available with the round “original” Xiaomi button, or the Aqara Button model WXKG12LM.
I have that device handler. My problem is that a press on the button does nothing but a checkin, a second press about 5 secubds later registers as a press.
So you used pre-release device handler code that I gave the link to?
I think I can help solve your problem, but please do the following steps:
Download and install my pre-release Aqara Button DH code again (I have updated it since yesterday) from here.
Viewing the button in the SmartThings mobile app, open up preferences, scroll to the bottom, and make sure the display of both info and debug log messages is turned on, like this:
Everytime I have a power/internet outage (which is not infrequent), all my Xiaomi sensors stop responding once the power is back. I have a huge mixture of smart devices and these are the only ones that do not reconnect (Keen Smart Vents have an issue with going into a ‘sleep mode’ that requires pushing the sync button to activate, but only after power being off for at least a day).
I can easily get the Xiaomi Aqara devices operable by pressing the button on them a few times, but I don’t always have access and it’s a becoming a pain. I can see any way to do this remotely within the IDE or the app.
I have tried to set the single (short) press to turn on a light and the long press feature of the Aqara button to ‘turn off’ a light. Turning on the light is working but the long press to turn off the light is’t functioning after I made a rule and assigned the long press feature. What am I doing wrong?
Sorry for responing a bit late on your question. I currently have 3 model WXKG11LM buttons. Recently I ordered a new 12LM version. Have read somewhere it might be a hardware issue. The 11LM version does not support the hold function. The 12LM version should support this. I hope
It’s not a hardware issue. The Aqara button model WXKG11LM simply doesn’t provide any way in the hardware to implement a hold function. However, the Aqara model WXKG12LM does support it. If you look at the header information section of the Aqara Button device handler code, there is a detailed explanation of the capabilities of each model when used in SmartThings:
It was a while ago, so not this newest version you show above. I may give that another go them as it looks quite clean. FTW the original A4refillpad one has never missed a beat in the last year and a bit I have been using it.
My Xiaomi Agara Temperature / Humidity sensor shows up on the SmartThings IDE in My Devices and on the SmartThings app on my Android, but when I select the device I get a pop-up ‘Can’t connect to device. Check device and try again’.
I am using the bspranger : Xiaomi Aqara Temperature Humidity Sensor Device Handler.
The IDE events list shows continuous temp & humidity readings.
Any help would be appreciated.