# How to use redlink

**URL:** <https://discourse.nodered.org/t/how-to-use-redlink/17929>\
**Category:** General\
**Created:** [14 November 2019 07:51 UTC](https://discourse.nodered.org/t/how-to-use-redlink/17929 "2019-11-14T07:51:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaoMao](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/maomao/32/14279_2.png) [@MaoMao](https://discourse.nodered.org/u/MaoMao)\
**Post date:** [14 November 2019 07:51 UTC](https://discourse.nodered.org/t/how-to-use-redlink/17929/1 "2019-11-14T07:51:25Z")

</div>

# node-red-contrib-redlink

There's an explanation for this node but I really don't understand how it's used, how it communicates, how it sends tasks to other processes to be executed, has anybody used it or knows about it,

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/4/4f6c290b800d114ef639c0cd3c771cd91043d374.png)  
Here is a process I created.  
[{"id":"d06e6864.12e6e8","type":"redlink producer","z":"47559f89.d58bb","name":"ProducerA","producerStoreName":"mesh0:A","producerConsumer":"msg.topic","producerTTL":15,"producerETT":300,"priority":0,"timeout":-1,"sendOnly":false,"manualRead":false,"enforceReversePath":false,"rateTypeSendReceive":"none","rateSendReceive":1,"rateUnitsSendReceive":"second","nbRateUnitsSendReceive":"","topic":"","cmd":"send","private":false,"ttl":null,"tba":null,"showDebug":false,"outputs":3,"notifyInterval":"10","x":580,"y":240,"wires":[["4a7d97e6.592f28"],["68c275af.5361dc"],["347c042e.53724c"]]},{"id":"68c275af.5361dc","type":"debug","z":"47559f89.d58bb","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":747,"y":244,"wires":},{"id":"4a7d97e6.592f28","type":"debug","z":"47559f89.d58bb","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":750,"y":195,"wires":},{"id":"347c042e.53724c","type":"debug","z":"47559f89.d58bb","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":747.285888671875,"y":290.42852783203125,"wires":},{"id":"44027c74.c39ee4","type":"inject","z":"47559f89.d58bb","name":"SendMessage","topic":"","payload":"This is my test","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":190,"y":220,"wires":[["fe637a5c.ee5a58"]]},{"id":"fe637a5c.ee5a58","type":"function","z":"47559f89.d58bb","name":"Inc Payload","func":"var msg1={};\nmsg.payload=0;\nmsg1.payload=msg.payload+1;\nreturn msg1;","outputs":1,"noerr":0,"x":387,"y":210,"wires":[["d9beb76b.731f58","927b9414.573998","d06e6864.12e6e8"]]},{"id":"927b9414.573998","type":"delay","z":"47559f89.d58bb","name":"","pauseType":"delay","timeout":"10","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"3","randomUnits":"seconds","drop":false,"x":377,"y":270,"wires":[["fe637a5c.ee5a58"]]},{"id":"d9beb76b.731f58","type":"debug","z":"47559f89.d58bb","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":574,"y":182.4285888671875,"wires":},{"id":"2d2a293.42843d6","type":"redlink store","z":"47559f89.d58bb","listenAddress":"localhost","listenPort":"2101","southInsert":true,"peerAddress":"0.0.0.0","peerPort":443,"headers":[{"ip":"localhost","port":"2001"}],"name":"A","meshName":"mesh0","interStoreLB":false,"oldStore":true,"showRegistration":false,"showDebug":true,"outputs":2,"isUserCertificate":false,"userKey":"","userCertificate":"","x":362,"y":415,"wires":[["4614fb34.d24c64"],["a63d92b7.e3989"]]},{"id":"deca072f.e3ab58","type":"inject","z":"47559f89.d58bb","name":"","topic":"listRegistrations","payload":"","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":188,"y":377,"wires":[["2d2a293.42843d6"]]},{"id":"4614fb34.d24c64","type":"debug","z":"47559f89.d58bb","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":501,"y":374,"wires":},{"id":"bbedfc46.aaaa4","type":"debug","z":"47559f89.d58bb","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":507,"y":414,"wires":},{"id":"a63d92b7.e3989","type":"debug","z":"47559f89.d58bb","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":505,"y":459,"wires":},{"id":"beee3946.bdc4a8","type":"inject","z":"47559f89.d58bb","name":"","topic":"listStore","payload":"","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":177,"y":415,"wires":[["2d2a293.42843d6"]]},{"id":"9412ff19.ee9e5","type":"inject","z":"47559f89.d58bb","name":"","topic":"flushStore","payload":"","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":178,"y":457,"wires":[["2d2a293.42843d6"]]},{"id":"cf33b931.7edc98","type":"comment","z":"47559f89.d58bb","name":"Click the debug to watch it run","info":"","x":649,"y":141,"wires":},{"id":"bb808716.7731e8","type":"comment","z":"47559f89.d58bb","name":"Click the SendMessage to start the loop from producer to consumer and back","info":"","x":316,"y":42,"wires":},{"id":"216353a1.27c92c","type":"function","z":"47559f89.d58bb","name":"执行程序","func":"var bb = 2;\nvar aa = 1;\nvar cc = aa+bb;\nreturn {payload:cc}","outputs":1,"noerr":0,"x":500,"y":540,"wires":[]},{"id":"44558997.5f6198","type":"debug","z":"47559f89.d58bb","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":630,"y":100,"wires":}]

---

<div class="post-metadata">

**Author:** ![MQ1219](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@MQ1219](https://discourse.nodered.org/u/MQ1219)\
**Post date:** [14 November 2019 08:06 UTC](https://discourse.nodered.org/t/how-to-use-redlink/17929/2 "2019-11-14T08:06:25Z")

</div>

I had the same problem

---

<div class="post-metadata">

**Author:** ![MaoMao](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/maomao/32/14279_2.png) [@MaoMao](https://discourse.nodered.org/u/MaoMao)\
**Post date:** [14 November 2019 08:09 UTC](https://discourse.nodered.org/t/how-to-use-redlink/17929/3 "2019-11-14T08:09:45Z")

</div>

At present, my process only listens to other ports according to the output information and can display some store information, but it doesn't seem to be useful.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [14 November 2019 10:51 UTC](https://discourse.nodered.org/t/how-to-use-redlink/17929/4 "2019-11-14T10:51:55Z")

</div>

> [@MaoMao](#):
>
> There's an explanation for this node but I really don't understand how it's used, how it communicates,

You should pose this question to the author on the [github page](https://github.com/Gippsman2017/node-red-contrib-redlink)

---

<div class="post-metadata">

**Author:** ![MaoMao](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/maomao/32/14279_2.png) [@MaoMao](https://discourse.nodered.org/u/MaoMao)\
**Post date:** [15 November 2019 00:57 UTC](https://discourse.nodered.org/t/how-to-use-redlink/17929/5 "2019-11-15T00:57:48Z")

</div>

Thanks a lot.
