Page 1 of 1

Receive the same command multiple times

PostPosted: Sat Feb 13, 2016 8:40 pm
by Dennis Kuypers
Hello,

you probably encountered a situation where you get a command from some external device and then your TCP Input node shows you the correct text, but when the command is sent again then the node values does not change and you can not react to that. There is a very simple solution.

For the sake of this example lets assume that the command is "(DoStuff)". Your node is set to get the command between the parenthesis.

Add a script node and use the TCPInject command to clear your input.
Code: Select all
TCPInject,1,(idle)
Your node's input then changes to "idle" and the next time you receive "DoStuff" the node will properly trigger.

Dennis

Re: Receive the same command multiple times

PostPosted: Mon Feb 15, 2016 2:53 am
by malkuth23
Very useful. Thank you.