-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pairing Aqara Smart Wireless Switch WXKG11LM #917
Comments
This might be WXKG11LM Rev.2 which identifies itself with model identifier I don't have the switch yet which makes testing a bit cumbersome, there is already code for it active but it seems not to work properly. |
Where can I see this information? I have a Conbee connected to a RasPi3 and installed deconz in headless mode. Buttons have manufacturing date 05/2018 |
You may try a recent version (make sure to create a backup first), the switch might be visible in the REST-API, but not yet the Phoscon App switch editor. https://github.com/dresden-elektronik/deconz-rest-plugin#precompiled-deconz-packages |
Thank you very much. With Version 2.05.45 / 2.11.2018 and Firmware 262E0500 Will there be a frontend representation in Phoscon App in the near future too? |
On press the button provides the value "1002". Maybe this is helpful. |
Ok that means API works correctly.
Yes the plan is to support all Xiaomi switches as soon as possible, I hope to receive the missing ones in the next 2 weeks to complete integration. |
That are great news :D I'm waiting for my wall switches too. I think this issue could be closed. Thanks for the support. |
I also have 2 WXKG12LM i believe the model is. They do not come up in Phoscon, but they do in deCONZ and they work. Except one does not send the long press events. But maybe that is the device and not deCONZ's fault. |
Can you please provide the REST-API output of the WXKG12LM switch? I'm working on the documentation to get a clearer picture of which button events are supported by each model. https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Xiaomi-WXKG11LM-2016 https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Xiaomi-WXKG11LM-2018 https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Xiaomi-WXKG12LM |
Cool, I didn't know about the doubleclick feature yet. Works for me (1004) . Thank you. |
@manup |
It's been over a couple of weeks, so I thought I would check. Anything happening with the fix for this? As for others, I have Phoscon issues with WXKG11LM (b1acn01). Thanks. Elliott |
In the last days more details were collected and documented to be used as base to complete the implementation (see the linked pages in supported devices wiki) hopefully my switches arrive soon to simplify testing. |
Thank you. |
Hi manup, while working on the Xiaomi switches, can you please make sure to also include the "WXKG01LM" corresponding to the "Original Xiaomi Mijia Smart Home Zigbee Wireless Smart Switch" aka "the round button" (https://xiaomi-mi.com/mi-smart-home/xiaomi-mi-wireless-switch/). I'm concerned that this button might be forgotten as I don't see any reference to it, in the "Supported devices" section of the wiki (https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Supported-Devices) while it works flawlessly with Deconz since a while (see #349). I gathered all the information from Deconz Rest API running from the following setup :
in case it can help to create the corresponding wiki page :) Xiaomi WXKG01LMOriginal Xiaomi Mijia Smart Home Zigbee Wireless Smart Switch. Joining
REST-APIGET /sensors/ { Button eventssimple press : 1000 |
Good catch, yes I didn't have it on the radar, will be added too. Still a bit confused about the 1000/1002 short press: 1000 But the switch doesn't support hold (1001) hold release (1003)? |
Exactly. That's a kind of weird behavior from this first version of the Xiaomi button. But it supports up to 4 clicks ;) |
Ok thanks for the details I've added it to supported devices and created a page for it, lloking forward to add it in Phoscon App Switch Editor soon https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Xiaomi-WXKG01LM |
The WXKG11LM variants are now supported in deCONZ version 2.05.50. https://github.com/dresden-elektronik/deconz-rest-plugin/releases/tag/V2_05_50 |
Hi @manup, immediately after I saw the release of 2.05.50 I updated my setup.
What am I missing ? |
The round button – WXKG01LM is not supported yet, only the switches listed in the release notes. |
Today my second charge of WXKG11LM arrived. If I could trust the prints on package and button, it is the 2018 version. In phoscon it's detected as the old version (no Rev2.0 behind model). The problem is, that I only get 1002 and 1004 events. No tripple, quad or long press events at all. Manufacturing date is 10/2018 The upper one is a Rev 2.0 from my last order, the lower one is the new one from yesterday. As you could see, the glue pad is also much thinner. The new package also doesn't include an extra glue pad for later reuse. |
Okay, forget about it. I pressed the button too short. Its a rev 1 and tripple/quad press works. So it seems to be luck wich version you get. |
Interesting, which firmware version do they show?
Sadly yes, it's hard to tell from the shop descriptions which version it is. |
How could I see this? Running deconz (2.05.50 / 262F0500) in headless mode on a Raspi 3. |
You need to pair it as a sensor. Press the small button and hold it for some seconds. Then press the big button several times. Worked for me with all 8 buttons. |
Oh, its my fault. |
I try to pair a WXKG11LM as a sensor but it doesn't work. |
How do you pair the device? Usually:
|
Sure. I did it the way you described it. Start sensor search, then press the small button on the side until the led blinks. It blinked 7-10 times and went out. Connection did not happen. |
With my issues with IKEA sensors stopping working (events being forwarded #1220), I thought in the meantime to help remove the grief I am getting over this, I ordered one of these switches. It pairs, can be seen by Phoscon and GUI, however I am not getting any events from it. Also if I assign it to a group, it does not switch it. I seems to be the same issues as above. Here is what I can see: So I am still stuck, and I am using the same versions as above |
As I need to get this switch work, I spent all morning, removing and adding it again, as I felt that it must work to get as far as I did. After a few attempts it started to work! Don't ask what I did (the only thing different was I pressed the middle button over and over whilst waiting for it to be 'seen') |
I do not seem to see how can one configure hold/long release events in switch editor. I see the events in the log. |
Unable to pair WXKG11LM in version 2.05.60 too. |
WXKG11LM here. Latest version of everything. HASSIO, RaspBee, RPI3B+.
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi, I am trying to pair an Aquara mini switch WXKG11LM with my ConBee II Phoscon (ver 2.13.04 12/18/2021, Firmware 26660700) attached to a RPI3B+ running home asssitant 2021.12.8 but not successful. I am able to pair and use Aqara temperature/door/water/motion sensors without any issue but not the mini switch. I tried to pair it as a sensor and a switch. Any thoughts? |
@Franco757 please search this git as it's a known issue. |
I have and the suggestions do not work. |
It's a known issue that it broke with the latest stable. Fix will be in next beta. |
I have the same problem as some users above. All my aqara devices are perfectly recognized and working via Phoscon, except with aqara mini switch (WXKG11LM). I have tried everything, as a switch and as a sensor, all possible combinations, but no success so far. I am in the last version of Home Assistant and using conbee II. Any suggestion will be welcome. Thanks. |
Wait until home assistant updates the addon. That only happen on stable releases so that can take a while unfortunately |
@Mimiix thanks. Will this fix be included in the next stable release? |
If it's in next beta's, it will be in next stable. |
thx |
Any idea when there will be a beta release including this change? |
the problem still remains deConz version 2.14.1 |
Hi @Mimiix I'm also using deConz version 2.14.01 / 2/6/2022 on firmware 26720700, and still am unable to pair any of my WXKG11LM switches. Have tried pairing through both the phoscon UI + the deconz UI, but no success. Is there anything else I (or we, as seems like Jankryh and others are still having the same issue) should be doing to get it working? I have seen this new node appearing in the Deconz UI which doesn't how any model number or manufacturer. |
Looks like yours isn't paired fully as the clusters are missing. This might help out : |
@Mimiix - you are a legend!!! thanks heaps for your help!. That worked beautifully.. |
Hello,
your list of supported devices contains the Aqara Smart Wireless Switch WXKG11LM.
Unfortunately I'm no able to pair it in the Phoscon App.
In the switches category there is no matching manufacturer. Trying to pair it via "Sensors --> Other" it isn't recognized.
Produkt ConBee
Version 2.05.23 / 24.4.2018
Firmware 261F0500
Phoscon says that no updates are available.
Some advices?
The text was updated successfully, but these errors were encountered: