I recently bought an Aqara Double Rocker Wired Switch WS-EUK02 - the EU 2021 version.
A link with the product can be found here: Aqara Switch WS-EUK02 No Neutral
I bought one in order to test, if it works properly with STH.
My use case is as follows:
I wanted a SmartSwitch that can Convert to a Wireless Switch if needed for a long time, due to the fact that I have Smart Lights, and always someone will switch off the physical switch rendering the Smart Lights useless ( I use Smart Lights vs Smart Switches due to the fact that a Smart switch cannot control color temperature or colors.)
After I imported your repo inside My handlers section, the Switch was still added as a thing.
I edited your DTH locally and added this 2 lines:
- After line 95 (in your original DTH):
fingerprint profileId: "0104", deviceId: "0100", inClusters: "0000,0002,0003,0004,0005,0006,0009", outClusters: "000A,0019",
manufacturer: "LUMI", model: "lumi.switch.l2aeu1", deviceJoinName: "Aqara Switch EU-02"
- After the line 870 (also in your original DTH) :
case "lumi.switch.l2aeu1": //Aqara Switch EU-02
state.numSwitches = 2
state.numButtons = 2
state.endpoints = [0x01,0x02,0xF3,0x05,0x06,0xF5,0xF6]
state.oldOnOff = true
- If I add the device in the new app using your DTH it will create 4 devices, but no device will appear in IDE, and only one rocker will work from the app.
- If I add the device with a generic DTH like “Zigbee Multiswitch” and then switch to your DTH, only 2 devices will remain (parent and child) but only one rocker will work.
I also tried to change the child device default DTH to yours but I get the following error all the time:
500: Internal Server Error
Sun Aug 29 11:32:09 UTC 2021
The Raw description from IDE is this:
01 0104 0100 01 07 0000 0002 0003 0004 0005 0006 0009 02 000A 0019
As you can see the “inClusters” and "outClusters: are pretty much the same.
Also the Decoupled option turns to true or false, but the switch will also turn off the power, regardless of the boolean value.
Do you think you can help implement this version also?
I’m interested in the conversion function to work from psychical switch to a soft switch, otherwise this switch is pretty useless to me.