Created
June 30, 2018 20:24
-
-
Save spotlesscoder/eb22f5b7a8c4af89150e9d3043062c87 to your computer and use it in GitHub Desktop.
nodered
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "id": "404e83a4.3d826c", | |
| "type": "tab", | |
| "label": "Request_statuses", | |
| "disabled": false, | |
| "info": "" | |
| }, | |
| { | |
| "id": "79e3e47.b8f891c", | |
| "type": "tab", | |
| "label": "Switch_toggle", | |
| "disabled": false, | |
| "info": "" | |
| }, | |
| { | |
| "id": "c97c8bf7.5c7ae8", | |
| "type": "tab", | |
| "label": "Switch_on", | |
| "disabled": false, | |
| "info": "" | |
| }, | |
| { | |
| "id": "19a4f934.67a897", | |
| "type": "tab", | |
| "label": "Switch_off", | |
| "disabled": false, | |
| "info": "" | |
| }, | |
| { | |
| "id": "eb9c03fa.54272", | |
| "type": "mqtt-broker", | |
| "z": "", | |
| "name": "", | |
| "broker": "rabbitmq", | |
| "port": "1883", | |
| "clientid": "nodered-sw3", | |
| "usetls": false, | |
| "compatmode": true, | |
| "keepalive": "60", | |
| "cleansession": true, | |
| "willTopic": "", | |
| "willQos": "0", | |
| "willPayload": "", | |
| "birthTopic": "", | |
| "birthQos": "0", | |
| "birthPayload": "" | |
| }, | |
| { | |
| "id": "4a7c50a0.f0b66", | |
| "type": "mqtt-broker", | |
| "z": "", | |
| "name": "", | |
| "broker": "rabbitmq", | |
| "port": "1883", | |
| "clientid": "nodered-sw1", | |
| "usetls": false, | |
| "compatmode": true, | |
| "keepalive": "60", | |
| "cleansession": true, | |
| "willTopic": "", | |
| "willQos": "0", | |
| "willPayload": "", | |
| "birthTopic": "", | |
| "birthQos": "0", | |
| "birthPayload": "" | |
| }, | |
| { | |
| "id": "b3821a32.e168d8", | |
| "type": "mqtt-broker", | |
| "z": "", | |
| "name": "", | |
| "broker": "rabbitmq", | |
| "port": "1883", | |
| "clientid": "nodered-sw2", | |
| "usetls": false, | |
| "compatmode": true, | |
| "keepalive": "60", | |
| "cleansession": true, | |
| "willTopic": "", | |
| "willQos": "0", | |
| "willPayload": "", | |
| "birthTopic": "", | |
| "birthQos": "0", | |
| "birthPayload": "" | |
| }, | |
| { | |
| "id": "7c640970.2ea8b8", | |
| "type": "mqtt-broker", | |
| "z": "", | |
| "name": "nodered-sw4@rabbitmq:1883", | |
| "broker": "rabbitmq", | |
| "port": "1883", | |
| "clientid": "nodered-sw4", | |
| "usetls": false, | |
| "compatmode": true, | |
| "keepalive": "60", | |
| "cleansession": true, | |
| "willTopic": "", | |
| "willQos": "0", | |
| "willPayload": "", | |
| "birthTopic": "", | |
| "birthQos": "0", | |
| "birthPayload": "" | |
| }, | |
| { | |
| "id": "872ed3fd.5e55", | |
| "type": "mqtt-broker", | |
| "z": "", | |
| "name": "", | |
| "broker": "rabbitmq", | |
| "port": "1883", | |
| "clientid": "nodered-sw5", | |
| "usetls": false, | |
| "compatmode": true, | |
| "keepalive": "60", | |
| "cleansession": true, | |
| "willTopic": "", | |
| "willQos": "0", | |
| "willPayload": "", | |
| "birthTopic": "", | |
| "birthQos": "0", | |
| "birthPayload": "" | |
| }, | |
| { | |
| "id": "ca4eaa05.0be878", | |
| "type": "mqtt-broker", | |
| "z": "", | |
| "name": "", | |
| "broker": "rabbitmq", | |
| "port": "1883", | |
| "clientid": "nodered-sw6", | |
| "usetls": false, | |
| "compatmode": true, | |
| "keepalive": "60", | |
| "cleansession": true, | |
| "willTopic": "", | |
| "willQos": "0", | |
| "willPayload": "", | |
| "birthTopic": "", | |
| "birthQos": "0", | |
| "birthPayload": "" | |
| }, | |
| { | |
| "id": "b5a91cd2.5bac2", | |
| "type": "mqtt-broker", | |
| "z": "", | |
| "name": "", | |
| "broker": "rabbitmq", | |
| "port": "1883", | |
| "clientid": "nodered-sw7", | |
| "usetls": false, | |
| "compatmode": true, | |
| "keepalive": "60", | |
| "cleansession": true, | |
| "willTopic": "", | |
| "willQos": "0", | |
| "willPayload": "", | |
| "birthTopic": "", | |
| "birthQos": "0", | |
| "birthPayload": "" | |
| }, | |
| { | |
| "id": "aa2375be.0f7188", | |
| "type": "http request", | |
| "z": "404e83a4.3d826c", | |
| "name": "HTTPSW1", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw1/cm?cmnd=Power", | |
| "tls": "", | |
| "x": 532, | |
| "y": 142, | |
| "wires": [["499ba66d.714a28"]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "61ecaea7.4ae7c", | |
| "type": "inject", | |
| "z": "404e83a4.3d826c", | |
| "name": "", | |
| "topic": "", | |
| "payload": "", | |
| "payloadType": "date", | |
| "repeat": "10", | |
| "crontab": "", | |
| "once": true, | |
| "onceDelay": "10", | |
| "x": 363, | |
| "y": 142, | |
| "wires": [["aa2375be.0f7188"]] | |
| }, | |
| { | |
| "id": "499ba66d.714a28", | |
| "type": "jsonpath", | |
| "z": "404e83a4.3d826c", | |
| "expression": "$.POWER", | |
| "split": false, | |
| "name": "", | |
| "x": 699, | |
| "y": 142, | |
| "wires": [["166943ec.880a7c"]] | |
| }, | |
| { | |
| "id": "48156cf6.edbd54", | |
| "type": "debug", | |
| "z": "404e83a4.3d826c", | |
| "name": "status_msg1", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 1190, | |
| "y": 84, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "6d7ab717.bf1b38", | |
| "type": "mqtt out", | |
| "z": "404e83a4.3d826c", | |
| "name": "mqttout_status_sw1", | |
| "topic": "sw1/status", | |
| "qos": "1", | |
| "retain": "false", | |
| "broker": "4a7c50a0.f0b66", | |
| "x": 1214, | |
| "y": 190, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "8a311627.626a98", | |
| "type": "http request", | |
| "z": "404e83a4.3d826c", | |
| "name": "HTTPSW2", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw2/cm?cmnd=Power", | |
| "tls": "", | |
| "x": 546, | |
| "y": 360, | |
| "wires": [["6c0b1d39.a7f524"]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "54131312.2920bc", | |
| "type": "inject", | |
| "z": "404e83a4.3d826c", | |
| "name": "", | |
| "topic": "", | |
| "payload": "", | |
| "payloadType": "date", | |
| "repeat": "10", | |
| "crontab": "", | |
| "once": true, | |
| "onceDelay": "20", | |
| "x": 344, | |
| "y": 358, | |
| "wires": [["8a311627.626a98"]] | |
| }, | |
| { | |
| "id": "6c0b1d39.a7f524", | |
| "type": "jsonpath", | |
| "z": "404e83a4.3d826c", | |
| "expression": "$.POWER", | |
| "split": false, | |
| "name": "", | |
| "x": 713, | |
| "y": 360, | |
| "wires": [["4098a969.af42d8"]] | |
| }, | |
| { | |
| "id": "c02f5b68.183208", | |
| "type": "debug", | |
| "z": "404e83a4.3d826c", | |
| "name": "status_msg2", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 1215, | |
| "y": 315, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "8283899e.5f33c8", | |
| "type": "mqtt out", | |
| "z": "404e83a4.3d826c", | |
| "name": "mqttout_status_sw2", | |
| "topic": "sw2/status", | |
| "qos": "1", | |
| "retain": "false", | |
| "broker": "b3821a32.e168d8", | |
| "x": 1240, | |
| "y": 405, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "51dfc5cc.168eac", | |
| "type": "http request", | |
| "z": "404e83a4.3d826c", | |
| "name": "HTTPSW3", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw3/cm?cmnd=Power", | |
| "tls": "", | |
| "x": 542, | |
| "y": 565, | |
| "wires": [["14f8dbc2.6e8e74"]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "43963d79.270764", | |
| "type": "inject", | |
| "z": "404e83a4.3d826c", | |
| "name": "", | |
| "topic": "", | |
| "payload": "", | |
| "payloadType": "date", | |
| "repeat": "10", | |
| "crontab": "", | |
| "once": true, | |
| "onceDelay": "30", | |
| "x": 340, | |
| "y": 563, | |
| "wires": [["51dfc5cc.168eac"]] | |
| }, | |
| { | |
| "id": "14f8dbc2.6e8e74", | |
| "type": "jsonpath", | |
| "z": "404e83a4.3d826c", | |
| "expression": "$.POWER", | |
| "split": false, | |
| "name": "", | |
| "x": 709, | |
| "y": 565, | |
| "wires": [["a45d5525.2b5f38"]] | |
| }, | |
| { | |
| "id": "34442ec4.e4a002", | |
| "type": "debug", | |
| "z": "404e83a4.3d826c", | |
| "name": "status_msg3", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 1208, | |
| "y": 521, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "eafaa32.281ad6", | |
| "type": "http request", | |
| "z": "404e83a4.3d826c", | |
| "name": "HTTPSW4", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw4/cm?cmnd=Power", | |
| "tls": "", | |
| "x": 562, | |
| "y": 767, | |
| "wires": [["58e620ec.928b3"]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "3aef0c35.50ab84", | |
| "type": "inject", | |
| "z": "404e83a4.3d826c", | |
| "name": "", | |
| "topic": "", | |
| "payload": "", | |
| "payloadType": "date", | |
| "repeat": "10", | |
| "crontab": "", | |
| "once": true, | |
| "onceDelay": "40", | |
| "x": 360, | |
| "y": 765, | |
| "wires": [["eafaa32.281ad6"]] | |
| }, | |
| { | |
| "id": "58e620ec.928b3", | |
| "type": "jsonpath", | |
| "z": "404e83a4.3d826c", | |
| "expression": "$.POWER", | |
| "split": false, | |
| "name": "", | |
| "x": 729, | |
| "y": 767, | |
| "wires": [["9f0406e7.d42428"]] | |
| }, | |
| { | |
| "id": "c3f07d1f.690b9", | |
| "type": "debug", | |
| "z": "404e83a4.3d826c", | |
| "name": "status_msg4", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 1201, | |
| "y": 705, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "14fb80c0.ab668f", | |
| "type": "http request", | |
| "z": "79e3e47.b8f891c", | |
| "name": "Switch_TOGGLE_HTTPSW1", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw1/cm?cmnd=Power%20TOGGLE", | |
| "tls": "", | |
| "x": 715, | |
| "y": 118, | |
| "wires": [[]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "c3de0e2f.934c5", | |
| "type": "http request", | |
| "z": "c97c8bf7.5c7ae8", | |
| "name": "Switch_ON_HTTPSW2", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw2/cm?cmnd=Power%20ON", | |
| "tls": "", | |
| "x": 800, | |
| "y": 344, | |
| "wires": [[]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "20baee59.5b57a2", | |
| "type": "mqtt in", | |
| "z": "c97c8bf7.5c7ae8", | |
| "name": "mqttin_sw2_on", | |
| "topic": "sw2/on", | |
| "qos": "2", | |
| "broker": "b3821a32.e168d8", | |
| "x": 567, | |
| "y": 313, | |
| "wires": [["c3de0e2f.934c5", "3f138225.42c70e"]] | |
| }, | |
| { | |
| "id": "d9e3af8a.ec865", | |
| "type": "mqtt out", | |
| "z": "404e83a4.3d826c", | |
| "name": "mqttout_status_sw3", | |
| "topic": "sw3/status", | |
| "qos": "1", | |
| "retain": "false", | |
| "broker": "eb9c03fa.54272", | |
| "x": 1223, | |
| "y": 613, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "8d979ec9.44faf", | |
| "type": "mqtt out", | |
| "z": "404e83a4.3d826c", | |
| "name": "mqttout_status_sw4", | |
| "topic": "sw4/status", | |
| "qos": "1", | |
| "retain": "false", | |
| "broker": "7c640970.2ea8b8", | |
| "x": 1223, | |
| "y": 830, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "3f138225.42c70e", | |
| "type": "debug", | |
| "z": "c97c8bf7.5c7ae8", | |
| "name": "switch_on_msg2", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 799, | |
| "y": 239, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "27e98958.a1bca6", | |
| "type": "http request", | |
| "z": "c97c8bf7.5c7ae8", | |
| "name": "Switch_ON_HTTPSW1", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw1/cm?cmnd=Power%20ON", | |
| "tls": "", | |
| "x": 799, | |
| "y": 125, | |
| "wires": [[]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "b4d6e907.1c09a8", | |
| "type": "http request", | |
| "z": "c97c8bf7.5c7ae8", | |
| "name": "Switch_ON_HTTPSW4", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw4/cm?cmnd=Power%20ON", | |
| "tls": "", | |
| "x": 814, | |
| "y": 716, | |
| "wires": [[]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "d5c5792b.88e178", | |
| "type": "mqtt in", | |
| "z": "c97c8bf7.5c7ae8", | |
| "name": "mqttin_sw4_on", | |
| "topic": "sw4/on", | |
| "qos": "2", | |
| "broker": "7c640970.2ea8b8", | |
| "x": 581, | |
| "y": 685, | |
| "wires": [["b4d6e907.1c09a8", "c0ad774a.d15888"]] | |
| }, | |
| { | |
| "id": "c0ad774a.d15888", | |
| "type": "debug", | |
| "z": "c97c8bf7.5c7ae8", | |
| "name": "switch_on_msg4", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 813, | |
| "y": 611, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "d3592637.405f28", | |
| "type": "http request", | |
| "z": "c97c8bf7.5c7ae8", | |
| "name": "Switch_ON_HTTPSW3", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw3/cm?cmnd=Power%20ON", | |
| "tls": "", | |
| "x": 811, | |
| "y": 531, | |
| "wires": [[]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "4e799287.136efc", | |
| "type": "mqtt in", | |
| "z": "c97c8bf7.5c7ae8", | |
| "name": "mqttin_sw3_on", | |
| "topic": "sw3/on", | |
| "qos": "2", | |
| "broker": "b3821a32.e168d8", | |
| "x": 578, | |
| "y": 500, | |
| "wires": [["d3592637.405f28", "b1243bdf.13f968"]] | |
| }, | |
| { | |
| "id": "b1243bdf.13f968", | |
| "type": "debug", | |
| "z": "c97c8bf7.5c7ae8", | |
| "name": "switch_on_msg3", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 810, | |
| "y": 426, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "f89e92b0.05e76", | |
| "type": "mqtt in", | |
| "z": "c97c8bf7.5c7ae8", | |
| "name": "mqttin_sw1_on", | |
| "topic": "sw1/on", | |
| "qos": "2", | |
| "broker": "4a7c50a0.f0b66", | |
| "x": 566, | |
| "y": 94, | |
| "wires": [["27e98958.a1bca6", "c8bef1f5.7c41c"]] | |
| }, | |
| { | |
| "id": "c8bef1f5.7c41c", | |
| "type": "debug", | |
| "z": "c97c8bf7.5c7ae8", | |
| "name": "switch_on_msg1", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 798, | |
| "y": 20, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "9c1b4791.8bce88", | |
| "type": "mqtt in", | |
| "z": "79e3e47.b8f891c", | |
| "name": "mqttin_sw1_toggle", | |
| "topic": "sw1/toggle", | |
| "qos": "2", | |
| "broker": "4a7c50a0.f0b66", | |
| "x": 465, | |
| "y": 116, | |
| "wires": [["8673c0d4.d171f", "14fb80c0.ab668f"]] | |
| }, | |
| { | |
| "id": "8673c0d4.d171f", | |
| "type": "debug", | |
| "z": "79e3e47.b8f891c", | |
| "name": "switch_toggle_msg1", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 691, | |
| "y": 33, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "eef67e98.7ce4b", | |
| "type": "http request", | |
| "z": "79e3e47.b8f891c", | |
| "name": "Switch_TOGGLE_HTTPSW2", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw2/cm?cmnd=Power%20TOGGLE", | |
| "tls": "", | |
| "x": 722, | |
| "y": 267, | |
| "wires": [[]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "c836ffe2.e9eaf", | |
| "type": "mqtt in", | |
| "z": "79e3e47.b8f891c", | |
| "name": "mqttin_sw2_toggle", | |
| "topic": "sw2/toggle", | |
| "qos": "2", | |
| "broker": "b3821a32.e168d8", | |
| "x": 472, | |
| "y": 265, | |
| "wires": [["ee5a2bb1.ead1c8", "eef67e98.7ce4b"]] | |
| }, | |
| { | |
| "id": "ee5a2bb1.ead1c8", | |
| "type": "debug", | |
| "z": "79e3e47.b8f891c", | |
| "name": "switch_toggle_msg2", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 698, | |
| "y": 182, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "39beeacc.183686", | |
| "type": "http request", | |
| "z": "79e3e47.b8f891c", | |
| "name": "Switch_TOGGLE_HTTPSW3", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw3/cm?cmnd=Power%20TOGGLE", | |
| "tls": "", | |
| "x": 728, | |
| "y": 377, | |
| "wires": [[]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "f352bd3.05e244", | |
| "type": "mqtt in", | |
| "z": "79e3e47.b8f891c", | |
| "name": "mqttin_sw3_toggle", | |
| "topic": "sw3/toggle", | |
| "qos": "2", | |
| "broker": "eb9c03fa.54272", | |
| "x": 478, | |
| "y": 375, | |
| "wires": [["39beeacc.183686", "7c8a790a.2486e8"]] | |
| }, | |
| { | |
| "id": "772876b7.a77158", | |
| "type": "http request", | |
| "z": "79e3e47.b8f891c", | |
| "name": "Switch_TOGGLE_HTTPSW4", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw4/cm?cmnd=Power%20TOGGLE", | |
| "tls": "", | |
| "x": 735, | |
| "y": 526, | |
| "wires": [[]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "bfbaeb.fe71f518", | |
| "type": "mqtt in", | |
| "z": "79e3e47.b8f891c", | |
| "name": "mqttin_sw4_toggle", | |
| "topic": "sw4/toggle", | |
| "qos": "2", | |
| "broker": "7c640970.2ea8b8", | |
| "x": 485, | |
| "y": 524, | |
| "wires": [["fd97e90f.7bfe58", "772876b7.a77158"]] | |
| }, | |
| { | |
| "id": "fd97e90f.7bfe58", | |
| "type": "debug", | |
| "z": "79e3e47.b8f891c", | |
| "name": "switch_toggle_msg4", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 711, | |
| "y": 441, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "f6693316.b1f02", | |
| "type": "http request", | |
| "z": "19a4f934.67a897", | |
| "name": "Switch_OFF_HTTPSW2", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw2/cm?cmnd=Power%20OFF", | |
| "tls": "", | |
| "x": 777, | |
| "y": 377, | |
| "wires": [[]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "d8c7fece.d542a", | |
| "type": "mqtt in", | |
| "z": "19a4f934.67a897", | |
| "name": "mqttin_sw2_off", | |
| "topic": "sw2/off", | |
| "qos": "2", | |
| "broker": "b3821a32.e168d8", | |
| "x": 544, | |
| "y": 346, | |
| "wires": [["f6693316.b1f02", "5b964108.ad078"]] | |
| }, | |
| { | |
| "id": "5b964108.ad078", | |
| "type": "debug", | |
| "z": "19a4f934.67a897", | |
| "name": "switch_off_msg2", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 776, | |
| "y": 272, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "5a7205c5.3fec2c", | |
| "type": "http request", | |
| "z": "19a4f934.67a897", | |
| "name": "Switch_OFF_HTTPSW1", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw1/cm?cmnd=Power%20OFF", | |
| "tls": "", | |
| "x": 776, | |
| "y": 158, | |
| "wires": [[]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "3b92237c.ec5d0c", | |
| "type": "http request", | |
| "z": "19a4f934.67a897", | |
| "name": "Switch_OFF_HTTPSW4", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw4/cm?cmnd=Power%20OFF", | |
| "tls": "", | |
| "x": 791, | |
| "y": 749, | |
| "wires": [[]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "2c98b45f.1630cc", | |
| "type": "mqtt in", | |
| "z": "19a4f934.67a897", | |
| "name": "mqttin_sw4_off", | |
| "topic": "sw4/off", | |
| "qos": "2", | |
| "broker": "7c640970.2ea8b8", | |
| "x": 558, | |
| "y": 718, | |
| "wires": [["3b92237c.ec5d0c", "c272ff94.b1891"]] | |
| }, | |
| { | |
| "id": "c272ff94.b1891", | |
| "type": "debug", | |
| "z": "19a4f934.67a897", | |
| "name": "switch_off_msg4", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 790, | |
| "y": 644, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "50872763.5826e8", | |
| "type": "http request", | |
| "z": "19a4f934.67a897", | |
| "name": "Switch_OFF_HTTPSW3", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw3/cm?cmnd=Power%20OFF", | |
| "tls": "", | |
| "x": 788, | |
| "y": 564, | |
| "wires": [[]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "54ae866d.d373e8", | |
| "type": "mqtt in", | |
| "z": "19a4f934.67a897", | |
| "name": "mqttin_sw3_off", | |
| "topic": "sw3/off", | |
| "qos": "2", | |
| "broker": "b3821a32.e168d8", | |
| "x": 555, | |
| "y": 533, | |
| "wires": [["50872763.5826e8", "223e7943.6de256"]] | |
| }, | |
| { | |
| "id": "223e7943.6de256", | |
| "type": "debug", | |
| "z": "19a4f934.67a897", | |
| "name": "switch_off_msg3", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 787, | |
| "y": 459, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "298dbcc9.bf2c14", | |
| "type": "mqtt in", | |
| "z": "19a4f934.67a897", | |
| "name": "mqttin_sw1_off", | |
| "topic": "sw1/off", | |
| "qos": "2", | |
| "broker": "4a7c50a0.f0b66", | |
| "x": 543, | |
| "y": 127, | |
| "wires": [["5a7205c5.3fec2c", "4cffe878.5f3248"]] | |
| }, | |
| { | |
| "id": "4cffe878.5f3248", | |
| "type": "debug", | |
| "z": "19a4f934.67a897", | |
| "name": "switch_off_msg1", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 775, | |
| "y": 53, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "7c8a790a.2486e8", | |
| "type": "debug", | |
| "z": "79e3e47.b8f891c", | |
| "name": "switch_toggle_msg3", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 758, | |
| "y": 318, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "57b48960.922848", | |
| "type": "http request", | |
| "z": "404e83a4.3d826c", | |
| "name": "HTTPSW5", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw5/cm?cmnd=Power", | |
| "tls": "", | |
| "x": 587, | |
| "y": 973, | |
| "wires": [["4e26bc86.406d64"]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "e541987a.f49b68", | |
| "type": "inject", | |
| "z": "404e83a4.3d826c", | |
| "name": "", | |
| "topic": "", | |
| "payload": "", | |
| "payloadType": "date", | |
| "repeat": "10", | |
| "crontab": "", | |
| "once": true, | |
| "onceDelay": "50", | |
| "x": 385, | |
| "y": 971, | |
| "wires": [["57b48960.922848"]] | |
| }, | |
| { | |
| "id": "4e26bc86.406d64", | |
| "type": "jsonpath", | |
| "z": "404e83a4.3d826c", | |
| "expression": "$.POWER", | |
| "split": false, | |
| "name": "", | |
| "x": 754, | |
| "y": 973, | |
| "wires": [["419169f9.4b08c8"]] | |
| }, | |
| { | |
| "id": "e62ab4fb.55ea08", | |
| "type": "debug", | |
| "z": "404e83a4.3d826c", | |
| "name": "status_msg5", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 1251, | |
| "y": 919, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "a72a9956.a92088", | |
| "type": "http request", | |
| "z": "404e83a4.3d826c", | |
| "name": "HTTPSW6", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw6/cm?cmnd=Power", | |
| "tls": "", | |
| "x": 607, | |
| "y": 1175, | |
| "wires": [["5e73b025.74c14"]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "fb4d70ac.d32b", | |
| "type": "inject", | |
| "z": "404e83a4.3d826c", | |
| "name": "", | |
| "topic": "", | |
| "payload": "", | |
| "payloadType": "date", | |
| "repeat": "10", | |
| "crontab": "", | |
| "once": true, | |
| "onceDelay": "60", | |
| "x": 405, | |
| "y": 1173, | |
| "wires": [["a72a9956.a92088"]] | |
| }, | |
| { | |
| "id": "5e73b025.74c14", | |
| "type": "jsonpath", | |
| "z": "404e83a4.3d826c", | |
| "expression": "$.POWER", | |
| "split": false, | |
| "name": "", | |
| "x": 774, | |
| "y": 1175, | |
| "wires": [["6349888b.169b08"]] | |
| }, | |
| { | |
| "id": "4f5bb3ad.a9f33c", | |
| "type": "debug", | |
| "z": "404e83a4.3d826c", | |
| "name": "status_msg6", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 1269, | |
| "y": 1115, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "716eaef5.a7dea", | |
| "type": "mqtt out", | |
| "z": "404e83a4.3d826c", | |
| "name": "mqttout_status_sw5", | |
| "topic": "sw5/status", | |
| "qos": "1", | |
| "retain": "false", | |
| "broker": "872ed3fd.5e55", | |
| "x": 1264, | |
| "y": 1026, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "e8eba0ad.ee654", | |
| "type": "mqtt out", | |
| "z": "404e83a4.3d826c", | |
| "name": "mqttout_status_sw6", | |
| "topic": "sw6/status", | |
| "qos": "1", | |
| "retain": "false", | |
| "broker": "ca4eaa05.0be878", | |
| "x": 1287, | |
| "y": 1216, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "614842bc.4fc01c", | |
| "type": "http request", | |
| "z": "404e83a4.3d826c", | |
| "name": "HTTPSW7", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw7/cm?cmnd=Power", | |
| "tls": "", | |
| "x": 613, | |
| "y": 1354, | |
| "wires": [["bacab796.a71178"]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "d63ed873.b225c8", | |
| "type": "inject", | |
| "z": "404e83a4.3d826c", | |
| "name": "", | |
| "topic": "", | |
| "payload": "", | |
| "payloadType": "date", | |
| "repeat": "10", | |
| "crontab": "", | |
| "once": true, | |
| "onceDelay": "70", | |
| "x": 411, | |
| "y": 1352, | |
| "wires": [["614842bc.4fc01c"]] | |
| }, | |
| { | |
| "id": "bacab796.a71178", | |
| "type": "jsonpath", | |
| "z": "404e83a4.3d826c", | |
| "expression": "$.POWER", | |
| "split": false, | |
| "name": "", | |
| "x": 780, | |
| "y": 1354, | |
| "wires": [["1f5b7402.238bdc"]] | |
| }, | |
| { | |
| "id": "ba6e8457.6ac318", | |
| "type": "debug", | |
| "z": "404e83a4.3d826c", | |
| "name": "status_msg7", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 1248, | |
| "y": 1304, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "22c69f9.d6a3a6", | |
| "type": "mqtt out", | |
| "z": "404e83a4.3d826c", | |
| "name": "mqttout_status_sw7", | |
| "topic": "sw7/status", | |
| "qos": "1", | |
| "retain": "false", | |
| "broker": "b5a91cd2.5bac2", | |
| "x": 1270, | |
| "y": 1402, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "4d8e1bd9.319574", | |
| "type": "http request", | |
| "z": "79e3e47.b8f891c", | |
| "name": "Switch_TOGGLE_HTTPSW5", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw5/cm?cmnd=Power%20TOGGLE", | |
| "tls": "", | |
| "x": 738, | |
| "y": 676, | |
| "wires": [[]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "482da98e.b73fd8", | |
| "type": "mqtt in", | |
| "z": "79e3e47.b8f891c", | |
| "name": "mqttin_sw5_toggle", | |
| "topic": "sw5/toggle", | |
| "qos": "2", | |
| "broker": "872ed3fd.5e55", | |
| "x": 488, | |
| "y": 674, | |
| "wires": [["5f790ecc.8ceb6", "4d8e1bd9.319574"]] | |
| }, | |
| { | |
| "id": "5f790ecc.8ceb6", | |
| "type": "debug", | |
| "z": "79e3e47.b8f891c", | |
| "name": "switch_toggle_msg5", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 714, | |
| "y": 591, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "97d6550e.5dc4e8", | |
| "type": "http request", | |
| "z": "79e3e47.b8f891c", | |
| "name": "Switch_TOGGLE_HTTPSW6", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw6/cm?cmnd=Power%20TOGGLE", | |
| "tls": "", | |
| "x": 744, | |
| "y": 786, | |
| "wires": [[]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "bc29f097.4c337", | |
| "type": "mqtt in", | |
| "z": "79e3e47.b8f891c", | |
| "name": "mqttin_sw6_toggle", | |
| "topic": "sw6/toggle", | |
| "qos": "2", | |
| "broker": "ca4eaa05.0be878", | |
| "x": 494, | |
| "y": 784, | |
| "wires": [["97d6550e.5dc4e8", "5a8df8c5.a35098"]] | |
| }, | |
| { | |
| "id": "c2b993c1.add0c", | |
| "type": "http request", | |
| "z": "79e3e47.b8f891c", | |
| "name": "Switch_TOGGLE_HTTPSW7", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw7/cm?cmnd=Power%20TOGGLE", | |
| "tls": "", | |
| "x": 751, | |
| "y": 935, | |
| "wires": [[]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "682757ba.7bd538", | |
| "type": "mqtt in", | |
| "z": "79e3e47.b8f891c", | |
| "name": "mqttin_sw7_toggle", | |
| "topic": "sw7/toggle", | |
| "qos": "2", | |
| "broker": "b5a91cd2.5bac2", | |
| "x": 501, | |
| "y": 933, | |
| "wires": [["641d1c77.fd5e84", "c2b993c1.add0c"]] | |
| }, | |
| { | |
| "id": "641d1c77.fd5e84", | |
| "type": "debug", | |
| "z": "79e3e47.b8f891c", | |
| "name": "switch_toggle_msg7", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 727, | |
| "y": 850, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "5a8df8c5.a35098", | |
| "type": "debug", | |
| "z": "79e3e47.b8f891c", | |
| "name": "switch_toggle_msg6", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 774, | |
| "y": 727, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "57e4ed5b.a49a74", | |
| "type": "http request", | |
| "z": "c97c8bf7.5c7ae8", | |
| "name": "Switch_ON_HTTPSW5", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw5/cm?cmnd=Power%20ON", | |
| "tls": "", | |
| "x": 775, | |
| "y": 938, | |
| "wires": [[]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "1324da9a.115b65", | |
| "type": "mqtt in", | |
| "z": "c97c8bf7.5c7ae8", | |
| "name": "mqttin_sw5_on", | |
| "topic": "sw5/on", | |
| "qos": "2", | |
| "broker": "872ed3fd.5e55", | |
| "x": 542, | |
| "y": 910, | |
| "wires": [["57e4ed5b.a49a74", "302f5d4c.fbfdb2"]] | |
| }, | |
| { | |
| "id": "302f5d4c.fbfdb2", | |
| "type": "debug", | |
| "z": "c97c8bf7.5c7ae8", | |
| "name": "switch_on_msg5", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 774, | |
| "y": 836, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "69c64672.d484b8", | |
| "type": "http request", | |
| "z": "c97c8bf7.5c7ae8", | |
| "name": "Switch_ON_HTTPSW7", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw7/cm?cmnd=Power%20ON", | |
| "tls": "", | |
| "x": 789, | |
| "y": 1313, | |
| "wires": [[]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "1ef98d99.376c12", | |
| "type": "mqtt in", | |
| "z": "c97c8bf7.5c7ae8", | |
| "name": "mqttin_sw7_on", | |
| "topic": "sw7/on", | |
| "qos": "2", | |
| "broker": "b5a91cd2.5bac2", | |
| "x": 556, | |
| "y": 1282, | |
| "wires": [["69c64672.d484b8", "d800ae49.426b9"]] | |
| }, | |
| { | |
| "id": "d800ae49.426b9", | |
| "type": "debug", | |
| "z": "c97c8bf7.5c7ae8", | |
| "name": "switch_on_msg7", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 788, | |
| "y": 1208, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "6ab64aa9.091eb4", | |
| "type": "http request", | |
| "z": "c97c8bf7.5c7ae8", | |
| "name": "Switch_ON_HTTPSW6", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw6/cm?cmnd=Power%20ON", | |
| "tls": "", | |
| "x": 786, | |
| "y": 1128, | |
| "wires": [[]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "b995ffda.e33d2", | |
| "type": "mqtt in", | |
| "z": "c97c8bf7.5c7ae8", | |
| "name": "mqttin_sw6_on", | |
| "topic": "sw6/on", | |
| "qos": "2", | |
| "broker": "ca4eaa05.0be878", | |
| "x": 553, | |
| "y": 1097, | |
| "wires": [["6ab64aa9.091eb4", "e0476be8.9ed668"]] | |
| }, | |
| { | |
| "id": "e0476be8.9ed668", | |
| "type": "debug", | |
| "z": "c97c8bf7.5c7ae8", | |
| "name": "switch_on_msg6", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 785, | |
| "y": 1023, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "bb6bfac4.990b98", | |
| "type": "http request", | |
| "z": "19a4f934.67a897", | |
| "name": "Switch_OFF_HTTPSW5", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw5/cm?cmnd=Power%20OFF", | |
| "tls": "", | |
| "x": 792, | |
| "y": 937, | |
| "wires": [[]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "5121bc7a.52fa14", | |
| "type": "mqtt in", | |
| "z": "19a4f934.67a897", | |
| "name": "mqttin_sw5_off", | |
| "topic": "sw5/off", | |
| "qos": "2", | |
| "broker": "872ed3fd.5e55", | |
| "x": 559, | |
| "y": 906, | |
| "wires": [["bb6bfac4.990b98", "628c27.15b6e3d8"]] | |
| }, | |
| { | |
| "id": "628c27.15b6e3d8", | |
| "type": "debug", | |
| "z": "19a4f934.67a897", | |
| "name": "switch_off_msg5", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 791, | |
| "y": 832, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "5de8a8a5.d60318", | |
| "type": "http request", | |
| "z": "19a4f934.67a897", | |
| "name": "Switch_OFF_HTTPSW7", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw7/cm?cmnd=Power%20OFF", | |
| "tls": "", | |
| "x": 806, | |
| "y": 1309, | |
| "wires": [[]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "48565bba.284d34", | |
| "type": "mqtt in", | |
| "z": "19a4f934.67a897", | |
| "name": "mqttin_sw7_off", | |
| "topic": "sw7/off", | |
| "qos": "2", | |
| "broker": "b5a91cd2.5bac2", | |
| "x": 573, | |
| "y": 1278, | |
| "wires": [["5de8a8a5.d60318", "c8449d43.9b481"]] | |
| }, | |
| { | |
| "id": "c8449d43.9b481", | |
| "type": "debug", | |
| "z": "19a4f934.67a897", | |
| "name": "switch_off_msg7", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 805, | |
| "y": 1204, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "645a8d4a.762954", | |
| "type": "http request", | |
| "z": "19a4f934.67a897", | |
| "name": "Switch_OFF_HTTPSW6", | |
| "method": "GET", | |
| "ret": "txt", | |
| "url": "http://sw6/cm?cmnd=Power%20OFF", | |
| "tls": "", | |
| "x": 803, | |
| "y": 1124, | |
| "wires": [[]], | |
| "outputLabels": ["JSONSW4"] | |
| }, | |
| { | |
| "id": "2678d304.b1463c", | |
| "type": "mqtt in", | |
| "z": "19a4f934.67a897", | |
| "name": "mqttin_sw6_off", | |
| "topic": "sw6/off", | |
| "qos": "2", | |
| "broker": "ca4eaa05.0be878", | |
| "x": 570, | |
| "y": 1093, | |
| "wires": [["645a8d4a.762954", "9e9662be.d6879"]] | |
| }, | |
| { | |
| "id": "9e9662be.d6879", | |
| "type": "debug", | |
| "z": "19a4f934.67a897", | |
| "name": "switch_off_msg6", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "true", | |
| "x": 802, | |
| "y": 1019, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "9f0406e7.d42428", | |
| "type": "string", | |
| "z": "404e83a4.3d826c", | |
| "name": "strtransform_sw4_status", | |
| "methods": [ | |
| { | |
| "name": "replaceAll", | |
| "params": [ | |
| { "type": "str", "value": "[\"" }, | |
| { "type": "str", "value": "" } | |
| ] | |
| }, | |
| { | |
| "name": "replaceAll", | |
| "params": [ | |
| { "type": "str", "value": "\"]" }, | |
| { "type": "str", "value": "" } | |
| ] | |
| } | |
| ], | |
| "prop": "payload", | |
| "propout": "payload", | |
| "object": "msg", | |
| "objectout": "msg", | |
| "x": 957, | |
| "y": 767, | |
| "wires": [["c3f07d1f.690b9", "8d979ec9.44faf"]] | |
| }, | |
| { | |
| "id": "a45d5525.2b5f38", | |
| "type": "string", | |
| "z": "404e83a4.3d826c", | |
| "name": "strtransform_sw3_status", | |
| "methods": [ | |
| { | |
| "name": "replaceAll", | |
| "params": [ | |
| { "type": "str", "value": "[\"" }, | |
| { "type": "str", "value": "" } | |
| ] | |
| }, | |
| { | |
| "name": "replaceAll", | |
| "params": [ | |
| { "type": "str", "value": "\"]" }, | |
| { "type": "str", "value": "" } | |
| ] | |
| } | |
| ], | |
| "prop": "payload", | |
| "propout": "payload", | |
| "object": "msg", | |
| "objectout": "msg", | |
| "x": 934, | |
| "y": 564, | |
| "wires": [["34442ec4.e4a002", "d9e3af8a.ec865"]] | |
| }, | |
| { | |
| "id": "4098a969.af42d8", | |
| "type": "string", | |
| "z": "404e83a4.3d826c", | |
| "name": "strtransform_sw2_status", | |
| "methods": [ | |
| { | |
| "name": "replaceAll", | |
| "params": [ | |
| { "type": "str", "value": "[\"" }, | |
| { "type": "str", "value": "" } | |
| ] | |
| }, | |
| { | |
| "name": "replaceAll", | |
| "params": [ | |
| { "type": "str", "value": "\"]" }, | |
| { "type": "str", "value": "" } | |
| ] | |
| } | |
| ], | |
| "prop": "payload", | |
| "propout": "payload", | |
| "object": "msg", | |
| "objectout": "msg", | |
| "x": 962, | |
| "y": 370, | |
| "wires": [["c02f5b68.183208", "8283899e.5f33c8"]] | |
| }, | |
| { | |
| "id": "166943ec.880a7c", | |
| "type": "string", | |
| "z": "404e83a4.3d826c", | |
| "name": "strtransform_sw1_status", | |
| "methods": [ | |
| { | |
| "name": "replaceAll", | |
| "params": [ | |
| { "type": "str", "value": "[\"" }, | |
| { "type": "str", "value": "" } | |
| ] | |
| }, | |
| { | |
| "name": "replaceAll", | |
| "params": [ | |
| { "type": "str", "value": "\"]" }, | |
| { "type": "str", "value": "" } | |
| ] | |
| } | |
| ], | |
| "prop": "payload", | |
| "propout": "payload", | |
| "object": "msg", | |
| "objectout": "msg", | |
| "x": 924, | |
| "y": 141, | |
| "wires": [["48156cf6.edbd54", "6d7ab717.bf1b38"]] | |
| }, | |
| { | |
| "id": "419169f9.4b08c8", | |
| "type": "string", | |
| "z": "404e83a4.3d826c", | |
| "name": "strtransform_sw5_status", | |
| "methods": [ | |
| { | |
| "name": "replaceAll", | |
| "params": [ | |
| { "type": "str", "value": "[\"" }, | |
| { "type": "str", "value": "" } | |
| ] | |
| }, | |
| { | |
| "name": "replaceAll", | |
| "params": [ | |
| { "type": "str", "value": "\"]" }, | |
| { "type": "str", "value": "" } | |
| ] | |
| } | |
| ], | |
| "prop": "payload", | |
| "propout": "payload", | |
| "object": "msg", | |
| "objectout": "msg", | |
| "x": 1022, | |
| "y": 974, | |
| "wires": [["e62ab4fb.55ea08", "716eaef5.a7dea"]] | |
| }, | |
| { | |
| "id": "6349888b.169b08", | |
| "type": "string", | |
| "z": "404e83a4.3d826c", | |
| "name": "strtransform_sw6_status", | |
| "methods": [ | |
| { | |
| "name": "replaceAll", | |
| "params": [ | |
| { "type": "str", "value": "[\"" }, | |
| { "type": "str", "value": "" } | |
| ] | |
| }, | |
| { | |
| "name": "replaceAll", | |
| "params": [ | |
| { "type": "str", "value": "\"]" }, | |
| { "type": "str", "value": "" } | |
| ] | |
| } | |
| ], | |
| "prop": "payload", | |
| "propout": "payload", | |
| "object": "msg", | |
| "objectout": "msg", | |
| "x": 1004, | |
| "y": 1164, | |
| "wires": [["4f5bb3ad.a9f33c", "e8eba0ad.ee654"]] | |
| }, | |
| { | |
| "id": "1f5b7402.238bdc", | |
| "type": "string", | |
| "z": "404e83a4.3d826c", | |
| "name": "strtransform_sw7_status", | |
| "methods": [ | |
| { | |
| "name": "replaceAll", | |
| "params": [ | |
| { "type": "str", "value": "[\"" }, | |
| { "type": "str", "value": "" } | |
| ] | |
| }, | |
| { | |
| "name": "replaceAll", | |
| "params": [ | |
| { "type": "str", "value": "\"]" }, | |
| { "type": "str", "value": "" } | |
| ] | |
| } | |
| ], | |
| "prop": "payload", | |
| "propout": "payload", | |
| "object": "msg", | |
| "objectout": "msg", | |
| "x": 1029, | |
| "y": 1346, | |
| "wires": [["ba6e8457.6ac318", "22c69f9.d6a3a6"]] | |
| } | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment