Aqara Mini Switch WXKG11LM, Deconz and Node-Red

Hi,

I have searched and searched for a solution where I can combine the Aqara WXKG11LM Mini Switch, deconz and Node-Red

Need to use the double``quad``triple``single click in Node Red?

Any one with succes?

Sure thing, its actually very easy. It works very similar to the ZHA Component. It fires EVENTS.
So you need to listen to the Deconz Events and then work from that.

Try this:

[{"id":"47fd2a36.ee00d4","type":"server-events","z":"d4113bbe.91f4a8","name":"","server":"2fba4297.e4145e","event_type":"deconz_event","exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"waitForRunning":true,"x":120,"y":3060,"wires":[["73b4c04f.5ee1f"]]},{"id":"73b4c04f.5ee1f","type":"switch","z":"d4113bbe.91f4a8","name":"","property":"payload.event.unique_id","propertyType":"msg","rules":[{"t":"eq","v":"00:15:8d:00:01:e5:f4:e6","vt":"str"},{"t":"eq","v":"00:15:8d:00:00:ed:4e:8e","vt":"str"},{"t":"eq","v":"00:0d:6f:ff:fe:0d:25:51","vt":"str"},{"t":"eq","v":"ec:1b:bd:ff:fe:9e:c2:ef","vt":"str"}],"checkall":"true","repair":false,"outputs":4,"x":270,"y":3460,"wires":[["80d5b709.cdc568"],["ecf604f.50a5df8"],["c84581ca.e14db"],[]],"outputLabels":["Wohnzimmer Button","Schlafzimmer Button","Wohnzimmer Ikea Remote",""]},{"id":"ecf604f.50a5df8","type":"switch","z":"d4113bbe.91f4a8","name":"Button Event","property":"payload.event.event","propertyType":"msg","rules":[{"t":"eq","v":"1002","vt":"str"},{"t":"eq","v":"1001","vt":"str"},{"t":"eq","v":"1004","vt":"str"},{"t":"eq","v":"1005","vt":"str"},{"t":"eq","v":"1006","vt":"str"},{"t":"eq","v":"1010","vt":"str"}],"checkall":"true","repair":false,"outputs":6,"x":510,"y":3560,"wires":[["f5c92370.b70d5"],["64fa939a.68648c"],["42b58447.6eb25c"],["bf874f81.60d9a"],["d4436045.8743"],["43ebd5ae.5865cc"]],"outputLabels":["Single","Hold","Double","Triple","Quad","Furious"]},{"id":"2fba4297.e4145e","type":"server","name":"Home Assistant","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true}]