Versions Compared

Key

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

...

  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 from the Output section.

  3. Enter the node and select Type as Connect to and select port e.g. 4700. As a host, enter the Vertex IP to which you are sending messages.

...

Info

You can send any messages via TCP eg. from the dali2devs common node, dashboard nodes like slider, light scheduler etc.

Configure the TCP connection - Vertex that is 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 Added

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 in some way 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 Added

2. Observe the luminaire group which you wanted to trigger. Does the light turn on/off?
3. Try to send via TCP messages from other nodes e.g. dali2devs common.

Filter by label (Content 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