# \[ANNOUNCE\] node-red-contrib-simple-gate

**URL:** <https://discourse.nodered.org/t/announce-node-red-contrib-simple-gate/3658>\
**Category:** Share Your Nodes\
**Created:** [3 October 2018 18:43 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-simple-gate/3658 "2018-10-03T18:43:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![drmibell](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/drmibell/32/8424_2.png) [@drmibell](https://discourse.nodered.org/u/drmibell)\
**Post date:** [3 October 2018 18:43 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-simple-gate/3658/1 "2018-10-03T18:43:00Z")

</div>

After some discussion elsewhere on this forum ([Gate node using Blockly - #10 by Foukk](https://discourse.nodered.org/t/gate-node-using-blockly/2830/10)), I have published my take on controlling the flow of messages along a particular path, `node-red-contrib-simple-gate`. There are lots of ways to do this, but I think a dedicated node with some flexibility might be useful. From the help text, this node

> Transmits the input message when in the `open` state and blocks it when `closed` .
> 
> Messages with the topic `Control Topic` are control messages, which set the state of the gate. Control messages can have values representing `open` , `close` , `toggle` , and `default` .
> 
> When first deployed or after a `default` command, the gate is in the state defined by `Default State` .

The node can be downloaded from npm, GitHub, or the palette manager.

---

<div class="post-metadata">

**Author:** ![xx\_Nexus\_xx](https://avatars.discourse-cdn.com/v4/letter/x/54ee81/32.png) [@xx\_Nexus\_xx](https://discourse.nodered.org/u/xx_Nexus_xx)\
**Post date:** [4 October 2018 03:35 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-simple-gate/3658/2 "2018-10-04T03:35:37Z")

</div>

Works like a charm 👍 .. well done.. simple but effective

---

<div class="post-metadata">

**Author:** ![drmibell](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/drmibell/32/8424_2.png) [@drmibell](https://discourse.nodered.org/u/drmibell)\
**Post date:** [4 October 2018 04:21 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-simple-gate/3658/3 "2018-10-04T04:21:01Z")

</div>

> [@xx\_Nexus\_xx](#):
>
> Works like a charm 👍 .. well done.. simple but effective

Thanks 🙂. I hope you find it useful.
