So buy a couple of Aqara sensor/button to test it in my home. I got a wireless 2 button systems. I tried to
a couple test but I was not able to integrate it. I supose the device handler is not made yet.
I installed all the bspranger. It recongnyse my device as a " Xiaomi Temp Sensor"
I have basic skill in programmation but I’m not sure how to change a device handler to make it work.
The device model is : WXKG07LM
The model: lumi.remote.b286acn02
There is a screenshot of the device in smartthing.
There is the list of action possible with this device.
########## Aqara Wireless Remote Switch D1 (Double Rocker) (lumi.remote.b286acn02)
conditions:
Single press the left button
Single press the right button
Single press the left and right buttons
Double press the left button
Double press the right button
Long press the left button
Long press the right button
Make sure you have the latest handler for temp sensor, as some devices were removed between 1.3.0 and 1.3.1, and one of those might have been incorrectly matched.
I’m working on a patch to the Wireless Switch DTH. I suspect that it’s only the discovery strings that need updating. Once recognised and given the correct type, I reckon it’ll work.
You might try this: Once detected as a temp sensor, go into the IDE, open the device details and click “Edit” and then change the Type to “Xiaomi Aqara Wireless Switch”.
Update:
I managed to get this thing going. In the app, it also shows double-press and long-press on left and right buttons. So that’s 10 different states (if you include being not pressed).
Not how I wanted it to. It works with a single button press, but I couldn’t get double-press or hold to behave differently. I didn’t spend much time on it though and I’ve since moved house so the device is in a box somewhere, not being used for anything.