[ { "id": "0df7cbc7b280fbe5", "type": "tab", "label": "Abrechnungen machen", "disabled": false, "info": "", "env": [] }, { "id": "09ed5addc3afda6c", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"00_00_name_owner\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 560, "y": 160, "wires": [ [ "d8e1a72b4d88dd61" ] ] }, { "id": "030189c62efaee9f", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "Frank Example", "payloadType": "str", "x": 140, "y": 160, "wires": [ [ "09ed5addc3afda6c" ] ] }, { "id": "d8e1a72b4d88dd61", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 730, "y": 160, "wires": [] }, { "id": "dfe28231bd24c79f", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"00_00_adr_owner\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 560, "y": 200, "wires": [ [ "b42e8f697982abac" ] ] }, { "id": "f5bc6e1042595153", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "Wasserstrasse 123", "payloadType": "str", "x": 150, "y": 200, "wires": [ [ "dfe28231bd24c79f" ] ] }, { "id": "b42e8f697982abac", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 730, "y": 200, "wires": [] }, { "id": "5b25764da8b33dd7", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"00_00_plz_owner\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 560, "y": 240, "wires": [ [ "5847ca02ea29e5c3" ] ] }, { "id": "4e14ec3a4f667ca3", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "1234", "payloadType": "num", "x": 110, "y": 240, "wires": [ [ "5b25764da8b33dd7" ] ] }, { "id": "5847ca02ea29e5c3", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 730, "y": 240, "wires": [] }, { "id": "9ddbfc322ba794c5", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"00_00_ort_owner\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 560, "y": 280, "wires": [ [ "e66fdc431a2d6fc4" ] ] }, { "id": "78a914acb5c01df4", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "Testtown", "payloadType": "str", "x": 120, "y": 280, "wires": [ [ "9ddbfc322ba794c5" ] ] }, { "id": "e66fdc431a2d6fc4", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 730, "y": 280, "wires": [] }, { "id": "8aa86bf578ad3483", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"00_00_allg_datum\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 540, "y": 400, "wires": [ [ "19caa7f5b95480c7" ] ] }, { "id": "2b217f6fbd8b6d12", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "yesterday", "payloadType": "str", "x": 100, "y": 400, "wires": [ [ "8aa86bf578ad3483" ] ] }, { "id": "19caa7f5b95480c7", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 710, "y": 400, "wires": [] }, { "id": "903f436fb54d136e", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"0x_0x_name_mieter\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1160, "y": 160, "wires": [ [ "a1efa182228abdb7" ] ] }, { "id": "345ce6f492e11419", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "Elisa Test", "payloadType": "str", "x": 920, "y": 160, "wires": [ [ "903f436fb54d136e" ] ] }, { "id": "a1efa182228abdb7", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 1330, "y": 160, "wires": [] }, { "id": "10911a30a7c89f37", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"0x_00_adr_objekt\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1160, "y": 200, "wires": [ [ "46d6dfe8feef3ff8" ] ] }, { "id": "7550a369a0a381b2", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "Sunrise Ave 56", "payloadType": "str", "x": 940, "y": 200, "wires": [ [ "10911a30a7c89f37" ] ] }, { "id": "46d6dfe8feef3ff8", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 1330, "y": 200, "wires": [] }, { "id": "28692718f5ab2dcb", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"0x_00_plz_objekt\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1160, "y": 240, "wires": [ [ "a083692c2389d01a" ] ] }, { "id": "17f110e2ac5f88c5", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "4321", "payloadType": "num", "x": 910, "y": 240, "wires": [ [ "28692718f5ab2dcb" ] ] }, { "id": "a083692c2389d01a", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 1330, "y": 240, "wires": [] }, { "id": "dd905db2c8ebfcca", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"0x_00_ort_objekt\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1160, "y": 280, "wires": [ [ "b876d411f2af238f" ] ] }, { "id": "f6fe14d9d017d125", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "Fishfood", "payloadType": "str", "x": 920, "y": 280, "wires": [ [ "dd905db2c8ebfcca" ] ] }, { "id": "b876d411f2af238f", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 1330, "y": 280, "wires": [] }, { "id": "bd6f9af829b028ee", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"0x_0x_whg_bez\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1160, "y": 320, "wires": [ [ "ad5587d45daa9034" ] ] }, { "id": "145ad109c8e1740c", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "2.OG Links", "payloadType": "str", "x": 930, "y": 320, "wires": [ [ "bd6f9af829b028ee" ] ] }, { "id": "ad5587d45daa9034", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 1330, "y": 320, "wires": [] }, { "id": "dd698b993f8cd1a0", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"00_00_zr_start\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1160, "y": 400, "wires": [ [ "bec880abec56de32" ] ] }, { "id": "d8549ac19273f074", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "tomorrow", "payloadType": "str", "x": 920, "y": 400, "wires": [ [ "dd698b993f8cd1a0" ] ] }, { "id": "bec880abec56de32", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 1330, "y": 400, "wires": [] }, { "id": "89247df37a3029de", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"0x_0x_we_alt\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 380, "y": 560, "wires": [ [ "e461f162deaa09b7" ] ] }, { "id": "5e13a9d02c57de87", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "150 kWh", "payloadType": "str", "x": 140, "y": 560, "wires": [ [ "89247df37a3029de" ] ] }, { "id": "e461f162deaa09b7", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 550, "y": 560, "wires": [] }, { "id": "c6e6d73766544514", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"0x_0x_we_neu\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 380, "y": 600, "wires": [ [ "c42a503257968804" ] ] }, { "id": "e97472722adf3739", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "250 kWh", "payloadType": "str", "x": 140, "y": 600, "wires": [ [ "c6e6d73766544514" ] ] }, { "id": "c42a503257968804", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 550, "y": 600, "wires": [] }, { "id": "e1b5a734a3b846a8", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"0x_0x_we_diff\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 380, "y": 640, "wires": [ [ "a62a8a5c71e7e864" ] ] }, { "id": "d1fdec6f3e8ae9c3", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "100 kWh", "payloadType": "str", "x": 140, "y": 640, "wires": [ [ "e1b5a734a3b846a8" ] ] }, { "id": "a62a8a5c71e7e864", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 550, "y": 640, "wires": [] }, { "id": "c934036f5bfdd816", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"0x_0x_we_id\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 380, "y": 680, "wires": [ [ "e68c23a0246d7aa1" ] ] }, { "id": "16d8cf6917caee6c", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "1234567890", "payloadType": "num", "x": 150, "y": 680, "wires": [ [ "c934036f5bfdd816" ] ] }, { "id": "e68c23a0246d7aa1", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 550, "y": 680, "wires": [] }, { "id": "f83d09e4dd2e9d88", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"0x_0x_el_alt\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1020, "y": 560, "wires": [ [ "5fefdf186d2f814b" ] ] }, { "id": "3af7a0e8bb08e6eb", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "15000 kWh", "payloadType": "str", "x": 790, "y": 560, "wires": [ [ "f83d09e4dd2e9d88" ] ] }, { "id": "5fefdf186d2f814b", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 1190, "y": 560, "wires": [] }, { "id": "57c3965d204f6a31", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"0x_0x_el_neu\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1020, "y": 600, "wires": [ [ "b36a90dab52f0b6e" ] ] }, { "id": "d9b78e06119c94ae", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "25000 kWh", "payloadType": "str", "x": 790, "y": 600, "wires": [ [ "57c3965d204f6a31" ] ] }, { "id": "b36a90dab52f0b6e", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 1190, "y": 600, "wires": [] }, { "id": "227e01c26d429183", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"0x_0x_el_diff\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1020, "y": 640, "wires": [ [ "b86b2773f93d1577" ] ] }, { "id": "80900c0a48fcb2a7", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "10000 kWh", "payloadType": "str", "x": 790, "y": 640, "wires": [ [ "227e01c26d429183" ] ] }, { "id": "b86b2773f93d1577", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 1190, "y": 640, "wires": [] }, { "id": "9edd07dfd30872a9", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"0x_0x_el_id\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1020, "y": 680, "wires": [ [ "28b22da2dc34a750" ] ] }, { "id": "87231bf341f6b76a", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "7890123456", "payloadType": "num", "x": 790, "y": 680, "wires": [ [ "9edd07dfd30872a9" ] ] }, { "id": "28b22da2dc34a750", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 1190, "y": 680, "wires": [] }, { "id": "1207aa7d0a2e4b0d", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"0x_0x_ww_alt\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 380, "y": 780, "wires": [ [ "666892300938cfda" ] ] }, { "id": "504ba4716f6ef007", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "30 m³", "payloadType": "str", "x": 130, "y": 780, "wires": [ [ "1207aa7d0a2e4b0d" ] ] }, { "id": "666892300938cfda", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 550, "y": 780, "wires": [] }, { "id": "c7b0bb163773b11d", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"0x_0x_ww_neu\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 380, "y": 820, "wires": [ [ "1b34b28e667480b3" ] ] }, { "id": "72127d56255a47da", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "400 m³", "payloadType": "str", "x": 140, "y": 820, "wires": [ [ "c7b0bb163773b11d" ] ] }, { "id": "1b34b28e667480b3", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 550, "y": 820, "wires": [] }, { "id": "f63f81fbb893c162", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"0x_0x_ww_diff\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 380, "y": 860, "wires": [ [ "17fb8c5b372e399e" ] ] }, { "id": "0e3b6fc9c5ac4659", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "370 m³", "payloadType": "str", "x": 140, "y": 860, "wires": [ [ "f63f81fbb893c162" ] ] }, { "id": "17fb8c5b372e399e", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 550, "y": 860, "wires": [] }, { "id": "caac536f59b684da", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"0x_0x_ww_id\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 380, "y": 900, "wires": [ [ "45cc82cd04c1407f" ] ] }, { "id": "60cfc740df68a0ab", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "0791038230", "payloadType": "num", "x": 150, "y": 900, "wires": [ [ "caac536f59b684da" ] ] }, { "id": "45cc82cd04c1407f", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 550, "y": 900, "wires": [] }, { "id": "b862b9b3b6adc2e5", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"0x_0x_kw_alt\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1020, "y": 780, "wires": [ [ "1e5863f9c7361b78" ] ] }, { "id": "a7a887c1c54ec324", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "1234 m³", "payloadType": "str", "x": 780, "y": 780, "wires": [ [ "b862b9b3b6adc2e5" ] ] }, { "id": "1e5863f9c7361b78", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 1190, "y": 780, "wires": [] }, { "id": "658f58834a0b65ee", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"0x_0x_kw_neu\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1020, "y": 820, "wires": [ [ "8b9571581f1efd7a" ] ] }, { "id": "39031a8dc218598f", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "4321 m³", "payloadType": "str", "x": 780, "y": 820, "wires": [ [ "658f58834a0b65ee" ] ] }, { "id": "8b9571581f1efd7a", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 1190, "y": 820, "wires": [] }, { "id": "17d6350c0ae75c74", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"0x_0x_kw_diff\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1020, "y": 860, "wires": [ [ "332efceb21744f90" ] ] }, { "id": "e7bc135a2ead489b", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "3087 m³", "payloadType": "str", "x": 780, "y": 860, "wires": [ [ "17d6350c0ae75c74" ] ] }, { "id": "332efceb21744f90", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 1190, "y": 860, "wires": [] }, { "id": "8988c80bec17f534", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"0x_0x_kw_id\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1020, "y": 900, "wires": [ [ "3883eb8e9d88259e" ] ] }, { "id": "e0713b1796c519c5", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "0619816740", "payloadType": "num", "x": 790, "y": 900, "wires": [ [ "8988c80bec17f534" ] ] }, { "id": "3883eb8e9d88259e", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 1190, "y": 900, "wires": [] }, { "id": "d3119825cc6ccfa2", "type": "comment", "z": "0df7cbc7b280fbe5", "name": "Eigentümer", "info": "", "x": 130, "y": 120, "wires": [] }, { "id": "a73aacc691644db2", "type": "comment", "z": "0df7cbc7b280fbe5", "name": "Mieter", "info": "", "x": 910, "y": 100, "wires": [] }, { "id": "adf648bbaa6de886", "type": "comment", "z": "0df7cbc7b280fbe5", "name": "Heizung", "info": "", "x": 120, "y": 500, "wires": [] }, { "id": "83f8c092c2127119", "type": "comment", "z": "0df7cbc7b280fbe5", "name": "Strom", "info": "", "x": 750, "y": 500, "wires": [] }, { "id": "9751e899718ad33c", "type": "comment", "z": "0df7cbc7b280fbe5", "name": "Warmwasser", "info": "", "x": 130, "y": 740, "wires": [] }, { "id": "fdcddca3c5f68552", "type": "comment", "z": "0df7cbc7b280fbe5", "name": "Kaltwasser", "info": "", "x": 760, "y": 740, "wires": [] }, { "id": "65e8a76caf8b1a3c", "type": "pdfmake", "z": "0df7cbc7b280fbe5", "name": "", "outputType": "Buffer", "inputProperty": "payload", "options": "{}", "outputProperty": "payload", "x": 680, "y": 1200, "wires": [ [ "3f6e89d3ad7db75a" ] ] }, { "id": "3f6e89d3ad7db75a", "type": "file", "z": "0df7cbc7b280fbe5", "name": "", "filename": "", "appendNewline": true, "createDir": false, "overwriteFile": "true", "encoding": "none", "x": 900, "y": 1200, "wires": [ [] ] }, { "id": "fdde119c6e626847", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "true", "payloadType": "bool", "x": 150, "y": 1200, "wires": [ [ "841876c8c124ad0c" ] ] }, { "id": "841876c8c124ad0c", "type": "function", "z": "0df7cbc7b280fbe5", "name": "Zählerdaten anzeigen", "func": "var dd = {\n\tcontent: [\n\t\t{text: global.get(\"00_00_name_owner\")},\n\t\t{text: global.get(\"00_00_adr_owner\")},\n\t\t{text: global.get(\"00_00_plz_owner\") + \" \" + global.get(\"00_00_ort_owner\")},\n\t\t{\n\t\t\tcolumns: [\n\t\t\t\t{\n\t\t\t\t\tul: [\n\t\t\t\t\t\t\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tul: [\n\t\t\t\t\t\t\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t type: 'none',\n\t\t\t\t\tol:[\n\t\t\t\t\t\tglobal.get(\"00_00_allg_datum\"),\n\t\t\t\t\t\t{text: ' '},\n\t\t\t\t\t\tglobal.get(\"0x_0x_whg_bez\"),\n\t\t\t\t\t\t{text: global.get(\"0x_0x_name_mieter\"), style: 'header'},\n\t\t\t\t\t\tglobal.get(\"0x_00_adr_objekt\"),\n\t\t\t\t\t\tglobal.get(\"0x_00_plz_objekt\") + \" \" + global.get(\"0x_00_ort_objekt\")\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t{text: ' '},\n\t\t{text: 'Zeitraum von' + \" \" + global.get(\"00_00_zr_start\")+ \" \" + 'bis' + \" \" + global.get(\"00_00_zr_ende\"), style: 'header', decoration: 'underline', fontSize: 15},\n\t\t{text: \" \"},\n\t\t{text: 'Heizung', style: 'header', decoration: 'underline'},\n\t\t{\n\t\t columns: [\n\t\t {\n\t\t type: 'none',\n\t\t ul: [\n\t\t {text: 'Zählerart', fontSize: 8},\n\t\t {text: 'Wärmezähler'}\n ]\n\t\t },\n\t\t {\n\t\t type: 'none',\n\t\t ul: [\n\t\t {text: 'Zähler-ID', fontSize: 8},\n\t\t {text: global.get(\"0x_0x_we_id\")}\n ]\n\t\t },\n\t\t {\n\t\t type: 'none',\n\t\t ul: [\n\t\t {text: 'Zählerstand alt', fontSize: 8},\n\t\t {text: global.get(\"0x_0x_we_alt\")}\n ]\n\t\t },\n {\n type: 'none',\n ul: [\n {text: 'Zählerstand neu', fontSize: 8},\n {text: global.get(\"0x_0x_we_neu\")}\n ]\n },\n {\n type: 'none',\n ul: [\n {text: 'Differenz', fontSize: 8},\n {text: global.get(\"0x_0x_we_diff\")}\n ]\n }\n\t\t \n ]\n\t\t},\n\t\t\n\t\t{text: \" \"},\n\t\t{text: 'Strom', style: 'header', decoration: 'underline'},\n\t\t{\n\t\t columns: [\n\t\t {\n\t\t type: 'none',\n\t\t ul: [\n\t\t {text: 'Zählerart', fontSize: 8},\n\t\t {text: 'Elektrozähler'}\n ]\n\t\t },\n\t\t {\n\t\t type: 'none',\n\t\t ul: [\n\t\t {text: 'Zähler-ID', fontSize: 8},\n\t\t {text: global.get(\"0x_0x_el_id\")}\n ]\n\t\t },\n\t\t {\n\t\t type: 'none',\n\t\t ul: [\n\t\t {text: 'Zählerstand alt', fontSize: 8},\n\t\t {text: global.get(\"0x_0x_el_alt\")}\n ]\n\t\t },\n {\n type: 'none',\n ul: [\n {text: 'Zählerstand neu', fontSize: 8},\n {text: global.get(\"0x_0x_el_neu\")}\n ]\n },\n {\n type: 'none',\n ul: [\n {text: 'Differenz', fontSize: 8},\n {text: global.get(\"0x_0x_el_diff\")}\n ]\n }\n\t\t \n ]\n\t\t},\n\t\t{text: \" \"},\n\t\t{text: 'Warmwasser', style: 'header', decoration: 'underline'},\n\t\t{\n\t\t columns: [\n\t\t {\n\t\t type: 'none',\n\t\t ul: [\n\t\t {text: 'Zählerart', fontSize: 8},\n\t\t {text: 'Durchflusszähler'}\n ]\n\t\t },\n\t\t {\n\t\t type: 'none',\n\t\t ul: [\n\t\t {text: 'Zähler-ID', fontSize: 8},\n\t\t {text: global.get(\"0x_0x_ww_id\")}\n ]\n\t\t },\n\t\t {\n\t\t type: 'none',\n\t\t ul: [\n\t\t {text: 'Zählerstand alt', fontSize: 8},\n\t\t {text: global.get(\"0x_0x_ww_alt\")}\n ]\n\t\t },\n {\n type: 'none',\n ul: [\n {text: 'Zählerstand neu', fontSize: 8},\n {text: global.get(\"0x_0x_ww_neu\")}\n ]\n },\n {\n type: 'none',\n ul: [\n {text: 'Differenz', fontSize: 8},\n {text: global.get(\"0x_0x_ww_diff\")}\n ]\n }\n\t\t \n ]\n\t\t},\n\t\t{text: \" \"},\n\t\t{text: 'Kaltwasser', style: 'header', decoration: 'underline'},\n\t\t{\n\t\t columns: [\n\t\t {\n\t\t type: 'none',\n\t\t ul: [\n\t\t {text: 'Zählerart', fontSize: 8},\n\t\t {text: 'Durchflusszähler'}\n ]\n\t\t },\n\t\t {\n\t\t type: 'none',\n\t\t ul: [\n\t\t {text: 'Zähler-ID', fontSize: 8},\n\t\t {text: global.get(\"0x_0x_kw_id\")}\n ]\n\t\t },\n\t\t {\n\t\t type: 'none',\n\t\t ul: [\n\t\t {text: 'Zählerstand alt', fontSize: 8},\n\t\t {text: global.get(\"0x_0x_kw_alt\")}\n ]\n\t\t },\n {\n type: 'none',\n ul: [\n {text: 'Zählerstand neu', fontSize: 8},\n {text: global.get(\"0x_0x_kw_neu\")}\n ]\n },\n {\n type: 'none',\n ul: [\n {text: 'Differenz', fontSize: 8},\n {text: global.get(\"0x_0x_kw_diff\")}\n ]\n }\n\t\t \n ]\n\t\t},\n\t],\n\tstyles: {\n\t header: {\n\t bold: true,\n\t fontSize: 12\n\t }\n\t},\n\tdeafultStyle: {\n\t fontSize: 12\n\t}\n}\n\n\n\n\nmsg.payload = dd;\n\nconst saveplace = global.get(\"0x_00_pdf_speicherort\")\nconst reportName = global.get(\"00_00_zr_start\") + \" \" + global.get(\"00_00_zr_ende\") +\" \"+ global.get(\"0x_0x_name_mieter\")\nmsg.filename = `${saveplace}${reportName}.pdf`\n\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 400, "y": 1200, "wires": [ [ "65e8a76caf8b1a3c" ] ] }, { "id": "c319a2e083807426", "type": "function", "z": "0df7cbc7b280fbe5", "name": "", "func": "global.set(\"0x_00_pdf_speicherort\",msg.payload);\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 360, "y": 980, "wires": [ [ "c47ebf66a5236844" ] ] }, { "id": "d2ed556b2a56477d", "type": "inject", "z": "0df7cbc7b280fbe5", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "Desktop/", "payloadType": "str", "x": 120, "y": 980, "wires": [ [ "c319a2e083807426" ] ] }, { "id": "c47ebf66a5236844", "type": "debug", "z": "0df7cbc7b280fbe5", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 530, "y": 980, "wires": [] } ]