[ { "id": "714b8cad.aec574", "type": "tab", "label": "Flow 7", "disabled": false, "info": "" }, { "id": "cd299f7f.8c233", "type": "ui_template", "z": "714b8cad.aec574", "group": "88808689.c9d2c8", "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": 490, "y": 160, "wires": [ [ "4f837e08.5c04e" ] ] }, { "id": "be10762c.b0f188", "type": "ui_template", "z": "714b8cad.aec574", "group": "d35a182d.028fa8", "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": 472, "y": 278, "wires": [ [ "7d85e9ec.e65518" ] ] }, { "id": "df4d8159.0955f", "type": "ui_template", "z": "714b8cad.aec574", "group": "41c3b234.f03edc", "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": 462, "y": 398, "wires": [ [ "dc023401.7f4ef8" ] ] }, { "id": "6be21c16.13d5d4", "type": "rpi-gpio out", "z": "714b8cad.aec574", "name": "B1 BAJAR", "pin": "33", "set": true, "level": "1", "freq": "", "out": "out", "x": 1050, "y": 120, "wires": [] }, { "id": "c4014ee1.99127", "type": "rpi-gpio out", "z": "714b8cad.aec574", "name": "B1 SUBIR", "pin": "36", "set": true, "level": "1", "freq": "", "out": "out", "x": 1042, "y": 198, "wires": [] }, { "id": "4327b3da.46461c", "type": "rpi-gpio out", "z": "714b8cad.aec574", "name": "B2 SUBIR", "pin": "38", "set": true, "level": "1", "freq": "", "out": "out", "x": 1010, "y": 320, "wires": [] }, { "id": "93a991d.2f14a7", "type": "rpi-gpio out", "z": "714b8cad.aec574", "name": "B2 BAJAR 2", "pin": "35", "set": true, "level": "1", "freq": "", "out": "out", "x": 1030, "y": 260, "wires": [] }, { "id": "b5477ffe.ff98e", "type": "rpi-gpio out", "z": "714b8cad.aec574", "name": "B3 BAJAR", "pin": "37", "set": true, "level": "1", "freq": "", "out": "out", "x": 1022, "y": 398, "wires": [] }, { "id": "d36c7cde.501bd", "type": "rpi-gpio out", "z": "714b8cad.aec574", "name": "B3 SUBIR", "pin": "40", "set": true, "level": "1", "freq": "", "out": "out", "x": 1032, "y": 458, "wires": [] }, { "id": "9ddacbf8.461d18", "type": "rpi-gpio in", "z": "714b8cad.aec574", "name": "B1", "pin": "29", "intype": "up", "debounce": "100", "read": true, "x": 270, "y": 160, "wires": [ [ "cd299f7f.8c233", "a590a298.9bccf" ] ] }, { "id": "8861a38e.26061", "type": "trigger", "z": "714b8cad.aec574", "op1": "false", "op2": "true", "op1type": "bool", "op2type": "bool", "duration": "1", "extend": false, "units": "s", "reset": "", "bytopic": "all", "name": "", "x": 840, "y": 120, "wires": [ [ "6be21c16.13d5d4" ] ] }, { "id": "c4373fa3.5483", "type": "trigger", "z": "714b8cad.aec574", "op1": "false", "op2": "true", "op1type": "bool", "op2type": "bool", "duration": "1", "extend": false, "units": "s", "reset": "", "bytopic": "all", "name": "", "x": 842, "y": 198, "wires": [ [ "c4014ee1.99127" ] ] }, { "id": "4f837e08.5c04e", "type": "switch", "z": "714b8cad.aec574", "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": 660, "y": 160, "wires": [ [ "8861a38e.26061" ], [ "c4373fa3.5483" ] ] }, { "id": "7d85e9ec.e65518", "type": "switch", "z": "714b8cad.aec574", "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": 662, "y": 278, "wires": [ [ "f3c22783.9590b8" ], [ "2f6dd543.254a8a" ] ] }, { "id": "f3c22783.9590b8", "type": "trigger", "z": "714b8cad.aec574", "op1": "false", "op2": "true", "op1type": "bool", "op2type": "bool", "duration": "1", "extend": false, "units": "s", "reset": "", "bytopic": "all", "name": "", "x": 852, "y": 258, "wires": [ [ "93a991d.2f14a7" ] ] }, { "id": "2f6dd543.254a8a", "type": "trigger", "z": "714b8cad.aec574", "op1": "false", "op2": "true", "op1type": "bool", "op2type": "bool", "duration": "1", "extend": false, "units": "s", "reset": "", "bytopic": "all", "name": "", "x": 832, "y": 318, "wires": [ [ "4327b3da.46461c" ] ] }, { "id": "dc023401.7f4ef8", "type": "switch", "z": "714b8cad.aec574", "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": 642, "y": 398, "wires": [ [ "fdf7da1d.328dd8" ], [ "f0cb99a2.8c0358" ] ] }, { "id": "fdf7da1d.328dd8", "type": "trigger", "z": "714b8cad.aec574", "op1": "false", "op2": "true", "op1type": "bool", "op2type": "bool", "duration": "1", "extend": false, "units": "s", "reset": "", "bytopic": "all", "name": "", "x": 832, "y": 398, "wires": [ [ "b5477ffe.ff98e" ] ] }, { "id": "f0cb99a2.8c0358", "type": "trigger", "z": "714b8cad.aec574", "op1": "false", "op2": "true", "op1type": "bool", "op2type": "bool", "duration": "1", "extend": false, "units": "s", "reset": "", "bytopic": "all", "name": "", "x": 832, "y": 458, "wires": [ [ "d36c7cde.501bd" ] ] }, { "id": "6082d4dc.1ca0ac", "type": "rpi-gpio in", "z": "714b8cad.aec574", "name": "B2", "pin": "31", "intype": "up", "debounce": "100", "read": true, "x": 270, "y": 280, "wires": [ [ "be10762c.b0f188", "5f3fae75.696ac" ] ] }, { "id": "958a380b.f0f058", "type": "rpi-gpio in", "z": "714b8cad.aec574", "name": "B3", "pin": "32", "intype": "up", "debounce": "100", "read": true, "x": 270, "y": 400, "wires": [ [ "df4d8159.0955f", "13e93248.5a6ece" ] ] }, { "id": "3306218c.ea69ce", "type": "ui_switch", "z": "714b8cad.aec574", "name": "", "label": "OFF / ON", "group": "4813b1b5.cc923", "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": 500, "y": 100, "wires": [ [ "4f837e08.5c04e", "7d85e9ec.e65518", "dc023401.7f4ef8" ] ] }, { "id": "2ef83711.ba0378", "type": "debug", "z": "714b8cad.aec574", "name": "mqtt in", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "x": 570, "y": 900, "wires": [] }, { "id": "400a8ebc.a9231", "type": "mqtt in", "z": "714b8cad.aec574", "name": "", "topic": "bolardo/status", "qos": "2", "broker": "178b3c3d.9eeb44", "x": 312.9999351501465, "y": 898.6796569824219, "wires": [ [ "2ef83711.ba0378", "4073da57.d1d744", "8eef1d37.9e1a7", "c86b8473.9a2588" ] ] }, { "id": "2bf0448a.d9a44c", "type": "change", "z": "714b8cad.aec574", "name": "{\"B7\":2} --> true", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "{\"B7\":2}", "fromt": "str", "to": "true", "tot": "bool" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 680, "y": 980, "wires": [ [ "61d3edff.715004", "8861a38e.26061" ] ] }, { "id": "4073da57.d1d744", "type": "switch", "z": "714b8cad.aec574", "name": "B7", "property": "payload", "propertyType": "msg", "rules": [ { "t": "eq", "v": "{\"B7\":2}", "vt": "str" }, { "t": "eq", "v": "{\"B7\":3}", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 509.9999771118164, "y": 992.0309314727783, "wires": [ [ "2bf0448a.d9a44c" ], [ "3fd67ca9.6bd8c4" ] ] }, { "id": "3fd67ca9.6bd8c4", "type": "change", "z": "714b8cad.aec574", "name": "{\"B7\":3} --> true", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "{\"B7\":3}", "fromt": "str", "to": "true", "tot": "bool" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 683.0156402587891, "y": 1021.9997282028198, "wires": [ [ "61d3edff.715004", "c4373fa3.5483" ] ] }, { "id": "6ef62c23.3873d4", "type": "inject", "z": "714b8cad.aec574", "name": "", "topic": "", "payload": "{\"B7\":2}", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 337.01168060302734, "y": 995.9098224639893, "wires": [ [ "4073da57.d1d744" ] ] }, { "id": "f04c1f42.e8826", "type": "inject", "z": "714b8cad.aec574", "name": "", "topic": "", "payload": "{\"B7\":3}", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 337.0116729736328, "y": 1032.925449371338, "wires": [ [ "4073da57.d1d744" ] ] }, { "id": "61d3edff.715004", "type": "debug", "z": "714b8cad.aec574", "name": "B7 1", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "x": 928.0079116821289, "y": 971.1521625518799, "wires": [] }, { "id": "518deb80.d315e4", "type": "mqtt out", "z": "714b8cad.aec574", "name": "", "topic": "bolardo/status", "qos": "2", "retain": "", "broker": "178b3c3d.9eeb44", "x": 960, "y": 760, "wires": [] }, { "id": "13e93248.5a6ece", "type": "switch", "z": "714b8cad.aec574", "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": 476.01173400878906, "y": 764.6640195846558, "wires": [ [ "d3d41f23.8dfb8" ], [ "b68fd6ed.aea768" ] ] }, { "id": "d3d41f23.8dfb8", "type": "change", "z": "714b8cad.aec574", "name": "0 --> {\"B9\":0}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "0", "fromt": "num", "to": "{\"B9\":0}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 651.0117797851562, "y": 762.6446409225464, "wires": [ [ "518deb80.d315e4" ] ] }, { "id": "b68fd6ed.aea768", "type": "change", "z": "714b8cad.aec574", "name": "1 --> {\"B9\":1}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "1", "fromt": "num", "to": "{\"B9\":1}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 647.0039520263672, "y": 805.1523551940918, "wires": [ [ "518deb80.d315e4" ] ] }, { "id": "5f3fae75.696ac", "type": "switch", "z": "714b8cad.aec574", "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": 476.0038528442383, "y": 642.913984298706, "wires": [ [ "43c4449a.14f22c" ], [ "159b7ffa.3a4f1" ] ] }, { "id": "a590a298.9bccf", "type": "switch", "z": "714b8cad.aec574", "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": 479.0116653442383, "y": 521.9140195846558, "wires": [ [ "aaf8baa1.049da8" ], [ "eb06437a.c7a02" ] ] }, { "id": "aaf8baa1.049da8", "type": "change", "z": "714b8cad.aec574", "name": "0 --> {\"B7\":0}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "0", "fromt": "num", "to": "{\"B7\":0}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 652.0116882324219, "y": 518.8905811309814, "wires": [ [ "518deb80.d315e4" ] ] }, { "id": "43c4449a.14f22c", "type": "change", "z": "714b8cad.aec574", "name": "0 --> {\"B8\":0}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "0", "fromt": "num", "to": "{\"B8\":0}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 649.0039024353027, "y": 642.8983736038208, "wires": [ [ "518deb80.d315e4" ] ] }, { "id": "159b7ffa.3a4f1", "type": "change", "z": "714b8cad.aec574", "name": "1 --> {\"B8\":1}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "1", "fromt": "num", "to": "{\"B8\":1}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 652.0155944824219, "y": 682.144453048706, "wires": [ [ "518deb80.d315e4" ] ] }, { "id": "eb06437a.c7a02", "type": "change", "z": "714b8cad.aec574", "name": "1 --> {\"B7\":1}", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "1", "fromt": "num", "to": "{\"B7\":1}", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 652.0155906677246, "y": 561.1444892883301, "wires": [ [ "518deb80.d315e4" ] ] }, { "id": "fe7fd001.c6a81", "type": "change", "z": "714b8cad.aec574", "name": "{\"B8\":2} --> true", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "{\"B8\":2}", "fromt": "str", "to": "true", "tot": "bool" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 680, "y": 1060, "wires": [ [ "f3c22783.9590b8" ] ] }, { "id": "8eef1d37.9e1a7", "type": "switch", "z": "714b8cad.aec574", "name": "B8", "property": "payload", "propertyType": "msg", "rules": [ { "t": "eq", "v": "{\"B8\":2}", "vt": "str" }, { "t": "eq", "v": "{\"B8\":3}", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 509.9999771118164, "y": 1072.0309314727783, "wires": [ [ "fe7fd001.c6a81" ], [ "34f69689.97d10a" ] ] }, { "id": "34f69689.97d10a", "type": "change", "z": "714b8cad.aec574", "name": "{\"B8\":3} --> true", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "{\"B8\":3}", "fromt": "str", "to": "true", "tot": "bool" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 683.0156402587891, "y": 1101.9997282028198, "wires": [ [ "2f6dd543.254a8a" ] ] }, { "id": "c61e0cf8.49967", "type": "inject", "z": "714b8cad.aec574", "name": "", "topic": "", "payload": "{\"B8\":2}", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 337.01168060302734, "y": 1075.9098224639893, "wires": [ [ "8eef1d37.9e1a7" ] ] }, { "id": "c8b15674.eab928", "type": "inject", "z": "714b8cad.aec574", "name": "", "topic": "", "payload": "{\"B8\":3}", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 337.0116729736328, "y": 1112.925449371338, "wires": [ [ "8eef1d37.9e1a7" ] ] }, { "id": "396be270.50131e", "type": "change", "z": "714b8cad.aec574", "name": "{\"B9\":2} --> true", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "{\"B9\":2}", "fromt": "str", "to": "true", "tot": "bool" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 680, "y": 1140, "wires": [ [ "fdf7da1d.328dd8" ] ] }, { "id": "c86b8473.9a2588", "type": "switch", "z": "714b8cad.aec574", "name": "B9", "property": "payload", "propertyType": "msg", "rules": [ { "t": "eq", "v": "{\"B9\":2}", "vt": "str" }, { "t": "eq", "v": "{\"B9\":3}", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 510, "y": 1160, "wires": [ [ "396be270.50131e" ], [ "b86bb293.1eecc" ] ] }, { "id": "b86bb293.1eecc", "type": "change", "z": "714b8cad.aec574", "name": "{\"B9\":3} --> true", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "{\"B9\":3}", "fromt": "str", "to": "true", "tot": "bool" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 683.0156402587891, "y": 1181.9997282028198, "wires": [ [ "f0cb99a2.8c0358" ] ] }, { "id": "9057afc1.1eea6", "type": "inject", "z": "714b8cad.aec574", "name": "", "topic": "", "payload": "{\"B9\":2}", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 337.01168060302734, "y": 1155.9098224639893, "wires": [ [ "c86b8473.9a2588" ] ] }, { "id": "f4bdebb9.0f07b8", "type": "inject", "z": "714b8cad.aec574", "name": "", "topic": "", "payload": "{\"B9\":3}", "payloadType": "str", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 337.0116729736328, "y": 1192.925449371338, "wires": [ [ "c86b8473.9a2588" ] ] }, { "id": "88808689.c9d2c8", "type": "ui_group", "z": "", "name": "CAS02-B01-SA", "tab": "650e3c75.c82e24", "disp": true, "width": "3", "collapse": false }, { "id": "d35a182d.028fa8", "type": "ui_group", "z": "", "name": "CAS02-B02-ST", "tab": "650e3c75.c82e24", "disp": true, "width": "3", "collapse": false }, { "id": "41c3b234.f03edc", "type": "ui_group", "z": "", "name": "B03-E/S-AT", "tab": "650e3c75.c82e24", "disp": true, "width": "3", "collapse": false }, { "id": "4813b1b5.cc923", "type": "ui_group", "z": "", "name": "CTRL GLOBAL", "tab": "650e3c75.c82e24", "disp": true, "width": "3", "collapse": false }, { "id": "178b3c3d.9eeb44", "type": "mqtt-broker", "z": "", "name": "BOLARDOS", "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": "650e3c75.c82e24", "type": "ui_tab", "z": "", "name": "CONTROLADORA IAIJM-01 - CASETA 02", "icon": "dashboard", "order": 2 } ]