# \[q-gate\]Feature request - link gates together

**URL:** <https://discourse.nodered.org/t/q-gate-feature-request-link-gates-together/26480>\
**Category:** General\
**Created:** [11 May 2020 12:49 UTC](https://discourse.nodered.org/t/q-gate-feature-request-link-gates-together/26480 "2020-05-11T12:49:18Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [11 May 2020 12:49 UTC](https://discourse.nodered.org/t/q-gate-feature-request-link-gates-together/26480/1 "2020-05-11T12:49:18Z")

</div>

@drmibell

Hi Mike  
If your a bit bored at the moment how about a facility to link gates together - like link nodes can be?

This is to save having crossed wires (or actually using link nodes of course) to use one inject toggle to open/close two or more gates at once

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/4/6458de853671fedb6ff70d2917b3c6e1cb605eaa.jpeg)

I realise this could easily be tremendously complex to code for little gain 🙂 so feel free to say get lost straight away 🙂

But it would be very cool 🙂

---

<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:** [11 May 2020 16:01 UTC](https://discourse.nodered.org/t/q-gate-feature-request-link-gates-together/26480/2 "2020-05-11T16:01:50Z")

</div>

Hi Simon,  
Bored, yes, but probably not **that** bored. On the other hand, I may have had a similar request about a year-and-a-half ago involving node-red-contrib-simple-gate. If you are bored enough to look at this [thread](https://discourse.nodered.org/t/possible-new-contributed-message-gate-node/7382) and chase down the links, you could tell me whether this is the feature you would like to have in `q-gate`. If it is, it may not be hard (famous last words) to create a version, probably unpublished, mostly unsupported, and a bit of a kludge, just for the "very cool."

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [11 May 2020 17:23 UTC](https://discourse.nodered.org/t/q-gate-feature-request-link-gates-together/26480/3 "2020-05-11T17:23:11Z")

</div>

Computer says no...

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

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [11 May 2020 17:25 UTC](https://discourse.nodered.org/t/q-gate-feature-request-link-gates-together/26480/4 "2020-05-11T17:25:42Z")

</div>

> [@cymplecy](#):
>
> I realise this could easily be tremendously complex to code for little gain 🙂 so feel free to say get lost straight away 🙂
> 
> But it would be very cool 🙂

It isn't possible for contrib nodes to do that. The link nodes can do it because they are deeply ingrained in the view code.

---

<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:** [11 May 2020 19:16 UTC](https://discourse.nodered.org/t/q-gate-feature-request-link-gates-together/26480/5 "2020-05-11T19:16:38Z")

</div>

> [@cymplecy](#):
>
> Computer says no...

Computer is right. I never published to npm, for the reasons discussed in the thread I linked. You will have to download from [Github](https://github.com/drmibell/node-red-contrib-remote-gate). Sorry.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [11 May 2020 19:22 UTC](https://discourse.nodered.org/t/q-gate-feature-request-link-gates-together/26480/6 "2020-05-11T19:22:09Z")

</div>

Or ....

```auto
npm install drmibell/node-red-contrib-remote-gate

```

To install direct from github

---

<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:** [11 May 2020 19:39 UTC](https://discourse.nodered.org/t/q-gate-feature-request-link-gates-together/26480/7 "2020-05-11T19:39:08Z")

</div>

> [@knolleary](#):
>
> It isn't possible for contrib nodes to do that.

Understood. We discussed this [some time ago](https://discourse.nodered.org/t/examples-that-publish-subscribe-mqtt/7320/14), and node-red-contrib-remote-gate ended up passing control messages via RED.events. Neither a happy solution nor a real contribution to the NR ecosystem. So it sits on GitHub and was never published to npm.

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [11 May 2020 22:01 UTC](https://discourse.nodered.org/t/q-gate-feature-request-link-gates-together/26480/8 "2020-05-11T22:01:13Z")

</div>

> [@drmibell](#):
>
> If it is, it may not be hard (famous last words) to create a version, probably unpublished, mostly unsupported, and a bit of a kludge, just for the "very cool."

I tried it out and as per other thread, your right, its just not compliant with the Node-RED way

And it only saves one link node so I've just gone using a pair of them instead 🙂

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/9/59fd24099266781f3f98edc5205c95440e084aec.jpeg)

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [10 July 2020 22:01 UTC](https://discourse.nodered.org/t/q-gate-feature-request-link-gates-together/26480/9 "2020-07-10T22:01:20Z")

</div>

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