...
Open the Node-RED for the Vertex that will be sending data to another cluster.
In the Node Palette, find the TCP out node from the Output section.
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
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 in some way 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 via TCP messages from other nodes e.g. dali2devs common.
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|