[ { "id": "18c260d.202459f", "type": "tab", "label": "Flow 9", "disabled": false, "info": "" }, { "id": "7a17c7a9.783798", "type": "ui_template", "z": "18c260d.202459f", "group": "3568f93c.2e0396", "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": 450, "y": 180, "wires": [ [ "a4e7d993.60da88" ] ] }, { "id": "ce0a8285.72caa", "type": "ui_template", "z": "18c260d.202459f", "group": "fcb12158.feb07", "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": 432, "y": 298, "wires": [ [ "c42ffb36.699d48" ] ] }, { "id": "90b4c649.c2fde8", "type": "ui_template", "z": "18c260d.202459f", "group": "c8673203.b4b63", "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": 422, "y": 418, "wires": [ [ "2ad9de5f.001872" ] ] }, { "id": "e62ded71.40df9", "type": "rpi-gpio out", "z": "18c260d.202459f", "name": "B1 BAJAR", "pin": "33", "set": true, "level": "1", "freq": "", "out": "out", "x": 999.0000457763672, "y": 166, "wires": [] }, { "id": "e62ca121.85363", "type": "rpi-gpio out", "z": "18c260d.202459f", "name": "B1 SUBIR", "pin": "36", "set": true, "level": "1", "freq": "", "out": "out", "x": 1002, "y": 218, "wires": [] }, { "id": "df9135bf.416268", "type": "rpi-gpio out", "z": "18c260d.202459f", "name": "B2 SUBIR", "pin": "38", "set": true, "level": "1", "freq": "", "out": "out", "x": 999.0000457763672, "y": 339.00000381469727, "wires": [] }, { "id": "e9a83ba0.41bf68", "type": "rpi-gpio out", "z": "18c260d.202459f", "name": "B2 BAJAR 2", "pin": "35", "set": true, "level": "1", "freq": "", "out": "out", "x": 1001.0000267028809, "y": 278.00000953674316, "wires": [] }, { "id": "2d2e5637.0157ba", "type": "rpi-gpio out", "z": "18c260d.202459f", "name": "B3 BAJAR", "pin": "37", "set": true, "level": "1", "freq": "", "out": "out", "x": 993.0000114440918, "y": 417.99999618530273, "wires": [] }, { "id": "edb1c252.81e95", "type": "rpi-gpio out", "z": "18c260d.202459f", "name": "B3 SUBIR", "pin": "40", "set": true, "level": "1", "freq": "", "out": "out", "x": 992, "y": 478, "wires": [] }, { "id": "b6cfc6ec.e99628", "type": "rpi-gpio in", "z": "18c260d.202459f", "name": "B1", "pin": "29", "intype": "up", "debounce": "100", "read": true, "x": 227, "y": 179, "wires": [ [ "7a17c7a9.783798", "e81426d4.5c39f8", "ee262613.823418" ] ] }, { "id": "96bbe59b.f4dd78", "type": "trigger", "z": "18c260d.202459f", "op1": "false", "op2": "true", "op1type": "bool", "op2type": "bool", "duration": "1", "extend": false, "units": "s", "reset": "", "bytopic": "all", "name": "", "x": 802, "y": 166, "wires": [ [ "e62ded71.40df9" ] ] }, { "id": "fbdeebb7.59d2c8", "type": "trigger", "z": "18c260d.202459f", "op1": "false", "op2": "true", "op1type": "bool", "op2type": "bool", "duration": "1", "extend": false, "units": "s", "reset": "", "bytopic": "all", "name": "", "x": 802, "y": 218, "wires": [ [ "e62ca121.85363" ] ] }, { "id": "a4e7d993.60da88", "type": "switch", "z": "18c260d.202459f", "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": 620, "y": 180, "wires": [ [ "96bbe59b.f4dd78", "1cb37fbb.dc322" ], [ "fbdeebb7.59d2c8", "cbbade08.d6967" ] ] }, { "id": "c42ffb36.699d48", "type": "switch", "z": "18c260d.202459f", "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": 622, "y": 298, "wires": [ [ "64d3d608.d2b618", "835f8aa9.2921c8" ], [ "611f7384.64fe3c", "d4009539.f7caf8" ] ] }, { "id": "64d3d608.d2b618", "type": "trigger", "z": "18c260d.202459f", "op1": "false", "op2": "true", "op1type": "bool", "op2type": "bool", "duration": "1", "extend": false, "units": "s", "reset": "", "bytopic": "all", "name": "", "x": 812, "y": 278, "wires": [ [ "e9a83ba0.41bf68" ] ] }, { "id": "611f7384.64fe3c", "type": "trigger", "z": "18c260d.202459f", "op1": "false", "op2": "true", "op1type": "bool", "op2type": "bool", "duration": "1", "extend": false, "units": "s", "reset": "", "bytopic": "all", "name": "", "x": 815.0000991821289, "y": 339.00001525878906, "wires": [ [ "df9135bf.416268" ] ] }, { "id": "2ad9de5f.001872", "type": "switch", "z": "18c260d.202459f", "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": 602, "y": 418, "wires": [ [ "cf778909.928ae8", "cd3bc134.fcaeb" ], [ "d75b4066.13706", "5dd8988a.69a7b8" ] ] }, { "id": "cf778909.928ae8", "type": "trigger", "z": "18c260d.202459f", "op1": "false", "op2": "true", "op1type": "bool", "op2type": "bool", "duration": "1", "extend": false, "units": "s", "reset": "", "bytopic": "all", "name": "", "x": 792, "y": 418, "wires": [ [ "2d2e5637.0157ba" ] ] }, { "id": "d75b4066.13706", "type": "trigger", "z": "18c260d.202459f", "op1": "false", "op2": "true", "op1type": "bool", "op2type": "bool", "duration": "1", "extend": false, "units": "s", "reset": "", "bytopic": "all", "name": "", "x": 792, "y": 478, "wires": [ [ "edb1c252.81e95" ] ] }, { "id": "2bf31a68.93cb36", "type": "rpi-gpio in", "z": "18c260d.202459f", "name": "B2", "pin": "31", "intype": "up", "debounce": "100", "read": true, "x": 220.00000381469727, "y": 296.00000286102295, "wires": [ [ "ce0a8285.72caa", "9b836343.8500e", "ee262613.823418" ] ] }, { "id": "9c8aaac0.a89288", "type": "rpi-gpio in", "z": "18c260d.202459f", "name": "B3", "pin": "32", "intype": "up", "debounce": "100", "read": true, "x": 223, "y": 419.00001430511475, "wires": [ [ "90b4c649.c2fde8", "2d0c5b2b.0ec3e4", "ee262613.823418" ] ] }, { "id": "46f060d8.d29f6", "type": "ui_switch", "z": "18c260d.202459f", "name": "", "label": "OFF / ON", "group": "fb88d19e.c2286", "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": 456, "y": 120.00000381469727, "wires": [ [ "a4e7d993.60da88", "c42ffb36.699d48", "2ad9de5f.001872", "dcc9f7b3.a30de8", "70771eb6.befc4", "74beebf3.0ac0f4", "b481a398.3aec7" ] ] }, { "id": "7cc2bb58.f07c94", "type": "mosca in", "z": "18c260d.202459f", "mqtt_port": 1883, "mqtt_ws_port": 8080, "name": "", "username": "", "password": "", "dburl": "", "x": 256.14453125, "y": 543.24609375, "wires": [ [ "2ea5a82a.0037a8" ] ] }, { "id": "2ea5a82a.0037a8", "type": "debug", "z": "18c260d.202459f", "name": "MQTT_BROKER", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "x": 488.14844512939453, "y": 543.4219036102295, "wires": [] }, { "id": "593bec17.6070c4", "type": "mqtt out", "z": "18c260d.202459f", "name": "", "topic": "bolardo/status", "qos": "2", "retain": "", "broker": "8c056380.492cf", "x": 907.1328735351562, "y": 885.3907051086426, "wires": [] }, { "id": "e12a032d.87cf9", "type": "debug", "z": "18c260d.202459f", "name": "mqtt in", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "x": 447.1407775878906, "y": 995.6837558746338, "wires": [] }, { "id": "2d0c5b2b.0ec3e4", "type": "switch", "z": "18c260d.202459f", "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": 443.1446075439453, "y": 890.0547246932983, "wires": [ [ "e59fa653.8d90e8" ], [ "23a61fd7.47679" ] ] }, { "id": "e59fa653.8d90e8", "type": "change", "z": "18c260d.202459f", "name": "0 --> {\"B3\":0}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "0", "fromt": "num", "to": "{\"B3\":0}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 618.1446533203125, "y": 888.035346031189, "wires": [ [ "593bec17.6070c4" ] ] }, { "id": "23a61fd7.47679", "type": "change", "z": "18c260d.202459f", "name": "1 --> {\"B3\":1}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "1", "fromt": "num", "to": "{\"B3\":1}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 614.1368255615234, "y": 930.5430603027344, "wires": [ [ "593bec17.6070c4" ] ] }, { "id": "19b523c0.003d2c", "type": "mqtt in", "z": "18c260d.202459f", "name": "", "topic": "bolardo/status", "qos": "2", "broker": "8c056380.492cf", "x": 190.1407127380371, "y": 994.3634128570557, "wires": [ [ "e12a032d.87cf9", "cc7f5cce.68198", "5d260a64.3cba34", "c26560c8.bdf5c", "d1d64ac9.6e2568" ] ] }, { "id": "9b836343.8500e", "type": "switch", "z": "18c260d.202459f", "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": 443.13672637939453, "y": 768.3046894073486, "wires": [ [ "ff30faf2.ff0548" ], [ "c7c65aad.931378" ] ] }, { "id": "e81426d4.5c39f8", "type": "switch", "z": "18c260d.202459f", "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": 446.14453887939453, "y": 647.3047246932983, "wires": [ [ "6e5b843c.2b952c" ], [ "de5f05cd.7514a8" ] ] }, { "id": "6e5b843c.2b952c", "type": "change", "z": "18c260d.202459f", "name": "0 --> {\"B1\":0}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "0", "fromt": "num", "to": "{\"B1\":0}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 619.1445617675781, "y": 644.281286239624, "wires": [ [ "593bec17.6070c4" ] ] }, { "id": "ff30faf2.ff0548", "type": "change", "z": "18c260d.202459f", "name": "0 --> {\"B2\":0}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "0", "fromt": "num", "to": "{\"B2\":0}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 616.136775970459, "y": 768.2890787124634, "wires": [ [ "593bec17.6070c4" ] ] }, { "id": "c7c65aad.931378", "type": "change", "z": "18c260d.202459f", "name": "1 --> {\"B2\":1}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "1", "fromt": "num", "to": "{\"B2\":1}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 619.1484680175781, "y": 807.5351581573486, "wires": [ [ "593bec17.6070c4" ] ] }, { "id": "de5f05cd.7514a8", "type": "change", "z": "18c260d.202459f", "name": "1 --> {\"B1\":1}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "1", "fromt": "num", "to": "{\"B1\":1}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 619.1484642028809, "y": 686.5351943969727, "wires": [ [ "593bec17.6070c4" ] ] }, { "id": "753a40d9.d0ec4", "type": "change", "z": "18c260d.202459f", "name": "{\"B4\":0} --> 0", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "{\"B4\":0}", "fromt": "str", "to": "0", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 539.1328659057617, "y": 1044.531593322754, "wires": [ [ "cce4014.cd1c6", "eb5038d2.8ad4a8" ] ] }, { "id": "cc7f5cce.68198", "type": "switch", "z": "18c260d.202459f", "name": "B4", "property": "payload", "propertyType": "msg", "rules": [ { "t": "eq", "v": "{\"B4\":0}", "vt": "str" }, { "t": "eq", "v": "{\"B4\":1}", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 369.1328430175781, "y": 1056.5625247955322, "wires": [ [ "753a40d9.d0ec4" ], [ "74ae959c.62fb9c" ] ] }, { "id": "74ae959c.62fb9c", "type": "change", "z": "18c260d.202459f", "name": "{\"B4\":1} --> 1", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "{\"B4\":1}", "fromt": "str", "to": "1", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 542.1485061645508, "y": 1086.5313215255737, "wires": [ [ "cce4014.cd1c6", "eb5038d2.8ad4a8" ] ] }, { "id": "c553d6fb.3f33d8", "type": "inject", "z": "18c260d.202459f", "name": "", "topic": "", "payload": "{\"B4\":0}", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 196.14454650878906, "y": 1060.4414157867432, "wires": [ [ "cc7f5cce.68198" ] ] }, { "id": "8b879c75.69881", "type": "debug", "z": "18c260d.202459f", "name": "B4 2", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "x": 915.1445388793945, "y": 1004.6719589233398, "wires": [] }, { "id": "8ea52b81.53e758", "type": "inject", "z": "18c260d.202459f", "name": "", "topic": "", "payload": "{\"B4\":1}", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 196.14453887939453, "y": 1097.4570426940918, "wires": [ [ "cc7f5cce.68198" ] ] }, { "id": "cce4014.cd1c6", "type": "ui_template", "z": "18c260d.202459f", "group": "8c1b65f7.a1be78", "name": "BOLARDO 4", "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\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": 740.1484451293945, "y": 1051.2500133514404, "wires": [ [ "8b879c75.69881", "dcc9f7b3.a30de8" ] ] }, { "id": "eb5038d2.8ad4a8", "type": "debug", "z": "18c260d.202459f", "name": "B4 1", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "x": 707.140625, "y": 1000.921875, "wires": [] }, { "id": "ee262613.823418", "type": "debug", "z": "18c260d.202459f", "name": "INPUTS", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "x": 238.13671875, "y": 104.41796875, "wires": [] }, { "id": "dcc9f7b3.a30de8", "type": "switch", "z": "18c260d.202459f", "name": "B4 OUT ?", "property": "payload", "propertyType": "msg", "rules": [ { "t": "eq", "v": "0", "vt": "num" }, { "t": "eq", "v": "1", "vt": "num" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 928.1367263793945, "y": 1050.8086042404175, "wires": [ [ "487cc8f5.dd8358" ], [ "b0958448.914cf8" ] ] }, { "id": "487cc8f5.dd8358", "type": "change", "z": "18c260d.202459f", "name": "0 --> {\"B4\":2}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "0", "fromt": "num", "to": "{\"B4\":2}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1115.1406211853027, "y": 1043.2851638793945, "wires": [ [ "593bec17.6070c4" ] ] }, { "id": "b0958448.914cf8", "type": "change", "z": "18c260d.202459f", "name": "1 --> {\"B4\":3}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "1", "fromt": "num", "to": "{\"B4\":3}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1119.1484336853027, "y": 1084.2929773330688, "wires": [ [ "593bec17.6070c4" ] ] }, { "id": "dc7f4849.507208", "type": "change", "z": "18c260d.202459f", "name": "{\"B7\":0} --> 0", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "{\"B7\":0}", "fromt": "str", "to": "0", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 535.01953125, "y": 1153.75390625, "wires": [ [ "54730b10.4cc9f4" ] ] }, { "id": "5d260a64.3cba34", "type": "switch", "z": "18c260d.202459f", "name": "B7", "property": "payload", "propertyType": "msg", "rules": [ { "t": "eq", "v": "{\"B7\":0}", "vt": "str" }, { "t": "eq", "v": "{\"B7\":1}", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 365.0195083618164, "y": 1165.7848377227783, "wires": [ [ "dc7f4849.507208" ], [ "6552f0f.120601" ] ] }, { "id": "6552f0f.120601", "type": "change", "z": "18c260d.202459f", "name": "{\"B7\":1} --> 1", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "{\"B7\":1}", "fromt": "str", "to": "1", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 538.0351715087891, "y": 1195.7536344528198, "wires": [ [ "54730b10.4cc9f4" ] ] }, { "id": "acb045ef.d9ea28", "type": "inject", "z": "18c260d.202459f", "name": "", "topic": "", "payload": "{\"B7\":0}", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 192.03121185302734, "y": 1169.6637287139893, "wires": [ [ "5d260a64.3cba34" ] ] }, { "id": "7f13b9ac.6df868", "type": "inject", "z": "18c260d.202459f", "name": "", "topic": "", "payload": "{\"B7\":1}", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 192.0312042236328, "y": 1206.679355621338, "wires": [ [ "5d260a64.3cba34" ] ] }, { "id": "54730b10.4cc9f4", "type": "ui_template", "z": "18c260d.202459f", "group": "7efb76fe.4be538", "name": "BOLARDO 7", "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\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": 736.0351104736328, "y": 1160.4723262786865, "wires": [ [ "70771eb6.befc4" ] ] }, { "id": "70771eb6.befc4", "type": "switch", "z": "18c260d.202459f", "name": "B7 OUT ?", "property": "payload", "propertyType": "msg", "rules": [ { "t": "eq", "v": "0", "vt": "num" }, { "t": "eq", "v": "1", "vt": "num" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 924.0233917236328, "y": 1160.0309171676636, "wires": [ [ "77d1eaa8.340814" ], [ "f8b5a9fe.2e0698" ] ] }, { "id": "77d1eaa8.340814", "type": "change", "z": "18c260d.202459f", "name": "0 --> {\"B7\":2}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "0", "fromt": "num", "to": "{\"B7\":2}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1111.027286529541, "y": 1152.5074768066406, "wires": [ [ "593bec17.6070c4" ] ] }, { "id": "f8b5a9fe.2e0698", "type": "change", "z": "18c260d.202459f", "name": "1 --> {\"B7\":3}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "1", "fromt": "num", "to": "{\"B7\":3}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1115.035099029541, "y": 1193.515290260315, "wires": [ [ "593bec17.6070c4" ] ] }, { "id": "5e90b7a4.8ad628", "type": "change", "z": "18c260d.202459f", "name": "{\"B8\":0} --> 0", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "{\"B8\":0}", "fromt": "str", "to": "0", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 535.01953125, "y": 1251.00390625, "wires": [ [ "32b0f770.267568" ] ] }, { "id": "c26560c8.bdf5c", "type": "switch", "z": "18c260d.202459f", "name": "B8", "property": "payload", "propertyType": "msg", "rules": [ { "t": "eq", "v": "{\"B8\":0}", "vt": "str" }, { "t": "eq", "v": "{\"B8\":1}", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 365.0195083618164, "y": 1263.0348377227783, "wires": [ [ "5e90b7a4.8ad628" ], [ "547e6391.c376fc" ] ] }, { "id": "547e6391.c376fc", "type": "change", "z": "18c260d.202459f", "name": "{\"B8\":1} --> 1", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "{\"B8\":1}", "fromt": "str", "to": "1", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 538.0351715087891, "y": 1293.0036344528198, "wires": [ [ "32b0f770.267568" ] ] }, { "id": "3a2dc359.32e86c", "type": "inject", "z": "18c260d.202459f", "name": "", "topic": "", "payload": "{\"B8\":0}", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 192.03121185302734, "y": 1266.9137287139893, "wires": [ [ "c26560c8.bdf5c" ] ] }, { "id": "bf31e5a3.05b2a8", "type": "inject", "z": "18c260d.202459f", "name": "", "topic": "", "payload": "{\"B8\":1}", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 192.0312042236328, "y": 1303.929355621338, "wires": [ [ "c26560c8.bdf5c" ] ] }, { "id": "32b0f770.267568", "type": "ui_template", "z": "18c260d.202459f", "group": "574bc14c.000a9", "name": "BOLARDO 8", "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\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": 736.0351104736328, "y": 1257.7223262786865, "wires": [ [ "74beebf3.0ac0f4" ] ] }, { "id": "74beebf3.0ac0f4", "type": "switch", "z": "18c260d.202459f", "name": "B8 OUT ?", "property": "payload", "propertyType": "msg", "rules": [ { "t": "eq", "v": "0", "vt": "num" }, { "t": "eq", "v": "1", "vt": "num" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 924.0233917236328, "y": 1257.2809171676636, "wires": [ [ "bb93effb.800d" ], [ "dcd1d86.b32f428" ] ] }, { "id": "bb93effb.800d", "type": "change", "z": "18c260d.202459f", "name": "0 --> {\"B8\":2}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "0", "fromt": "num", "to": "{\"B8\":2}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1111.027286529541, "y": 1249.7574768066406, "wires": [ [ "593bec17.6070c4" ] ] }, { "id": "dcd1d86.b32f428", "type": "change", "z": "18c260d.202459f", "name": "1 --> {\"B8\":3}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "1", "fromt": "num", "to": "{\"B8\":3}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1115.035099029541, "y": 1290.765290260315, "wires": [ [ "593bec17.6070c4" ] ] }, { "id": "b884f01d.fc2da", "type": "change", "z": "18c260d.202459f", "name": "{\"B9\":0} --> 0", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "{\"B9\":0}", "fromt": "str", "to": "0", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 539.01953125, "y": 1340.00390625, "wires": [ [ "e5015ff.59700a" ] ] }, { "id": "d1d64ac9.6e2568", "type": "switch", "z": "18c260d.202459f", "name": "B9", "property": "payload", "propertyType": "msg", "rules": [ { "t": "eq", "v": "{\"B9\":0}", "vt": "str" }, { "t": "eq", "v": "{\"B9\":1}", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 369.0195083618164, "y": 1352.0348377227783, "wires": [ [ "b884f01d.fc2da" ], [ "9c4ef1ea.9cb05" ] ] }, { "id": "9c4ef1ea.9cb05", "type": "change", "z": "18c260d.202459f", "name": "{\"B9\":1} --> 1", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "{\"B9\":1}", "fromt": "str", "to": "1", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 542.0351715087891, "y": 1382.0036344528198, "wires": [ [ "e5015ff.59700a" ] ] }, { "id": "8045b39c.3a16f", "type": "inject", "z": "18c260d.202459f", "name": "", "topic": "", "payload": "{\"B9\":0}", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 196.03121185302734, "y": 1355.9137287139893, "wires": [ [ "d1d64ac9.6e2568" ] ] }, { "id": "71263eda.e9bed", "type": "inject", "z": "18c260d.202459f", "name": "", "topic": "", "payload": "{\"B9\":1}", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 196.0312042236328, "y": 1392.929355621338, "wires": [ [ "d1d64ac9.6e2568" ] ] }, { "id": "e5015ff.59700a", "type": "ui_template", "z": "18c260d.202459f", "group": "58d3dee3.6e275", "name": "BOLARDO 9", "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\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": 740.0351104736328, "y": 1346.7223262786865, "wires": [ [ "b481a398.3aec7" ] ] }, { "id": "b481a398.3aec7", "type": "switch", "z": "18c260d.202459f", "name": "B9 OUT ?", "property": "payload", "propertyType": "msg", "rules": [ { "t": "eq", "v": "0", "vt": "num" }, { "t": "eq", "v": "1", "vt": "num" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 928.0233917236328, "y": 1346.2809171676636, "wires": [ [ "12978351.7a396d" ], [ "d358eeea.c9e15" ] ] }, { "id": "12978351.7a396d", "type": "change", "z": "18c260d.202459f", "name": "0 --> {\"B9\":2}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "0", "fromt": "num", "to": "{\"B9\":2}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1115.027286529541, "y": 1338.7574768066406, "wires": [ [ "593bec17.6070c4" ] ] }, { "id": "d358eeea.c9e15", "type": "change", "z": "18c260d.202459f", "name": "1 --> {\"B9\":3}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "1", "fromt": "num", "to": "{\"B9\":3}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1119.035099029541, "y": 1379.765290260315, "wires": [ [ "593bec17.6070c4" ] ] }, { "id": "1cb37fbb.dc322", "type": "change", "z": "18c260d.202459f", "name": "0 --> {\"B1\":2}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "1", "fromt": "num", "to": "{\"B1\":2}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 890.01953125, "y": 553.25390625, "wires": [ [ "593bec17.6070c4" ] ] }, { "id": "cbbade08.d6967", "type": "change", "z": "18c260d.202459f", "name": "1 --> {\"B1\":3}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "2", "fromt": "num", "to": "{\"B1\":3}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 894.02734375, "y": 594.2617197036743, "wires": [ [ "593bec17.6070c4" ] ] }, { "id": "835f8aa9.2921c8", "type": "change", "z": "18c260d.202459f", "name": "0 --> {\"B2\":2}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "1", "fromt": "num", "to": "{\"B2\":2}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 890.01953125, "y": 650.50390625, "wires": [ [ "593bec17.6070c4" ] ] }, { "id": "d4009539.f7caf8", "type": "change", "z": "18c260d.202459f", "name": "1 --> {\"B2\":3}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "2", "fromt": "num", "to": "{\"B2\":3}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 894.02734375, "y": 691.5117197036743, "wires": [ [ "593bec17.6070c4" ] ] }, { "id": "cd3bc134.fcaeb", "type": "change", "z": "18c260d.202459f", "name": "0 --> {\"B3\":2}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "1", "fromt": "num", "to": "{\"B3\":2}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 894.01953125, "y": 739.50390625, "wires": [ [ "593bec17.6070c4" ] ] }, { "id": "5dd8988a.69a7b8", "type": "change", "z": "18c260d.202459f", "name": "1 --> {\"B3\":3}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "2", "fromt": "num", "to": "{\"B3\":3}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 898.02734375, "y": 780.5117197036743, "wires": [ [ "593bec17.6070c4" ] ] }, { "id": "3568f93c.2e0396", "type": "ui_group", "z": "", "name": "CAS01-B01-EA", "tab": "f6bd69f2.542598", "order": 1, "disp": true, "width": "3", "collapse": false }, { "id": "fcb12158.feb07", "type": "ui_group", "z": "", "name": "CAS01-B02-ET", "tab": "f6bd69f2.542598", "order": 2, "disp": true, "width": "3", "collapse": false }, { "id": "c8673203.b4b63", "type": "ui_group", "z": "", "name": "CAS01-B03-ST", "tab": "f6bd69f2.542598", "order": 3, "disp": true, "width": "3", "collapse": false }, { "id": "fb88d19e.c2286", "type": "ui_group", "z": "", "name": "CTRL GLOBAL", "tab": "f6bd69f2.542598", "order": 8, "disp": true, "width": "3", "collapse": false }, { "id": "8c056380.492cf", "type": "mqtt-broker", "z": "", "name": "", "broker": "localhost", "port": "1883", "clientid": "", "usetls": false, "compatmode": true, "keepalive": "60", "cleansession": true, "birthTopic": "", "birthQos": "0", "birthPayload": "", "closeTopic": "", "closeQos": "0", "closePayload": "", "willTopic": "", "willQos": "0", "willPayload": "" }, { "id": "8c1b65f7.a1be78", "type": "ui_group", "z": "", "name": "CAS01-B04-SA", "tab": "f6bd69f2.542598", "order": 4, "disp": true, "width": "3", "collapse": false }, { "id": "7efb76fe.4be538", "type": "ui_group", "z": "", "name": "CAS02-B01-SA", "tab": "f6bd69f2.542598", "order": 5, "disp": true, "width": "3", "collapse": false }, { "id": "574bc14c.000a9", "type": "ui_group", "z": "", "name": "CAS02-B02-ST", "tab": "f6bd69f2.542598", "order": 6, "disp": true, "width": "3", "collapse": false }, { "id": "58d3dee3.6e275", "type": "ui_group", "z": "", "name": "CAS02-B03-E/S-AT", "tab": "f6bd69f2.542598", "order": 7, "disp": true, "width": "4", "collapse": false }, { "id": "f6bd69f2.542598", "type": "ui_tab", "z": "", "name": "CONTROLADORA IAIJM-01 - CASETA 01", "icon": "dashboard" } ]