Flow

This is the JSON file for the Node-RED flow.
[
{
"id": "c5809e2f.917ab",
"type": "inject",
"z": "3ec183ed.16a66c",
"name": "On",
"topic": "",
"payload": "{\"cmd\":\"on\"}",
"payloadType": "json",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"x": 350,
"y": 240,
"wires": [
[
"6e4aa4cf.582e9c"
]
]
},
{
"id": "6e4aa4cf.582e9c",
"type": "send",
"z": "3ec183ed.16a66c",
"DDN": ">>ian",
"topic": "hdmi://ian",
"name": "send",
"x": 510,
"y": 240,
"wires": [
[],
[]
]
},
{
"id": "92a64845.6150e8",
"type": "inject",
"z": "3ec183ed.16a66c",
"name": "Off",
"topic": "",
"payload": "{\"cmd\":\"off\"}",
"payloadType": "json",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"x": 350,
"y": 320,
"wires": [
[
"480c1078.35e7e"
]
]
},
{
"id": "480c1078.35e7e",
"type": "send",
"z": "3ec183ed.16a66c",
"DDN": ">>ian",
"topic": "hdmi://",
"name": "send",
"x": 510,
"y": 320,
"wires": [
[],
[]
]
},
{
"id": "c5e3683e.ccd728",
"type": "inject",
"z": "3ec183ed.16a66c",
"name": "HDMI 1",
"topic": "",
"payload": "{\"cmd\":\"hdmi_1\"}",
"payloadType": "json",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"x": 350,
"y": 400,
"wires": [
[
"f39094fd.0bc448"
]
]
},
{
"id": "f39094fd.0bc448",
"type": "send",
"z": "3ec183ed.16a66c",
"DDN": ">>ian",
"topic": "hdmi://ian",
"name": "send",
"x": 510,
"y": 400,
"wires": [
[],
[]
]
},
{
"id": "e9bd73bf.b36b8",
"type": "inject",
"z": "3ec183ed.16a66c",
"name": "HDMI 2",
"topic": "",
"payload": "{\"cmd\":\"hdmi_2\"}",
"payloadType": "json",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"x": 350,
"y": 480,
"wires": [
[
"eca2a1ed.31f46"
]
]
},
{
"id": "eca2a1ed.31f46",
"type": "send",
"z": "3ec183ed.16a66c",
"DDN": ">>ian",
"topic": "hdmi://ian",
"name": "send",
"x": 510,
"y": 480,
"wires": [
[],
[]
]
},
{
"id": "5d83e2b1.dae0bc",
"type": "inject",
"z": "3ec183ed.16a66c",
"name": "HDMI 3",
"topic": "",
"payload": "{\"cmd\":\"hdmi_3\"}",
"payloadType": "json",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"x": 350,
"y": 560,
"wires": [
[
"e46568aa.a48178"
]
]
},
{
"id": "e46568aa.a48178",
"type": "send",
"z": "3ec183ed.16a66c",
"DDN": ">>ian",
"topic": "hdmi://ian",
"name": "send",
"x": 510,
"y": 560,
"wires": [
[],
[]
]
}
]