Skip to content
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

Smart Switch WXKG11LM Rev 2 and wall switch WXKG03LM not recognized in app. #37

Open
snippem opened this issue Jan 17, 2020 · 27 comments · May be fixed by #38
Open

Smart Switch WXKG11LM Rev 2 and wall switch WXKG03LM not recognized in app. #37

snippem opened this issue Jan 17, 2020 · 27 comments · May be fixed by #38
Labels
device request Add a driver for new device

Comments

@snippem
Copy link

snippem commented Jan 17, 2020

Love your app it is working great with only a few minor bugs.
Just got 2 new aqara buttons revision 2 and they are not recognized in the homey app.
The version WXKG11LM version 20161128 works and is recognized but the WXKG11LM rev 2 version 20180525 is not recognized.
Also got 4 aqara wireless wall switches WXKG03LM 2018 versions and are not recognized in the app in homey.
The wall switch with 2 buttons (WXKG02LM rev 2 version 20180809) are working great.
Hope there is a way to add Support for these devices.

@snippem snippem added the bug Something isn't working label Jan 17, 2020
@notabene00
Copy link
Owner

@notabene00 notabene00 linked a pull request Jan 18, 2020 that will close this issue
@snippem
Copy link
Author

snippem commented Jan 18, 2020

okay installed te version.
i can install the WXKG11LM rev 2 but not with the smart switch button but with the double wall switch button 2018.
And all the actions i can those in a flow are ment for a double switch.
havent had the time to test a WXKG03LM.

@notabene00
Copy link
Owner

notabene00 commented Jan 18, 2020

So WXKG11LM rev 2 (lumi.remote.b1acn01) is a single switch?
And how many buttons has WXKG03LM?

@snippem
Copy link
Author

snippem commented Jan 18, 2020

So WXKG11LM rev 2 (lumi.remote.b1acn01) is a single switch?
And how many buttons has WXKG03LM?

The WXKG11LM rev 2 is a single push button the 2016 version is called in your app Aqara button.
It has the following function when added to the aqara app developed by Ted tolboom:
funtion 1 a button is pushed.
funtion 2 it is called a scene is activated then you have 4 options:
-long push
-press once
-press twice
-release button.
The WXKG03LM is a single switch version of the double switch of the one discussed in this bug/device request #9

@notabene00
Copy link
Owner

It seems I should create separate drivers for these devices then.
Are both of them has events you mentioned?

@snippem
Copy link
Author

snippem commented Jan 19, 2020

It seems I should create separate drivers for these devices then.
Are both of them has events you mentioned?

The WXKG11LM rev 2 (this is what ted tolbooms homey app does)
funtion 1 a button is pushed.
funtion 2 it is called a scene is activated then you have 4 options:
-long push
-press once
-press twice
-release button

here is the information taken from homey for this device:
"type":string"EndDevice"
"ieeeAddr":string"0x00158d0004050845"
"nwkAddr":int30593
"manufId":int4151
"manufName":string"LUMI"
"powerSource":string"Battery"
"modelId":string"lumi.remote.b1acn01"
"epList":[...]1 item
"status":string"online"
"joinTime":int1579273438
"name":string"Hobby kast schakelaar"
"profileId":string"260"
"deviceId":string"259"
"manufacturerName":string"LUMI"
"productId":string"lumi.remote.b1acn01"

The WXKG03LM 2018(this are the actions what your app has for the double switch)
-button clicked
-button double clicked
-button held

here is the information taken from homey for this device:
"type":string"EndDevice"
"ieeeAddr":string"0x00158d000355a32d"
"nwkAddr":int43183
"manufId":int4151
"manufName":string"LUMI"
"powerSource":string"Battery"
"modelId":string"lumi.remote.b186acn01"
"epList":[...]3 items
"status":string"offline"
"joinTime":NULL
"name":string"Hal bg schakelaar"
"profileId":string"260"
"deviceId":string"24321"
"manufacturerName":string"LUMI"
"productId":string"lumi.remote.b186acn01"

@michelhelsdingen
Copy link

Hi @fantomnotabene and thanks for your work! I can now add the following smart (Single Button) smart switch;
Smart Switch WXKG11LM Rev.2, Version 20180525
But as @snippem explained I need to select 'Aqara Wireless 2018' when adding the switch in the Homey app where I would have expected to use the 'Aqara button' option. So for now I can use it altough it would be nice if the above mentioned device would be sees as a button instead of a double switch :)

@notabene00
Copy link
Owner

Oh, I misunderstood this #37 (comment)
Now I see what's the problem
I thought that these two devices has switch form-factor, not one switch and one button
So, please, in the future, create a separate issue for every one device :)

@notabene00
Copy link
Owner

@michelhelsdingen can you try now?
-> https://github.com/fantomnotabene/HomeyCONZ/tree/aqara-wireless-switches
and if you have it, WXKG03LM too

@notabene00 notabene00 added device request Add a driver for new device and removed bug Something isn't working labels Apr 2, 2020
@michelhelsdingen

This comment has been minimized.

@michelhelsdingen

This comment has been minimized.

@notabene00

This comment has been minimized.

@michelhelsdingen

This comment has been minimized.

@michelhelsdingen

This comment has been minimized.

@michelhelsdingen

This comment has been minimized.

@notabene00

This comment has been minimized.

@michelhelsdingen

This comment has been minimized.

@michelhelsdingen
Copy link

Lol somehow i am using version .1 my bad let me try .2

@notabene00
Copy link
Owner

.1 is master, .2 is the right branch ;)

@michelhelsdingen
Copy link

It works! Sent you a small donation for your trouble!

@notabene00
Copy link
Owner

Great!
@michelhelsdingen nice to deal with you

P.S. Don't mean to bother you, but do you have WXKG03LM to test em too?

@michelhelsdingen
Copy link

@fantomnotabene same with you, I think I have one @ work. Will check asap.

@notabene00
Copy link
Owner

@michelhelsdingen thank you in advance
@snippem try the latest changes if you can

As I understand, as of WXKG03LM is a one-button version of the device with switch form-factor of 2016, it is now packed under Aqara Wireless 2016
I'll create a separate driver for them, since they're one-button, but they're there for now

@snippem

This comment has been minimized.

@notabene00

This comment has been minimized.

@snippem

This comment has been minimized.

@notabene00

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
device request Add a driver for new device
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants