Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Configure the TCP connection - sending messages

  1. Open the Node-RED for the Vertex that will be sending data to another cluster.

  2. In the Node Palette, find the TCP out node.

    Image Modified

  3. 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.

    Image Modified
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

  1. In the Node Palette, find the TCP in node.

  2. Enter the node and select Type as Listen on port 4700. Then,select Output as a stream of String payload(s).

    Image Modified

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

  1. Send payload to the other cluster by clicking the button in the inject node. Then notice the messages caught by the debug node.

    Image Modified

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.

Filter by label
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@10957
sortmodified
showSpacefalse
reversetrue
typepage
cqllabel = "troubleshooting" and type = "page" and space = "E2D"
labelskb-how-to-article