controllerx icon indicating copy to clipboard operation
controllerx copied to clipboard

[NEW DEVICE] Aqara E1 Smart Wireless Switch WXKG17LM

Open Bastian007 opened this issue 1 year ago • 2 comments

New Device Support

Device Information

  • Device Model: WXKG17LM
  • Device Description: Wireless remote switch E1 (double rocker)
  • Device Manufacturer: Aqara

Integrations

Zigbee2MQTT - Predefined actions single_both, single_left, single_right - toggle double_left, double_right - click_brightness_up hold_left, hold_right - click_brightness_down

Integration: z2m

Actions

Notes

https://www.zigbee2mqtt.io/devices/WXKG17LM.html https://zigbee.blakadder.com/Aqara_WXKG17LM.html

Bastian007 avatar Feb 16 '24 13:02 Bastian007

Hi @Bastian007 ,

Sorry for the late reply. This controller is just a new version of WXKG02LM, which is already supported:

https://xaviml.github.io/controllerx/controllers/WXKG02LM/

I see the actions are the same as you specified. Would this work for you?

xaviml avatar Mar 12 '24 17:03 xaviml

Hi @xaviml , I've tried with WXKG02LM but it seems only the action toggle is fired, even if I double press or hold.

Log of AppDaemon

🤖 Service: mqtt.publish
  - topic: zigbee2mqtt/Hue Iris - Schlafzimmer/set
  - payload: {"state": "TOGGLE"}
2024-04-20 14:02:50.156055 INFO E1_Bastian_Schlafzimmer_Schalter3+4: 🎮 Button event triggered: `single_right`
2024-04-20 14:02:50.166638 INFO E1_Bastian_Schlafzimmer_Schalter3+4: 🏃 Running `Predefined (toggle)` now
2024-04-20 14:02:50.182851 INFO E1_Bastian_Schlafzimmer_Schalter3+4:

My config:

E1_Bastian_Schlafzimmer_Schalter1+2:
  module: controllerx
  class: WXKG02LMZ2MLightController
  integration: z2m
  controller: sensor.aqara_e1_schlafzimmer_nachttisch_bastian_action
  light: Hue Iris - Schlafzimmer
  mapping:
    single_left: "toggle"
    double_left: "click_brightness_up"
    hold_left: "click_brightness_down"

E1_Bastian_Schlafzimmer_Schalter3+4:
  module: controllerx
  class: WXKG02LMZ2MLightController
  integration: z2m
  controller: sensor.aqara_e1_schlafzimmer_nachttisch_bastian_action
  light: Hue white and color ambiance - Schlafzimmer
  mapping:
    single_right: "toggle"
    double_right: "click_brightness_up"
    hold_right: "click_brightness_down"

Bastian007 avatar Apr 20 '24 12:04 Bastian007