[Edge] Driver for Aqara Switches and Remotes

I added a WS-USC01 switch with driver version 1.7 It works but when I set to “detached” mode it doesn’t change anything the physical button still triggers the relay. Any chance this can be fixed?

I did try getting some logs but unsure if they are helpful. This is what i see when i switch the settings.


2022-11-12T05:30:40.414378217+00:00 TRACE Xiaomi/Aqara Switch and Button v1.7  Received event with handler device_lifecycle
2022-11-12T05:30:40.421516217+00:00 INFO Xiaomi/Aqara Switch and Button v1.7  <ZigbeeDevice: 4e1e150e-fc52-40f3-bfb0-ef2bdce84a4d [0xD282] (WS-USC01 Wall Switch (No Neutral, Single Rocker))> received lifecycle event: infoChanged
2022-11-12T05:30:40.426869800+00:00 TRACE Xiaomi/Aqara Switch and Button v1.7  <ZigbeeDevice: 4e1e150e-fc52-40f3-bfb0-ef2bdce84a4d [0xD282] (WS-USC01 Wall Switch (No Neutral, Single Rocker))> received unhandled lifecycle event: infoChanged
2022-11-12T05:30:40.431049259+00:00 DEBUG Xiaomi/Aqara Switch and Button v1.7  WS-USC01 Wall Switch (No Neutral, Single Rocker) device thread event handled



2022-11-12T05:30:53.879626807+00:00 DEBUG Xiaomi/Aqara Switch and Button v1.7  driver device thread event handled
2022-11-12T05:30:55.994326016+00:00 TRACE Xiaomi/Aqara Switch and Button v1.7  Received event with handler device_lifecycle
2022-11-12T05:30:56.001297724+00:00 INFO Xiaomi/Aqara Switch and Button v1.7  <ZigbeeDevice: 4e1e150e-fc52-40f3-bfb0-ef2bdce84a4d [0xD282] (WS-USC01 Wall Switch (No Neutral, Single Rocker))> received lifecycle event: infoChanged
2022-11-12T05:30:56.008140058+00:00 TRACE Xiaomi/Aqara Switch and Button v1.7  <ZigbeeDevice: 4e1e150e-fc52-40f3-bfb0-ef2bdce84a4d [0xD282] (WS-USC01 Wall Switch (No Neutral, Single Rocker))> received unhandled lifecycle event: infoChanged
2022-11-12T05:30:56.012046183+00:00 DEBUG Xiaomi/Aqara Switch and Button v1.7  WS-USC01 Wall Switch (No Neutral, Single Rocker) device thread event handled

14 posts were split to a new topic: Edge Driver for Aqara Cube

try v 1.8 there the infoChanged event should be handled now

I might have posted this in the wrong thread before but can you add this to the driver?
Its an Aqara T1Pro cube.

1 Like

Hi,
Don’t know if possible, but can you add signal metrics to your wonderful drivers .
I’m using WXKG03LM and WXKG01LM
Both worked with no issues

I don’t find it useful, and driver’s responsibility.
If the ST team finds it helpful for ordinary users they can publish this feature for all Zigbee drivers.

You are right !! if the device is working there is no need for that info,
But if not ? This will give the users a good idea regarding the reception and the need to add some repeaters.
This info. can be find in CLI but knowing from the app as more convenient. @Mariano_Colmenarejo is displaying metrics in all his drivers. @nayelyz , as @veonua suggested please consider to automatically add to all ST and community developed drivers.

i have Xiaomi button WXKG01LM
i use DH from bspranger

i delete the device to add it with edge drivers

with i pin i push link button for 10sec but never smartthings find something on pair mode

no luck

EDIT1

i just read is pain in the ass for many i will keep trying

EDIT2

success
as you say on other post need to push link button every second until app find the device

thanks for great work

1 Like

Hi @veonua , I just added the Aqara Wall Switch H1 EU (With Neutral) - WS-EUK04 switch. It was discovered right away, and works perfectly. This device also has energy and power metering capabilities. But the energy and power measurement is not visible. can you help me?
Aqara Link: https://www.aqara.com/en/product/smart-wall-switch-h1-eu-with-neutral
Thank you.

1 Like

Hello.

Is it possible to add support for the following temperature humidity sensor?

Manufacturer: LUMI Model: lumi.sens
App Version: 0x20 ZCL Version: 0x03
Network ID: 0xCB78
Zigbee EUI: 00158D000465486B
Device ID: a4f460e8-d9a3-4a33-996d-
fc6fc808bf33

Server Cluster:
Ep: 02-0003,0012}
Ep: 03-0003,000C}
Ep: 010000,0003,0019,FFFF,0012}

Client Clusters:
Ep: 02-0004,0003,0005,0012}
Ep: 03-0004,0003,0005,000C}
Ep: 01={
0000,0004,0003,0005,0019,FFFF,0012 }

Thank you in advance

Yiannis

in v 1.9
to update the device profile, try switching a driver to a generic Zigbee device and then back to the Aqara driver. and restart the app.

Sometimes moving to another room/renaming also helps.

it’s a part of another driver, see Aqara/Xiaomi Temperature

Hello again.

I have already enabled the Aqara/Xiaomi temp 1.2 but driver is not available.

Do I have to enable anything else?

Thank you again.

Yiannis

Hi, @dotan_shai!
I created a feature request for the team. Just as a heads-up, it can take some time to be reviewed and implemented if it gets approved, so, up to now, the only option is the driver logs CLI as you mentioned.

3 Likes

hi @veonua , i tried this but it didn’t work. Failed to get device status after driver update. notification is shown in screenshot.
(i tried restarting the app, smartthings hub and my phone)
(I can turn my lights on and off)

JXrtzY.jpeg)

I haven’t changed anything in the second device status.

To debug energy reports please send the log to PM

i sent. thank u.

Would you be able to add the “Aqara QBKG41LM swich” to you driver

Thank you. Have a nice day

@shkim please check v v1.9.1

I am not sure about the profile, so let me know if the button push and double push registered

It’s working fine
Thank you so much ^-^