From 8b2a6f884693ae663f8545a471028acf37474e4a Mon Sep 17 00:00:00 2001 From: pimmoerman Date: Sun, 5 Oct 2025 09:10:26 +0000 Subject: [PATCH] Delete templates/pump.json.tpl --- templates/pump.json.tpl | 68 ----------------------------------------- 1 file changed, 68 deletions(-) delete mode 100644 templates/pump.json.tpl diff --git a/templates/pump.json.tpl b/templates/pump.json.tpl deleted file mode 100644 index 5730b23..0000000 --- a/templates/pump.json.tpl +++ /dev/null @@ -1,68 +0,0 @@ -[ - { - "id": "inject1", - "type": "inject", - "name": "Start – {{name}}", - "props": [ - { "p": "payload" } - ], - "repeat": "", - "crontab": "", - "once": false, - "onceDelay": 0.1, - "topic": "", - "payload": "{{id}}", - "payloadType": "str", - "wires": [["function1"]] - }, - { - "id": "function1", - "type": "function", - "name": "Verwerk asset data", - "func": "msg.payload = {\n asset_id: \"{{id}}\",\n asset_name: \"{{name}}\",\n timestamp: Date.now()\n};\nreturn msg;", - "outputs": 1, - "noerr": 0, - "initialize": "", - "finalize": "", - "libs": [], - "wires": [["change1","debug1","http1"]] - }, - { - "id": "change1", - "type": "change", - "name": "Voeg status toe", - "rules": [ - { "t": "set", "p": "payload.status", "pt": "msg", "to": "active", "tot": "str" } - ], - "wires": [["debug1"]] - }, - { - "id": "http1", - "type": "http request", - "name": "Stuur naar externe API", - "method": "POST", - "ret": "txt", - "url": "http://localhost:3000/api/asset", - "tls": "", - "persist": false, - "proxy": "", - "authType": "", - "x": 540, - "y": 260, - "wires": [["debug1"]] - }, - { - "id": "debug1", - "type": "debug", - "name": "Output debug", - "active": true, - "tosidebar": true, - "console": false, - "tostatus": false, - "complete": "payload", - "targetType": "msg", - "statusVal": "", - "statusType": "auto", - "wires": [] - } -]