# Interruptor de cenas Zigbee - Tuya

**URL:** <https://forum.cpha.pt/t/interruptor-de-cenas-zigbee-tuya/8536>\
**Category:** Dúvidas\
**Created:** [1 Outubro , 2021 02:47 UTC](https://forum.cpha.pt/t/interruptor-de-cenas-zigbee-tuya/8536 "2021-10-01T02:47:13Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![max-men](https://forum.cpha.pt/user_avatar/forum.cpha.pt/max-men/32/6318_2.png) [@max-men](https://forum.cpha.pt/u/max-men)\
**Post date:** [2 Outubro , 2021 18:45 UTC](https://forum.cpha.pt/t/interruptor-de-cenas-zigbee-tuya/8536/3 "2021-10-02T18:45:58Z")

</div>

Penso que terás de criar os gatilhos manualmente.

Tenho um botão zigbee, com 3 gatilhos, e tive de os criar manualmente. Eu fiz no node-red

> [@Botao Snzb-01 Zigbee](https://forum.cpha.pt/t/botao-snzb-01-zigbee/8459/2):
>
> Após inúmeras tentativas (e pesquisas), consegui criar um flow no Node-RED, para que o botão funcionasse. Deixo caso alguém necessite [{"id":"6a4f25f2.3d2c5c","type":"tab","label":"BotaoZigbee","disabled":false,"info":""},{"id":"4ad6f054.f3c1e","type":"switch","z":"6a4f25f2.3d2c5c","name":"","property":"payload.event.command","propertyType":"msg","rules":[{"t":"eq","v":"toggle","vt":"str"},{"t":"eq","v":"on","vt":"str"},{"t":"eq","v":"off","vt":"str"}],"checkall":"true","repair":false,"output…

---

_[View the full topic](https://forum.cpha.pt/t/interruptor-de-cenas-zigbee-tuya/8536)._
