In Polywall 3.7 we integrated Polywall Automation functionality based on Node-red. This thread created for better understanding of Node-red and Polywall Automation.

Node-RED basis

Below 8 videos that describes Node-RED basis an principles

https://www.youtube.com/watch?v=veiNb6Y0ERg&list=WL&index=21

https://www.youtube.com/watch?v=46Ak61c_ymc&list=WL&index=22

https://www.youtube.com/watch?v=xjUnVzbMUCI&list=WL&index=23

https://www.youtube.com/watch?v=TDxL02SInps&list=WL&index=24

https://www.youtube.com/watch?v=pmgxsb4xwdo&list=WL&index=25

https://www.youtube.com/watch?v=jLI0DcXMQOs&list=WL&index=26

https://www.youtube.com/watch?v=z-mwVUBhcL4&list=WL&index=27

https://www.youtube.com/watch?v=zaBmfhxEOH8&list=WL&index=28


Installing Nodes

Palette Manager : Node-RED


Usefull links

Node-RED Cookbook : Node-RED

Developing Flows : Node-RED


Polywall nodes (API v.1.4)

<aside> đź’ˇ All nodes should be connected to a Polywall Server. For example 127.0.0.1:9999

</aside>

Node name Description Msg.payload
Active-visualizers The node for getting “Main states” of active visualizers msg.payload = "Room ID”
(optional setting) msg.payload can be empty, in that case it will get information from the first room in the list.

Example: msg.payload = “Hall” | | List-scenarios | The node for getting list of scenarios | msg.payload = "Room ID” (optional setting) msg.payload can be empty, in that case it will get information from the first room in the list.

Example: msg.payload = “Hall” | | Play-scene | The node turn on the desired scene of the active scenario. | msg.payload = "Room ID (optional)" + "Scene name"

Example: msg.payload = “Scene 1”

Example with Room ID: msg.payload = “Hall” “Scene1” | | Scenario-on | The node turn on the desired scenario. | msg.payload = "Room ID (optional)" + "scenario name"

Example: msg.payload = “Scenario 1”

Example with Room ID: msg.payload = “Hall” “Scenario 1” | | Scenario-stop | The node turn off the scenario. | msg.payload = "Room ID” (optional setting) msg.payload can be empty, in that case it will get information from the first Room.

Example: msg.payload = “Hall” | | List-scenes | The node for getting list of scenes | msg.payload = "Room ID” (optional setting) msg.payload can be empty, in that case it will get information from the first room.

Example: msg.payload = “Hall” | | Mute-source | The node for mute\unmute source. | msg. payload = “Room ID” + “Display ID” + “Source ID”

Example: msg. payload = 1 Vh8k092D

Example with Room ID: msg.payload = “Hall” 1 Vh8k092D | | Powerpoint-next | MS PowerPoint source control | msg.payload = "Room ID” (optional setting) msg.payload can be empty, in that case it will work with the default room.

Example: msg.payload = “Hall” | | Powerpoint-previous | MS PowerPoint source control | msg.payload = "Room ID” (optional setting) msg.payload can be empty, in that case it will work with the default room.

Example: msg.payload = “Hall” | | Shared-server | All Polywall nodes without filled IP address will use IP from this node. Allows to simplify creation of complex flows. | - | | Status - sources | The node for getting status of sources | msg.payload = “Room ID (optional)” + DisplayID

Example: msg.payload = 1

Example with Room ID: msg.payload = "Hall" 1 | | Add - source | The node to add source on the display | msg.payload = “Room ID (optional)” + Display ID + file route + source start point + pixel size.

Example: msg.payload = 1 "C:\polywall\Hall\1.vmfu" 10 10 500 320

Example with Room ID: msg.payload = “Hall” 1 "C:\polywall\Hall\1.vmfu" 10 10 500 320 | | Remove - source | The node to delete source from the display | msg.payload = “Room ID (optional)” + Display ID + Source ID

Example: msg.payload = 1 Vh8k092D

Example with Room ID: msg.payload = "Hall" 1 Vh8k092D |