-
Notifications
You must be signed in to change notification settings - Fork 506
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
new device Aqara Wall Switch (WXKG03LM) Multistate cluster 12 #915
Comments
What’s the Model Identifier in the Basic cluster? Same as in #890? |
I tried a dozen times to click on read attributes, this time it worked when I double clicked on the attribute window to open it then read. lumi.remote.b186acn01 #890 has .b286 instead of .b186 not sure if that changes everything. I'll go again through the details of #890 as the info there might be helpful. Note I'm using deconz-dev-2.05.44.deb |
Additional info:
So if I understood #890 right, same here, the model would have to be whitelisted and a buttonmap created. |
Probably the difference single vs dual switch. Typically they share the same firmware, and they would be exposed as the same, as a ZHASwitch sensor, but with fewer buttonevent values. |
OK, great. |
The smart thing groovy device handler contains some useful information To get the model identifier I would suggest start sensor search and reset the switch by pressing both buttons for 10 (?) seconds, it should then rejoin and provide the information in basic cluster. |
@manup , I managed to get the model identifier already, it is : lumi.remote.b186acn01 |
I also got single and double switch Aqara Remotes and I'm facing the same issue. It's the new international version (this is the new version that is supposed to work with their new homekit bridge). The previous version I could pair to Phoscom with no issues. unfortunately I have no access to the rest api as I'm running it from Hassio. |
My devices are: |
@manup , @carloscae , |
Or rather, they use the same reference for different products. Maybe it's actually the same hardware, with different firmware versions (which is not upgradable over the air). Anyways, we best use the Model Identifier to refer to these devices. Unfortunately, it's a bit of a wheel of fortune which one you'll get when ordering one. |
I confirmed that the switch worked if you just copy the cases for lumi.remote.b1acn01 and replace it with lumi.remote.b186acn01. Now I can use the switch with the button event 1002. |
Guess I’ll need a windows pc to try that out. :/ |
Please continue discussion in #811 Closing this issue so we have just one to track progress on the matter. |
I got a new aqara switch 0x00158D00028CAD58 that I could not pair with phoscon, then I realized that it's actually paired with deconz and when I press it reports to deconz on cluster 12. It does not even has a cluster 6 (On Off).
Actually I had a previous aqara switch 0x00158D00024B3E45 pairing with phoscon displayed there, and reporting in the webapi. That old switch is reporting on cluster 6 (Of Off) that the new one does not have.
For the new one, I could not read any attribute even pressing read and switch click many times.
Should this be handled as a new device request or is there a change required to deconz to handle the cluster 12. I'm not sure how this relates to the special handling of Xiomi devices, I started reading the of the rest
plugin code but still a bit lost in what is specified in the general.xml, what is coded in deconz and what is xiomi custom.
extracts from logs
log with "deCONZ --dbg-info=1 --dbg-aps=1 --dbg-zcl=1 --dbg-zdp=1"
`15:26:08:318 ZCL attribute report 0x00158D00028CAD58 for cluster 0x0012, ep 0x01
15:26:08:398 ZDP status = 0x00 -> SUCCESS
`
request_device_support.log
log with more options
`13:03:36:254 APS-DATA.indication srcAddr: 0x00158d00028cad58, srcEp: 0x01 dstAddrMode: 2, profile: 0x0104, cluster: 0x0012, lqi: 255, rssi: -16
13:03:36:254 asdu: 18440a5500210100
13:03:36:254 ZCL attribute report 0x00158D00028CAD58 for cluster 0x0012, ep 0x01
13:03:36:254 payload: 5500210100
13:03:36:254 APS-DATA.indication from child 0x3254
13:03:36:254 Delay APS request diff = 182
13:03:36:254 Node data 0x00158d00028cad58 profileId: 0x0104, clusterId: 0x0012
13:03:36:291 Node 0x00158D00028CAD58 is known by 1 neighbors, last seen 0 s
13:03:36:430 Delay APS request diff = 357
`
If needed the log file with more options
OpenSwitch_full.log
I would like to give it a try to add the support for this switch myself, for that any hints would be appreciated.
The text was updated successfully, but these errors were encountered: