Skip to content

new device Aqara Wall Switch (WXKG03LM) Multistate cluster 12 #915

@wassfila

Description

@wassfila

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.

2018-11-01-152031_1435x905_scrot

2018-11-01-152314_1435x914_scrot

2018-11-01-152436_1435x914_scrot

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions