[ { "id": "31dab821d0854f91", "type": "tab", "label": "Flow 4", "disabled": false, "info": "", "env": [] }, { "id": "a62cb3f2fa90db51", "type": "file", "z": "31dab821d0854f91", "name": "", "filename": "/media/sda1/data3.txt", "filenameType": "str", "appendNewline": true, "createDir": false, "overwriteFile": "true", "encoding": "none", "x": 680, "y": 200, "wires": [ [ "44a4ce7aa3eccba6" ] ] }, { "id": "93e9170e18bd0555", "type": "inject", "z": "31dab821d0854f91", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "23", "payloadType": "num", "x": 270, "y": 180, "wires": [ [ "5a8fe602e67a4fd7" ] ] }, { "id": "5a8fe602e67a4fd7", "type": "function", "z": "31dab821d0854f91", "name": "function 1", "func": "var t = new Date().toLocaleString();\nmsg.data = msg.payload\nmsg.payload = { \"time\": t, \"Data\": msg.data };\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 460, "y": 200, "wires": [ [ "a62cb3f2fa90db51" ] ] }, { "id": "994c28d1cd422bde", "type": "csv", "z": "31dab821d0854f91", "name": "", "sep": ",", "hdrin": "", "hdrout": "none", "multi": "one", "ret": "\\n", "temp": "", "skip": "0", "strings": true, "include_empty_strings": "", "include_null_values": "", "x": 550, "y": 320, "wires": [ [] ] }, { "id": "36f2b7dd0abcc3d6", "type": "file", "z": "31dab821d0854f91", "name": "", "filename": "/var/snap/ctrlx-node-red/current/solutions/activeConfiguration/data.txt", "filenameType": "str", "appendNewline": true, "createDir": true, "overwriteFile": "false", "encoding": "none", "x": 830, "y": 260, "wires": [ [ "1c92f98c58326d98" ] ] }, { "id": "63897344d1c68871", "type": "function", "z": "31dab821d0854f91", "name": "function 2", "func": "var t = new Date().toLocaleString();\nmsg.data = msg.payload\nmsg.payload = { \"time\": t, \"Data\": msg.data };\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 440, "y": 260, "wires": [ [ "36f2b7dd0abcc3d6", "67f8c384cb09a5bb" ] ] }, { "id": "4965a8e5e9474f70", "type": "inject", "z": "31dab821d0854f91", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "23", "payloadType": "num", "x": 250, "y": 260, "wires": [ [ "63897344d1c68871" ] ] }, { "id": "67f8c384cb09a5bb", "type": "debug", "z": "31dab821d0854f91", "name": "debug 1", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 780, "y": 320, "wires": [] }, { "id": "1c92f98c58326d98", "type": "debug", "z": "31dab821d0854f91", "name": "debug 2", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 1260, "y": 260, "wires": [] }, { "id": "44a4ce7aa3eccba6", "type": "debug", "z": "31dab821d0854f91", "name": "debug 3", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 980, "y": 180, "wires": [] }, { "id": "d96cac437c886bd1", "type": "ctrlx-datalayer-request", "z": "31dab821d0854f91", "device": "e3fffde42c19089b", "method": "CREATE", "path": "system/resources/storage", "payloadFormat": "value_type", "name": "", "x": 770, "y": 620, "wires": [ [ "7d2fcd5bb3b8f721" ] ] }, { "id": "a54f65a80c627f49", "type": "inject", "z": "31dab821d0854f91", "name": "", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"action\":\"mount\",\"parameters\":{\"media\":\"BEFF-2805\",\"assignment\":\"data-exchange\"}}", "payloadType": "json", "x": 370, "y": 620, "wires": [ [ "d96cac437c886bd1", "dd6d42a3086333a5" ] ] }, { "id": "7d2fcd5bb3b8f721", "type": "debug", "z": "31dab821d0854f91", "name": "debug 4", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 1220, "y": 620, "wires": [] }, { "id": "a1c8dec79fa44b24", "type": "ctrlx-datalayer-request", "z": "31dab821d0854f91", "device": "e3fffde42c19089b", "method": "READ", "path": "system/resources/storage/BEFF-2805/mounted", "payloadFormat": "value_type", "name": "", "x": 820, "y": 720, "wires": [ [ "0c7812ae5825e61d" ] ] }, { "id": "5cc8f4ccaa4c8529", "type": "inject", "z": "31dab821d0854f91", "name": "", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"type\":\"string\",\"value\":\"\"}", "payloadType": "json", "x": 350, "y": 720, "wires": [ [ "a1c8dec79fa44b24" ] ] }, { "id": "0c7812ae5825e61d", "type": "debug", "z": "31dab821d0854f91", "name": "debug 5", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 1160, "y": 720, "wires": [] }, { "id": "dd6d42a3086333a5", "type": "debug", "z": "31dab821d0854f91", "name": "debug 6", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "true", "targetType": "full", "statusVal": "", "statusType": "auto", "x": 660, "y": 540, "wires": [] }, { "id": "e3fffde42c19089b", "type": "ctrlx-config", "name": "CORE", "hostname": "192.168.1.1", "debug": false } ]