[ { "id": "3e8259c17d98aae8", "type": "tab", "label": "GHG Notary Demo", "disabled": false, "info": "", "env": [] }, { "id": "f03330d4f2f056c3", "type": "metered-notary", "z": "3e8259c17d98aae8", "wallet": "1570424a1526354d", "name": "Wallet 1ESY1162293978", "zip": "69256", "context": "{\"usage\":\"Home\"}", "x": 670, "y": 180, "wires": [ [ "9837277fd0352e04" ] ] }, { "id": "ab2e70a654f77bef", "type": "Discovergy Meter", "z": "3e8259c17d98aae8", "name": "1ESY1162293978", "account": "7e97798cba8b7721", "meterId": "515e27a084414d42a675cffbdaf19857", "firstReading": 0, "firstReadingOut": 0, "firstReadingDate": "", "isProduction": false, "revenue": 0, "amortization": 0, "prodMeterId": null, "firstReadingProd": 0, "x": 350, "y": 120, "wires": [ [ "c832c64c5a45bac2" ] ] }, { "id": "c28406aa29db08ae", "type": "inject", "z": "3e8259c17d98aae8", "name": "Stündliche Ablesung", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "3600", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "date", "x": 200, "y": 60, "wires": [ [ "ab2e70a654f77bef" ] ] }, { "id": "9837277fd0352e04", "type": "debug", "z": "3e8259c17d98aae8", "name": "Zählerstand", "active": true, "tosidebar": true, "console": false, "tostatus": true, "complete": "payload.metering.payload.counter", "targetType": "msg", "statusVal": "payload.metering.payload.counter", "statusType": "auto", "x": 870, "y": 180, "wires": [] }, { "id": "c832c64c5a45bac2", "type": "function", "z": "3e8259c17d98aae8", "name": "Extract Meter Reading", "func": "msg.payload = msg.payload.latest.energy_wh;\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 440, "y": 180, "wires": [ [ "f03330d4f2f056c3" ] ] }, { "id": "99874a95a83b6561", "type": "inject", "z": "3e8259c17d98aae8", "name": "Auswertung alle 6 Stunden", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "21600", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "date", "x": 220, "y": 300, "wires": [ [ "cf644f0d188429d3" ] ] }, { "id": "cf644f0d188429d3", "type": "statistics", "z": "3e8259c17d98aae8", "wallet": "1570424a1526354d", "name": "", "x": 430, "y": 380, "wires": [ [ "9bb9f8d94ed230a3", "eec057465e8dd505" ] ] }, { "id": "9bb9f8d94ed230a3", "type": "debug", "z": "3e8259c17d98aae8", "name": "Emissionszähler", "active": true, "tosidebar": true, "console": false, "tostatus": true, "complete": "payload.certificates.sums.emissions", "targetType": "msg", "statusVal": "payload.certificates.sums.emissions", "statusType": "auto", "x": 880, "y": 380, "wires": [] }, { "id": "f77636f45f9f6365", "type": "Gotify-Send", "z": "3e8259c17d98aae8", "name": "Push Nachricht für Statistik", "token": "ADGfGFWdcI04nw8", "server": "https://push.tydids.com/", "x": 900, "y": 460, "wires": [ [] ] }, { "id": "eec057465e8dd505", "type": "function", "z": "3e8259c17d98aae8", "name": "Nachricht aufbereiten", "func": "msg.payload = Math.round(msg.payload.certificates.sums.wh / 100) / 10 + \" kWh - \" + Math.round(msg.payload.certificates.sums.emissions/100)/10+\" kg\"; \nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 680, "y": 420, "wires": [ [ "f77636f45f9f6365" ] ] }, { "id": "1570424a1526354d", "type": "wallet-config", "name": "1ESY1162293978" }, { "id": "7e97798cba8b7721", "type": "discovergy-config", "name": "Thorsten" } ]