ZHA - Aqara wall switch H1 EU, how to use decoupled mode(like a wireless switch)

Hello !

I have an Aqara wall swich H1 EU(lumi.switch.l2aeu1) and I can use it with ZHA to switch on or off the bulb.
But I don’t find any ways to active the decoupled mode that permit controlling remotely any device, like a double press to close the curtain for example, I don’t want to cut the power at all.

It works well with aquara app and hub, but can’t find any documentation about this for ZHA.

On Zigbee2MQTT documentation here, I can’t see that Operation_mode permit to choose to use the normal mode(cut the power when switch off) or the decoupled mode(just fire event when clicks). And I see they also have an action trigger that allows to know if it is a single click, double click…

Does someone have some insight or has succeeded in using decoupled mode ?

Thanks in advance for your help !

7 Likes

I too would like to understand how to get this working with the l2aeu1 variant. I’ve tried tweaking quirks for similar models with little success and I’ve tried connecting the device to Deconz and changing the attribute there but no luck.

If anyone can get decoupled mode working on the l2aeu1 natively in ZHA I would happily pay at this point :stuck_out_tongue:

Hi guys. I migrated to ZHA and this device has fewer options in ZHA than it had in Z2M.

I am missing the restoration state and decoupled mode.

https://www.zigbee2mqtt.io/devices/WS-EUK02.html

Who could support this, please?

1 Like

Depends if device just needs a quirk/converter for the device of if needs to expose more attributes, see :smiley:

https://www.home-assistant.io/integrations/zha#zha-exception-and-deviation-handlinghttps://github.com/zigpy/zha-device-handlers/issues/new/choose

and

https://github.com/zigpy/zigpy/discussions/934

hello is this issue solved?
i was planing to buy the h1 to use it with decoupler mode.
Aqara H1 EU Wall Switch (No Neutral, Double Rocker) WS-EUK02 Zigbee compatibility (blakadder.com) ← according to this it says “Pressing the right rocker physically won’t report the changed state.”

kind regards

HOW TO ADD SUPPORT FOR NEW AND UNSUPPORTED DEVICES → https://www.home-assistant.io/integrations/zha#how-to-add-support-for-new-and-unsupported-devices

You can search in issues and pull requests under ZHA Device Handlers to see if find any mention of a quirk in development → https://github.com/zigpy/zha-device-handlers

There at least seem to be a few “H1” devices mentioned under issues → https://github.com/zigpy/zha-device-handlers/issues?q=is%3Aissue+h1

Hi, I purchased yesterday Aqara Smart Wall Switch H1 with Neurtal and spent hours searching on how to change the operation mode to decoupled with ZHA integration. Finally I found a solution, maybe it will help someone with similar setup.

The setting is under OppleSwitchCluster (Endpoint id: 1, Id: 0xfcc0, Type: in) and attribute operation_mode (id: 0x0200). First you need to read the value, then change to OppleOperationMode.Decoupled and write.

3 Likes

thanks for this , exactly what is needed to answer how to get decoupled mode H1 Eu switch ZHA .

My dude, you’re a genius to have intuitively thought of this solution. It worked for the Double Rocker US Neutral I have in North America. Each day I learn something new I also gain more of an incentive to take this aqara m3 hub and toss it in the garbage.

I have to admit, stuff like this is a testament to Home Assitant’s power and how it will always be the superior ecosystem.

Out of curiousity, Is there a way to create a button helper within HA which can manipulate a cluster attribute’s value?

You think about how useful something like that is - it gives the potential for adding custom “Controls” to a zigbee device that act as a shortcut for cluster writes.

Hi Xmeir,
Any chance you also found the cluster to deactivate/control the indication light? In the decoupled state the indicator light stays on but I would like to change this.