...
Configure the TCP connection - sending messages
Open the Node-RED for the Vertex that will be sending data to another cluster.
In the Node Palette, find the TCP out node.
Enter the node and select Type as Connect to and select port e.g. 4700. As a host, enter the Vertex IP which receives information.
Info |
---|
Ports in the range 1024-49151 are called user or registered ports. Check them and make sure that the TCP port is vacant and ready to use. We use 4700 because no other application uses that port. |
...
Configure the TCP connection - receiving messages
In the Node Palette, find the TCP in node.
Enter the node and select Type as Listen on port 4700. Then,select Output as a stream of String payload(s).
3. Add the debug node and connect it with the output of tcp in node. By doing so, you will see the messages flowing from the other cluster.
...
4. Add vertex action and vertex cluster nodes. Configure vertex action e.g. set Direct value mode and action as Set brightness (scale percent).
...
Test the connection
Send payload to the other cluster by clicking the button in the inject node. Then notice the messages caught by the debug node.
2. Observe the luminaire group which you wanted to trigger. Does the light turn on/off?
3. Try to send messages from other nodes e.g. dali2devs common.
Related articles
Filter by label | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|