# Controlling zigbee switch

**URL:** <https://discourse.nodered.org/t/controlling-zigbee-switch/83591>\
**Category:** General\
**Created:** [11 December 2023 00:42 UTC](https://discourse.nodered.org/t/controlling-zigbee-switch/83591 "2023-12-11T00:42:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sirhc](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@Sirhc](https://discourse.nodered.org/u/Sirhc)\
**Post date:** [11 December 2023 00:42 UTC](https://discourse.nodered.org/t/controlling-zigbee-switch/83591/1 "2023-12-11T00:42:47Z")

</div>

Hello

I am running nodered with a CONBEE II gateway and connecting via deconz. I have paired a 2 gang switch with the CONBEE II. It for some reason identifies it as a "smart plug", who knows why.

Anyways when I address the light switch using the following flow, I can only toggle one of the 2 switches on the 2 gang light switch.

I am not sure how to get to the other one. Is there a way I can find out how to address the 2nd switch?

This is the flow:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/f/2f48f6e73077809f49253d806b58786c80badfc6.png)

The switch node is as follows:

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/6/f6d00d513ad8e0d6fec72c306e3c9eaee3117fca.png)

The out node is as follows:

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

---

<div class="post-metadata">

**Author:** ![Sirhc](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@Sirhc](https://discourse.nodered.org/u/Sirhc)\
**Post date:** [13 December 2023 06:08 UTC](https://discourse.nodered.org/t/controlling-zigbee-switch/83591/2 "2023-12-13T06:08:51Z")

</div>

Solved it, switched zigbee2mqtt which is far superior to deconz in terms of debug information.

---

<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:** [11 February 2024 10:04 UTC](https://discourse.nodered.org/t/controlling-zigbee-switch/83591/4 "2024-02-11T10:04:55Z")

</div>

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