This Blueprint will let you configure an Xiaomi Aqara Wireless Mini Switch paired to the ZHA integration. It supports four commands - single press, double press, long press, and release.
Note: Apparently the manufacturer made 3 different revisions of this device over the years, each with slightly different capabilities. This Blueprint requires the lumi.remote.b1acn01 model (which I purchased at the Amazon link below).
Also, an additional tip: if you select the “Choose” action type, you can increase the amount of actions each button is capable of executing. For example you can make “double press” activate a scene by default, but make it skip tracks if Spotify is playing, and make it fast forward if you’re watching a movie.
Hey! Thanks for this! There’s also a shake action, would you mind adding that as well?
Hmm, I re-read what you wrote and that bleuprint is for the lumi.remote.b1acn01 model. I see mine is different, as it’s registered as lumi.sensor_swit.
Thanks so much for this. I’ve been building single automation’s for ages for single press, double press etc. This has saved me so much time and has streamlined my number of automation’s!
Thanks for this. I just changed over from zigbee2mqtt on cc2350 to ZHA on Sonoff zbbridge using tasmota and could not figure out how to access the click features. This did it all for me.
Looking great! And it seems to fit with my need and version of switches. One question though: If I´m right, a few other switch versions had also triple press-functionality. Is it possible to add it to this blueprint also, or is that switch uncapable to handle that function?
I have the same question, since this blueprint appears to be for the same switch, but uses a different model number and has triple- and greater presses.
Hi!
Thanks for the response. I am just now learning about both blueprints and zigbee, so these are both new. The information about the models seems conflicting. The other BP starts with the sentence
This Blueprint allows you to configure an Xiaomi Aqara Wireless Mini Switch (WXKG11LM) paired to the ZHA integration.
which is supposedly the model that I have (according to the label on the box). Yet, that BP doesn’t recognize it, and this one does. The zigbee dongle, however, says it is model lumi.remote.b1acn01, which is consistent with this BP, and not the other one which uses lumi.sensor_switch.aq2.
Actually, Xiaomi sells the two different models as being the same one: WXKG11LM, but they have different Zigbee ID’s.
In my blueprints’ title, you can see i actually specify the Zigbee ID for that Blueprint, lumi.sensor_switch.aq2.
Those are a bit tricky to follow! Fortunately I had round Mijia-versions and they had more functions so I just used them and saved these for another purpose:)
@SeanM I don’t use Automation in HA but use NodeRED instead but I do keep some things in YAML. If I move pretty much all of this to my config.yml file where I keep other input_booleans and switches and selects that should do the trick correct?
I have put an Event node listening for zha_event and I do see the payload matches what you are selecting for so I know that part is correct . However, I am unsure about the rest and adding it as entity or entities to HA that Node Red can read in.
I have the Aqara Wireless Mini Switch (WXKG11LM / lumi.remote.b1acn01), in fact when I clicked your amazon link in the OP, my webpage says last purchased in April 2021, so I have the same thing. When I join it to my HA I ONLY see the Power entity. Isn’t there supposed to be an entity for the button? This is the first button I have tested so I am not familiar. Is there a trick to adding this? The other Aqara LUMI devices I have are working fine, but this one seemingly is not.
UPDATE: So using the Blueprint provided the Device is found and I can set actions for single, double, long press, and release of long press. Thats great. Is there no event or entity etc. available to developer mode? Is there access to Node-Red to be Abe to trigger flows/sequences? This is where I really want to utilize the button.