{ "tabs": [ { "name": "MAIN PUSH", "linker": "main-push", "id": "1612772287426", "index": 0 }, { "name": "CMD manager", "linker": "cmd-manager", "id": "1615551125555", "index": 1 }, { "name": "Devices", "linker": "devices", "id": "1611921777196", "index": 2 } ], "components": [ { "id": "1611951142547", "component": "debug", "tab": "1611921777196", "name": "ERROR", "x": 598, "y": 60, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#DA4453", "notes": "" }, { "id": "1612776786008", "component": "wsmqttpublish", "tab": "1612772287426", "name": "WS MQTT publish", "x": 304.75, "y": 237, "connections": { "0": [ { "index": "0", "id": "1615551060773" } ], "1": [ { "index": "0", "id": "1618300858252" }, { "index": "0", "id": "1618558465485" } ], "2": [ { "index": "0", "id": "1618300863816" }, { "index": "0", "id": "1634303685503" } ], "3": [ { "index": "0", "id": "1731068754606" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "Connected", "color": "green" }, "options": { "username": "", "clientid": "", "port": "1883", "host": "" }, "color": "#888600", "notes": "" }, { "id": "1612778461252", "component": "virtualwirein", "tab": "1612772287426", "name": "tb-push", "x": 86.75, "y": 375, "connections": { "0": [ { "index": "0", "id": "1612783322136" }, { "index": "1", "id": "1612776786008" }, { "index": "0", "id": "1731068754606" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "tb-push", "color": "gray" }, "options": { "wirename": "tb-push" }, "color": "#303E4D", "notes": "" }, { "id": "1612783322136", "component": "debug", "tab": "1612772287426", "name": "to TB", "x": 306.75, "y": 371, "connections": {}, "disabledio": { "input": [ 0 ], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1615551060773", "component": "debug", "tab": "1612772287426", "name": "errors from MQTT Broker", "x": 650, "y": 76, "connections": {}, "disabledio": { "input": [ 0 ], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#DA4453", "notes": "" }, { "id": "1615563373927", "component": "debug", "tab": "1615551125555", "name": "Debug", "x": 753, "y": 150, "connections": {}, "disabledio": { "input": [ 0 ], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#DA4453", "notes": "" }, { "id": "1615566865233", "component": "virtualwireout", "tab": "1615551125555", "name": "tb-push", "x": 761, "y": 251, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "tb-push", "color": "gray" }, "options": { "wirename": "tb-push" }, "color": "#303E4D", "notes": "" }, { "id": "1615798582262", "component": "debug", "tab": "1615551125555", "name": "CMD_debug", "x": 765, "y": 350, "connections": {}, "disabledio": { "input": [ 0 ], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1615802995322", "component": "debug", "tab": "1611921777196", "name": "Debug", "x": 595.8833312988281, "y": 557.3500061035156, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "Disabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": false }, "color": "#967ADC", "notes": "" }, { "id": "1615809128443", "component": "debug", "tab": "1611921777196", "name": "tempToTb", "x": 598.8833312988281, "y": 654.3500061035156, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1615809595184", "component": "virtualwireout", "tab": "1611921777196", "name": "tb-push", "x": 594.8833312988281, "y": 350.25, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "tb-push", "color": "gray" }, "options": { "wirename": "tb-push" }, "color": "#303E4D", "notes": "" }, { "id": "1616165795916", "component": "httproute", "tab": "1615551125555", "name": "POST /terminal", "x": 114, "y": 546, "connections": { "0": [ { "index": "0", "id": "1684060205000" }, { "index": "1", "id": "1619515097737" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "Listening", "color": "green" }, "options": { "timeout": 10, "cachepolicy": 0, "cacheexpire": "5 minutes", "size": 5, "url": "/terminal", "method": "POST", "name": "", "flags": [ "id:1616165795916", "post", 10000 ], "emptyresponse": false }, "color": "#5D9CEC", "notes": "### Configuration\n\n- __POST /terminal__\n- flags: \n- maximum request data length: __5 kB__\n- empty response: __false__\n- cache policy: __no cache__\n- cache expire: __5 minutes__", "cloning": false }, { "id": "1616165824813", "component": "httpresponse", "tab": "1615551125555", "name": "HTTP Response", "x": 772, "y": 443, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": { "datatype": "json" }, "color": "#5D9CEC", "notes": "" }, { "id": "1617104731852", "component": "debug", "tab": "1615551125555", "name": "DIDO_Debug", "x": 669, "y": 1040, "connections": {}, "disabledio": { "input": [ 0 ], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1617114651703", "component": "trigger", "tab": "1615551125555", "name": "turnOff line", "x": 88, "y": 1158, "connections": { "0": [ { "index": "1", "id": "1699963668903" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": { "data": "{line: 3, command: \"turnOff\", force: true}", "datatype": "object" }, "color": "#F6BB42", "notes": "" }, { "id": "1617115013095", "component": "virtualwireout", "tab": "1615551125555", "name": "tb-push", "x": 669, "y": 1150, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "tb-push", "color": "gray" }, "options": { "wirename": "tb-push" }, "color": "#303E4D", "notes": "" }, { "id": "1617284749681", "component": "trigger", "tab": "1615551125555", "name": "update profile / node", "x": 112, "y": 215, "connections": { "0": [ { "index": "1", "id": "1619515097737" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": { "datatype": "string", "data": "profile_nodes" }, "color": "#F6BB42", "notes": "" }, { "id": "1618235171399", "component": "trigger", "tab": "1615551125555", "name": "tun tasks", "x": 119, "y": 280, "connections": { "0": [ { "index": "1", "id": "1619515097737" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": { "data": "run" }, "color": "#F6BB42", "notes": "" }, { "id": "1618300858252", "component": "debug", "tab": "1612772287426", "name": "wsmqtt-exit1", "x": 650.8833312988281, "y": 160, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1618300863816", "component": "debug", "tab": "1612772287426", "name": "wsmqtt-exit2", "x": 845.8833312988281, "y": 320, "connections": {}, "disabledio": { "input": [ 0 ], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1618393583970", "component": "virtualwireout", "tab": "1615551125555", "name": "to-cmd-manager", "x": 668.8833312988281, "y": 1269, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "from-dido-controller", "color": "gray" }, "options": { "wirename": "from-dido-controller" }, "color": "#303E4D", "notes": "" }, { "id": "1618393674428", "component": "virtualwirein", "tab": "1615551125555", "name": "platform-rpc-call", "x": 119.88333129882812, "y": 369, "connections": { "0": [ { "index": "1", "id": "1619515097737" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "platform-rpc-call", "color": "gray" }, "options": { "wirename": "platform-rpc-call" }, "color": "#303E4D", "notes": "" }, { "id": "1618393759854", "component": "virtualwirein", "tab": "1615551125555", "name": "cmd_to_dido", "x": 93.88333129882812, "y": 1007, "connections": { "0": [ { "index": "0", "id": "1683664161036" }, { "index": "1", "id": "1699963668903" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "cmd_to_dido", "color": "gray" }, "options": { "wirename": "cmd_to_dido" }, "color": "#303E4D", "notes": "" }, { "id": "1618393827655", "component": "virtualwireout", "tab": "1615551125555", "name": "cmd_to_dido", "x": 779.8833312988281, "y": 552, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "cmd_to_dido", "color": "gray" }, "options": { "wirename": "cmd_to_dido" }, "color": "#303E4D", "notes": "" }, { "id": "1618558465485", "component": "virtualwireout", "tab": "1612772287426", "name": "platform-rpc-call", "x": 649.8833312988281, "y": 246, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "platform-rpc-call", "color": "gray" }, "options": { "wirename": "platform-rpc-call" }, "color": "#303E4D", "notes": "" }, { "id": "1618572059773", "component": "trigger", "tab": "1615551125555", "name": "turnOn line", "x": 89, "y": 1085, "connections": { "0": [ { "index": "1", "id": "1699963668903" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": { "datatype": "object", "data": "{line: 1, command: \"turnOn\", force: true}" }, "color": "#F6BB42", "notes": "" }, { "id": "1619515097737", "component": "cmd_manager", "tab": "1615551125555", "name": "CMD Manager", "x": 452.1091003417969, "y": 341.05455017089844, "connections": { "0": [ { "index": "0", "id": "1615563373927" } ], "1": [ { "index": "0", "id": "1615566865233" }, { "index": "0", "id": "1615798582262" } ], "2": [ { "index": "0", "id": "1616165824813" } ], "3": [ { "index": "0", "id": "1618393827655" } ], "4": [ { "index": "0", "id": "1635936391935" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": {}, "color": "#5D9CEC", "notes": "" }, { "id": "1619605019281", "component": "httproute", "tab": "1615551125555", "name": "GET db", "x": 115, "y": 651, "connections": { "0": [ { "index": "0", "id": "1684060205000" }, { "index": "1", "id": "1619515097737" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "Listening", "color": "green" }, "options": { "timeout": 5, "cachepolicy": 0, "cacheexpire": "5 minutes", "size": 5, "url": "/db", "method": "GET", "name": "", "flags": [ "id:1619605019281", "get", 5000 ] }, "color": "#5D9CEC", "notes": "### Configuration\n\n- __GET /db__\n- flags: undefined\n- maximum request data length: __5 kB__\n- empty response: __undefined__\n- cache policy: __no cache__\n- cache expire: __5 minutes__", "cloning": false }, { "id": "1619784672383", "component": "trigger", "tab": "1615551125555", "name": "turnOnAlarm", "x": 85, "y": 1231, "connections": { "0": [ { "index": "1", "id": "1699963668903" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": { "data": "{command: \"turnOnAlarm\"}", "datatype": "object" }, "color": "#F6BB42", "notes": "" }, { "id": "1619784812964", "component": "trigger", "tab": "1615551125555", "name": "turnOffAlarm", "x": 84, "y": 1304, "connections": { "0": [ { "index": "1", "id": "1699963668903" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": { "data": "{command: \"turnOffAlarm\"}", "datatype": "object" }, "color": "#F6BB42", "notes": "" }, { "id": "1621340721628", "component": "virtualwireout", "tab": "1611921777196", "name": "modbus_to_dido", "x": 596, "y": 462, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "modbus_to_dido", "color": "gray" }, "options": { "wirename": "modbus_to_dido" }, "color": "#303E4D", "notes": "" }, { "id": "1622640022885", "component": "httproute", "tab": "1615551125555", "name": "POST /db_connector", "x": 98, "y": 1586, "connections": { "0": [ { "index": "0", "id": "1622640073521" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "Listening", "color": "green" }, "options": { "timeout": 5, "cachepolicy": 0, "cacheexpire": "5 minutes", "size": 5, "url": "/db_connector", "method": "POST", "flags": [ "id:1622640022885", "post", 5000 ] }, "color": "#5D9CEC", "notes": "### Configuration\n\n- __POST /db_connector__\n- flags: \n- maximum request data length: __5 kB__\n- empty response: __undefined__\n- cache policy: __no cache__\n- cache expire: __5 minutes__", "cloning": false }, { "id": "1622640073521", "component": "db_connector", "tab": "1615551125555", "name": "DbConnector", "x": 372, "y": 1572, "connections": { "1": [ { "index": "0", "id": "1622641420685" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": { "edge": "undefined" }, "color": "#2134B0", "notes": "" }, { "id": "1622641420685", "component": "httpresponse", "tab": "1615551125555", "name": "HTTP Response", "x": 596, "y": 1586, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": {}, "color": "#5D9CEC", "notes": "" }, { "id": "1634303504177", "component": "monitormemory", "tab": "1612772287426", "name": "RAM", "x": 69.88333129882812, "y": 885.5, "connections": { "0": [ { "index": "0", "id": "1634465281992" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "838.19 MB / 985.68 MB", "color": "gray" }, "options": { "enabled": true, "interval": 30000 }, "color": "#F6BB42", "notes": "" }, { "id": "1634303533779", "component": "monitordisk", "tab": "1612772287426", "name": "disk", "x": 70.88333129882812, "y": 982.5, "connections": { "0": [ { "index": "0", "id": "1634465821120" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "5.83 GB / 7.26 GB", "color": "gray" }, "options": { "enabled": true, "path": "/", "interval": 30000 }, "color": "#F6BB42", "notes": "" }, { "id": "1634303595494", "component": "virtualwirein", "tab": "1612772287426", "name": "send-to-services", "x": 51.883331298828125, "y": 1400.5, "connections": { "0": [ { "index": "0", "id": "1634463186563" }, { "index": "1", "id": "1634488120710" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "send-to-services", "color": "gray" }, "options": { "wirename": "send-to-services" }, "color": "#303E4D", "notes": "" }, { "id": "1634303602169", "component": "virtualwireout", "tab": "1612772287426", "name": "send-to-services", "x": 426.8833312988281, "y": 878.5, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "send-to-services", "color": "gray" }, "options": { "wirename": "send-to-services" }, "color": "#303E4D", "notes": "" }, { "id": "1634303685503", "component": "virtualwireout", "tab": "1612772287426", "name": "send-to-services", "x": 650.8833312988281, "y": 355.5, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "send-to-services", "color": "gray" }, "options": { "wirename": "send-to-services" }, "color": "#303E4D", "notes": "" }, { "id": "1634303743260", "component": "httprequest", "tab": "1612772287426", "name": "192.168.252.2:8004/sentmessage", "reference": "", "x": 480.8833312988281, "y": 1334.7333374023438, "connections": { "0": [ { "index": "0", "id": "1635327431236" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": { "stringify": "json", "method": "POST", "url": "http://192.168.252.2:8004/sentmessage" }, "color": "#5D9CEC", "notes": "" }, { "id": "1634463186563", "component": "debug", "tab": "1612772287426", "name": "Debug", "x": 280.75, "y": 1446, "connections": {}, "disabledio": { "input": [ 0 ], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1634464580289", "component": "code", "tab": "1612772287426", "name": "Code", "x": 253, "y": 788, "connections": { "0": [ { "index": "0", "id": "1634465243324" }, { "index": "0", "id": "1634303602169" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": { "keepmessage": true, "code": "let response = {};\nresponse.cpu = value.cpu;\nresponse.uptime = value.uptime;\n\nsend(0, response);", "outputs": 1 }, "color": "#656D78", "notes": "" }, { "id": "1634465243324", "component": "debug", "tab": "1612772287426", "name": "Debug", "x": 428, "y": 784, "connections": {}, "disabledio": { "input": [ 0 ], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1634465281992", "component": "code", "tab": "1612772287426", "name": "Code", "x": 242, "y": 884, "connections": { "0": [ { "index": "0", "id": "1634465338103" }, { "index": "0", "id": "1634303602169" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": { "keepmessage": true, "code": "value.sender = \"ram\";\n//let total = value.total/1024/1024;\n//let free = value.free/1024/1024;\n//let used = value.used/1024/1024;\nlet response = {};\n//value.memory_total = (total).toFixed(0) + ' MB';\n//value.memory_free = (free).toFixed(0) + ' MB';\n//value.memory_used = (used).toFixed(0) + ' MB';\n\nresponse.memory_total = value.total;\nresponse.memory_free = value.free;\nresponse.memory_used = value.used;\n\nsend(0, response);", "outputs": 1 }, "color": "#656D78", "notes": "" }, { "id": "1634465338103", "component": "debug", "tab": "1612772287426", "name": "Debug", "x": 429, "y": 976, "connections": {}, "disabledio": { "input": [ 0 ], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1634465821120", "component": "code", "tab": "1612772287426", "name": "Code", "x": 245, "y": 978, "connections": { "0": [ { "index": "0", "id": "1634465892500" }, { "index": "0", "id": "1634303602169" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": { "keepmessage": true, "code": "value.sender = \"hdd\";\n//let total = value.total/1024/1024;\n//let free = value.free/1024/1024;\n//let used = value.used/1024/1024;\nlet response = {};\n//value.hdd_total = (total).toFixed(0) + ' MB';\n//value.hdd_free = (free).toFixed(0) + ' MB';\n//value.used = (used).toFixed(0) + ' MB';\n\nresponse.hdd_total = value.total;\nresponse.hdd_free = value.free;\nresponse.hdd_used = value.used;\n\nsend(0, response);", "outputs": 1 }, "color": "#656D78", "notes": "" }, { "id": "1634465892500", "component": "debug", "tab": "1612772287426", "name": "Debug", "x": 432, "y": 1068, "connections": {}, "disabledio": { "input": [ 0 ], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1634484067516", "component": "debug", "tab": "1612772287426", "name": "Send info", "x": 480, "y": 1441, "connections": {}, "disabledio": { "input": [ 0 ], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1634488120710", "component": "infosender", "tab": "1612772287426", "name": "Info sender", "x": 285, "y": 1338, "connections": { "0": [ { "index": "0", "id": "1634484067516" }, { "index": "0", "id": "1634303743260" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": { "edge": "undefined" }, "color": "#2134B0", "notes": "" }, { "id": "1635327431236", "component": "debug", "tab": "1612772287426", "name": "Debug", "x": 795.8833312988281, "y": 1329.5, "connections": {}, "disabledio": { "input": [ 0 ], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1635936391935", "component": "virtualwireout", "tab": "1615551125555", "name": "send-to-services", "x": 778, "y": 656, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "send-to-services", "color": "gray" }, "options": { "wirename": "send-to-services" }, "color": "#303E4D", "notes": "" }, { "id": "1637069803394", "component": "monitorconsumption", "tab": "1612772287426", "name": "CPU", "x": 69, "y": 791, "connections": { "0": [ { "index": "0", "id": "1634464580289" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "0.2% / 85.33 MB", "color": "gray" }, "options": { "monitorfiles": true, "monitorconnections": true, "monitorsize": true, "monitorconsumption": true, "enabled": true, "interval": 30000 }, "color": "#967ADC", "notes": "" }, { "id": "1683664161036", "component": "debug", "tab": "1615551125555", "name": "CMDtoDIDO", "x": 392, "y": 1012, "connections": {}, "disabledio": { "input": [ 0 ], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1683981346282", "component": "virtualwirein", "tab": "1615551125555", "name": "from-dido-controller", "x": 113, "y": 456, "connections": { "0": [ { "index": "0", "id": "1684055037116" }, { "index": "1", "id": "1619515097737" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "from-dido-controller", "color": "gray" }, "options": { "wirename": "from-dido-controller" }, "color": "#303E4D", "notes": "" }, { "id": "1684055037116", "component": "debug", "tab": "1615551125555", "name": "from dido to cmd", "x": 448, "y": 519, "connections": {}, "disabledio": { "input": [ 0 ], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1684060205000", "component": "debug", "tab": "1615551125555", "name": "HTTP routes", "x": 447, "y": 620, "connections": {}, "disabledio": { "input": [ 0 ], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1684179110403", "component": "debug", "tab": "1611921777196", "name": "MDBToDido", "x": 598, "y": 147, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1699963668903", "component": "dido_controller", "tab": "1615551125555", "name": "DIDO_Controller", "x": 397, "y": 1131, "connections": { "0": [ { "index": "0", "id": "1617104731852" } ], "1": [ { "index": "0", "id": "1617104731852" }, { "index": "0", "id": "1617115013095" } ], "2": [ { "index": "0", "id": "1618393583970" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": { "edge": "undefined" }, "color": "#2134B0", "notes": "" }, { "id": "1699964678894", "component": "virtualwirein", "tab": "1615551125555", "name": "modbus_to_dido", "x": 96, "y": 924, "connections": { "0": [ { "index": "0", "id": "1699963668903" }, { "index": "0", "id": "1699964793925" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "modbus_to_dido", "color": "gray" }, "options": { "wirename": "modbus_to_dido" }, "color": "#303E4D", "notes": "" }, { "id": "1699964793925", "component": "debug", "tab": "1615551125555", "name": "modbusToDido", "x": 388, "y": 920, "connections": {}, "disabledio": { "input": [ 0 ], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1699965957410", "component": "modbus_reader", "tab": "1611921777196", "name": "Modbus reader", "x": 232, "y": 175, "connections": { "0": [ { "index": "0", "id": "1611951142547" } ], "1": [ { "index": "0", "id": "1621340721628" }, { "index": "0", "id": "1684179110403" }, { "index": "0", "id": "1717441414646" } ], "2": [ { "index": "0", "id": "1615809595184" }, { "index": "0", "id": "1714752862828" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": {}, "color": "#2134B0", "notes": "" }, { "id": "1700411878636", "component": "thermometer", "tab": "1611921777196", "name": "Thermometer", "x": 234.75, "y": 444, "connections": { "0": [ { "index": "0", "id": "1615802995322" } ], "1": [ { "index": "0", "id": "1615809595184" }, { "index": "0", "id": "1615809128443" } ], "2": [ { "index": "0", "id": "1621340721628" }, { "index": "0", "id": "1732889185927" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": {}, "color": "#5CB36D", "notes": "" }, { "id": "1714752862828", "component": "debug", "tab": "1611921777196", "name": "MDBToTb", "x": 599, "y": 257, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1717441414646", "component": "code", "tab": "1611921777196", "name": "device-status", "x": 755.0833282470703, "y": 209, "connections": { "0": [ { "index": "0", "id": "1717442627834" }, { "index": "0", "id": "1717442631338" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": { "keepmessage": true, "code": "if(value.hasOwnProperty(\"status\"))\n{\n\tif(value.status.includes(\"-em\"))\n\t{\n\t\tsend(0, {\"em_status\": \"NOK\"});\n\t}\n\telse if(value.status.includes(\"twilight\"))\n\t{\n\t\tsend(0, {\"lux_sensor\": \"NOK\"});\n\t}\n}\n\nif(value.hasOwnProperty(\"values\"))\n{\n\tif(value.values.hasOwnProperty(\"twilight_sensor\"))\n\t{\n\t\tsend(0, {\"lux_sensor\": \"OK\"});\n\t}\n\telse if(value.values.hasOwnProperty(\"Phase_1_power\") ||\n\t\t\tvalue.values.hasOwnProperty(\"Phase_1_voltage\") ||\n\t\t\tvalue.values.hasOwnProperty(\"Total_power\") ||\n\t\t\tvalue.values.hasOwnProperty(\"Phase_1_current\"))\n\t{\n\t\tsend(0, {\"em_status\": \"OK\"});\n\t}\n}", "outputs": 1 }, "color": "#656D78", "notes": "" }, { "id": "1717442627834", "component": "debug", "tab": "1611921777196", "name": "modbus service", "x": 966.0833282470703, "y": 152, "connections": {}, "disabledio": { "input": [ 0 ], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1717442631338", "component": "virtualwireout", "tab": "1611921777196", "name": "send-to-services", "x": 968.0833282470703, "y": 268, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "send-to-services", "color": "gray" }, "options": { "wirename": "send-to-services" }, "color": "#303E4D", "notes": "" }, { "id": "1718016045116", "component": "virtualwirein", "tab": "1612772287426", "name": "tb-push", "x": 77.75, "y": 1630, "connections": { "0": [ { "index": "0", "id": "1718016052341" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "tb-push", "color": "gray" }, "options": { "wirename": "tb-push" }, "color": "#303E4D", "notes": "" }, { "id": "1718016052341", "component": "slack_filter", "tab": "1612772287426", "name": "Slack Filter", "x": 296, "y": 1671, "connections": { "0": [ { "index": "0", "id": "1718016086212" }, { "index": "0", "id": "1718016073501" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "Running", "color": "gray" }, "options": { "name": "rvo_senica_3_10.0.0.119", "types": "[\"emergency\", \"critical\", \"error\", \"alert\"]", "message_includes": "[\"is responding again\", \"Flow has been restarted\", \"Node db has changed\"]", "tag_on_include": "[{\"user_id\":\"U072JE5JUQG\", \"includes\":[\"Electrometer\", \"Twilight sensor\"]}]", "slack_channel": "C071KN2Q8SK" }, "color": "#30E193", "notes": "" }, { "id": "1718016073501", "component": "httprequest", "tab": "1612772287426", "name": "http://192.168.252.2:8004/slack", "x": 495, "y": 1753, "connections": { "0": [ { "index": "0", "id": "1718016086212" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": { "stringify": "json", "method": "POST", "url": "http://192.168.252.2:8004/slack" }, "color": "#5D9CEC", "notes": "" }, { "id": "1718016086212", "component": "debug", "tab": "1612772287426", "name": "Debug", "x": 832, "y": 1664, "connections": {}, "disabledio": { "input": [ 0 ], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1718016094070", "component": "trigger", "tab": "1612772287426", "name": "Trigger", "x": 79, "y": 1723, "connections": { "0": [ { "index": "0", "id": "1718016052341" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": { "datatype": "object", "data": "{ \"g9OxBZ5KRwNznlY6pAppqEAWXvjdEL4eGQobMDy2\": [ { \"ts\": 1716289039281, \"values\": { \"_event\": { \"type\": \"alert\", \"status\": \"new\", \"source\": { \"func\": \"CMD Manager: process cmd\", \"component\": \"1619515097737\", \"component_name\": \"CMD Manager\", \"edge\": \"g9OxBZ5KRwNznlY6pAppqEAWXvjdEL4eGQobMDy2\" }, \"message\": \"NOW CONNECTED TO SLACK !\", \"message_data\": \"\" } } } ] }" }, "color": "#F6BB42", "notes": "" }, { "id": "1729855334955", "component": "virtualwireout", "tab": "1612772287426", "name": "platform-rpc-call", "x": 649.9333343505859, "y": 541.3500061035156, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "platform-rpc-call", "color": "gray" }, "options": { "wirename": "platform-rpc-call" }, "color": "#303E4D", "notes": "" }, { "id": "1729855371093", "component": "debug", "tab": "1612772287426", "name": "rpc cloud", "x": 650.9333343505859, "y": 451.3500061035156, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1731068658334", "component": "virtualwirein", "tab": "1612772287426", "name": "db-init", "x": 90.75, "y": 250, "connections": { "0": [ { "index": "0", "id": "1612776786008" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "db-init", "color": "gray" }, "options": { "wirename": "db-init" }, "color": "#303E4D", "notes": "" }, { "id": "1731068754606", "component": "cloudmqttconnect", "tab": "1612772287426", "name": "MQTT client - to senica-prod01", "x": 304.75, "y": 474, "connections": { "1": [ { "index": "0", "id": "1729855371093" }, { "index": "0", "id": "1729855334955" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "Connected", "color": "green" }, "options": { "username": "", "clientid": "", "port": "2764", "host": "192.168.252.2", "topic": "u119" }, "color": "#888600", "notes": "" }, { "id": "1731069001548", "component": "db_init", "tab": "1612772287426", "name": "DB Initialization", "x": 91.75, "y": 55.25, "connections": { "0": [ { "index": "0", "id": "1731069033416" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": {}, "color": "#888600", "notes": "" }, { "id": "1731069033416", "component": "virtualwireout", "tab": "1612772287426", "name": "db-init", "x": 343.75, "y": 50.25, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "db-init", "color": "gray" }, "options": { "wirename": "db-init" }, "color": "#303E4D", "notes": "" }, { "id": "1731069059135", "component": "showdb", "tab": "1612772287426", "name": "Show db data", "x": 1121.75, "y": 814.25, "connections": { "0": [ { "index": "0", "id": "1731069079243" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": {}, "color": "#888600", "notes": "" }, { "id": "1731069079243", "component": "debug", "tab": "1612772287426", "name": "dbData", "x": 1315.75, "y": 853.25, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1731069116691", "component": "trigger", "tab": "1612772287426", "name": "settings", "x": 911.75, "y": 710.75, "connections": { "0": [ { "index": "0", "id": "1731069059135" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": {}, "color": "#F6BB42", "notes": "" }, { "id": "1731069131637", "component": "trigger", "tab": "1612772287426", "name": "relaysData", "x": 832.75, "y": 775.75, "connections": { "0": [ { "index": "1", "id": "1731069059135" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": {}, "color": "#F6BB42", "notes": "" }, { "id": "1731069137374", "component": "trigger", "tab": "1612772287426", "name": "nodesData", "x": 747.75, "y": 840.75, "connections": { "0": [ { "index": "2", "id": "1731069059135" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": {}, "color": "#F6BB42", "notes": "" }, { "id": "1731069179846", "component": "trigger", "tab": "1612772287426", "name": "pinsData", "x": 803.75, "y": 899.75, "connections": { "0": [ { "index": "3", "id": "1731069059135" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": {}, "color": "#F6BB42", "notes": "" }, { "id": "1731069192937", "component": "trigger", "tab": "1612772287426", "name": "sample data", "x": 858.75, "y": 959.75, "connections": { "0": [ { "index": "4", "id": "1731069059135" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": {}, "color": "#F6BB42", "notes": "" }, { "id": "1731069264443", "component": "virtualwirein", "tab": "1612772287426", "name": "db-init", "x": 63.75, "y": 1279, "connections": { "0": [ { "index": "0", "id": "1634488120710" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "db-init", "color": "gray" }, "options": { "wirename": "db-init" }, "color": "#303E4D", "notes": "" }, { "id": "1731069334626", "component": "virtualwirein", "tab": "1615551125555", "name": "db-init", "x": 151.88333129882812, "y": 148, "connections": { "0": [ { "index": "0", "id": "1619515097737" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "db-init", "color": "gray" }, "options": { "wirename": "db-init" }, "color": "#303E4D", "notes": "" }, { "id": "1731069548145", "component": "virtualwirein", "tab": "1611921777196", "name": "db-init", "x": 46.75, "y": 192, "connections": { "0": [ { "index": "0", "id": "1699965957410" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "db-init", "color": "gray" }, "options": { "wirename": "db-init" }, "color": "#303E4D", "notes": "" }, { "id": "1731069567152", "component": "virtualwirein", "tab": "1611921777196", "name": "db-init", "x": 44.75, "y": 465, "connections": { "0": [ { "index": "0", "id": "1700411878636" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "db-init", "color": "gray" }, "options": { "wirename": "db-init" }, "color": "#303E4D", "notes": "" }, { "id": "1731070156936", "component": "virtualwirein", "tab": "1615551125555", "name": "db-init", "x": 89.88333129882812, "y": 1381, "connections": { "0": [ { "index": "2", "id": "1699963668903" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "db-init", "color": "gray" }, "options": { "wirename": "db-init" }, "color": "#303E4D", "notes": "" }, { "id": "1731234189516", "component": "trigger", "tab": "1612772287426", "name": "monitor.txt", "x": 915.75, "y": 1017.75, "connections": { "0": [ { "index": "5", "id": "1731069059135" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": {}, "color": "#F6BB42", "notes": "" }, { "id": "1731234189551", "component": "trigger", "tab": "1612772287426", "name": "err.txt", "x": 966.75, "y": 1080.75, "connections": { "0": [ { "index": "6", "id": "1731069059135" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": {}, "color": "#F6BB42", "notes": "" }, { "id": "1732700042559", "component": "nodesdb_change_check", "tab": "1612772287426", "name": "Nodes DB change check", "x": 263.8833312988281, "y": 1993.2333984375, "connections": { "0": [ { "index": "0", "id": "1732700071298" }, { "index": "0", "id": "1732700642917" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": {}, "color": "#888600", "notes": "" }, { "id": "1732700057052", "component": "virtualwirein", "tab": "1612772287426", "name": "db-init", "x": 84.75, "y": 1994, "connections": { "0": [ { "index": "0", "id": "1732700042559" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "db-init", "color": "gray" }, "options": { "wirename": "db-init" }, "color": "#303E4D", "notes": "" }, { "id": "1732700071298", "component": "debug", "tab": "1612772287426", "name": "nodesChange", "x": 561.8833312988281, "y": 2055.2333984375, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1732700642917", "component": "virtualwireout", "tab": "1612772287426", "name": "tb-push", "x": 557.8833312988281, "y": 1949, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "tb-push", "color": "gray" }, "options": { "wirename": "tb-push" }, "color": "#303E4D", "notes": "" }, { "id": "1732889185927", "component": "debug", "tab": "1611921777196", "name": "tempToDido", "x": 594.8833312988281, "y": 745, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1733574412965", "component": "virtualwirein", "tab": "1612772287426", "name": "db-init", "x": 86.75, "y": 495, "connections": { "0": [ { "index": "1", "id": "1731068754606" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "db-init", "color": "gray" }, "options": { "wirename": "db-init" }, "color": "#303E4D", "notes": "" } ], "version": 615 }