Created
August 15, 2023 13:22
-
-
Save joside/1065d656cc25796683562bd55d6ba800 to your computer and use it in GitHub Desktop.
Simple Node RED "link call" demonstration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"id":"2d15c87a83c89f9c","type":"inject","z":"e3a28712dfe688ab","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"1","payloadType":"num","x":270,"y":120,"wires":[["2de38dcddcb66f0b"]]},{"id":"6671e4ade9b4190b","type":"inject","z":"e3a28712dfe688ab","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"3","payloadType":"num","x":270,"y":180,"wires":[["1a1ad4569ade97ae"]]},{"id":"2de38dcddcb66f0b","type":"link call","z":"e3a28712dfe688ab","name":"","links":["dfccfe0b05107ae7"],"linkType":"static","timeout":"30","x":450,"y":120,"wires":[["de9595c416b4b48c"]]},{"id":"1a1ad4569ade97ae","type":"link call","z":"e3a28712dfe688ab","name":"","links":["dfccfe0b05107ae7"],"linkType":"static","timeout":"30","x":450,"y":180,"wires":[["e1af84fc121f7c0b"]]},{"id":"de9595c416b4b48c","type":"debug","z":"e3a28712dfe688ab","name":"debug 18","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":660,"y":120,"wires":[]},{"id":"e1af84fc121f7c0b","type":"debug","z":"e3a28712dfe688ab","name":"debug 19","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":660,"y":180,"wires":[]},{"id":"dfccfe0b05107ae7","type":"link in","z":"e3a28712dfe688ab","name":"testfunction","links":[],"x":345,"y":260,"wires":[["8eafc49c1ca13b8d"]]},{"id":"1e164ef0a2ec86f1","type":"link out","z":"e3a28712dfe688ab","name":"link out 6","mode":"return","links":[],"x":585,"y":260,"wires":[]},{"id":"8eafc49c1ca13b8d","type":"function","z":"e3a28712dfe688ab","name":"function 19","func":"msg.payload = msg.payload * 2;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":460,"y":260,"wires":[["1e164ef0a2ec86f1"]]}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment