Using Muse Automator to Control an SVSI Matrix
Technical Support Guide
Table of Contents
Brand:
- AMX
Models:
- MU-1000
- MU-1300
- MU-2300
- MU-3300
Muse Automator Example of an SVSI Matrix
In the example flow below when the input or output button is pressed on the TP it will store that value in an object until it has both an input and output value. Once it has both values the input value is sent to switch node that checks the flow.output object and routes the input value accordingly. Once a route is made both the input and output values are reset to 0 so to make another route you have to select both input and output for the next route to be made.
[
{
"id": "8d6813b7f8511fe9",
"type": "tab",
"label": "SVSI Matrix",
"disabled": false,
"info": "",
"env": []
},
{
"id": "6c3205cc8a73417b",
"type": "group",
"z": "8d6813b7f8511fe9",
"name": "",
"style": {
"label": true
},
"nodes": [
"9ee8124c38f95477",
"09aef0fe0757193c"
],
"x": 28,
"y": 73,
"w": 1794,
"h": 494
},
{
"id": "fe21a2bf93dffa6b",
"type": "group",
"z": "8d6813b7f8511fe9",
"name": "Mutually Exclusive Input FB",
"style": {
"label": true
},
"nodes": [
"2a74932a1a8188f6",
"0a7536deae18a676",
"2c1a545f7e592462",
"b34d5261a05fe774",
"1a77e647823232c4",
"375646ebfbf9c3a4",
"515d2c3fd49571bf",
"6761ed822ec12762",
"11ebfee0349f17db",
"2ddad0e1f5cd29ab",
"5e2033d23b5c38ab",
"1d48615c628b12a2",
"7ffe1136db7717d9",
"848a178a666ed1c2",
"59f50b9b39ab6f71",
"fcd7a6e1f8250eca",
"1f1464184e01d95e",
"711a15020c3ddc9a",
"b89b73d71fad7775"
],
"x": 34,
"y": 599,
"w": 532,
"h": 402
},
{
"id": "d6bacaf5b0c119da",
"type": "group",
"z": "8d6813b7f8511fe9",
"name": "",
"style": {
"label": true
},
"nodes": [
"877e6f70a6b0db21",
"e32992d9e3960901",
"e09997255497dc12",
"d8ae2e8b23be5716",
"aae7d2024e13bbf5"
],
"x": 2074,
"y": 68,
"w": 1098,
"h": 633
},
{
"id": "d8ae2e8b23be5716",
"type": "group",
"z": "8d6813b7f8511fe9",
"g": "d6bacaf5b0c119da",
"name": "Panel Text Update",
"style": {
"label": true
},
"nodes": [
"f597347616fb628c",
"a9ac7d4a21b6d410",
"03d56429db4efdfd"
],
"x": 2474,
"y": 499,
"w": 392,
"h": 122
},
{
"id": "aae7d2024e13bbf5",
"type": "group",
"z": "8d6813b7f8511fe9",
"g": "d6bacaf5b0c119da",
"name": "Switch determines the selected output and you trigger the decoder routing from the switch",
"style": {
"label": true
},
"nodes": [
"137d23285350641c",
"56cdcc39793f9600",
"b60b6b9d343c3ee2",
"85453620bf64eab0",
"ee455470e30dd0a5",
"9cfdb04019a95805",
"9d470119f613a365",
"c822c414c927a586",
"e0bc24fa69ffa65d",
"6172d4797d682d9a",
"fdddd9b95a115f10",
"ea8011cada2c5cac",
"b0e276e324a19315",
"e62926a46f622102",
"e3e5aaefb93dc3cc"
],
"x": 2474,
"y": 94,
"w": 672,
"h": 367
},
{
"id": "9ee8124c38f95477",
"type": "group",
"z": "8d6813b7f8511fe9",
"g": "6c3205cc8a73417b",
"name": "Input Selection",
"style": {
"label": true
},
"nodes": [
"0b7054ca6ac1632e",
"67e7b973f2644960",
"8470cc8dd808b656",
"eee22a964c2ff8a0",
"e45abb6361f50eb0",
"8ca53ede9ac57972",
"1c1d56bb85a4a4af",
"ef37ad0b01e5ccb6",
"e42773faa0c3d340",
"5305d3778475fe5f",
"0fc01a46f6df2b80",
"c014275503ecbb0f",
"6c7661d39abedddc",
"6e75ce11af9ecc4c",
"026ce0e080e546c7",
"f0ce5ec1fe23a329",
"391dc994e91ec4fe",
"6b2088a86df66c8e",
"b9be274764004285",
"c3e0f15bf00b3cb8",
"8c308f581ffd193e",
"0959c349fb9eb0d8",
"45189fb8a248c463",
"e0fc4594c51dbe13",
"51f61afe1ae380fe",
"8dde68153d96c942",
"f988ae4148a68c42",
"b0a916434d0e2e27",
"f11b192f49b1d77d",
"01e0bd8ab2f9dc6c"
],
"x": 54,
"y": 99,
"w": 862,
"h": 442
},
{
"id": "09aef0fe0757193c",
"type": "group",
"z": "8d6813b7f8511fe9",
"g": "6c3205cc8a73417b",
"name": "Output Selection",
"style": {
"label": true
},
"nodes": [
"797ed03e02094eb0",
"73c35ceb92ec9fbb",
"da6b033a32163a2d",
"0e42ec4f2f471e1d",
"eb7302851ca8fd76",
"a1eaf913ad806ba7",
"c8c91b010add63d1",
"250244304f380eb8",
"aa2ec77ece221448",
"56609fbf3adf9821",
"c95dd3a85cef3338",
"d42a03ef88ee63cb",
"c88acf4f95c4d161",
"d2ed2118ea17accf",
"e2ba48aeb87f72e5",
"cf720f88b825acb3",
"a16239dae9d0923b",
"7d872c8a89341474",
"e0e1941ba0a5032b",
"3c253ad0c0593840",
"229b90348e721804"
],
"x": 954,
"y": 99,
"w": 842,
"h": 322
},
{
"id": "e0bc24fa69ffa65d",
"type": "junction",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"x": 2500,
"y": 120,
"wires": [
[]
]
},
{
"id": "0b7054ca6ac1632e",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input 1",
"rules": [
{
"t": "set",
"p": "input",
"pt": "flow",
"to": "10",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 180,
"wires": [
[
"e42773faa0c3d340"
]
]
},
{
"id": "67e7b973f2644960",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input 2",
"rules": [
{
"t": "set",
"p": "input",
"pt": "flow",
"to": "20",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 220,
"wires": [
[
"e42773faa0c3d340"
]
]
},
{
"id": "8470cc8dd808b656",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input 3",
"rules": [
{
"t": "set",
"p": "input",
"pt": "flow",
"to": "30",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 260,
"wires": [
[
"e42773faa0c3d340"
]
]
},
{
"id": "eee22a964c2ff8a0",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input 4",
"rules": [
{
"t": "set",
"p": "input",
"pt": "flow",
"to": "40",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 300,
"wires": [
[
"e42773faa0c3d340"
]
]
},
{
"id": "797ed03e02094eb0",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Output 1",
"rules": [
{
"t": "set",
"p": "output",
"pt": "flow",
"to": "1",
"tot": "str",
"dc": true
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1400,
"y": 180,
"wires": [
[
"aa2ec77ece221448"
]
]
},
{
"id": "73c35ceb92ec9fbb",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Output 4",
"rules": [
{
"t": "set",
"p": "output",
"pt": "flow",
"to": "4",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1400,
"y": 300,
"wires": [
[
"aa2ec77ece221448"
]
]
},
{
"id": "da6b033a32163a2d",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Output 3",
"rules": [
{
"t": "set",
"p": "output",
"pt": "flow",
"to": "3",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1400,
"y": 260,
"wires": [
[
"aa2ec77ece221448"
]
]
},
{
"id": "0e42ec4f2f471e1d",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Output 2",
"rules": [
{
"t": "set",
"p": "output",
"pt": "flow",
"to": "2",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1400,
"y": 220,
"wires": [
[
"aa2ec77ece221448"
]
]
},
{
"id": "e45abb6361f50eb0",
"type": "inject",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input 1",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 150,
"y": 180,
"wires": [
[
"0b7054ca6ac1632e"
]
]
},
{
"id": "8ca53ede9ac57972",
"type": "inject",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input 2",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 150,
"y": 220,
"wires": [
[
"67e7b973f2644960"
]
]
},
{
"id": "1c1d56bb85a4a4af",
"type": "inject",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input 4",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 150,
"y": 300,
"wires": [
[
"eee22a964c2ff8a0"
]
]
},
{
"id": "ef37ad0b01e5ccb6",
"type": "inject",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input 3",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 150,
"y": 260,
"wires": [
[
"8470cc8dd808b656"
]
]
},
{
"id": "eb7302851ca8fd76",
"type": "inject",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Output 2",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 1050,
"y": 220,
"wires": [
[
"0e42ec4f2f471e1d"
]
]
},
{
"id": "a1eaf913ad806ba7",
"type": "inject",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Output 1",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 1050,
"y": 180,
"wires": [
[
"797ed03e02094eb0"
]
]
},
{
"id": "c8c91b010add63d1",
"type": "inject",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Output 3",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 1050,
"y": 260,
"wires": [
[
"da6b033a32163a2d"
]
]
},
{
"id": "250244304f380eb8",
"type": "inject",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Output 4",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 1050,
"y": 300,
"wires": [
[
"73c35ceb92ec9fbb"
]
]
},
{
"id": "aa2ec77ece221448",
"type": "switch",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "if flow.input !=0",
"property": "input",
"propertyType": "flow",
"rules": [
{
"t": "neq",
"v": "0",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 1620,
"y": 180,
"wires": [
[
"229b90348e721804"
]
]
},
{
"id": "e42773faa0c3d340",
"type": "switch",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "if flow.output !=0",
"property": "output",
"propertyType": "flow",
"rules": [
{
"t": "neq",
"v": "0",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 740,
"y": 180,
"wires": [
[
"01e0bd8ab2f9dc6c"
]
]
},
{
"id": "137d23285350641c",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "Decoder 1",
"mojo": {
"device": "Side-A-98-L-Decoder",
"command": "//decoder/streamSetup/videoStreamNumber",
"onebased": false,
"cmdvalue": "Message payload",
"normalized": false
},
"x": 3060,
"y": 160,
"wires": [
[]
]
},
{
"id": "5305d3778475fe5f",
"type": "UI Control",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Source 1",
"mojo": {
"cp": "e0a39f1110486cbe",
"panel_group": "",
"path": "//510/4",
"locator": {
"acode": 11,
"aport": 1,
"ccode": 71,
"cport": 1
},
"type": "BUTTON",
"buttonType": "TOGGLE",
"trigger": "PUSH",
"state": "ON"
},
"x": 330,
"y": 180,
"wires": [
[
"0b7054ca6ac1632e"
]
]
},
{
"id": "56609fbf3adf9821",
"type": "UI Control",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Decoder 1",
"mojo": {
"cp": "e0a39f1110486cbe",
"panel_group": "",
"path": "//510/10",
"locator": {
"acode": 31,
"aport": 1,
"ccode": 93,
"cport": 1
},
"type": "BUTTON",
"buttonType": "TOGGLE",
"trigger": "PUSH",
"state": "ON"
},
"x": 1200,
"y": 180,
"wires": [
[
"797ed03e02094eb0"
]
]
},
{
"id": "0fc01a46f6df2b80",
"type": "UI Control",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Source 2",
"mojo": {
"cp": "e0a39f1110486cbe",
"panel_group": "",
"path": "//510/6",
"locator": {
"acode": 12,
"aport": 1,
"ccode": 72,
"cport": 1
},
"type": "BUTTON",
"buttonType": "TOGGLE",
"trigger": "PUSH",
"state": "ON"
},
"x": 330,
"y": 220,
"wires": [
[
"67e7b973f2644960"
]
]
},
{
"id": "c014275503ecbb0f",
"type": "UI Control",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Source 3",
"mojo": {
"cp": "e0a39f1110486cbe",
"panel_group": "",
"path": "//510/7",
"locator": {
"acode": 13,
"aport": 1,
"ccode": 73,
"cport": 1
},
"type": "BUTTON",
"buttonType": "TOGGLE",
"trigger": "PUSH",
"state": "ON"
},
"x": 330,
"y": 260,
"wires": [
[
"8470cc8dd808b656"
]
]
},
{
"id": "6c7661d39abedddc",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input 5",
"rules": [
{
"t": "set",
"p": "input",
"pt": "flow",
"to": "50",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 340,
"wires": [
[
"e42773faa0c3d340"
]
]
},
{
"id": "6e75ce11af9ecc4c",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input 6",
"rules": [
{
"t": "set",
"p": "input",
"pt": "flow",
"to": "60",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 380,
"wires": [
[
"e42773faa0c3d340"
]
]
},
{
"id": "026ce0e080e546c7",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input 7",
"rules": [
{
"t": "set",
"p": "input",
"pt": "flow",
"to": "70",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 420,
"wires": [
[
"e42773faa0c3d340"
]
]
},
{
"id": "f0ce5ec1fe23a329",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input 8",
"rules": [
{
"t": "set",
"p": "input",
"pt": "flow",
"to": "80",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 460,
"wires": [
[
"e42773faa0c3d340"
]
]
},
{
"id": "391dc994e91ec4fe",
"type": "inject",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input 5",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 150,
"y": 340,
"wires": [
[
"6c7661d39abedddc"
]
]
},
{
"id": "6b2088a86df66c8e",
"type": "inject",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input 6",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 150,
"y": 380,
"wires": [
[
"6e75ce11af9ecc4c"
]
]
},
{
"id": "b9be274764004285",
"type": "inject",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input 8",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 150,
"y": 460,
"wires": [
[
"f0ce5ec1fe23a329"
]
]
},
{
"id": "c3e0f15bf00b3cb8",
"type": "inject",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input 7",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 150,
"y": 420,
"wires": [
[
"026ce0e080e546c7"
]
]
},
{
"id": "2a74932a1a8188f6",
"type": "switch",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "neq",
"v": "Input 1",
"vt": "str"
},
{
"t": "neq",
"v": "Input 2",
"vt": "str"
},
{
"t": "neq",
"v": "Input 3",
"vt": "str"
},
{
"t": "neq",
"v": "Input 4",
"vt": "str"
},
{
"t": "neq",
"v": "Input 5",
"vt": "str"
},
{
"t": "neq",
"v": "Input 6",
"vt": "str"
},
{
"t": "neq",
"v": "Input 7",
"vt": "str"
},
{
"t": "neq",
"v": "Input 8",
"vt": "str"
},
{
"t": "neq",
"v": "Input 9",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 9,
"x": 290,
"y": 800,
"wires": [
[
"6761ed822ec12762"
],
[
"11ebfee0349f17db"
],
[
"2ddad0e1f5cd29ab"
],
[
"5e2033d23b5c38ab"
],
[
"1d48615c628b12a2"
],
[
"7ffe1136db7717d9"
],
[
"1f1464184e01d95e"
],
[
"711a15020c3ddc9a"
],
[
"b89b73d71fad7775"
]
]
},
{
"id": "0a7536deae18a676",
"type": "Event",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "Input 1",
"mojo": {
"device": "Side-A-Desk",
"event": "//port/1/channel/71",
"onebased": true,
"eventKind": "Parameter",
"paramType": "Boolean",
"boolParamFilter": "true"
},
"x": 110,
"y": 640,
"wires": [
[
"2a74932a1a8188f6"
]
]
},
{
"id": "2c1a545f7e592462",
"type": "Event",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "Input 2",
"mojo": {
"device": "Side-A-Desk",
"event": "//port/1/channel/72",
"onebased": true,
"eventKind": "Parameter",
"paramType": "Boolean",
"boolParamFilter": "true"
},
"x": 110,
"y": 680,
"wires": [
[
"2a74932a1a8188f6"
]
]
},
{
"id": "b34d5261a05fe774",
"type": "Event",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "Input 3",
"mojo": {
"device": "Side-A-Desk",
"event": "//port/1/channel/73",
"onebased": true,
"eventKind": "Parameter",
"paramType": "Boolean",
"boolParamFilter": "true"
},
"x": 110,
"y": 720,
"wires": [
[
"2a74932a1a8188f6"
]
]
},
{
"id": "1a77e647823232c4",
"type": "Event",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "Input 4",
"mojo": {
"device": "Side-A-Desk",
"event": "//port/1/channel/74",
"onebased": true,
"eventKind": "Parameter",
"paramType": "Boolean",
"boolParamFilter": "true"
},
"x": 110,
"y": 760,
"wires": [
[
"2a74932a1a8188f6"
]
]
},
{
"id": "375646ebfbf9c3a4",
"type": "Event",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "Input 5",
"mojo": {
"device": "Side-A-Desk",
"event": "//port/1/channel/75",
"onebased": true,
"eventKind": "Parameter",
"paramType": "Boolean",
"boolParamFilter": "true"
},
"x": 110,
"y": 800,
"wires": [
[
"2a74932a1a8188f6"
]
]
},
{
"id": "515d2c3fd49571bf",
"type": "Event",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "Input 6",
"mojo": {
"device": "Side-A-Desk",
"event": "//port/1/channel/76",
"onebased": true,
"eventKind": "Parameter",
"paramType": "Boolean",
"boolParamFilter": "true"
},
"x": 110,
"y": 840,
"wires": [
[
"2a74932a1a8188f6"
]
]
},
{
"id": "6761ed822ec12762",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "ch71 off",
"mojo": {
"device": "Side-A-Desk",
"command": "//port/1/channel/71",
"onebased": true,
"args": false,
"cmdvalue": "Manual configuration"
},
"x": 480,
"y": 640,
"wires": [
[]
]
},
{
"id": "11ebfee0349f17db",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "ch72 off",
"mojo": {
"device": "Side-A-Desk",
"command": "//port/1/channel/72",
"onebased": true,
"args": false,
"cmdvalue": "Manual configuration"
},
"x": 480,
"y": 680,
"wires": [
[]
]
},
{
"id": "2ddad0e1f5cd29ab",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "ch73 off",
"mojo": {
"device": "Side-A-Desk",
"command": "//port/1/channel/73",
"onebased": true,
"args": false,
"cmdvalue": "Manual configuration"
},
"x": 480,
"y": 720,
"wires": [
[]
]
},
{
"id": "5e2033d23b5c38ab",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "ch74 off",
"mojo": {
"device": "Side-A-Desk",
"command": "//port/1/channel/74",
"onebased": true,
"args": false,
"cmdvalue": "Manual configuration"
},
"x": 480,
"y": 760,
"wires": [
[]
]
},
{
"id": "1d48615c628b12a2",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "ch75 off",
"mojo": {
"device": "Side-A-Desk",
"command": "//port/1/channel/75",
"onebased": true,
"args": false,
"cmdvalue": "Manual configuration"
},
"x": 480,
"y": 800,
"wires": [
[]
]
},
{
"id": "7ffe1136db7717d9",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "ch76 off",
"mojo": {
"device": "Side-A-Desk",
"command": "//port/1/channel/76",
"onebased": true,
"args": false,
"cmdvalue": "Manual configuration"
},
"x": 480,
"y": 840,
"wires": [
[]
]
},
{
"id": "56cdcc39793f9600",
"type": "switch",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "",
"property": "output",
"propertyType": "flow",
"rules": [
{
"t": "eq",
"v": "1",
"vt": "str"
},
{
"t": "eq",
"v": "2",
"vt": "str"
},
{
"t": "eq",
"v": "3",
"vt": "str"
},
{
"t": "eq",
"v": "4",
"vt": "str"
},
{
"t": "eq",
"v": "5",
"vt": "str"
},
{
"t": "eq",
"v": "6",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 6,
"x": 2550,
"y": 260,
"wires": [
[
"e3e5aaefb93dc3cc"
],
[
"e62926a46f622102"
],
[
"b0e276e324a19315"
],
[
"ea8011cada2c5cac"
],
[
"fdddd9b95a115f10"
],
[
"6172d4797d682d9a"
]
]
},
{
"id": "b60b6b9d343c3ee2",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "Decoder 2",
"mojo": {
"device": "Side-A-98-R-Decoder",
"command": "//decoder/streamSetup/videoStreamNumber",
"onebased": false,
"cmdvalue": "Message payload",
"normalized": false
},
"x": 3060,
"y": 200,
"wires": [
[]
]
},
{
"id": "f597347616fb628c",
"type": "function",
"z": "8d6813b7f8511fe9",
"g": "d8ae2e8b23be5716",
"name": "function 1",
"func": "var cmd\nvar text\nvar source = flow.get(\"input\")\nvar displayName\n\ntext = 'Current Source is '\ncmd = '^TXT-2,1&2,'\n\nif (source == 10) {displayName = \"PC 1\"}\nif (source == 20) {displayName = \"PC 2\"}\nif (source == 30) {displayName = \"PC 3\"}\nif (source == 40) {displayName = \"PC 4\"}\nif (source == 50) {displayName = \"PC 5\"}\nif (source == 60) {displayName = \"PC 6\"}\nif (source == 70) {displayName = \"PC 7\"}\nif (source == 80) {displayName = \"PC 8\"}\nif (source == 90) {displayName = \"Wallplate A\"}\n\nmsg.payload = cmd+text+displayName\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 2560,
"y": 540,
"wires": [
[
"a9ac7d4a21b6d410",
"03d56429db4efdfd"
]
]
},
{
"id": "a9ac7d4a21b6d410",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "d8ae2e8b23be5716",
"name": "Command to TP",
"mojo": {
"device": "Side-A-Desk",
"cmdvalue": "Message payload",
"command": "//port/1/send_command",
"onebased": true
},
"x": 2760,
"y": 540,
"wires": [
[]
]
},
{
"id": "03d56429db4efdfd",
"type": "debug",
"z": "8d6813b7f8511fe9",
"g": "d8ae2e8b23be5716",
"name": "debug 121",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 2740,
"y": 580,
"wires": []
},
{
"id": "85453620bf64eab0",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "Decoder 3",
"mojo": {
"device": "Side-A-55-Decoder",
"command": "//decoder/streamSetup/videoStreamNumber",
"onebased": false,
"cmdvalue": "Message payload",
"normalized": false
},
"x": 3060,
"y": 240,
"wires": [
[]
]
},
{
"id": "ee455470e30dd0a5",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "Decoder 4",
"mojo": {
"device": "Side-B-98-L-Decoder",
"command": "//decoder/streamSetup/videoStreamNumber",
"onebased": false,
"cmdvalue": "Message payload",
"normalized": false
},
"x": 3060,
"y": 280,
"wires": [
[]
]
},
{
"id": "9cfdb04019a95805",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "Decoder 5",
"mojo": {
"device": "Side-B-98-R-Decoder",
"command": "//decoder/streamSetup/videoStreamNumber",
"onebased": false,
"cmdvalue": "Message payload",
"normalized": false
},
"x": 3060,
"y": 320,
"wires": [
[]
]
},
{
"id": "9d470119f613a365",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "Decoder 6",
"mojo": {
"device": "Side-B-98-R-Decoder",
"command": "//decoder/streamSetup/videoStreamNumber",
"onebased": false,
"cmdvalue": "Message payload",
"normalized": false
},
"x": 3060,
"y": 360,
"wires": [
[]
]
},
{
"id": "c95dd3a85cef3338",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Output 6",
"rules": [
{
"t": "set",
"p": "output",
"pt": "flow",
"to": "6",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1400,
"y": 380,
"wires": [
[
"aa2ec77ece221448"
]
]
},
{
"id": "d42a03ef88ee63cb",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Output 5",
"rules": [
{
"t": "set",
"p": "output",
"pt": "flow",
"to": "5",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1400,
"y": 340,
"wires": [
[
"aa2ec77ece221448"
]
]
},
{
"id": "c88acf4f95c4d161",
"type": "inject",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Output 5",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 1050,
"y": 340,
"wires": [
[
"d42a03ef88ee63cb"
]
]
},
{
"id": "d2ed2118ea17accf",
"type": "inject",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Output 6",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 1050,
"y": 380,
"wires": [
[
"c95dd3a85cef3338"
]
]
},
{
"id": "8c308f581ffd193e",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input 9",
"rules": [
{
"t": "set",
"p": "input",
"pt": "flow",
"to": "90",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 500,
"wires": [
[
"e42773faa0c3d340"
]
]
},
{
"id": "0959c349fb9eb0d8",
"type": "inject",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input 9",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 150,
"y": 500,
"wires": [
[
"8c308f581ffd193e"
]
]
},
{
"id": "848a178a666ed1c2",
"type": "Event",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "Input 7",
"mojo": {
"device": "Side-A-Desk",
"event": "//port/1/channel/77",
"onebased": true,
"eventKind": "Parameter",
"paramType": "Boolean",
"boolParamFilter": "true"
},
"x": 110,
"y": 880,
"wires": [
[
"2a74932a1a8188f6"
]
]
},
{
"id": "59f50b9b39ab6f71",
"type": "Event",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "Input 8",
"mojo": {
"device": "Side-A-Desk",
"event": "//port/1/channel/78",
"onebased": true,
"eventKind": "Parameter",
"paramType": "Boolean",
"boolParamFilter": "true"
},
"x": 110,
"y": 920,
"wires": [
[
"2a74932a1a8188f6"
]
]
},
{
"id": "fcd7a6e1f8250eca",
"type": "Event",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "Input 9",
"mojo": {
"device": "Side-A-Desk",
"event": "//port/1/channel/79",
"onebased": true,
"eventKind": "Parameter",
"paramType": "Boolean",
"boolParamFilter": "true"
},
"x": 110,
"y": 960,
"wires": [
[
"2a74932a1a8188f6"
]
]
},
{
"id": "1f1464184e01d95e",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "ch77 off",
"mojo": {
"device": "Side-A-Desk",
"command": "//port/1/channel/77",
"onebased": true,
"args": false,
"cmdvalue": "Manual configuration"
},
"x": 480,
"y": 880,
"wires": [
[]
]
},
{
"id": "711a15020c3ddc9a",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "ch78 off",
"mojo": {
"device": "Side-A-Desk",
"command": "//port/1/channel/78",
"onebased": true,
"args": false,
"cmdvalue": "Manual configuration"
},
"x": 480,
"y": 920,
"wires": [
[]
]
},
{
"id": "b89b73d71fad7775",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "ch79 off",
"mojo": {
"device": "Side-A-Desk",
"command": "//port/1/channel/79",
"onebased": true,
"args": false,
"cmdvalue": "Manual configuration"
},
"x": 480,
"y": 960,
"wires": [
[]
]
},
{
"id": "45189fb8a248c463",
"type": "UI Control",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Source 4",
"mojo": {
"cp": "",
"panel_group": "85bbcf39b0401010",
"path": "//510/15",
"locator": {
"acode": 14,
"aport": 1,
"ccode": 74,
"cport": 1
},
"type": "BUTTON",
"buttonType": "TOGGLE",
"trigger": "PUSH",
"state": "ON"
},
"x": 330,
"y": 300,
"wires": [
[
"eee22a964c2ff8a0"
]
]
},
{
"id": "e0fc4594c51dbe13",
"type": "UI Control",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Source 5",
"mojo": {
"cp": "",
"panel_group": "85bbcf39b0401010",
"path": "//510/16",
"locator": {
"acode": 15,
"aport": 1,
"ccode": 75,
"cport": 1
},
"type": "BUTTON",
"buttonType": "TOGGLE",
"trigger": "PUSH",
"state": "ON"
},
"x": 330,
"y": 340,
"wires": [
[
"6c7661d39abedddc"
]
]
},
{
"id": "51f61afe1ae380fe",
"type": "UI Control",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Source 6",
"mojo": {
"cp": "",
"panel_group": "85bbcf39b0401010",
"path": "//510/17",
"locator": {
"acode": 16,
"aport": 1,
"ccode": 76,
"cport": 1
},
"type": "BUTTON",
"buttonType": "TOGGLE",
"trigger": "PUSH",
"state": "ON"
},
"x": 330,
"y": 380,
"wires": [
[
"6e75ce11af9ecc4c"
]
]
},
{
"id": "8dde68153d96c942",
"type": "UI Control",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Source 7",
"mojo": {
"cp": "",
"panel_group": "85bbcf39b0401010",
"path": "//510/19",
"locator": {
"acode": 17,
"aport": 1,
"ccode": 77,
"cport": 1
},
"type": "BUTTON",
"buttonType": "TOGGLE",
"trigger": "PUSH",
"state": "ON"
},
"x": 330,
"y": 420,
"wires": [
[
"026ce0e080e546c7"
]
]
},
{
"id": "f988ae4148a68c42",
"type": "UI Control",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Source 8",
"mojo": {
"cp": "",
"panel_group": "85bbcf39b0401010",
"path": "//510/20",
"locator": {
"acode": 18,
"aport": 1,
"ccode": 78,
"cport": 1
},
"type": "BUTTON",
"buttonType": "TOGGLE",
"trigger": "PUSH",
"state": "ON"
},
"x": 330,
"y": 460,
"wires": [
[
"f0ce5ec1fe23a329"
]
]
},
{
"id": "b0a916434d0e2e27",
"type": "UI Control",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Source 9",
"mojo": {
"cp": "",
"panel_group": "85bbcf39b0401010",
"path": "//510/21",
"locator": {
"acode": 19,
"aport": 1,
"ccode": 79,
"cport": 1
},
"type": "BUTTON",
"buttonType": "TOGGLE",
"trigger": "PUSH",
"state": "ON"
},
"x": 330,
"y": 500,
"wires": [
[
"8c308f581ffd193e"
]
]
},
{
"id": "e2ba48aeb87f72e5",
"type": "UI Control",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Decoder 2",
"mojo": {
"cp": "e0a39f1110486cbe",
"panel_group": "",
"path": "//510/11",
"locator": {
"acode": 31,
"aport": 1,
"ccode": 94,
"cport": 1
},
"type": "BUTTON",
"buttonType": "TOGGLE",
"trigger": "PUSH",
"state": "ON"
},
"x": 1200,
"y": 220,
"wires": [
[
"0e42ec4f2f471e1d"
]
]
},
{
"id": "cf720f88b825acb3",
"type": "UI Control",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Decoder 3",
"mojo": {
"cp": "e0a39f1110486cbe",
"panel_group": "",
"path": "//510/13",
"locator": {
"acode": 33,
"aport": 1,
"ccode": 91,
"cport": 1
},
"type": "BUTTON",
"buttonType": "TOGGLE",
"trigger": "PUSH",
"state": "ON"
},
"x": 1200,
"y": 260,
"wires": [
[
"da6b033a32163a2d"
]
]
},
{
"id": "a16239dae9d0923b",
"type": "UI Control",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Decoder 4",
"mojo": {
"cp": "e0a39f1110486cbe",
"panel_group": "",
"path": "//510/5",
"locator": {
"acode": 32,
"aport": 1,
"ccode": 95,
"cport": 1
},
"type": "BUTTON",
"buttonType": "TOGGLE",
"trigger": "PUSH",
"state": "ON"
},
"x": 1200,
"y": 300,
"wires": [
[
"73c35ceb92ec9fbb"
]
]
},
{
"id": "7d872c8a89341474",
"type": "UI Control",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Decoder 5",
"mojo": {
"cp": "e0a39f1110486cbe",
"panel_group": "",
"path": "//510/9",
"locator": {
"acode": 32,
"aport": 1,
"ccode": 96,
"cport": 1
},
"type": "BUTTON",
"buttonType": "TOGGLE",
"trigger": "PUSH",
"state": "ON"
},
"x": 1200,
"y": 340,
"wires": [
[
"d42a03ef88ee63cb"
]
]
},
{
"id": "e0e1941ba0a5032b",
"type": "UI Control",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Decoder 6",
"mojo": {
"cp": "e0a39f1110486cbe",
"panel_group": "",
"path": "//510/14",
"locator": {
"acode": 34,
"aport": 1,
"ccode": 97,
"cport": 1
},
"type": "BUTTON",
"buttonType": "TOGGLE",
"trigger": "PUSH",
"state": "ON"
},
"x": 1200,
"y": 380,
"wires": [
[
"c95dd3a85cef3338"
]
]
},
{
"id": "6bf2a3818da9682f",
"type": "inject",
"z": "8d6813b7f8511fe9",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "output",
"payloadType": "flow",
"x": 970,
"y": 680,
"wires": [
[
"2593cac808c16549"
]
]
},
{
"id": "2593cac808c16549",
"type": "debug",
"z": "8d6813b7f8511fe9",
"name": "debug 126",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 1200,
"y": 680,
"wires": []
},
{
"id": "f11b192f49b1d77d",
"type": "comment",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input change node will set flow.input to stream number",
"info": "Input change node will set flow.input to stream number",
"x": 400,
"y": 140,
"wires": []
},
{
"id": "3c253ad0c0593840",
"type": "comment",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Output is nothing that is set in the decoders, you just need to assign then a number so the program knows which one is which",
"info": "",
"x": 1360,
"y": 140,
"wires": []
},
{
"id": "f5c3d608081d2fb4",
"type": "inject",
"z": "8d6813b7f8511fe9",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "input",
"payloadType": "flow",
"x": 970,
"y": 720,
"wires": [
[
"d2f47f05b9773549"
]
]
},
{
"id": "d2f47f05b9773549",
"type": "debug",
"z": "8d6813b7f8511fe9",
"name": "debug 157",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 1200,
"y": 720,
"wires": []
},
{
"id": "877e6f70a6b0db21",
"type": "link in",
"z": "8d6813b7f8511fe9",
"g": "d6bacaf5b0c119da",
"name": "SVSI Switching Link",
"links": [
"229b90348e721804",
"01e0bd8ab2f9dc6c"
],
"x": 2115,
"y": 260,
"wires": [
[
"e32992d9e3960901"
]
]
},
{
"id": "229b90348e721804",
"type": "link out",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "SVSI Link",
"mode": "link",
"links": [
"877e6f70a6b0db21"
],
"x": 1755,
"y": 180,
"wires": []
},
{
"id": "e32992d9e3960901",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "d6bacaf5b0c119da",
"name": "msg.payload = flow.input",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "input",
"tot": "flow"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2270,
"y": 260,
"wires": [
[
"56cdcc39793f9600",
"f597347616fb628c",
"e09997255497dc12"
]
]
},
{
"id": "01e0bd8ab2f9dc6c",
"type": "link out",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "SVSI Link",
"mode": "link",
"links": [
"877e6f70a6b0db21"
],
"x": 875,
"y": 180,
"wires": []
},
{
"id": "e09997255497dc12",
"type": "debug",
"z": "8d6813b7f8511fe9",
"g": "d6bacaf5b0c119da",
"name": "debug 158",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 2560,
"y": 660,
"wires": []
},
{
"id": "c822c414c927a586",
"type": "comment",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "Decoder setup should be videoStreamNumber = msg.payload",
"info": "",
"x": 2880,
"y": 420,
"wires": []
},
{
"id": "6172d4797d682d9a",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "flow.input/output reset to 0",
"rules": [
{
"t": "set",
"p": "input",
"pt": "flow",
"to": "0",
"tot": "num"
},
{
"t": "set",
"p": "output",
"pt": "flow",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2790,
"y": 360,
"wires": [
[
"9d470119f613a365"
]
]
},
{
"id": "fdddd9b95a115f10",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "flow.input/output reset to 0",
"rules": [
{
"t": "set",
"p": "input",
"pt": "flow",
"to": "0",
"tot": "num"
},
{
"t": "set",
"p": "output",
"pt": "flow",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2790,
"y": 320,
"wires": [
[
"9cfdb04019a95805"
]
]
},
{
"id": "ea8011cada2c5cac",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "flow.input/output reset to 0",
"rules": [
{
"t": "set",
"p": "input",
"pt": "flow",
"to": "0",
"tot": "num"
},
{
"t": "set",
"p": "output",
"pt": "flow",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2790,
"y": 280,
"wires": [
[
"ee455470e30dd0a5"
]
]
},
{
"id": "b0e276e324a19315",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "flow.input/output reset to 0",
"rules": [
{
"t": "set",
"p": "input",
"pt": "flow",
"to": "0",
"tot": "num"
},
{
"t": "set",
"p": "output",
"pt": "flow",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2790,
"y": 240,
"wires": [
[
"85453620bf64eab0"
]
]
},
{
"id": "e62926a46f622102",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "flow.input/output reset to 0",
"rules": [
{
"t": "set",
"p": "input",
"pt": "flow",
"to": "0",
"tot": "num"
},
{
"t": "set",
"p": "output",
"pt": "flow",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2790,
"y": 200,
"wires": [
[
"b60b6b9d343c3ee2"
]
]
},
{
"id": "e3e5aaefb93dc3cc",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "flow.input/output reset to 0",
"rules": [
{
"t": "set",
"p": "input",
"pt": "flow",
"to": "0",
"tot": "num"
},
{
"t": "set",
"p": "output",
"pt": "flow",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2790,
"y": 160,
"wires": [
[
"137d23285350641c"
]
]
}
]
Below is a second variation of a matrix switching flow. In this example you only need to select the input once and then each time you select an output the selected input will be routed to the output. It is also storing the currently selected input value for each output so that when an input button is pressed the button feedback is enabled for each output that is currently routed to that input.
[
{
"id": "8d6813b7f8511fe9",
"type": "tab",
"label": "SVSI Matrix",
"disabled": false,
"info": "",
"env": []
},
{
"id": "6c3205cc8a73417b",
"type": "group",
"z": "8d6813b7f8511fe9",
"name": "",
"style": {
"label": true
},
"nodes": [
"9ee8124c38f95477",
"09aef0fe0757193c",
"fe21a2bf93dffa6b",
"522d7d861cab7efb"
],
"x": 68,
"y": 73,
"w": 1384,
"h": 714
},
{
"id": "d6bacaf5b0c119da",
"type": "group",
"z": "8d6813b7f8511fe9",
"name": "",
"style": {
"label": true
},
"nodes": [
"877e6f70a6b0db21",
"e32992d9e3960901",
"e09997255497dc12",
"aae7d2024e13bbf5"
],
"x": 1504,
"y": 79,
"w": 1168,
"h": 368
},
{
"id": "fe21a2bf93dffa6b",
"type": "group",
"z": "8d6813b7f8511fe9",
"g": "6c3205cc8a73417b",
"name": "Mutually Exclusive Input FB",
"style": {
"label": true
},
"nodes": [
"2a74932a1a8188f6",
"0a7536deae18a676",
"2c1a545f7e592462",
"b34d5261a05fe774",
"1a77e647823232c4",
"6761ed822ec12762",
"11ebfee0349f17db",
"2ddad0e1f5cd29ab",
"5e2033d23b5c38ab"
],
"x": 94,
"y": 399,
"w": 472,
"h": 202
},
{
"id": "aae7d2024e13bbf5",
"type": "group",
"z": "8d6813b7f8511fe9",
"g": "d6bacaf5b0c119da",
"name": "Switch to selected output",
"style": {
"label": true
},
"nodes": [
"137d23285350641c",
"56cdcc39793f9600",
"b60b6b9d343c3ee2",
"85453620bf64eab0",
"ee455470e30dd0a5",
"c822c414c927a586",
"ea8011cada2c5cac",
"b0e276e324a19315",
"e62926a46f622102",
"e3e5aaefb93dc3cc",
"288191a7949d1bfd",
"830e8e857e78be48",
"5c2ae5ab635abaf0",
"b1cc59df61d8bc9a"
],
"x": 1834,
"y": 139,
"w": 812,
"h": 282
},
{
"id": "9ee8124c38f95477",
"type": "group",
"z": "8d6813b7f8511fe9",
"g": "6c3205cc8a73417b",
"name": "Input Selection",
"style": {
"label": true
},
"nodes": [
"0b7054ca6ac1632e",
"67e7b973f2644960",
"8470cc8dd808b656",
"eee22a964c2ff8a0",
"e45abb6361f50eb0",
"8ca53ede9ac57972",
"1c1d56bb85a4a4af",
"ef37ad0b01e5ccb6",
"5305d3778475fe5f",
"0fc01a46f6df2b80",
"c014275503ecbb0f",
"45189fb8a248c463",
"f11b192f49b1d77d"
],
"x": 94,
"y": 99,
"w": 472,
"h": 242
},
{
"id": "09aef0fe0757193c",
"type": "group",
"z": "8d6813b7f8511fe9",
"g": "6c3205cc8a73417b",
"name": "Output Selection",
"style": {
"label": true
},
"nodes": [
"797ed03e02094eb0",
"73c35ceb92ec9fbb",
"da6b033a32163a2d",
"0e42ec4f2f471e1d",
"eb7302851ca8fd76",
"a1eaf913ad806ba7",
"c8c91b010add63d1",
"250244304f380eb8",
"aa2ec77ece221448",
"56609fbf3adf9821",
"e2ba48aeb87f72e5",
"cf720f88b825acb3",
"a16239dae9d0923b",
"3c253ad0c0593840",
"229b90348e721804"
],
"x": 614,
"y": 99,
"w": 792,
"h": 242
},
{
"id": "522d7d861cab7efb",
"type": "group",
"z": "8d6813b7f8511fe9",
"g": "6c3205cc8a73417b",
"name": "This is to check what outputs are currently routed to when a source is selected and turn on/off feedback ",
"style": {
"label": true
},
"nodes": [
"29ba3355a76f5ff0",
"808536e853fe6f74",
"25c2e106946fa327",
"d926ece3bd143c88",
"d25d230e95a5186c",
"ec04ee197fccc957",
"dd8fe6727bd46a8c",
"2ec28815b64b5281",
"2d2aa6a4e98e0dd8",
"6f4748250f142360"
],
"x": 654,
"y": 399,
"w": 772,
"h": 362
},
{
"id": "0b7054ca6ac1632e",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input 1",
"rules": [
{
"t": "set",
"p": "input",
"pt": "flow",
"to": "110",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 490,
"y": 180,
"wires": [
[
"6f4748250f142360"
]
]
},
{
"id": "67e7b973f2644960",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input 2",
"rules": [
{
"t": "set",
"p": "input",
"pt": "flow",
"to": "120",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 490,
"y": 220,
"wires": [
[
"6f4748250f142360"
]
]
},
{
"id": "8470cc8dd808b656",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input 3",
"rules": [
{
"t": "set",
"p": "input",
"pt": "flow",
"to": "130",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 490,
"y": 260,
"wires": [
[
"6f4748250f142360"
]
]
},
{
"id": "eee22a964c2ff8a0",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input 4",
"rules": [
{
"t": "set",
"p": "input",
"pt": "flow",
"to": "140",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 490,
"y": 300,
"wires": [
[
"6f4748250f142360"
]
]
},
{
"id": "797ed03e02094eb0",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Output 1",
"rules": [
{
"t": "set",
"p": "output",
"pt": "flow",
"to": "1",
"tot": "str",
"dc": true
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1000,
"y": 180,
"wires": [
[
"aa2ec77ece221448"
]
]
},
{
"id": "73c35ceb92ec9fbb",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Output 4",
"rules": [
{
"t": "set",
"p": "output",
"pt": "flow",
"to": "4",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1000,
"y": 300,
"wires": [
[
"aa2ec77ece221448"
]
]
},
{
"id": "da6b033a32163a2d",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Output 3",
"rules": [
{
"t": "set",
"p": "output",
"pt": "flow",
"to": "3",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1000,
"y": 260,
"wires": [
[
"aa2ec77ece221448"
]
]
},
{
"id": "0e42ec4f2f471e1d",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Output 2",
"rules": [
{
"t": "set",
"p": "output",
"pt": "flow",
"to": "2",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1000,
"y": 220,
"wires": [
[
"aa2ec77ece221448"
]
]
},
{
"id": "e45abb6361f50eb0",
"type": "inject",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input 1",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 190,
"y": 180,
"wires": [
[
"0b7054ca6ac1632e"
]
]
},
{
"id": "8ca53ede9ac57972",
"type": "inject",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input 2",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 190,
"y": 220,
"wires": [
[
"67e7b973f2644960"
]
]
},
{
"id": "1c1d56bb85a4a4af",
"type": "inject",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input 4",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 190,
"y": 300,
"wires": [
[
"eee22a964c2ff8a0"
]
]
},
{
"id": "ef37ad0b01e5ccb6",
"type": "inject",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input 3",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 190,
"y": 260,
"wires": [
[
"8470cc8dd808b656"
]
]
},
{
"id": "eb7302851ca8fd76",
"type": "inject",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Output 2",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 710,
"y": 220,
"wires": [
[
"0e42ec4f2f471e1d"
]
]
},
{
"id": "a1eaf913ad806ba7",
"type": "inject",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Output 1",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 710,
"y": 180,
"wires": [
[
"797ed03e02094eb0"
]
]
},
{
"id": "c8c91b010add63d1",
"type": "inject",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Output 3",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 710,
"y": 260,
"wires": [
[
"da6b033a32163a2d"
]
]
},
{
"id": "250244304f380eb8",
"type": "inject",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Output 4",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 710,
"y": 300,
"wires": [
[
"73c35ceb92ec9fbb"
]
]
},
{
"id": "aa2ec77ece221448",
"type": "switch",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "if flow.input !=0",
"property": "input",
"propertyType": "flow",
"rules": [
{
"t": "neq",
"v": "0",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 1220,
"y": 240,
"wires": [
[
"229b90348e721804"
]
]
},
{
"id": "137d23285350641c",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "Proj_Dec",
"mojo": {
"device": "hCafe2622-proj",
"command": "//decoder/streamSetup/videoStreamNumber",
"onebased": false,
"cmdvalue": "Message payload",
"normalized": false
},
"x": 2560,
"y": 180,
"wires": [
[]
]
},
{
"id": "5305d3778475fe5f",
"type": "UI Control",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Laptop 1",
"mojo": {
"cp": "5809bc1488bb1e11",
"panel_group": "",
"path": "//505/11",
"locator": {
"ccode": 31,
"cport": 1
},
"type": "BUTTON",
"buttonType": "TOGGLE",
"trigger": "PUSH",
"state": "ON"
},
"x": 330,
"y": 180,
"wires": [
[
"0b7054ca6ac1632e"
]
]
},
{
"id": "56609fbf3adf9821",
"type": "UI Control",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Proj",
"mojo": {
"cp": "5809bc1488bb1e11",
"panel_group": "",
"path": "//505/7",
"locator": {
"ccode": 35,
"cport": 1
},
"type": "BUTTON",
"buttonType": "TOGGLE",
"trigger": "PUSH",
"state": "ON"
},
"x": 850,
"y": 180,
"wires": [
[
"797ed03e02094eb0"
]
]
},
{
"id": "0fc01a46f6df2b80",
"type": "UI Control",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Laptop 2",
"mojo": {
"cp": "5809bc1488bb1e11",
"panel_group": "",
"path": "//505/8",
"locator": {
"ccode": 32,
"cport": 1
},
"type": "BUTTON",
"buttonType": "TOGGLE",
"trigger": "PUSH",
"state": "ON"
},
"x": 330,
"y": 220,
"wires": [
[
"67e7b973f2644960"
]
]
},
{
"id": "c014275503ecbb0f",
"type": "UI Control",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "PC 1",
"mojo": {
"cp": "5809bc1488bb1e11",
"panel_group": "",
"path": "//505/9",
"locator": {
"ccode": 33,
"cport": 1
},
"type": "BUTTON",
"buttonType": "TOGGLE",
"trigger": "PUSH",
"state": "ON"
},
"x": 330,
"y": 260,
"wires": [
[
"8470cc8dd808b656"
]
]
},
{
"id": "2a74932a1a8188f6",
"type": "switch",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "neq",
"v": "Input 1",
"vt": "str"
},
{
"t": "neq",
"v": "Input 2",
"vt": "str"
},
{
"t": "neq",
"v": "Input 3",
"vt": "str"
},
{
"t": "neq",
"v": "Input 4",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 4,
"x": 330,
"y": 500,
"wires": [
[
"6761ed822ec12762"
],
[
"11ebfee0349f17db"
],
[
"2ddad0e1f5cd29ab"
],
[
"5e2033d23b5c38ab"
]
]
},
{
"id": "0a7536deae18a676",
"type": "Event",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "Input 1",
"mojo": {
"device": "AMX-10001",
"event": "//port/1/channel/31",
"onebased": true,
"eventKind": "Parameter",
"paramType": "Boolean",
"boolParamFilter": "true"
},
"x": 170,
"y": 440,
"wires": [
[
"2a74932a1a8188f6"
]
]
},
{
"id": "2c1a545f7e592462",
"type": "Event",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "Input 2",
"mojo": {
"device": "AMX-10001",
"event": "//port/1/channel/32",
"onebased": true,
"eventKind": "Parameter",
"paramType": "Boolean",
"boolParamFilter": "true"
},
"x": 170,
"y": 480,
"wires": [
[
"2a74932a1a8188f6"
]
]
},
{
"id": "b34d5261a05fe774",
"type": "Event",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "Input 3",
"mojo": {
"device": "AMX-10001",
"event": "//port/1/channel/33",
"onebased": true,
"eventKind": "Parameter",
"paramType": "Boolean",
"boolParamFilter": "true"
},
"x": 170,
"y": 520,
"wires": [
[
"2a74932a1a8188f6"
]
]
},
{
"id": "1a77e647823232c4",
"type": "Event",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "Input 4",
"mojo": {
"device": "AMX-10001",
"event": "//port/1/channel/34",
"onebased": true,
"eventKind": "Parameter",
"paramType": "Boolean",
"boolParamFilter": "true"
},
"x": 170,
"y": 560,
"wires": [
[
"2a74932a1a8188f6"
]
]
},
{
"id": "6761ed822ec12762",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "ch31 off",
"mojo": {
"device": "AMX-10001",
"command": "//port/1/channel/31",
"onebased": true,
"args": false,
"cmdvalue": "Manual configuration"
},
"x": 480,
"y": 440,
"wires": [
[]
]
},
{
"id": "11ebfee0349f17db",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "ch32 off",
"mojo": {
"device": "AMX-10001",
"command": "//port/1/channel/32",
"onebased": true,
"args": false,
"cmdvalue": "Manual configuration"
},
"x": 480,
"y": 480,
"wires": [
[]
]
},
{
"id": "2ddad0e1f5cd29ab",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "ch33 off",
"mojo": {
"device": "AMX-10001",
"command": "//port/1/channel/33",
"onebased": true,
"args": false,
"cmdvalue": "Manual configuration"
},
"x": 480,
"y": 520,
"wires": [
[]
]
},
{
"id": "5e2033d23b5c38ab",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "fe21a2bf93dffa6b",
"name": "ch34 off",
"mojo": {
"device": "AMX-10001",
"command": "//port/1/channel/34",
"onebased": true,
"args": false,
"cmdvalue": "Manual configuration"
},
"x": 480,
"y": 560,
"wires": [
[]
]
},
{
"id": "56cdcc39793f9600",
"type": "switch",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "",
"property": "output",
"propertyType": "flow",
"rules": [
{
"t": "eq",
"v": "1",
"vt": "str"
},
{
"t": "eq",
"v": "2",
"vt": "str"
},
{
"t": "eq",
"v": "3",
"vt": "str"
},
{
"t": "eq",
"v": "4",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 4,
"x": 1910,
"y": 240,
"wires": [
[
"288191a7949d1bfd"
],
[
"830e8e857e78be48"
],
[
"5c2ae5ab635abaf0"
],
[
"b1cc59df61d8bc9a"
]
]
},
{
"id": "b60b6b9d343c3ee2",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "Left_Dec",
"mojo": {
"device": "hCafe2622-leftTV",
"command": "//decoder/streamSetup/videoStreamNumber",
"onebased": false,
"cmdvalue": "Message payload",
"normalized": false
},
"x": 2560,
"y": 220,
"wires": [
[]
]
},
{
"id": "85453620bf64eab0",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "Right_Dec",
"mojo": {
"device": "hCafe2622-rightTV",
"command": "//decoder/streamSetup/videoStreamNumber",
"onebased": false,
"cmdvalue": "Message payload",
"normalized": false
},
"x": 2560,
"y": 260,
"wires": [
[]
]
},
{
"id": "ee455470e30dd0a5",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "Conf_Dec",
"mojo": {
"device": "hCafe2622-confidence",
"command": "//decoder/streamSetup/videoStreamNumber",
"onebased": false,
"cmdvalue": "Message payload",
"normalized": false
},
"x": 2560,
"y": 300,
"wires": [
[]
]
},
{
"id": "45189fb8a248c463",
"type": "UI Control",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "PC 2",
"mojo": {
"cp": "5809bc1488bb1e11",
"panel_group": "",
"path": "//505/10",
"locator": {
"ccode": 34,
"cport": 1
},
"type": "BUTTON",
"buttonType": "TOGGLE",
"trigger": "PUSH",
"state": "ON"
},
"x": 330,
"y": 300,
"wires": [
[
"eee22a964c2ff8a0"
]
]
},
{
"id": "e2ba48aeb87f72e5",
"type": "UI Control",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Left",
"mojo": {
"cp": "5809bc1488bb1e11",
"panel_group": "",
"path": "//505/2",
"locator": {
"ccode": 36,
"cport": 1
},
"type": "BUTTON",
"buttonType": "TOGGLE",
"trigger": "PUSH",
"state": "ON"
},
"x": 850,
"y": 220,
"wires": [
[
"0e42ec4f2f471e1d"
]
]
},
{
"id": "cf720f88b825acb3",
"type": "UI Control",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Right",
"mojo": {
"cp": "5809bc1488bb1e11",
"panel_group": "",
"path": "//505/4",
"locator": {
"ccode": 37,
"cport": 1
},
"type": "BUTTON",
"buttonType": "TOGGLE",
"trigger": "PUSH",
"state": "ON"
},
"x": 850,
"y": 260,
"wires": [
[
"da6b033a32163a2d"
]
]
},
{
"id": "a16239dae9d0923b",
"type": "UI Control",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Conf",
"mojo": {
"cp": "5809bc1488bb1e11",
"panel_group": "",
"path": "//505/6",
"locator": {
"ccode": 38,
"cport": 1
},
"type": "BUTTON",
"buttonType": "TOGGLE",
"trigger": "PUSH",
"state": "ON"
},
"x": 850,
"y": 300,
"wires": [
[
"73c35ceb92ec9fbb"
]
]
},
{
"id": "f11b192f49b1d77d",
"type": "comment",
"z": "8d6813b7f8511fe9",
"g": "9ee8124c38f95477",
"name": "Input change node will set flow.input to stream number",
"info": "Input change node will set flow.input to stream number",
"x": 300,
"y": 140,
"wires": []
},
{
"id": "3c253ad0c0593840",
"type": "comment",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "Output is nothing that is set in the decoders, it is just used to track input selection",
"info": "",
"x": 900,
"y": 140,
"wires": []
},
{
"id": "877e6f70a6b0db21",
"type": "link in",
"z": "8d6813b7f8511fe9",
"g": "d6bacaf5b0c119da",
"name": "SVSI Switching Link",
"links": [
"229b90348e721804"
],
"x": 1545,
"y": 240,
"wires": [
[
"e32992d9e3960901"
]
]
},
{
"id": "229b90348e721804",
"type": "link out",
"z": "8d6813b7f8511fe9",
"g": "09aef0fe0757193c",
"name": "SVSI Link",
"mode": "link",
"links": [
"877e6f70a6b0db21"
],
"x": 1365,
"y": 240,
"wires": []
},
{
"id": "e32992d9e3960901",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "d6bacaf5b0c119da",
"name": "msg.payload = flow.input",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "input",
"tot": "flow"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1680,
"y": 240,
"wires": [
[
"56cdcc39793f9600",
"e09997255497dc12"
]
]
},
{
"id": "e09997255497dc12",
"type": "debug",
"z": "8d6813b7f8511fe9",
"g": "d6bacaf5b0c119da",
"name": "debug 158",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 1900,
"y": 120,
"wires": []
},
{
"id": "c822c414c927a586",
"type": "comment",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "Command Node setup should be decoder videoStreamNumber = msg.payload",
"info": "",
"x": 2290,
"y": 380,
"wires": []
},
{
"id": "ea8011cada2c5cac",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "flow.output reset to 0",
"rules": [
{
"t": "set",
"p": "output",
"pt": "flow",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2350,
"y": 300,
"wires": [
[
"ee455470e30dd0a5"
]
]
},
{
"id": "b0e276e324a19315",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "flow.output reset to 0",
"rules": [
{
"t": "set",
"p": "output",
"pt": "flow",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2350,
"y": 260,
"wires": [
[
"85453620bf64eab0"
]
]
},
{
"id": "e62926a46f622102",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "flow.output reset to 0",
"rules": [
{
"t": "set",
"p": "output",
"pt": "flow",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2350,
"y": 220,
"wires": [
[
"b60b6b9d343c3ee2"
]
]
},
{
"id": "e3e5aaefb93dc3cc",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "flow.output reset to 0",
"rules": [
{
"t": "set",
"p": "output",
"pt": "flow",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2350,
"y": 180,
"wires": [
[
"137d23285350641c"
]
]
},
{
"id": "288191a7949d1bfd",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "",
"rules": [
{
"t": "set",
"p": "out1Src",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2120,
"y": 180,
"wires": [
[
"e3e5aaefb93dc3cc"
]
]
},
{
"id": "830e8e857e78be48",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "",
"rules": [
{
"t": "set",
"p": "out2Src",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2120,
"y": 220,
"wires": [
[
"e62926a46f622102"
]
]
},
{
"id": "5c2ae5ab635abaf0",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "",
"rules": [
{
"t": "set",
"p": "out3Src",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2120,
"y": 260,
"wires": [
[
"b0e276e324a19315"
]
]
},
{
"id": "b1cc59df61d8bc9a",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "aae7d2024e13bbf5",
"name": "",
"rules": [
{
"t": "set",
"p": "out4Src",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2120,
"y": 300,
"wires": [
[
"ea8011cada2c5cac"
]
]
},
{
"id": "29ba3355a76f5ff0",
"type": "switch",
"z": "8d6813b7f8511fe9",
"g": "522d7d861cab7efb",
"name": "Check flow.outSrc vs msg.payload",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "out1Src",
"vt": "flow"
},
{
"t": "eq",
"v": "out2Src",
"vt": "flow"
},
{
"t": "eq",
"v": "out3Src",
"vt": "flow"
},
{
"t": "eq",
"v": "out4Src",
"vt": "flow"
},
{
"t": "neq",
"v": "out1Src",
"vt": "flow"
},
{
"t": "neq",
"v": "out2Src",
"vt": "flow"
},
{
"t": "neq",
"v": "out3Src",
"vt": "flow"
},
{
"t": "neq",
"v": "out4Src",
"vt": "flow"
}
],
"checkall": "true",
"repair": false,
"outputs": 8,
"x": 1060,
"y": 580,
"wires": [
[
"808536e853fe6f74"
],
[
"25c2e106946fa327"
],
[
"d926ece3bd143c88"
],
[
"d25d230e95a5186c"
],
[
"ec04ee197fccc957"
],
[
"dd8fe6727bd46a8c"
],
[
"2ec28815b64b5281"
],
[
"2d2aa6a4e98e0dd8"
]
]
},
{
"id": "808536e853fe6f74",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "522d7d861cab7efb",
"name": "ch35 on",
"mojo": {
"device": "AMX-10001",
"command": "//port/1/channel/35",
"onebased": true,
"args": true,
"cmdvalue": "Manual configuration"
},
"x": 1340,
"y": 440,
"wires": [
[]
]
},
{
"id": "25c2e106946fa327",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "522d7d861cab7efb",
"name": "ch36 on",
"mojo": {
"device": "AMX-10001",
"command": "//port/1/channel/36",
"onebased": true,
"args": true,
"cmdvalue": "Manual configuration"
},
"x": 1340,
"y": 480,
"wires": [
[]
]
},
{
"id": "d926ece3bd143c88",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "522d7d861cab7efb",
"name": "ch37 on",
"mojo": {
"device": "AMX-10001",
"command": "//port/1/channel/37",
"onebased": true,
"args": true,
"cmdvalue": "Manual configuration"
},
"x": 1340,
"y": 520,
"wires": [
[]
]
},
{
"id": "d25d230e95a5186c",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "522d7d861cab7efb",
"name": "ch38 on",
"mojo": {
"device": "AMX-10001",
"command": "//port/1/channel/38",
"onebased": true,
"args": true,
"cmdvalue": "Manual configuration"
},
"x": 1340,
"y": 560,
"wires": [
[]
]
},
{
"id": "ec04ee197fccc957",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "522d7d861cab7efb",
"name": "ch35 off",
"mojo": {
"device": "AMX-10001",
"command": "//port/1/channel/35",
"onebased": true,
"args": false,
"cmdvalue": "Manual configuration"
},
"x": 1340,
"y": 600,
"wires": [
[]
]
},
{
"id": "dd8fe6727bd46a8c",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "522d7d861cab7efb",
"name": "ch36 off",
"mojo": {
"device": "AMX-10001",
"command": "//port/1/channel/36",
"onebased": true,
"args": false,
"cmdvalue": "Manual configuration"
},
"x": 1340,
"y": 640,
"wires": [
[]
]
},
{
"id": "2ec28815b64b5281",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "522d7d861cab7efb",
"name": "ch37 off",
"mojo": {
"device": "AMX-10001",
"command": "//port/1/channel/37",
"onebased": true,
"args": false,
"cmdvalue": "Manual configuration"
},
"x": 1340,
"y": 680,
"wires": [
[]
]
},
{
"id": "2d2aa6a4e98e0dd8",
"type": "Command",
"z": "8d6813b7f8511fe9",
"g": "522d7d861cab7efb",
"name": "ch38 off",
"mojo": {
"device": "AMX-10001",
"command": "//port/1/channel/38",
"onebased": true,
"args": false,
"cmdvalue": "Manual configuration"
},
"x": 1340,
"y": 720,
"wires": [
[]
]
},
{
"id": "6f4748250f142360",
"type": "change",
"z": "8d6813b7f8511fe9",
"g": "522d7d861cab7efb",
"name": "msg.payload = flow.input",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "input",
"tot": "flow"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 780,
"y": 580,
"wires": [
[
"29ba3355a76f5ff0"
]
]
}
]
Table of Contents