ZHA and Xiaomi WXKG02LM 2016

Hi
Received my conbee2 today, set it up with ZHA.
Connecting my motion sensors works like a charm (although not all show the battery level). Connecting my xiaomi wireless switches works better than ever.
I also have a lot of Xiaomi WXKG02LM 2016 wall switches, they pair great, so much easier than zigbee2mqtt.

[0xab3d:1] Manufacturer: LUMI
[0xab3d:1] Model: lumi.sensor_86sw2
[0xab3d:2] Discovering endpoint information
[0xab3d:2] Discovered endpoint information: <SimpleDescriptor endpoint=2 profile=260 device_type=24322 device_version=1 input_clusters=[3, 18] output_clusters=[4, 3, 5, 18]>
[0xab3d:3] Discovering endpoint information
[0xab3d:3] Discovered endpoint information: <SimpleDescriptor endpoint=3 profile=260 device_type=24323 device_version=1 input_clusters=[3, 12] output_clusters=[4, 3, 5, 12]>
Checking quirks for LUMI lumi.sensor_86sw2 (00:15:8d:00:01:70:d9:64)
Considering <class ‘zhaquirks.xiaomi.aqara.remote_b286acn01.RemoteB286ACN01’>
Found custom device replacement for 00:15:8d:00:01:70:d9:64: <class ‘zhaquirks.xiaomi.aqara.remote_b286acn01.RemoteB286ACN01’>
device - 0xab3d:00:15:8d:00:01:70:d9:64 entering async_device_initialized - is_new_join: True
device - 0xab3d:00:15:8d:00:01:70:d9:64 has joined the ZHA zigbee network
0xab3d: started configuration
0xab3d:ZDO: channel: ‘async_configure’ stage succeeded
[0xab3d:1:0x0000]: finished channel configuration
[0xab3d:1:0x0001]: finished channel configuration
[0xab3d:1:0x0001]: channel: ‘async_configure’ stage succeeded
[0xab3d:1:0x0012]: finished channel configuration
[0xab3d:1:0x0012]: channel: ‘async_configure’ stage succeeded
[0xab3d:1:0x0005]: finished channel configuration
[0xab3d:1:0x0005]: channel: ‘async_configure’ stage succeeded
[0xab3d:2:0x0012]: finished channel configuration
[0xab3d:2:0x0012]: channel: ‘async_configure’ stage succeeded
[0xab3d:2:0x0005]: finished channel configuration
[0xab3d:2:0x0005]: channel: ‘async_configure’ stage succeeded
[0xab3d:3:0x0012]: finished channel configuration
[0xab3d:3:0x0012]: channel: ‘async_configure’ stage succeeded
[0xab3d:3:0x0005]: finished channel configuration
[0xab3d:3:0x0005]: channel: ‘async_configure’ stage succeeded
[0xab3d:1:0x0000] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=187 command_id=Command.Read_Attributes_rsp>
[0xab3d:1:0x0000]: initializing channel: from_cache: False
[0xab3d:1:0x0000]: channel: ‘async_configure’ stage succeeded
0xab3d: completed configuration
0xab3d: stored in registry: ZhaDeviceEntry(name=‘LUMI lumi.sensor_86sw2’, ieee=‘00:15:8d:00:01:70:d9:64’, last_seen=1569967915.4344609)
0xab3d: started initialization
0xab3d:ZDO: entry loaded from storage: ZhaDeviceEntry(name=‘LUMI lumi.sensor_86sw2’, ieee=‘00:15:8d:00:01:70:d9:64’, last_seen=1569967915.4344609)
0xab3d:ZDO: channel: ‘async_initialize’ stage succeeded

The result however is a LUMI lumi.sensor_86sw2 using “Quirk:
zhaquirks.xiaomi.aqara.remote_b286acn01.RemoteB286ACN01”

Showing a battery icon and 3 unknown sensors.
Pressing a button does not fire a zha_event.

I am clueless as how to use these switches.

Anyone care to help me out?

Did you find a resolution? I have 1 aqara double gang switch which works, and 3 which pair, but do not fire events.

Picked it up in the ‘tested’ topic. Short answer is, not yet

I have the same issue, both of my switches are using zhaquirks.xiaomi.aqara.remote and have batter and 3 other sensors. They don’t fire any events and all 3 sensors have “unknown” state all the time.

Same problem but with cc2531 and Xiaomi WXKG02LM 2016. Any solution?

I have same problem, the device is connectect but it didn’t discover the entitre for the buttons only a battery level

Hi, same problem here with a WXKG02LM.

Any solution so far?

Same…
There is no solution yet… switching back to zigbee2mqtt, that works great.

Bumping this. Running into the same problem, however, not with ALL of them. Some simply connect correctly as a switch. others only as a sensor.

Any help much appreciated!

Same here. Used to work (zigbee2mqtt)

Same here. Any solution ?

Same issue for me, anyone found a way to make them work?

1 Like