# Sonoff Zigbee Button

**URL:** <https://discourse.nodered.org/t/sonoff-zigbee-button/34175>\
**Category:** General\
**Created:** [13 October 2020 13:39 UTC](https://discourse.nodered.org/t/sonoff-zigbee-button/34175 "2020-10-13T13:39:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnworoniuk](https://avatars.discourse-cdn.com/v4/letter/j/e9c0ed/32.png) [@johnworoniuk](https://discourse.nodered.org/u/johnworoniuk)\
**Post date:** [13 October 2020 13:39 UTC](https://discourse.nodered.org/t/sonoff-zigbee-button/34175/1 "2020-10-13T13:39:53Z")

</div>

Hello trying to get my head around Node Red and Home Assistant.

I want to be able to control action on the Zigbee Button SNZB-01 via Node Red and Zigbee2mqtt.

I cannot work out how to send the payload to execute a single or a double click action.

this is what i get from the debbuger side

{"action":"single","battery":100,"linkquality":5,"voltage":3100}

 ![inject node](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/0/e05fdeab0227c903258f9799ff35346a3391ac82.jpeg)  
 ![json 1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/b/7bae06dfd9c4e99fc0bf939554da205a42fea10c.jpeg)

could some please explain to me what i'm doing wrong or what is the right way to setup the flow up

thank you in advance

---

<div class="post-metadata">

**Author:** ![johnworoniuk](https://avatars.discourse-cdn.com/v4/letter/j/e9c0ed/32.png) [@johnworoniuk](https://discourse.nodered.org/u/johnworoniuk)\
**Post date:** [13 October 2020 13:40 UTC](https://discourse.nodered.org/t/sonoff-zigbee-button/34175/2 "2020-10-13T13:40:30Z")

</div>

thats what my flow looks like

 ![flow](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/b/eb9a5f7837938b35e4c32815bd13274c1e888257.jpeg)

---

<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:** [12 December 2020 13:40 UTC](https://discourse.nodered.org/t/sonoff-zigbee-button/34175/3 "2020-12-12T13:40:41Z")

</div>

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