[ { "id": "ecb13cb.b2b14c", "type": "tab", "label": "Flow 8", "disabled": false, "info": "" }, { "id": "a34842e.d4cebc", "type": "ui_template", "z": "ecb13cb.b2b14c", "group": "1ffb9e4a.73dfd2", "name": "BOLARDO 1", "order": 0, "width": "0", "height": "0", "format": "\n\n\n\n

\n\n

\n\n
\n
\n
\n
\n
\n\n\n
\n
\n
\n
\n
\n
\n
\n
\n\n\n
\n
\n\n
\n

\n \n

\n", "storeOutMessages": true, "fwdInMessages": false, "templateScope": "local", "x": 470, "y": 160, "wires": [ [ "9d037847.9d4ae8" ] ] }, { "id": "4ea9fc83.1d5c94", "type": "ui_template", "z": "ecb13cb.b2b14c", "group": "45b56433.0a4f4c", "name": "BOLARDO 2", "order": 0, "width": 0, "height": 0, "format": "\n\n\n\n

\n\n

\n\n
\n
\n
\n
\n
\n\n\n
\n
\n
\n
\n
\n
\n
\n
\n\n\n
\n
\n\n
\n

\n \n

\n\n\n\n", "storeOutMessages": true, "fwdInMessages": false, "templateScope": "local", "x": 467.55553436279297, "y": 277.99999809265137, "wires": [ [ "7804152b.691e5c" ] ] }, { "id": "d53a5b23.78c948", "type": "ui_template", "z": "ecb13cb.b2b14c", "group": "f6014758.a91ed8", "name": "BOLARDO 3", "order": 1, "width": 0, "height": 0, "format": "\n\n\n\n

\n\n

\n\n
\n
\n
\n
\n
\n\n\n
\n
\n
\n
\n
\n
\n
\n
\n\n\n
\n
\n\n
\n

\n \n

\n\n\n\n\n", "storeOutMessages": true, "fwdInMessages": false, "templateScope": "local", "x": 457.55553436279297, "y": 397.99999809265137, "wires": [ [ "81a7e2c5.8d8e2" ] ] }, { "id": "f9cb34c4.b7f1f8", "type": "rpi-gpio out", "z": "ecb13cb.b2b14c", "name": "B1 BAJAR", "pin": "33", "set": true, "level": "1", "freq": "", "out": "out", "x": 1045.555534362793, "y": 119.99999809265137, "wires": [] }, { "id": "327fe83d.eaa348", "type": "rpi-gpio out", "z": "ecb13cb.b2b14c", "name": "B1 SUBIR", "pin": "36", "set": true, "level": "1", "freq": "", "out": "out", "x": 1037.555534362793, "y": 197.99999809265137, "wires": [] }, { "id": "b0ae80f6.83c53", "type": "rpi-gpio out", "z": "ecb13cb.b2b14c", "name": "B2 SUBIR", "pin": "38", "set": true, "level": "1", "freq": "", "out": "out", "x": 1005.555534362793, "y": 319.99999809265137, "wires": [] }, { "id": "9a043232.10334", "type": "rpi-gpio out", "z": "ecb13cb.b2b14c", "name": "B2 BAJAR 2", "pin": "35", "set": true, "level": "1", "freq": "", "out": "out", "x": 1025.555534362793, "y": 259.99999809265137, "wires": [] }, { "id": "69b7ee86.d0da7", "type": "rpi-gpio out", "z": "ecb13cb.b2b14c", "name": "B3 BAJAR", "pin": "37", "set": true, "level": "1", "freq": "", "out": "out", "x": 1017.555534362793, "y": 397.99999809265137, "wires": [] }, { "id": "621e5723.f9c648", "type": "rpi-gpio out", "z": "ecb13cb.b2b14c", "name": "B3 SUBIR", "pin": "40", "set": true, "level": "1", "freq": "", "out": "out", "x": 1027.555534362793, "y": 457.99999809265137, "wires": [] }, { "id": "d89b97a6.8bbbf8", "type": "rpi-gpio in", "z": "ecb13cb.b2b14c", "name": "B1", "pin": "29", "intype": "up", "debounce": "100", "read": true, "x": 258.6666603088379, "y": 160.22221565246582, "wires": [ [ "a34842e.d4cebc", "edae6d61.338ae" ] ] }, { "id": "cee98ae9.0944a8", "type": "trigger", "z": "ecb13cb.b2b14c", "op1": "false", "op2": "true", "op1type": "bool", "op2type": "bool", "duration": "1", "extend": false, "units": "s", "reset": "", "bytopic": "all", "name": "", "x": 835.555534362793, "y": 119.99999809265137, "wires": [ [ "f9cb34c4.b7f1f8" ] ] }, { "id": "70778acc.9ac184", "type": "trigger", "z": "ecb13cb.b2b14c", "op1": "false", "op2": "true", "op1type": "bool", "op2type": "bool", "duration": "1", "extend": false, "units": "s", "reset": "", "bytopic": "all", "name": "", "x": 837.555534362793, "y": 197.99999809265137, "wires": [ [ "327fe83d.eaa348" ] ] }, { "id": "9d037847.9d4ae8", "type": "switch", "z": "ecb13cb.b2b14c", "name": "SWITCH B1", "property": "payload", "propertyType": "msg", "rules": [ { "t": "eq", "v": "1", "vt": "num" }, { "t": "eq", "v": "2", "vt": "num" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 655.555534362793, "y": 159.99999809265137, "wires": [ [ "cee98ae9.0944a8" ], [ "70778acc.9ac184" ] ] }, { "id": "7804152b.691e5c", "type": "switch", "z": "ecb13cb.b2b14c", "name": "SWITCH B2", "property": "payload", "propertyType": "msg", "rules": [ { "t": "eq", "v": "1", "vt": "num" }, { "t": "eq", "v": "2", "vt": "num" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 657.555534362793, "y": 277.99999809265137, "wires": [ [ "4335174d.20dc58" ], [ "a0151f36.a7ec9" ] ] }, { "id": "4335174d.20dc58", "type": "trigger", "z": "ecb13cb.b2b14c", "op1": "false", "op2": "true", "op1type": "bool", "op2type": "bool", "duration": "1", "extend": false, "units": "s", "reset": "", "bytopic": "all", "name": "", "x": 847.555534362793, "y": 257.99999809265137, "wires": [ [ "9a043232.10334" ] ] }, { "id": "a0151f36.a7ec9", "type": "trigger", "z": "ecb13cb.b2b14c", "op1": "false", "op2": "true", "op1type": "bool", "op2type": "bool", "duration": "1", "extend": false, "units": "s", "reset": "", "bytopic": "all", "name": "", "x": 827.555534362793, "y": 317.99999809265137, "wires": [ [ "b0ae80f6.83c53" ] ] }, { "id": "81a7e2c5.8d8e2", "type": "switch", "z": "ecb13cb.b2b14c", "name": "SWITCH B3", "property": "payload", "propertyType": "msg", "rules": [ { "t": "eq", "v": "1", "vt": "num" }, { "t": "eq", "v": "2", "vt": "num" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 637.555534362793, "y": 397.99999809265137, "wires": [ [ "2c0dc81c.523c58" ], [ "2ea43b06.ede9c4" ] ] }, { "id": "2c0dc81c.523c58", "type": "trigger", "z": "ecb13cb.b2b14c", "op1": "false", "op2": "true", "op1type": "bool", "op2type": "bool", "duration": "1", "extend": false, "units": "s", "reset": "", "bytopic": "all", "name": "", "x": 827.555534362793, "y": 397.99999809265137, "wires": [ [ "69b7ee86.d0da7" ] ] }, { "id": "2ea43b06.ede9c4", "type": "trigger", "z": "ecb13cb.b2b14c", "op1": "false", "op2": "true", "op1type": "bool", "op2type": "bool", "duration": "1", "extend": false, "units": "s", "reset": "", "bytopic": "all", "name": "", "x": 827.555534362793, "y": 457.99999809265137, "wires": [ [ "621e5723.f9c648" ] ] }, { "id": "de3747b9.5f34a8", "type": "rpi-gpio in", "z": "ecb13cb.b2b14c", "name": "B2", "pin": "31", "intype": "tri", "debounce": "25", "read": true, "x": 269.77775955200195, "y": 277.99998474121094, "wires": [ [ "4ea9fc83.1d5c94", "a448daf2.837228" ] ] }, { "id": "b0f2ee81.12e19", "type": "rpi-gpio in", "z": "ecb13cb.b2b14c", "name": "B3", "pin": "32", "intype": "tri", "debounce": "25", "read": true, "x": 269.7777633666992, "y": 396.8888759613037, "wires": [ [ "d53a5b23.78c948", "1bd51e37.823aa2" ] ] }, { "id": "9294b75.e533048", "type": "ui_switch", "z": "ecb13cb.b2b14c", "name": "", "label": "OFF / ON", "group": "8d1a377.c2e24c8", "order": 1, "width": 0, "height": 0, "passthru": true, "decouple": "false", "topic": "", "style": "", "onvalue": "2", "onvalueType": "num", "onicon": "", "oncolor": "", "offvalue": "1", "offvalueType": "num", "officon": "", "offcolor": "", "x": 530.4443969726562, "y": 96.00001811981201, "wires": [ [ "9d037847.9d4ae8", "7804152b.691e5c", "81a7e2c5.8d8e2" ] ] }, { "id": "9b352e9.ff3b0d", "type": "mqtt out", "z": "ecb13cb.b2b14c", "name": "", "topic": "bolardo/status", "qos": "2", "retain": "", "broker": "197077d0.286898", "x": 937.0216598510742, "y": 718.1709575653076, "wires": [] }, { "id": "1bd51e37.823aa2", "type": "switch", "z": "ecb13cb.b2b14c", "name": "B3 ?", "property": "payload", "propertyType": "msg", "rules": [ { "t": "eq", "v": "0", "vt": "num" }, { "t": "eq", "v": "1", "vt": "num" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 473.0333938598633, "y": 722.8349771499634, "wires": [ [ "242d6c6d.722594" ], [ "f976058d.235a38" ] ] }, { "id": "242d6c6d.722594", "type": "change", "z": "ecb13cb.b2b14c", "name": "0 --> {\"B6\":0}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "0", "fromt": "num", "to": "{\"B6\":0}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 648.0334396362305, "y": 720.815598487854, "wires": [ [ "9b352e9.ff3b0d" ] ] }, { "id": "f976058d.235a38", "type": "change", "z": "ecb13cb.b2b14c", "name": "1 --> {\"B6\":1}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "1", "fromt": "num", "to": "{\"B6\":1}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 644.0256118774414, "y": 763.3233127593994, "wires": [ [ "9b352e9.ff3b0d" ] ] }, { "id": "a448daf2.837228", "type": "switch", "z": "ecb13cb.b2b14c", "name": "B2 ?", "property": "payload", "propertyType": "msg", "rules": [ { "t": "eq", "v": "0", "vt": "num" }, { "t": "eq", "v": "1", "vt": "num" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 473.0255126953125, "y": 601.0849418640137, "wires": [ [ "31f63e3e.21a562" ], [ "1246f7c3.702bc8" ] ] }, { "id": "edae6d61.338ae", "type": "switch", "z": "ecb13cb.b2b14c", "name": "B1 ?", "property": "payload", "propertyType": "msg", "rules": [ { "t": "eq", "v": "0", "vt": "num" }, { "t": "eq", "v": "1", "vt": "num" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 476.0333251953125, "y": 480.0849771499634, "wires": [ [ "c2f18916.6b4308" ], [ "72387aa3.9f0c84" ] ] }, { "id": "c2f18916.6b4308", "type": "change", "z": "ecb13cb.b2b14c", "name": "0 --> {\"B4\":0}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "0", "fromt": "num", "to": "{\"B4\":0}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 649.0333480834961, "y": 477.06153869628906, "wires": [ [ "9b352e9.ff3b0d" ] ] }, { "id": "31f63e3e.21a562", "type": "change", "z": "ecb13cb.b2b14c", "name": "0 --> {\"B5\":0}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "0", "fromt": "num", "to": "{\"B5\":0}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 646.025562286377, "y": 601.0693311691284, "wires": [ [ "9b352e9.ff3b0d" ] ] }, { "id": "1246f7c3.702bc8", "type": "change", "z": "ecb13cb.b2b14c", "name": "1 --> {\"B5\":1}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "1", "fromt": "num", "to": "{\"B5\":1}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 649.0372543334961, "y": 640.3154106140137, "wires": [ [ "9b352e9.ff3b0d" ] ] }, { "id": "72387aa3.9f0c84", "type": "change", "z": "ecb13cb.b2b14c", "name": "1 --> {\"B4\":1}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "1", "fromt": "num", "to": "{\"B4\":1}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 649.0372505187988, "y": 519.3154468536377, "wires": [ [ "9b352e9.ff3b0d" ] ] }, { "id": "d0337960.cb54c8", "type": "debug", "z": "ecb13cb.b2b14c", "name": "mqtt in", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "x": 482.57994842529297, "y": 892.1298198699951, "wires": [] }, { "id": "598aa7f7.aa5f58", "type": "mqtt in", "z": "ecb13cb.b2b14c", "name": "", "topic": "bolardo/status", "qos": "2", "broker": "197077d0.286898", "x": 225.57988357543945, "y": 890.809476852417, "wires": [ [ "d0337960.cb54c8", "11325d4c.c6dde3" ] ] }, { "id": "ed54a8c9.ed1078", "type": "change", "z": "ecb13cb.b2b14c", "name": "{\"B2\":0} --> true", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "{\"B4\":2}", "fromt": "str", "to": "true", "tot": "bool" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 584.5720367431641, "y": 940.9776573181152, "wires": [ [ "59094e55.7a762", "cee98ae9.0944a8" ] ] }, { "id": "11325d4c.c6dde3", "type": "switch", "z": "ecb13cb.b2b14c", "name": "B4", "property": "payload", "propertyType": "msg", "rules": [ { "t": "eq", "v": "{\"B4\":2}", "vt": "str" }, { "t": "eq", "v": "{\"B4\":3}", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 404.57201385498047, "y": 953.0085887908936, "wires": [ [ "ed54a8c9.ed1078" ], [ "9f057ec.23c858" ] ] }, { "id": "9f057ec.23c858", "type": "change", "z": "ecb13cb.b2b14c", "name": "{\"B4\":3} --> true", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "{\"B4\":3}", "fromt": "str", "to": "true", "tot": "bool" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 587.5876770019531, "y": 982.9773855209351, "wires": [ [ "59094e55.7a762", "70778acc.9ac184" ] ] }, { "id": "494268a3.b79a58", "type": "inject", "z": "ecb13cb.b2b14c", "name": "", "topic": "", "payload": "{\"B4\":2}", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 229.5837173461914, "y": 955.8875770568848, "wires": [ [ "11325d4c.c6dde3" ] ] }, { "id": "3a22a0f5.e75d4", "type": "inject", "z": "ecb13cb.b2b14c", "name": "", "topic": "", "payload": "{\"B4\":3}", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 231.58370971679688, "y": 993.9031066894531, "wires": [ [ "11325d4c.c6dde3" ] ] }, { "id": "59094e55.7a762", "type": "debug", "z": "ecb13cb.b2b14c", "name": "B4 1", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "x": 831.3298492431641, "y": 903.6179475784302, "wires": [] }, { "id": "1ffb9e4a.73dfd2", "type": "ui_group", "z": "", "name": "CAS01-B04-SA", "tab": "5ab7c29.0f9503c", "disp": true, "width": "3", "collapse": false }, { "id": "45b56433.0a4f4c", "type": "ui_group", "z": "", "name": "BOLARDO 2", "tab": "5ab7c29.0f9503c", "disp": true, "width": "3", "collapse": false }, { "id": "f6014758.a91ed8", "type": "ui_group", "z": "", "name": "BOLARDO 3", "tab": "5ab7c29.0f9503c", "disp": true, "width": "3", "collapse": false }, { "id": "8d1a377.c2e24c8", "type": "ui_group", "z": "", "name": "CTRL GLOBAL", "tab": "5ab7c29.0f9503c", "disp": true, "width": "3", "collapse": false }, { "id": "197077d0.286898", "type": "mqtt-broker", "z": "", "name": "IAIJM01", "broker": "192.168.1.78", "port": "1883", "clientid": "", "usetls": false, "compatmode": true, "keepalive": "60", "cleansession": true, "birthTopic": "", "birthQos": "0", "birthPayload": "", "closeTopic": "", "closeQos": "0", "closePayload": "", "willTopic": "", "willQos": "0", "willPayload": "" }, { "id": "5ab7c29.0f9503c", "type": "ui_tab", "z": "", "name": "CONTROLADORA IAIJM-01 - CASETA 01", "icon": "dashboard", "order": 2 } ]