[Edge] Driver for Aqara Switches and Remotes

I have an Aqara double rocker. (WS-EUK04) I want to see these buttons separately in Smartthings app. is it possible?

@rayoflight can help you with this

hi, please check the version 1.9.2

Good morning, @veonua , the Xiaomi Motion Sensor driver has been deleted or disabled, I am no longer finding your driver on your channel to be able to pair Aqara motion sensors, I needed to pair the
high precision aqara motion sensor that I used from Yakov but it is not working, it does not change status and it is stuck. The xiaomi motion sensor driver worked with it. Why is this driver no longer on your channel?

I stopped to use these drivers and switched to drivers from Yakov and Samsung, Aqara.
For high precision motion sensor, I am using

@veonua My sensor is not working neither with the yakov driver nor with the Smartthing driver as you had sent the print, the status is stuck in any movement, the status does not change. The Sensor is not working, I have already removed batteries, deleted, repaired and it does not work.

@veonua After some tries finally the high precision sensor is working with zigbee motion sensor driver. Thank you for your help.

Hi. I’m transiting to Edge drivers for my Aqara switches. I’ve used @veonua drivers for my switches (single and dual gang - non neutral) and so far so good.

But I can’t scan and detect 2 other products

  1. Aqara Cube (
  2. Wireless 1Gang Switch - E1
  3. Wireless 1Gang Switch - D1

I installed the following drivers
a) Aqara Cube driver
b) Xiaomi/Aqara Switch and Button v1.9.2

No matter how many times I tried to scan for my devices, it just doesn’t show up. Even after I placed the switch/cube beside my hub. Am I missing something or doing something wrong?

first of all, I’d recommend installing a generic Zigbee driver from Mariano. It can connect with any device and display fingerprints. Then you either switch driver to the driver that supports your device or you can create your driver that supports given devices.

Hi thanks for your reply. I don’t really follow. Am I right in installing the Aqara Cube Driver for my aqara cube device? After installing that driver, I should be able to scan for my cube. Or is there other settings I must check/configure?

there are 4 versions of the cube with minimal differences in appearance. AFAIK none of them are officially supported in ST.
Only two of the models are fingerprinted in my channel. So your chance is 50-50 :slight_smile:

1 Like

I see. Do u know how I can check my device’s fingerprint?


use this driver and see the history

Thanks. I finally managed to pair my aqara cube. Now I’m trying to pair my wireless aqara wall switch. Seems to hit the same problem. When scanning, it just doesn’t show up.

Does any1 else have the same problem and found a solution to it? Thanks in advance

I managed to pair my wireless wall switch. For future reference

  1. Activate scan on Smartthings app
  2. Press and hold wireless wall switch till it blinks 3 times (and let go immediately)
  3. Thereafter if it blinks 2 times, means it was not detected. Repeat step 2
  4. If the light appears solid for a bout 1 second, it means it was detected.
  5. Check for new devices by tapping on the hub in smartthings app.
1 Like

Are all aqara devices compatible with smartthings now? I dont own any but may purchase one of their sensors.

Hello. I’m having a problem with my aqara button. (WXKG11LM)
There is no problem installing it and it works fine. But only for a couple hours. After a while it stops responding. It doesn’t go offline, it just doesn’t react anymore. Smartthings says it’s on “Standby” and it doesn’t react to the button. I have tried to remove and reinstall it but the same happens again. Works fine for a couple hours and then becomes unreactive. Could this be a problem with the driver or should I look somewhere else?
Thanks.

2 Likes

Has it got a fresh battery?

Yes. I changed the battery to make sure it wasn’t that.

@veonua , @GalK
Aqara button don’t work at 5 clicks. No problem in 1,2,3,4 clicks.
Here is a LOG for 5 clicks (1st part - error appear) and 4 clicks (2nd part)

Log
? Select a driver. 6
connecting... connected
2023-02-20T20:51:53.442701319+00:00 TRACE Xiaomi/Aqara Switch and Button v1.9.2  Received event with handler zigbee
2023-02-20T20:51:53.443649944+00:00 INFO Xiaomi/Aqara Switch and Button v1.9.2  <ZigbeeDevice: a92e5823-af91-43b3-9935-65e3f3e8bc6d [0x560F] (משרד - מפסק מדבקה)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader |
| src_addr: 0x560F, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, lqi: 0xFF, rssi: -50, body_length: 0x0007, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x18, seqno: 0x7C, ZCLCommandId:
 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0x8000, DataType: Uint8, Uint8: 0x80 > > > >
2023-02-20T20:51:53.449869278+00:00 TRACE Xiaomi/Aqara Switch and Button v1.9.2  Found ZigbeeMessageDispatcher handler in switch -> WXKG?1LM
2023-02-20T20:51:53.451631569+00:00 INFO Xiaomi/Aqara Switch and Button v1.9.2  Executing ZclClusterAttributeValueHandler: cluster: OnOff, attribute: 0x8000
2023-02-20T20:51:53.461580403+00:00 DEBUG Xiaomi/Aqara Switch and Button v1.9.2  משרד - מפסק מדבקה device thread event handled
2023-02-20T20:51:54.680319444+00:00 TRACE Xiaomi/Aqara Switch and Button v1.9.2  Received event with handler zigbee
2023-02-20T20:51:54.681325611+00:00 INFO Xiaomi/Aqara Switch and Button v1.9.2  <ZigbeeDevice: a92e5823-af91-43b3-9935-65e3f3e8bc6d [0x560F] (משרד - מפסק מדבקה)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader |
| src_addr: 0x560F, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: Basic >, lqi: 0xFF, rssi: -50, body_length: 0x001D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x1C, mfg_code: 0x1234, seqno: 0
x7D, ZCLCommandId: 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0xFF02, DataType: Structure, Structure: [Boolean: true, Uint16: 0x0BD8, Uint16: 0x13A8, Uint40: 0x000000001A, Uint16: 0x014C, Uint8: 0x5E] > > > >
2023-02-20T20:51:54.698657736+00:00 TRACE Xiaomi/Aqara Switch and Button v1.9.2  Found ZigbeeMessageDispatcher handler in switch
2023-02-20T20:51:54.699120611+00:00 INFO Xiaomi/Aqara Switch and Button v1.9.2  Executing ZclClusterAttributeValueHandler: cluster: Basic, attribute: 0xFF02
2023-02-20T20:51:54.700103611+00:00 INFO Xiaomi/Aqara Switch and Button v1.9.2  battery:        table: 0x158a548
2023-02-20T20:51:54.700953653+00:00 INFO Xiaomi/Aqara Switch and Button v1.9.2  <ZigbeeDevice: a92e5823-af91-43b3-9935-65e3f3e8bc6d [0x560F] (משרד - מפסק מדבקה)> emitting event: {"attribute_id":"battery","capability_id":"battery","compon
ent_id":"main","state":{"value":100}}
2023-02-20T20:51:54.702722486+00:00 DEBUG Xiaomi/Aqara Switch and Button v1.9.2  FF02: Structure: [Boolean: true, Uint16: 0x0BD8, Uint16: 0x13A8, Uint40: 0x000000001A, Uint16: 0x014C, Uint8: 0x5E]
2023-02-20T20:51:54.703411403+00:00 ERROR Xiaomi/Aqara Switch and Button v1.9.2  elements[4]    26
2023-02-20T20:51:54.704078403+00:00 DEBUG Xiaomi/Aqara Switch and Button v1.9.2  משרד - מפסק מדבקה device thread event handled
2023-02-20T20:52:08.564407696+00:00 DEBUG Xiaomi/Aqara Switch and Button v1.9.2  driver device thread event handled
2023-02-20T20:52:38.574731116+00:00 DEBUG Xiaomi/Aqara Switch and Button v1.9.2  driver device thread event handled
2023-02-20T20:52:46.099009659+00:00 TRACE Xiaomi/Aqara Switch and Button v1.9.2  Received event with handler zigbee
2023-02-20T20:52:46.099948284+00:00 INFO Xiaomi/Aqara Switch and Button v1.9.2  <ZigbeeDevice: a92e5823-af91-43b3-9935-65e3f3e8bc6d [0x560F] (משרד - מפסק מדבקה)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader |
| src_addr: 0x560F, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, lqi: 0xFF, rssi: -50, body_length: 0x0007, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x18, seqno: 0x7E, ZCLCommandId:
 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0x8000, DataType: Uint8, Uint8: 0x04 > > > >
2023-02-20T20:52:46.121117201+00:00 TRACE Xiaomi/Aqara Switch and Button v1.9.2  Found ZigbeeMessageDispatcher handler in switch -> WXKG?1LM
2023-02-20T20:52:46.121581659+00:00 INFO Xiaomi/Aqara Switch and Button v1.9.2  Executing ZclClusterAttributeValueHandler: cluster: OnOff, attribute: 0x8000
2023-02-20T20:52:46.123080576+00:00 INFO Xiaomi/Aqara Switch and Button v1.9.2  <ZigbeeDevice: a92e5823-af91-43b3-9935-65e3f3e8bc6d [0x560F] (משרד - מפסק מדבקה)> emitting event: {"attribute_id":"button","capability_id":"button","componen
t_id":"main","state":{"value":"pushed_4x"},"state_change":true}
2023-02-20T20:52:46.124720617+00:00 DEBUG Xiaomi/Aqara Switch and Button v1.9.2  משרד - מפסק מדבקה device thread event handled
2023-02-20T20:53:08.569872120+00:00 DEBUG Xiaomi/Aqara Switch and Button v1.9.2  driver device thread event handled