# Aqara Oppel Switch (3 keys) - node

**URL:** <https://discourse.nodered.org/t/aqara-oppel-switch-3-keys-node/40861>\
**Category:** Developing Nodes\
**Created:** [12 February 2021 10:22 UTC](https://discourse.nodered.org/t/aqara-oppel-switch-3-keys-node/40861 "2021-02-12T10:22:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomg1970](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tomg1970/32/37041_2.png) [@tomg1970](https://discourse.nodered.org/u/tomg1970)\
**Post date:** [12 February 2021 10:22 UTC](https://discourse.nodered.org/t/aqara-oppel-switch-3-keys-node/40861/1 "2021-02-12T10:22:33Z")

</div>

First of all, I want to say "Hello" here.

I have a node-red problem. I need a control for "Aqara Oppel 3gang switch" which  
Buttons.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/0/1012a6986539d936181694a6fb40506c50a982b3.png)

It is best to switch this on / off in the "Toogle" function (device on IoBroker)  
or directly a "level value" \>\> a HUE via Phoscon / Deconz \>\> e.g. 50% for ON and 0% for OFF

The switch brings me various "button events" via the deconz node when I press it

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/f/df14f3daf1fbd8f4742829a8484eca36edc7ca71.jpeg)

In the following photo you can see the different keys with the respective key codes. The (k) stands for a short button press, (l) for a long button press, (lr) for releasing the button after a long button press and the (d) for a double button press. (Source: )

---

<div class="post-metadata">

**Author:** ![tomg1970](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tomg1970/32/37041_2.png) [@tomg1970](https://discourse.nodered.org/u/tomg1970)\
**Post date:** [12 February 2021 10:23 UTC](https://discourse.nodered.org/t/aqara-oppel-switch-3-keys-node/40861/2 "2021-02-12T10:23:07Z")

</div>

This is what the data points look like in IoBroker (deconz adapter)

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/9/e9208cd51d45c0f7a36b72bd5d666ba68ede0e59.png)

---

<div class="post-metadata">

**Author:** ![tomg1970](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tomg1970/32/37041_2.png) [@tomg1970](https://discourse.nodered.org/u/tomg1970)\
**Post date:** [17 February 2021 12:01 UTC](https://discourse.nodered.org/t/aqara-oppel-switch-3-keys-node/40861/3 "2021-02-17T12:01:59Z")

</div>

no profi here ☹

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [18 April 2021 12:02 UTC](https://discourse.nodered.org/t/aqara-oppel-switch-3-keys-node/40861/4 "2021-04-18T12:02:48Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
