{ "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": "1611938185451", "component": "modbus_citysys", "tab": "1611921777196", "name": "Modbus_citysys", "x": 101.5, "y": 151.5, "connections": { "0": [ { "index": "0", "id": "1611951142547" } ], "1": [ { "index": "0", "id": "1611938192035" } ], "2": [ { "index": "0", "id": "1612772119611" }, { "index": "0", "id": "1611938192035" } ], "3": [ { "index": "0", "id": "1621340721628" }, { "index": "0", "id": "1684179110403" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "Running", "color": "green" }, "options": { "edge": "KjbN4q7JPZmexgdnz2yKQ98YAWwO0Q3BMX6ERLoV" }, "color": "#2134B0", "notes": "" }, { "id": "1611938192035", "component": "debug", "tab": "1611921777196", "name": "modbus_ddebug", "x": 400.5, "y": 121.5, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1611951142547", "component": "debug", "tab": "1611921777196", "name": "ERROR", "x": 404, "y": 29, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#DA4453", "notes": "" }, { "id": "1612772119611", "component": "virtualwireout", "tab": "1611921777196", "name": "tb-demo-push", "x": 399.75, "y": 211.5, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "tb-demo-push", "color": "gray" }, "options": { "wirename": "tb-demo-push" }, "color": "#303E4D", "notes": "" }, { "id": "1612776786008", "component": "wsmqttpublish", "tab": "1612772287426", "name": "WS MQTT publish", "x": 311.75, "y": 128, "connections": { "0": [ { "index": "0", "id": "1615551060773" } ], "1": [ { "index": "0", "id": "1618300858252" }, { "index": "0", "id": "1618558465485" } ], "2": [ { "index": "0", "id": "1618300863816" }, { "index": "0", "id": "1634303685503" } ] }, "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-demo-push", "x": 68.75, "y": 149, "connections": { "0": [ { "index": "0", "id": "1612776786008" }, { "index": "0", "id": "1612783322136" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "tb-demo-push", "color": "gray" }, "options": { "wirename": "tb-demo-push" }, "color": "#303E4D", "notes": "" }, { "id": "1612783322136", "component": "debug", "tab": "1612772287426", "name": "to TB", "x": 317.75, "y": 34, "connections": {}, "disabledio": { "input": [ 0 ], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1613576617722", "component": "comment", "tab": "1612772287426", "name": "In case broker is not ready, we save data to database, and when connected, we resend data", "x": 72.88333129882812, "y": -108, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": {}, "color": "#704cff", "notes": "" }, { "id": "1615551060773", "component": "debug", "tab": "1612772287426", "name": "errors from MQTT Broker", "x": 610, "y": -9, "connections": {}, "disabledio": { "input": [], "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": 755, "y": 19, "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-demo-push", "x": 753, "y": 112, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "tb-demo-push", "color": "gray" }, "options": { "wirename": "tb-demo-push" }, "color": "#303E4D", "notes": "" }, { "id": "1615798582262", "component": "debug", "tab": "1615551125555", "name": "CMD_debug", "x": 750, "y": 197, "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": 398.8833312988281, "y": 477.3500061035156, "connections": {}, "disabledio": { "input": [ 0 ], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1615809128443", "component": "debug", "tab": "1611921777196", "name": "Debug", "x": 406.8833312988281, "y": 567.3500061035156, "connections": {}, "disabledio": { "input": [ 0 ], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1615809595184", "component": "virtualwireout", "tab": "1611921777196", "name": "tb-demo-push", "x": 404.8833312988281, "y": 653.25, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "tb-demo-push", "color": "gray" }, "options": { "wirename": "tb-demo-push" }, "color": "#303E4D", "notes": "" }, { "id": "1615809105191", "component": "gettemperature", "tab": "1611921777196", "name": "Get RVO temperature", "x": 98.88333129882812, "y": 457.3500061035156, "connections": { "0": [ { "index": "0", "id": "1615802995322" } ], "1": [ { "index": "0", "id": "1615809128443" }, { "index": "0", "id": "1615809595184" } ], "2": [ { "index": "0", "id": "1621340721628" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": {}, "color": "#5CB36D", "notes": "" }, { "id": "1616165795916", "component": "httproute", "tab": "1615551125555", "name": "POST /terminal", "x": 72, "y": 350, "connections": { "0": [ { "index": "0", "id": "1619515097737" }, { "index": "0", "id": "1684060205000" } ] }, "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": 751, "y": 273, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "1.17 sec.", "color": "gray" }, "options": { "datatype": "json" }, "color": "#5D9CEC", "notes": "" }, { "id": "1617104731852", "component": "debug", "tab": "1615551125555", "name": "DIDO_Debug", "x": 739, "y": 635, "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": 75, "y": 596, "connections": { "0": [ { "index": "0", "id": "1618232536546" } ] }, "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-demo-push", "x": 744, "y": 733, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "tb-demo-push", "color": "gray" }, "options": { "wirename": "tb-demo-push" }, "color": "#303E4D", "notes": "" }, { "id": "1617178324650", "component": "debug", "tab": "1615551125555", "name": "Debug", "x": 605, "y": 995, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1617179044099", "component": "trigger", "tab": "1615551125555", "name": "start import", "x": 232, "y": 995, "connections": { "0": [ { "index": "0", "id": "1617180390661" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": { "datatype": "object", "data": "{table: \"konsberg_production_line_operations_error\", startFrom: 1, delimiter: \";\", uniqueColumn: \"\", path: \"flow/operations_error.csv\", mapImport: {0: \"production_line\",\t1: \"operation\", 2: \"error_type\", 3: \"error_code\", 4: \"error_text\", 5: \"error_text_user_defined\"}}" }, "color": "#F6BB42", "notes": "" }, { "id": "1617180390661", "component": "csv_import", "tab": "1615551125555", "name": "CsvImport", "x": 408, "y": 987, "connections": { "0": [ { "index": "0", "id": "1617178324650" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": { "edge": "undefined" }, "color": "#2134B0", "notes": "" }, { "id": "1617197763128", "component": "comment", "tab": "1615551125555", "name": "import data from csv", "x": 398, "y": 920, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": {}, "color": "#704cff", "notes": "" }, { "id": "1617284749681", "component": "trigger", "tab": "1615551125555", "name": "update profile / node", "x": 80, "y": 13, "connections": { "0": [ { "index": "0", "id": "1619515097737" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": { "datatype": "string", "data": "profile_nodes" }, "color": "#F6BB42", "notes": "" }, { "id": "1618232536546", "component": "di_do_controller", "tab": "1615551125555", "name": "DI_DO_Controller", "x": 415, "y": 723, "connections": { "0": [ { "index": "0", "id": "1617104731852" } ], "1": [ { "index": "0", "id": "1617115013095" }, { "index": "0", "id": "1617104731852" } ], "2": [ { "index": "0", "id": "1618393583970" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": { "edge": "R3JjOWdylwgNLzxVab7NEBkZ2vG64rq8PEB5QmDo" }, "color": "#2134B0", "notes": "" }, { "id": "1618235171399", "component": "trigger", "tab": "1615551125555", "name": "tun tasks", "x": 77, "y": 84, "connections": { "0": [ { "index": "0", "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": 610.8833312988281, "y": 79, "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": 611.8833312988281, "y": 254, "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": 746.8833312988281, "y": 824, "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": 77.88333129882812, "y": 173, "connections": { "0": [ { "index": "0", "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": "di_do_controller-in", "x": 75.88333129882812, "y": 763, "connections": { "0": [ { "index": "0", "id": "1618232536546" }, { "index": "0", "id": "1683664161036" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "di_do_controller-in", "color": "gray" }, "options": { "wirename": "di_do_controller-in" }, "color": "#303E4D", "notes": "" }, { "id": "1618393827655", "component": "virtualwireout", "tab": "1615551125555", "name": "di_do_controller-in", "x": 748.8833312988281, "y": 373, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "di_do_controller-in", "color": "gray" }, "options": { "wirename": "di_do_controller-in" }, "color": "#303E4D", "notes": "" }, { "id": "1618558465485", "component": "virtualwireout", "tab": "1612772287426", "name": "platform-rpc-call", "x": 611.8833312988281, "y": 167, "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": 77, "y": 678, "connections": { "0": [ { "index": "0", "id": "1618232536546" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": { "datatype": "object", "data": "{line: 3, command: \"turnOn\", force: true}" }, "color": "#F6BB42", "notes": "" }, { "id": "1619515097737", "component": "cmd_manager", "tab": "1615551125555", "name": "CMD Manager", "x": 420, "y": 156, "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": 73, "y": 455, "connections": { "0": [ { "index": "0", "id": "1619515097737" }, { "index": "0", "id": "1684060205000" } ] }, "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": 73, "y": 833, "connections": { "0": [ { "index": "0", "id": "1618232536546" } ] }, "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": 74, "y": 909, "connections": { "0": [ { "index": "0", "id": "1618232536546" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": { "data": "{command: \"turnOffAlarm\"}", "datatype": "object" }, "color": "#F6BB42", "notes": "" }, { "id": "1621340721628", "component": "virtualwireout", "tab": "1611921777196", "name": "di_do_controller-in", "x": 396, "y": 390, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "di_do_controller-in", "color": "gray" }, "options": { "wirename": "di_do_controller-in" }, "color": "#303E4D", "notes": "" }, { "id": "1622640022885", "component": "httproute", "tab": "1615551125555", "name": "POST /db_connector", "x": 1107, "y": 338, "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": 1363, "y": 395, "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": 1588, "y": 454, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "0 sec.", "color": "gray" }, "options": {}, "color": "#5D9CEC", "notes": "" }, { "id": "1631174769920", "component": "debug", "tab": "1611921777196", "name": "Debug", "x": 600.8833312988281, "y": 750.2999877929688, "connections": {}, "disabledio": { "input": [], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1631174856021", "component": "httprequest", "tab": "1611921777196", "name": "HTTP Request", "reference": "192.168.252.2:8004", "x": 249.88333129882812, "y": 751.2999877929688, "connections": { "0": [ { "index": "0", "id": "1631174769920" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": { "stringify": "json", "url": "http://192.168.252.2:9999/gettime", "method": "GET" }, "color": "#5D9CEC", "notes": "" }, { "id": "1631174946263", "component": "trigger", "tab": "1611921777196", "name": "Trigger", "x": 96.88333129882812, "y": 754.2999877929688, "connections": { "0": [ { "index": "0", "id": "1631174856021" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": {}, "color": "#F6BB42", "notes": "" }, { "id": "1634303504177", "component": "monitormemory", "tab": "1612772287426", "name": "RAM", "x": 71.88333129882812, "y": 489.5, "connections": { "0": [ { "index": "0", "id": "1634465281992" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "788.61 MB / 987.80 MB", "color": "gray" }, "options": { "enabled": true, "interval": 30000 }, "color": "#F6BB42", "notes": "" }, { "id": "1634303533779", "component": "monitordisk", "tab": "1612772287426", "name": "disk", "x": 72.88333129882812, "y": 586.5, "connections": { "0": [ { "index": "0", "id": "1634465821120" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "5.92 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": 5.883331298828125, "y": 949.5, "connections": { "0": [ { "index": "0", "id": "1634463186563" }, { "index": "0", "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": 428.8833312988281, "y": 482.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": 612.8833312988281, "y": 342.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": "http://192.168.252.2:8004/sentmessage", "reference": "", "x": 439.8833312988281, "y": 956.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": 234.75, "y": 904, "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": 255, "y": 392, "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": 430, "y": 388, "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": 244, "y": 488, "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": 431, "y": 580, "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": 247, "y": 582, "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": 434, "y": 672, "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": 438, "y": 1065, "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": 233, "y": 1002, "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": 811.8833312988281, "y": 950.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": 748, "y": 464, "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": 71, "y": 395, "connections": { "0": [ { "index": "0", "id": "1634464580289" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "1% / 84.20 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": "toDIDO", "x": 416, "y": 646, "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": 71, "y": 260, "connections": { "0": [ { "index": "0", "id": "1619515097737" }, { "index": "0", "id": "1684055037116" } ] }, "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": 423, "y": 331, "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": 423, "y": 422, "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": "to_dido", "x": 402, "y": 300, "connections": {}, "disabledio": { "input": [ 0 ], "output": [] }, "state": { "text": "Enabled", "color": "gray" }, "options": { "type": "data", "repository": false, "enabled": true }, "color": "#967ADC", "notes": "" }, { "id": "1697806290915", "component": "trigger", "tab": "1612772287426", "name": "TEST svietidlo CCT", "x": 23, "y": 253, "connections": { "0": [ { "index": "0", "id": "1612776786008" } ] }, "disabledio": { "input": [], "output": [] }, "state": { "text": "", "color": "gray" }, "options": { "datatype": "object", "data": "{ \"K94XLav1glVRnyQ6r01PQyAme3YJwBxM5oOzdP2j\": [ { \"ts\": 1697806318325, \"values\": { \"status\": \"OK\" } } ] }" }, "color": "#F6BB42", "notes": "" } ], "version": 615 }