[
    {
        "id": "112d382639b7cc28",
        "type": "tab",
        "label": "SDM RS485",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "fe9c25b2603b8f3f",
        "type": "inject",
        "z": "112d382639b7cc28",
        "name": "alle 2s",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "2",
        "crontab": "",
        "once": false,
        "onceDelay": "10",
        "topic": "",
        "payload": "true",
        "payloadType": "bool",
        "x": 180,
        "y": 60,
        "wires": [
            [
                "8a5957b7b2f7ec03"
            ]
        ]
    },
    {
        "id": "8a5957b7b2f7ec03",
        "type": "modbus-getter",
        "z": "112d382639b7cc28",
        "name": "0006 - 0035",
        "showStatusActivities": true,
        "showErrors": true,
        "logIOActivities": false,
        "unitid": "1",
        "dataType": "InputRegister",
        "adr": "0006",
        "quantity": "30",
        "server": "bb0f2e018eb97236",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "x": 190,
        "y": 100,
        "wires": [
            [
                "f20df6cb188e76a4"
            ],
            [
                "b267ca8a8b7f6dcb"
            ]
        ]
    },
    {
        "id": "6deb35d2c276e985",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "327e6b7ab2200f45",
        "order": 5,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Frequenz",
        "format": "{{msg.payload.Hz}} Hz",
        "layout": "row-spread",
        "className": "",
        "x": 940,
        "y": 340,
        "wires": []
    },
    {
        "id": "b267ca8a8b7f6dcb",
        "type": "modbus-getter",
        "z": "112d382639b7cc28",
        "name": "0052 - 0053",
        "showStatusActivities": true,
        "showErrors": true,
        "logIOActivities": false,
        "unitid": "1",
        "dataType": "InputRegister",
        "adr": "0052",
        "quantity": "2",
        "server": "bb0f2e018eb97236",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "x": 190,
        "y": 160,
        "wires": [
            [
                "e58032fe783749bd"
            ],
            [
                "268716dd0510b280"
            ]
        ]
    },
    {
        "id": "e58032fe783749bd",
        "type": "buffer-parser",
        "z": "112d382639b7cc28",
        "name": "P",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "floatbe",
                "name": "P",
                "offset": 0,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "value",
        "resultTypeType": "output",
        "multipleResult": true,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 370,
        "y": 160,
        "wires": [
            [
                "e8a3a2b877a16254"
            ]
        ]
    },
    {
        "id": "268716dd0510b280",
        "type": "modbus-getter",
        "z": "112d382639b7cc28",
        "name": "0060 - 0063",
        "showStatusActivities": true,
        "showErrors": true,
        "logIOActivities": false,
        "unitid": "1",
        "dataType": "InputRegister",
        "adr": "0060",
        "quantity": "4",
        "server": "bb0f2e018eb97236",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "x": 190,
        "y": 220,
        "wires": [
            [
                "a4cf714520032bd0"
            ],
            [
                "c7d78de48b6972f0"
            ]
        ]
    },
    {
        "id": "a4cf714520032bd0",
        "type": "buffer-parser",
        "z": "112d382639b7cc28",
        "name": "Q, PF",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "floatbe",
                "name": "Q",
                "offset": 0,
                "length": 1,
                "offsetbit": 0,
                "scale": "-1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "PF",
                "offset": 4,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "value",
        "resultTypeType": "output",
        "multipleResult": true,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 370,
        "y": 220,
        "wires": [
            [
                "e8a3a2b877a16254"
            ]
        ]
    },
    {
        "id": "c7d78de48b6972f0",
        "type": "modbus-getter",
        "z": "112d382639b7cc28",
        "name": "0070 - 0075",
        "showStatusActivities": true,
        "showErrors": true,
        "logIOActivities": false,
        "unitid": "1",
        "dataType": "InputRegister",
        "adr": "0070",
        "quantity": "6",
        "server": "bb0f2e018eb97236",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "x": 190,
        "y": 280,
        "wires": [
            [
                "2ae4692b297de57f"
            ],
            [
                "3a7729b29e4a9e67"
            ]
        ]
    },
    {
        "id": "2ae4692b297de57f",
        "type": "buffer-parser",
        "z": "112d382639b7cc28",
        "name": "Hz, W",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "floatbe",
                "name": "Hz",
                "offset": 0,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "W_imp",
                "offset": 4,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "W_exp",
                "offset": 8,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "value",
        "resultTypeType": "output",
        "multipleResult": true,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 370,
        "y": 280,
        "wires": [
            [
                "e8a3a2b877a16254"
            ]
        ]
    },
    {
        "id": "3a7729b29e4a9e67",
        "type": "modbus-getter",
        "z": "112d382639b7cc28",
        "name": "0224 - 0225",
        "showStatusActivities": true,
        "showErrors": true,
        "logIOActivities": false,
        "unitid": "1",
        "dataType": "InputRegister",
        "adr": "0224",
        "quantity": "2",
        "server": "bb0f2e018eb97236",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "x": 190,
        "y": 340,
        "wires": [
            [
                "19f9bcad6ccfb90d"
            ],
            [
                "44049c9369ec07d6"
            ]
        ]
    },
    {
        "id": "19f9bcad6ccfb90d",
        "type": "buffer-parser",
        "z": "112d382639b7cc28",
        "name": "I Neutral",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "floatbe",
                "name": "I_N",
                "offset": 0,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "value",
        "resultTypeType": "output",
        "multipleResult": true,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 380,
        "y": 340,
        "wires": [
            [
                "e8a3a2b877a16254"
            ]
        ]
    },
    {
        "id": "db6d6610934a93bd",
        "type": "function",
        "z": "112d382639b7cc28",
        "name": "P gesamt",
        "func": "P = msg.payload.P;\nmsg.payload = Math.round(P);\nmsg.topic = \"Pel\";\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 940,
        "y": 300,
        "wires": [
            [
                "9efce31da957fe7c",
                "11fd38320cad6f99",
                "4880cdef935e4df3"
            ]
        ]
    },
    {
        "id": "9efce31da957fe7c",
        "type": "change",
        "z": "112d382639b7cc28",
        "name": "global P-WP",
        "rules": [
            {
                "t": "set",
                "p": "P-WP",
                "pt": "global",
                "to": "payload",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1170,
        "y": 260,
        "wires": [
            []
        ]
    },
    {
        "id": "4880cdef935e4df3",
        "type": "mqtt out",
        "z": "112d382639b7cc28",
        "name": "P el",
        "topic": "Pel",
        "qos": "0",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "3067ff11d319fda4",
        "x": 1330,
        "y": 300,
        "wires": []
    },
    {
        "id": "e92d68cc9973d85b",
        "type": "http in",
        "z": "112d382639b7cc28",
        "name": "WP",
        "url": "/WP",
        "method": "get",
        "upload": false,
        "swaggerDoc": "",
        "x": 1330,
        "y": 260,
        "wires": [
            [
                "bdb5849411665e46"
            ]
        ]
    },
    {
        "id": "bdb5849411665e46",
        "type": "template",
        "z": "112d382639b7cc28",
        "name": "WP",
        "field": "payload",
        "fieldType": "msg",
        "format": "handlebars",
        "syntax": "mustache",
        "template": "{{global.P-WP}}",
        "x": 1450,
        "y": 260,
        "wires": [
            [
                "201e96703745ed31"
            ]
        ]
    },
    {
        "id": "201e96703745ed31",
        "type": "http response",
        "z": "112d382639b7cc28",
        "name": "WP",
        "statusCode": "",
        "headers": {},
        "x": 1570,
        "y": 260,
        "wires": []
    },
    {
        "id": "db5dcd81364514f5",
        "type": "function",
        "z": "112d382639b7cc28",
        "name": "P nur Verdichter",
        "func": "P2 = msg.payload.P2;\nmsg.payload = Math.round(P2);\nmsg.topic = \"Pel2\";\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 960,
        "y": 380,
        "wires": [
            [
                "569dc222750d3bda"
            ]
        ]
    },
    {
        "id": "569dc222750d3bda",
        "type": "mqtt out",
        "z": "112d382639b7cc28",
        "name": "P el 2",
        "topic": "Pel2",
        "qos": "0",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "3067ff11d319fda4",
        "x": 1330,
        "y": 380,
        "wires": []
    },
    {
        "id": "a4654b05e78041d6",
        "type": "comment",
        "z": "112d382639b7cc28",
        "name": "für SAE",
        "info": "",
        "x": 1330,
        "y": 220,
        "wires": []
    },
    {
        "id": "cf2131f573a01812",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9909f80f8f6639fa",
        "order": 10,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Strom L1",
        "format": "{{msg.payload.I1}} A",
        "layout": "row-spread",
        "className": "",
        "x": 940,
        "y": 140,
        "wires": []
    },
    {
        "id": "47cb86327cdd4193",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9909f80f8f6639fa",
        "order": 11,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Strom L2",
        "format": "{{msg.payload.I2}} A",
        "layout": "row-spread",
        "className": "",
        "x": 940,
        "y": 180,
        "wires": []
    },
    {
        "id": "26e3da9f2d23e0ea",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9909f80f8f6639fa",
        "order": 12,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Strom L3",
        "format": "{{msg.payload.I3}} A",
        "layout": "row-spread",
        "className": "",
        "x": 940,
        "y": 220,
        "wires": []
    },
    {
        "id": "52d5b0db78084f15",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9909f80f8f6639fa",
        "order": 1,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Leistung L1",
        "format": "{{msg.payload.P1}} W",
        "layout": "row-spread",
        "className": "",
        "x": 950,
        "y": 20,
        "wires": []
    },
    {
        "id": "e6a82cc457521052",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9909f80f8f6639fa",
        "order": 2,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Leistung L2",
        "format": "{{msg.payload.P2}} W",
        "layout": "row-spread",
        "className": "",
        "x": 950,
        "y": 60,
        "wires": []
    },
    {
        "id": "8e10c92b9a5ab496",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9909f80f8f6639fa",
        "order": 3,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Leistung L3",
        "format": "{{msg.payload.P3}} W",
        "layout": "row-spread",
        "className": "",
        "x": 950,
        "y": 100,
        "wires": []
    },
    {
        "id": "97a1f36aa1e2ec01",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9909f80f8f6639fa",
        "order": 13,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Blindleistung L1",
        "format": "{{msg.payload.Q1}} var",
        "layout": "row-spread",
        "className": "",
        "x": 1180,
        "y": 20,
        "wires": []
    },
    {
        "id": "19fb595b9173d2c8",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9909f80f8f6639fa",
        "order": 14,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Blindleistung L2",
        "format": "{{msg.payload.Q2}} var",
        "layout": "row-spread",
        "className": "",
        "x": 1180,
        "y": 60,
        "wires": []
    },
    {
        "id": "c541c6e7a6a7686f",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9909f80f8f6639fa",
        "order": 15,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Blindleistung L3",
        "format": "{{msg.payload.Q3}} var",
        "layout": "row-spread",
        "className": "",
        "x": 1180,
        "y": 100,
        "wires": []
    },
    {
        "id": "2f19c00e343455f6",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "327e6b7ab2200f45",
        "order": 1,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Leistung",
        "format": "{{msg.payload.P}} W",
        "layout": "row-spread",
        "className": "",
        "x": 1160,
        "y": 140,
        "wires": []
    },
    {
        "id": "0129e1f5108578f4",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "327e6b7ab2200f45",
        "order": 3,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Blindleistung",
        "format": "{{msg.payload.Q}} var",
        "layout": "row-spread",
        "className": "",
        "x": 1170,
        "y": 180,
        "wires": []
    },
    {
        "id": "ef7f6437411fa07f",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "327e6b7ab2200f45",
        "order": 4,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "cos phi",
        "format": "{{msg.payload.PF}}",
        "layout": "row-spread",
        "className": "",
        "x": 1160,
        "y": 220,
        "wires": []
    },
    {
        "id": "36c091e5f8e56c46",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9909f80f8f6639fa",
        "order": 12,
        "width": 0,
        "height": 0,
        "name": "Strom N",
        "label": "<font color=blue> Strom N",
        "format": "{{msg.payload.I_N}} A",
        "layout": "row-spread",
        "className": "",
        "x": 940,
        "y": 260,
        "wires": []
    },
    {
        "id": "5f3daa0a5dd5e96b",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "327e6b7ab2200f45",
        "order": 6,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Zählerstand",
        "format": "{{msg.payload.W_imp}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 950,
        "y": 420,
        "wires": []
    },
    {
        "id": "11fd38320cad6f99",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "28072ca3.dd5adc",
        "order": 6,
        "width": 0,
        "height": 0,
        "name": "Wärmepumpe*",
        "label": "<b><font color=darkblue> Wärmepumpe",
        "format": "{{msg.payload}} W",
        "layout": "row-spread",
        "className": "",
        "x": 1180,
        "y": 340,
        "wires": []
    },
    {
        "id": "e3b03eb0760b7493",
        "type": "mqtt out",
        "z": "112d382639b7cc28",
        "name": "W el",
        "topic": "Wel",
        "qos": "0",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "3067ff11d319fda4",
        "x": 1330,
        "y": 460,
        "wires": []
    },
    {
        "id": "4a009c01ef0a030d",
        "type": "function",
        "z": "112d382639b7cc28",
        "name": "Zählerstand",
        "func": "msg.payload = msg.payload.W_imp;\nmsg.topic = \"Wel\";\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 950,
        "y": 460,
        "wires": [
            [
                "42b1165389926533"
            ]
        ]
    },
    {
        "id": "ee63ca2b3c90107f",
        "type": "comment",
        "z": "112d382639b7cc28",
        "name": "alter Zähler",
        "info": "+ 6918,09 kWh\n+ 1280,18 kWh (2021)",
        "x": 1470,
        "y": 460,
        "wires": []
    },
    {
        "id": "5716f5f635efd906",
        "type": "comment",
        "z": "112d382639b7cc28",
        "name": "ID1 Wärmepumpe",
        "info": "",
        "x": 210,
        "y": 20,
        "wires": []
    },
    {
        "id": "b9a429ba348a3d94",
        "type": "comment",
        "z": "112d382639b7cc28",
        "name": "ID2 PV-Erzeugung",
        "info": "",
        "x": 210,
        "y": 520,
        "wires": []
    },
    {
        "id": "0d8be975bdef9d91",
        "type": "comment",
        "z": "112d382639b7cc28",
        "name": "ID3 SBS 2.5",
        "info": "",
        "x": 190,
        "y": 1020,
        "wires": []
    },
    {
        "id": "219a2f38e1290dc1",
        "type": "modbus-getter",
        "z": "112d382639b7cc28",
        "name": "0052 - 0053",
        "showStatusActivities": true,
        "showErrors": true,
        "logIOActivities": false,
        "unitid": "2",
        "dataType": "InputRegister",
        "adr": "0052",
        "quantity": "2",
        "server": "bb0f2e018eb97236",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "x": 190,
        "y": 620,
        "wires": [
            [
                "b0d2e266bd07228e"
            ],
            [
                "bb8ffd892da9597a"
            ]
        ]
    },
    {
        "id": "b0d2e266bd07228e",
        "type": "buffer-parser",
        "z": "112d382639b7cc28",
        "name": "P",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "floatbe",
                "name": "P",
                "offset": 0,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "value",
        "resultTypeType": "output",
        "multipleResult": true,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 370,
        "y": 620,
        "wires": [
            [
                "55ecf80d37ccfede"
            ]
        ]
    },
    {
        "id": "bb8ffd892da9597a",
        "type": "modbus-getter",
        "z": "112d382639b7cc28",
        "name": "0060 - 0063",
        "showStatusActivities": true,
        "showErrors": true,
        "logIOActivities": false,
        "unitid": "2",
        "dataType": "InputRegister",
        "adr": "0060",
        "quantity": "4",
        "server": "bb0f2e018eb97236",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "x": 190,
        "y": 680,
        "wires": [
            [
                "cddffc4f7547293c"
            ],
            [
                "ef109eceec75d7b3"
            ]
        ]
    },
    {
        "id": "cddffc4f7547293c",
        "type": "buffer-parser",
        "z": "112d382639b7cc28",
        "name": "Q, PF",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "floatbe",
                "name": "Q",
                "offset": 0,
                "length": 1,
                "offsetbit": 0,
                "scale": "-1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "PF",
                "offset": 4,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "value",
        "resultTypeType": "output",
        "multipleResult": true,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 370,
        "y": 680,
        "wires": [
            [
                "55ecf80d37ccfede"
            ]
        ]
    },
    {
        "id": "ef109eceec75d7b3",
        "type": "modbus-getter",
        "z": "112d382639b7cc28",
        "name": "0070 - 0075",
        "showStatusActivities": true,
        "showErrors": true,
        "logIOActivities": false,
        "unitid": "2",
        "dataType": "InputRegister",
        "adr": "0070",
        "quantity": "6",
        "server": "bb0f2e018eb97236",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "x": 190,
        "y": 740,
        "wires": [
            [
                "dd2c48ebe743a6db"
            ],
            [
                "4de1cd7200f7a98d"
            ]
        ]
    },
    {
        "id": "dd2c48ebe743a6db",
        "type": "buffer-parser",
        "z": "112d382639b7cc28",
        "name": "Hz, W",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "floatbe",
                "name": "Hz",
                "offset": 0,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "W_imp",
                "offset": 4,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "W_exp",
                "offset": 8,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "value",
        "resultTypeType": "output",
        "multipleResult": true,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 370,
        "y": 740,
        "wires": [
            [
                "55ecf80d37ccfede"
            ]
        ]
    },
    {
        "id": "4de1cd7200f7a98d",
        "type": "modbus-getter",
        "z": "112d382639b7cc28",
        "name": "0224 - 0225",
        "showStatusActivities": true,
        "showErrors": true,
        "logIOActivities": false,
        "unitid": "2",
        "dataType": "InputRegister",
        "adr": "0224",
        "quantity": "2",
        "server": "bb0f2e018eb97236",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "x": 190,
        "y": 800,
        "wires": [
            [
                "faa4e44ff116b3b3"
            ],
            [
                "f8dd7823b25fa4ca"
            ]
        ]
    },
    {
        "id": "faa4e44ff116b3b3",
        "type": "buffer-parser",
        "z": "112d382639b7cc28",
        "name": "I Neutral",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "floatbe",
                "name": "I_N",
                "offset": 0,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "value",
        "resultTypeType": "output",
        "multipleResult": true,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 380,
        "y": 800,
        "wires": [
            [
                "55ecf80d37ccfede"
            ]
        ]
    },
    {
        "id": "f8dd7823b25fa4ca",
        "type": "modbus-getter",
        "z": "112d382639b7cc28",
        "name": "0396 - 0397",
        "showStatusActivities": true,
        "showErrors": true,
        "logIOActivities": false,
        "unitid": "2",
        "dataType": "InputRegister",
        "adr": "0396",
        "quantity": "2",
        "server": "bb0f2e018eb97236",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "x": 190,
        "y": 860,
        "wires": [
            [
                "f978b71e6bc35213"
            ],
            [
                "76ba54f6f0231b28"
            ]
        ]
    },
    {
        "id": "f978b71e6bc35213",
        "type": "buffer-parser",
        "z": "112d382639b7cc28",
        "name": "W Exp-Imp",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "floatbe",
                "name": "W_eff",
                "offset": 0,
                "length": 1,
                "offsetbit": 0,
                "scale": "-1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "value",
        "resultTypeType": "output",
        "multipleResult": true,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 390,
        "y": 860,
        "wires": [
            [
                "55ecf80d37ccfede"
            ]
        ]
    },
    {
        "id": "76ba54f6f0231b28",
        "type": "modbus-getter",
        "z": "112d382639b7cc28",
        "name": "1280 - 1283",
        "showStatusActivities": true,
        "showErrors": true,
        "logIOActivities": false,
        "unitid": "2",
        "dataType": "InputRegister",
        "adr": "1280",
        "quantity": "4",
        "server": "bb0f2e018eb97236",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "x": 190,
        "y": 920,
        "wires": [
            [
                "dbec47e366616491"
            ],
            [
                "fbf24ae2368eb074"
            ]
        ]
    },
    {
        "id": "dbec47e366616491",
        "type": "buffer-parser",
        "z": "112d382639b7cc28",
        "name": "P Import / Export",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "floatbe",
                "name": "P_imp",
                "offset": 0,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "P_exp",
                "offset": 4,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "value",
        "resultTypeType": "output",
        "multipleResult": true,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 410,
        "y": 920,
        "wires": [
            [
                "55ecf80d37ccfede"
            ]
        ]
    },
    {
        "id": "f7f3c2119948c5fd",
        "type": "modbus-getter",
        "z": "112d382639b7cc28",
        "name": "0012 - 0013",
        "showStatusActivities": true,
        "showErrors": true,
        "logIOActivities": false,
        "unitid": "3",
        "dataType": "InputRegister",
        "adr": "0012",
        "quantity": "2",
        "server": "bb0f2e018eb97236",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "x": 190,
        "y": 1180,
        "wires": [
            [
                "3abb9303cd3a8e83"
            ],
            [
                "8a94b2a1be6c3474"
            ]
        ]
    },
    {
        "id": "3abb9303cd3a8e83",
        "type": "buffer-parser",
        "z": "112d382639b7cc28",
        "name": "P",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "floatbe",
                "name": "P",
                "offset": 0,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "value",
        "resultTypeType": "output",
        "multipleResult": true,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 370,
        "y": 1180,
        "wires": [
            [
                "e5bcbd1d8e7c14ed"
            ]
        ]
    },
    {
        "id": "8a94b2a1be6c3474",
        "type": "modbus-getter",
        "z": "112d382639b7cc28",
        "name": "0024 - 0025",
        "showStatusActivities": true,
        "showErrors": true,
        "logIOActivities": false,
        "unitid": "3",
        "dataType": "InputRegister",
        "adr": "0024",
        "quantity": "2",
        "server": "bb0f2e018eb97236",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "x": 190,
        "y": 1240,
        "wires": [
            [
                "324cb894459612e2"
            ],
            [
                "48d53168a6b0ce86"
            ]
        ]
    },
    {
        "id": "324cb894459612e2",
        "type": "buffer-parser",
        "z": "112d382639b7cc28",
        "name": "Q",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "floatbe",
                "name": "Q",
                "offset": 0,
                "length": 1,
                "offsetbit": 0,
                "scale": "-1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "value",
        "resultTypeType": "output",
        "multipleResult": true,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 370,
        "y": 1240,
        "wires": [
            [
                "e5bcbd1d8e7c14ed"
            ]
        ]
    },
    {
        "id": "48d53168a6b0ce86",
        "type": "modbus-getter",
        "z": "112d382639b7cc28",
        "name": "0030 - 0031",
        "showStatusActivities": true,
        "showErrors": true,
        "logIOActivities": false,
        "unitid": "3",
        "dataType": "InputRegister",
        "adr": "0030",
        "quantity": "2",
        "server": "bb0f2e018eb97236",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "x": 190,
        "y": 1300,
        "wires": [
            [
                "dc1896d633e1dc3d"
            ],
            [
                "180f19ab5f015304"
            ]
        ]
    },
    {
        "id": "dc1896d633e1dc3d",
        "type": "buffer-parser",
        "z": "112d382639b7cc28",
        "name": "PF",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "floatbe",
                "name": "PF",
                "offset": 0,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "value",
        "resultTypeType": "output",
        "multipleResult": true,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 370,
        "y": 1300,
        "wires": [
            [
                "e5bcbd1d8e7c14ed"
            ]
        ]
    },
    {
        "id": "180f19ab5f015304",
        "type": "modbus-getter",
        "z": "112d382639b7cc28",
        "name": "0072 - 0075",
        "showStatusActivities": true,
        "showErrors": true,
        "logIOActivities": false,
        "unitid": "3",
        "dataType": "InputRegister",
        "adr": "0072",
        "quantity": "4",
        "server": "bb0f2e018eb97236",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "x": 190,
        "y": 1360,
        "wires": [
            [
                "de86dc9e590fbe2f"
            ],
            [
                "2844c4c58b7e4729"
            ]
        ]
    },
    {
        "id": "de86dc9e590fbe2f",
        "type": "buffer-parser",
        "z": "112d382639b7cc28",
        "name": "W",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "floatbe",
                "name": "W_imp",
                "offset": 0,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "W_exp",
                "offset": 4,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "value",
        "resultTypeType": "output",
        "multipleResult": true,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 370,
        "y": 1360,
        "wires": [
            [
                "e5bcbd1d8e7c14ed"
            ]
        ]
    },
    {
        "id": "e5bcbd1d8e7c14ed",
        "type": "join",
        "z": "112d382639b7cc28",
        "name": "",
        "mode": "custom",
        "build": "object",
        "property": "payload",
        "propertyType": "msg",
        "key": "topic",
        "joiner": "\\n",
        "joinerType": "str",
        "accumulate": false,
        "timeout": "",
        "count": "7",
        "reduceRight": false,
        "reduceExp": "",
        "reduceInit": "",
        "reduceInitType": "",
        "reduceFixup": "",
        "x": 550,
        "y": 1220,
        "wires": [
            [
                "52af288aefbc72f8"
            ]
        ]
    },
    {
        "id": "52af288aefbc72f8",
        "type": "function",
        "z": "112d382639b7cc28",
        "name": "Ausgabe",
        "func": "U = msg.payload.U;\nU = parseFloat(U.toFixed(2));\nP = msg.payload.P;\nP = parseFloat(P.toFixed(1));\nP1 = parseFloat(P.toFixed(0));\nvar Bel;\nvar Ent;\nif(P > 0 ) {\n    Bel = P1;\n    Ent = 0;\n} else {\n    Ent = P1*-1;\n    Bel = 0;\n}\nI = msg.payload.I;\nI = parseFloat(I.toFixed(2));\nQ = msg.payload.Q;\nQ = parseFloat(Q.toFixed(0));\nPF = msg.payload.PF;\nPF = parseFloat(PF.toFixed(2));\nW_imp = msg.payload.W_imp;\nW_imp = parseFloat(W_imp.toFixed(2));\nW_exp = msg.payload.W_exp;\nW_exp = parseFloat(W_exp.toFixed(2));\nW = (W_exp/W_imp)*100;\nW = parseFloat(W.toFixed(2));\nmsg.payload = {U,P,Bel,Ent,I,Q,PF,W_imp,W_exp,W};\nmsg.topic = \"SBS\";\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 700,
        "y": 1220,
        "wires": [
            [
                "cb568f46b8842df6",
                "7434acdf35e28c02",
                "e6d3066757005feb",
                "b8eac8f09f678fa2",
                "e56732743234c49b",
                "7b342d2b91b22c74",
                "f127ed636ab3171f",
                "7a20ccb37d8e82ca",
                "c505571b8d541ad7",
                "83f25593e2bc24c3",
                "1e0937e988570d0a"
            ]
        ]
    },
    {
        "id": "cb568f46b8842df6",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9497086e9f0a109d",
        "order": 1,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Leistung",
        "format": "{{msg.payload.P}} W",
        "layout": "row-spread",
        "className": "",
        "x": 940,
        "y": 1240,
        "wires": []
    },
    {
        "id": "7434acdf35e28c02",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9497086e9f0a109d",
        "order": 4,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Blindleistung",
        "format": "{{msg.payload.Q}} var",
        "layout": "row-spread",
        "className": "",
        "x": 950,
        "y": 1320,
        "wires": []
    },
    {
        "id": "55ecf80d37ccfede",
        "type": "join",
        "z": "112d382639b7cc28",
        "name": "",
        "mode": "custom",
        "build": "object",
        "property": "payload",
        "propertyType": "msg",
        "key": "topic",
        "joiner": "\\n",
        "joinerType": "str",
        "accumulate": false,
        "timeout": "",
        "count": "25",
        "reduceRight": false,
        "reduceExp": "",
        "reduceInit": "",
        "reduceInitType": "",
        "reduceFixup": "",
        "x": 550,
        "y": 740,
        "wires": [
            [
                "075c93758c37c186"
            ]
        ]
    },
    {
        "id": "075c93758c37c186",
        "type": "function",
        "z": "112d382639b7cc28",
        "name": "Ausgabe",
        "func": "P = msg.payload.P;\nP = parseFloat(P.toFixed(1));\nP1 = msg.payload.P1;\nP1 = parseFloat(P1.toFixed(1));\nP2 = msg.payload.P2;\nP2 = parseFloat(P2.toFixed(1));\nP3 = msg.payload.P3;\nP3 = parseFloat(P3.toFixed(1));\nP_imp = msg.payload.P_imp;\nP_imp = parseFloat(P_imp.toFixed(1));\nP_exp = msg.payload.P_exp;\nP_exp = parseFloat(P_exp.toFixed(1));\nP_exp2 = parseFloat(P_exp.toFixed(0));\nI1 = msg.payload.I1;\nI2 = msg.payload.I2;\nI3 = msg.payload.I3;\nI_N = msg.payload.I_N;\nQ = msg.payload.Q;\nQ = parseFloat(Q.toFixed(0));\nQ1 = msg.payload.Q1;\nQ1 = parseFloat(Q1.toFixed(0));\nQ2 = msg.payload.Q2;\nQ2 = parseFloat(Q2.toFixed(0));\nQ3 = msg.payload.Q3;\nQ3 = parseFloat(Q3.toFixed(0));\nPF = msg.payload.PF;\nPF = parseFloat(PF.toFixed(2));\nPF1 = msg.payload.PF1;\nPF1 = parseFloat(PF1.toFixed(2));\nPF2 = msg.payload.PF2;\nPF2 = parseFloat(PF2.toFixed(2));\nPF3 = msg.payload.PF3;\nPF3 = parseFloat(PF3.toFixed(2));\nW_imp = msg.payload.W_imp;\nW_imp = parseFloat(W_imp.toFixed(2));\nW_exp = msg.payload.W_exp;\nW_exp = parseFloat(W_exp.toFixed(2));\nW_eff = msg.payload.W_eff;\nW_eff = parseFloat(W_eff.toFixed(2));\n//Ströme mit Vorzeichen\nvar I1a;\nvar I2a;\nvar I3a;\nvar INa;\nif(PF1 < 0 ) {\n    I1a = I1 * -1;\n} else {\n    I1a = I1;\n}\nif(PF2 < 0 ) {\n    I2a = I2 * -1;\n} else {\n    I2a = I2;\n}\nif(PF3 < 0 ) {\n    I3a = I3 * -1;\n} else {\n    I3a = I3;\n}\nif(PF < 0 ) {\n    INa = I_N * -1;\n} else {\n    INa = I_N;\n}\nI1 = parseFloat(I1a.toFixed(2));\nI2 = parseFloat(I2a.toFixed(2));\nI3 = parseFloat(I3a.toFixed(2));\nI_N = parseFloat(INa.toFixed(2));\nmsg.payload = {P,P1,P2,P3,P_imp,P_exp,P_exp2,I1,I2,I3,I_N,Q,Q1,Q2,Q3,PF,PF1,PF2,PF3,W_imp,W_exp,W_eff};\nmsg.topic = \"PV\";\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 700,
        "y": 740,
        "wires": [
            [
                "0a2b49d16cde3b94",
                "c5b91d9f8fd750eb",
                "6ab8e46899c70138",
                "ac7dd9e7f4436b26",
                "2a390675db9c91cf",
                "c1b91c750ddb7856",
                "aec18ce438ac98a0",
                "55e4d24654b69425",
                "b6676a9431d027ac",
                "a05191ce048c21c9",
                "42dd8701efcf2312",
                "c8b5416e7cefd80e",
                "33ac260408050c63",
                "552051481cf928cb",
                "c0e49888986e458c",
                "f6e10df3b71064e1",
                "a9af36a4581326e0",
                "c5c18222e37e3d2d",
                "7198c721c396cbe8",
                "40d5acccbef5c48b",
                "de9dcac74796a43e",
                "6c1fce3b7fe9d885",
                "66f9abb9c2d95af7",
                "93be6ee0fa42ede6"
            ]
        ]
    },
    {
        "id": "0a2b49d16cde3b94",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "bb962992173f802c",
        "order": 4,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Blindleistung",
        "format": "{{msg.payload.Q}} var",
        "layout": "row-spread",
        "className": "",
        "x": 1170,
        "y": 840,
        "wires": []
    },
    {
        "id": "c5b91d9f8fd750eb",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "b96243a644a83d95",
        "order": 1,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Leistung L1",
        "format": "{{msg.payload.P1}} W",
        "layout": "row-spread",
        "className": "",
        "x": 950,
        "y": 560,
        "wires": []
    },
    {
        "id": "6ab8e46899c70138",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "b96243a644a83d95",
        "order": 2,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Leistung L2",
        "format": "{{msg.payload.P2}} W",
        "layout": "row-spread",
        "className": "",
        "x": 950,
        "y": 600,
        "wires": []
    },
    {
        "id": "ac7dd9e7f4436b26",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "b96243a644a83d95",
        "order": 3,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Leistung L3",
        "format": "{{msg.payload.P3}} W",
        "layout": "row-spread",
        "className": "",
        "x": 950,
        "y": 640,
        "wires": []
    },
    {
        "id": "e6d3066757005feb",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9497086e9f0a109d",
        "order": 6,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Zähler Bezug",
        "format": "{{msg.payload.W_imp}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1170,
        "y": 1200,
        "wires": []
    },
    {
        "id": "b8eac8f09f678fa2",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9497086e9f0a109d",
        "order": 7,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Zähler Einspeisung",
        "format": "{{msg.payload.W_exp}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1190,
        "y": 1240,
        "wires": []
    },
    {
        "id": "2a390675db9c91cf",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "bb962992173f802c",
        "order": 2,
        "width": 0,
        "height": 0,
        "name": "Bezug",
        "label": "<b><font color=red> Bezug",
        "format": "{{msg.payload.P_imp}} W",
        "layout": "row-spread",
        "className": "",
        "x": 1150,
        "y": 800,
        "wires": []
    },
    {
        "id": "c1b91c750ddb7856",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "bb962992173f802c",
        "order": 1,
        "width": 0,
        "height": 0,
        "name": "Erzeugung",
        "label": "<b><font color=green> Erzeugung",
        "format": "{{msg.payload.P_exp}} W",
        "layout": "row-spread",
        "className": "",
        "x": 1170,
        "y": 680,
        "wires": []
    },
    {
        "id": "aec18ce438ac98a0",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "bb962992173f802c",
        "order": 5,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "cos phi",
        "format": "{{msg.payload.PF}}",
        "layout": "row-spread",
        "className": "",
        "x": 1160,
        "y": 880,
        "wires": []
    },
    {
        "id": "55e4d24654b69425",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "b96243a644a83d95",
        "order": 4,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Strom L1",
        "format": "{{msg.payload.I1}} A",
        "layout": "row-spread",
        "className": "",
        "x": 940,
        "y": 680,
        "wires": []
    },
    {
        "id": "b6676a9431d027ac",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "b96243a644a83d95",
        "order": 5,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Strom L2",
        "format": "{{msg.payload.I2}} A",
        "layout": "row-spread",
        "className": "",
        "x": 940,
        "y": 720,
        "wires": []
    },
    {
        "id": "a05191ce048c21c9",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "b96243a644a83d95",
        "order": 6,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Strom L3",
        "format": "{{msg.payload.I3}} A",
        "layout": "row-spread",
        "className": "",
        "x": 940,
        "y": 760,
        "wires": []
    },
    {
        "id": "42dd8701efcf2312",
        "type": "change",
        "z": "112d382639b7cc28",
        "name": "global P-Erz. & flow W",
        "rules": [
            {
                "t": "set",
                "p": "P-Erzeug",
                "pt": "global",
                "to": "payload.P",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "P1-Erzeug",
                "pt": "global",
                "to": "payload.P1",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "P2-Erzeug",
                "pt": "global",
                "to": "payload.P2",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "P3-Erzeug",
                "pt": "global",
                "to": "payload.P3",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "W_imp_PV",
                "pt": "flow",
                "to": "payload.W_imp",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "W_exp_PV",
                "pt": "flow",
                "to": "payload.W_exp",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "W_eff_PV",
                "pt": "flow",
                "to": "payload.W_eff",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 980,
        "y": 960,
        "wires": [
            []
        ]
    },
    {
        "id": "c8b5416e7cefd80e",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "b96243a644a83d95",
        "order": 7,
        "width": 0,
        "height": 0,
        "name": "Strom N",
        "label": "<font color=blue> Strom N",
        "format": "{{msg.payload.I_N}} A",
        "layout": "row-spread",
        "className": "",
        "x": 940,
        "y": 800,
        "wires": []
    },
    {
        "id": "e56732743234c49b",
        "type": "change",
        "z": "112d382639b7cc28",
        "name": "global P & flow W",
        "rules": [
            {
                "t": "set",
                "p": "P-SBS",
                "pt": "global",
                "to": "payload.P",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "W_imp_SBS",
                "pt": "flow",
                "to": "payload.W_imp",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "W_exp_SBS",
                "pt": "flow",
                "to": "payload.W_exp",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "P-Beladen",
                "pt": "global",
                "to": "payload.Bel",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "P-Entladen",
                "pt": "global",
                "to": "payload.Ent",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 970,
        "y": 1160,
        "wires": [
            []
        ]
    },
    {
        "id": "33ac260408050c63",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "e3b838f7.b1f5b",
        "order": 1,
        "width": 0,
        "height": 0,
        "name": "Erzeugung*",
        "label": "<b><font color=green> Erzeugung",
        "format": "{{msg.payload.P_exp2}} W",
        "layout": "row-spread",
        "className": "",
        "x": 1170,
        "y": 720,
        "wires": []
    },
    {
        "id": "e8a3a2b877a16254",
        "type": "join",
        "z": "112d382639b7cc28",
        "name": "",
        "mode": "custom",
        "build": "object",
        "property": "payload",
        "propertyType": "msg",
        "key": "topic",
        "joiner": "\\n",
        "joinerType": "str",
        "accumulate": false,
        "timeout": "",
        "count": "22",
        "reduceRight": false,
        "reduceExp": "",
        "reduceInit": "",
        "reduceInitType": "",
        "reduceFixup": "",
        "x": 550,
        "y": 220,
        "wires": [
            [
                "72eeac8f0851a096"
            ]
        ]
    },
    {
        "id": "74a43fce665f37f7",
        "type": "buffer-parser",
        "z": "112d382639b7cc28",
        "name": "I, P, S, Q, PF L1-3",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "floatbe",
                "name": "I1",
                "offset": 0,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "I2",
                "offset": 4,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "I3",
                "offset": 8,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "P1",
                "offset": 12,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "P2",
                "offset": 16,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "P3",
                "offset": 20,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "S1",
                "offset": 24,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "S2",
                "offset": 28,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "S3",
                "offset": 32,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "Q1",
                "offset": 36,
                "length": 1,
                "offsetbit": 0,
                "scale": "-1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "Q2",
                "offset": 40,
                "length": 1,
                "offsetbit": 0,
                "scale": "-1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "Q3",
                "offset": 44,
                "length": 1,
                "offsetbit": 0,
                "scale": "-1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "PF1",
                "offset": 48,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "PF2",
                "offset": 52,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "PF3",
                "offset": 56,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "value",
        "resultTypeType": "output",
        "multipleResult": true,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 410,
        "y": 560,
        "wires": [
            [
                "55ecf80d37ccfede"
            ]
        ]
    },
    {
        "id": "44049c9369ec07d6",
        "type": "modbus-getter",
        "z": "112d382639b7cc28",
        "name": "0006 - 0035",
        "showStatusActivities": true,
        "showErrors": true,
        "logIOActivities": false,
        "unitid": "2",
        "dataType": "InputRegister",
        "adr": "0006",
        "quantity": "30",
        "server": "bb0f2e018eb97236",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "x": 190,
        "y": 560,
        "wires": [
            [
                "74a43fce665f37f7"
            ],
            [
                "219a2f38e1290dc1"
            ]
        ]
    },
    {
        "id": "f20df6cb188e76a4",
        "type": "buffer-parser",
        "z": "112d382639b7cc28",
        "name": "I, P, S, Q, PF L1-3",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "floatbe",
                "name": "I1",
                "offset": 0,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "I2",
                "offset": 4,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "I3",
                "offset": 8,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "P1",
                "offset": 12,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "P2",
                "offset": 16,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "P3",
                "offset": 20,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "S1",
                "offset": 24,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "S2",
                "offset": 28,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "S3",
                "offset": 32,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "Q1",
                "offset": 36,
                "length": 1,
                "offsetbit": 0,
                "scale": "-1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "Q2",
                "offset": 40,
                "length": 1,
                "offsetbit": 0,
                "scale": "-1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "Q3",
                "offset": 44,
                "length": 1,
                "offsetbit": 0,
                "scale": "-1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "PF1",
                "offset": 48,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "PF2",
                "offset": 52,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "PF3",
                "offset": 56,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "value",
        "resultTypeType": "output",
        "multipleResult": true,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 410,
        "y": 100,
        "wires": [
            [
                "e8a3a2b877a16254"
            ]
        ]
    },
    {
        "id": "72eeac8f0851a096",
        "type": "function",
        "z": "112d382639b7cc28",
        "name": "Ausgabe",
        "func": "P = msg.payload.P;\nP = parseFloat(P.toFixed(1));\nP1 = msg.payload.P1;\nP1 = parseFloat(P1.toFixed(1));\nP2 = msg.payload.P2;\nP2 = parseFloat(P2.toFixed(1));\nP3 = msg.payload.P3;\nP3 = parseFloat(P3.toFixed(1));\nI1 = msg.payload.I1;\nI1 = parseFloat(I1.toFixed(2));\nI2 = msg.payload.I2;\nI2 = parseFloat(I2.toFixed(2));\nI3 = msg.payload.I3;\nI3 = parseFloat(I3.toFixed(2));\nI_N = msg.payload.I_N;\nI_N = parseFloat(I_N.toFixed(2));\nQ = msg.payload.Q;\nQ = parseFloat(Q.toFixed(0));\nQ1 = msg.payload.Q1;\nQ1 = parseFloat(Q1.toFixed(0));\nQ2 = msg.payload.Q2;\nQ2 = parseFloat(Q2.toFixed(0));\nQ3 = msg.payload.Q3;\nQ3 = parseFloat(Q3.toFixed(0));\nPF = msg.payload.PF;\nPF = parseFloat(PF.toFixed(2));\nPF1 = msg.payload.PF1;\nPF1 = parseFloat(PF1.toFixed(2));\nPF2 = msg.payload.PF2;\nPF2 = parseFloat(PF2.toFixed(2));\nPF3 = msg.payload.PF3;\nPF3 = parseFloat(PF3.toFixed(2));\nW_imp = msg.payload.W_imp;\nW_imp = parseFloat(W_imp.toFixed(2));\nHz = msg.payload.Hz;\nHz = parseFloat(Hz.toFixed(2));\nmsg.payload = {P,P1,P2,P3,I1,I2,I3,I_N,Q,Q1,Q2,Q3,PF,PF1,PF2,PF3,W_imp,Hz};\nmsg.topic = \"Nibe\";\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 700,
        "y": 220,
        "wires": [
            [
                "db5dcd81364514f5",
                "db6d6610934a93bd",
                "cf2131f573a01812",
                "47cb86327cdd4193",
                "26e3da9f2d23e0ea",
                "52d5b0db78084f15",
                "e6a82cc457521052",
                "8e10c92b9a5ab496",
                "97a1f36aa1e2ec01",
                "19fb595b9173d2c8",
                "c541c6e7a6a7686f",
                "0129e1f5108578f4",
                "ef7f6437411fa07f",
                "6deb35d2c276e985",
                "5f3daa0a5dd5e96b",
                "4a009c01ef0a030d",
                "36c091e5f8e56c46",
                "2f19c00e343455f6"
            ]
        ]
    },
    {
        "id": "b2a5039cf8e95c93",
        "type": "comment",
        "z": "112d382639b7cc28",
        "name": "MQTT für NibePi",
        "info": "",
        "x": 1480,
        "y": 380,
        "wires": []
    },
    {
        "id": "552051481cf928cb",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "5ffe83dfafbda464",
        "order": 1,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Blindleistung L1",
        "format": "{{msg.payload.Q1}} var",
        "layout": "row-spread",
        "className": "",
        "x": 1180,
        "y": 560,
        "wires": []
    },
    {
        "id": "c0e49888986e458c",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "5ffe83dfafbda464",
        "order": 2,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Blindleistung L2",
        "format": "{{msg.payload.Q2}} var",
        "layout": "row-spread",
        "className": "",
        "x": 1180,
        "y": 600,
        "wires": []
    },
    {
        "id": "f6e10df3b71064e1",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "5ffe83dfafbda464",
        "order": 3,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Blindleistung L3",
        "format": "{{msg.payload.Q3}} var",
        "layout": "row-spread",
        "className": "",
        "x": 1180,
        "y": 640,
        "wires": []
    },
    {
        "id": "a9af36a4581326e0",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "bb962992173f802c",
        "order": 6,
        "width": 0,
        "height": 0,
        "name": "Zähler Bezug",
        "label": "<font color=red> Zähler Bezug",
        "format": "{{msg.payload.W_imp}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 950,
        "y": 840,
        "wires": []
    },
    {
        "id": "c5c18222e37e3d2d",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "bb962992173f802c",
        "order": 7,
        "width": 0,
        "height": 0,
        "name": "Zähler Einspeisung",
        "label": "<font color=orange> Zähler Einspeisung",
        "format": "{{msg.payload.W_exp}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 970,
        "y": 880,
        "wires": []
    },
    {
        "id": "7198c721c396cbe8",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "bb962992173f802c",
        "order": 8,
        "width": 0,
        "height": 0,
        "name": "Zähler effektiv",
        "label": "<font color=darkgreen> Zähler effektiv",
        "format": "{{msg.payload.W_eff}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 960,
        "y": 920,
        "wires": []
    },
    {
        "id": "412a0f3557324b03",
        "type": "modbus-getter",
        "z": "112d382639b7cc28",
        "name": "0006 - 0007",
        "showStatusActivities": true,
        "showErrors": true,
        "logIOActivities": false,
        "unitid": "3",
        "dataType": "InputRegister",
        "adr": "0006",
        "quantity": "2",
        "server": "bb0f2e018eb97236",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "x": 190,
        "y": 1120,
        "wires": [
            [
                "0199eb1abbb19c4d"
            ],
            [
                "f7f3c2119948c5fd"
            ]
        ]
    },
    {
        "id": "0199eb1abbb19c4d",
        "type": "buffer-parser",
        "z": "112d382639b7cc28",
        "name": "I",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "floatbe",
                "name": "I",
                "offset": 0,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "value",
        "resultTypeType": "output",
        "multipleResult": true,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 370,
        "y": 1120,
        "wires": [
            [
                "e5bcbd1d8e7c14ed"
            ]
        ]
    },
    {
        "id": "7b342d2b91b22c74",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9497086e9f0a109d",
        "order": 3,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Strom",
        "format": "{{msg.payload.I}} A",
        "layout": "row-spread",
        "className": "",
        "x": 930,
        "y": 1280,
        "wires": []
    },
    {
        "id": "f127ed636ab3171f",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9497086e9f0a109d",
        "order": 8,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Wirkungsgrad gesamt",
        "format": "{{msg.payload.W}} %",
        "layout": "row-spread",
        "className": "",
        "x": 1200,
        "y": 1280,
        "wires": []
    },
    {
        "id": "7a20ccb37d8e82ca",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "28072ca3.dd5adc",
        "order": 3,
        "width": 0,
        "height": 0,
        "name": "Beladen*",
        "label": "<b><font color=orange> BYD Laden",
        "format": "{{msg.payload.Bel}} W",
        "layout": "row-spread",
        "className": "",
        "x": 1160,
        "y": 1320,
        "wires": []
    },
    {
        "id": "c505571b8d541ad7",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "28072ca3.dd5adc",
        "order": 5,
        "width": 0,
        "height": 0,
        "name": "Entladen*",
        "label": "<b><font color=red> BYD Entladen",
        "format": "{{msg.payload.Ent}} W",
        "layout": "row-spread",
        "className": "",
        "x": 1160,
        "y": 1360,
        "wires": []
    },
    {
        "id": "40cd37f2295437fd",
        "type": "cronplus",
        "z": "112d382639b7cc28",
        "name": "täglich 0 Uhr",
        "outputField": "payload",
        "timeZone": "",
        "persistDynamic": false,
        "commandResponseMsgOutput": "output1",
        "outputs": 1,
        "options": [
            {
                "name": "W Export PV",
                "topic": "PV_Erz",
                "payloadType": "flow",
                "payload": "W_exp_PV",
                "expressionType": "cron",
                "expression": " 0 0 * * *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            },
            {
                "name": "W Import PV",
                "topic": "PV_Bez",
                "payloadType": "flow",
                "payload": "W_imp_PV",
                "expressionType": "cron",
                "expression": " 0 0 * * *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            },
            {
                "name": "W effektiv PV",
                "topic": "PV_eff",
                "payloadType": "flow",
                "payload": "W_eff_PV",
                "expressionType": "cron",
                "expression": " 0 0 * * *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            },
            {
                "name": "W Entladen SBS",
                "topic": "SBS_Ent",
                "payloadType": "flow",
                "payload": "W_exp_SBS",
                "expressionType": "cron",
                "expression": " 0 0 * * *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            },
            {
                "name": "W Beladen SBS",
                "topic": "SBS_Bel",
                "payloadType": "flow",
                "payload": "W_imp_SBS",
                "expressionType": "cron",
                "expression": " 0 0 * * *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            }
        ],
        "x": 190,
        "y": 2020,
        "wires": [
            [
                "62ac4f53ad6d3ced"
            ]
        ]
    },
    {
        "id": "62ac4f53ad6d3ced",
        "type": "join",
        "z": "112d382639b7cc28",
        "name": "Objekt für InfluxDB",
        "mode": "custom",
        "build": "object",
        "property": "payload",
        "propertyType": "msg",
        "key": "topic",
        "joiner": "\\n",
        "joinerType": "str",
        "accumulate": false,
        "timeout": "",
        "count": "5",
        "reduceRight": false,
        "reduceExp": "",
        "reduceInit": "",
        "reduceInitType": "",
        "reduceFixup": "",
        "x": 690,
        "y": 2020,
        "wires": [
            [
                "ac243ad4afa28f8b"
            ]
        ]
    },
    {
        "id": "ac243ad4afa28f8b",
        "type": "influxdb out",
        "z": "112d382639b7cc28",
        "influxdb": "72e5611c.85f388",
        "name": "SDM",
        "measurement": "SDM",
        "precision": "",
        "retentionPolicy": "",
        "database": "db",
        "precisionV18FluxV20": "s",
        "retentionPolicyV18Flux": "",
        "org": "organisation",
        "bucket": "bucket",
        "x": 930,
        "y": 2020,
        "wires": []
    },
    {
        "id": "fbf24ae2368eb074",
        "type": "modbus-getter",
        "z": "112d382639b7cc28",
        "name": "0000 - 0001",
        "showStatusActivities": true,
        "showErrors": true,
        "logIOActivities": false,
        "unitid": "2",
        "dataType": "InputRegister",
        "adr": "0000",
        "quantity": "2",
        "server": "bb0f2e018eb97236",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "x": 190,
        "y": 1060,
        "wires": [
            [
                "4523124047a787a3"
            ],
            [
                "412a0f3557324b03"
            ]
        ]
    },
    {
        "id": "4523124047a787a3",
        "type": "buffer-parser",
        "z": "112d382639b7cc28",
        "name": "U",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "floatbe",
                "name": "U",
                "offset": 0,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "value",
        "resultTypeType": "output",
        "multipleResult": true,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 370,
        "y": 1060,
        "wires": [
            [
                "e5bcbd1d8e7c14ed"
            ]
        ]
    },
    {
        "id": "83f25593e2bc24c3",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9497086e9f0a109d",
        "order": 2,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Spannung",
        "format": "{{msg.payload.U}} V",
        "layout": "row-spread",
        "className": "",
        "x": 950,
        "y": 1200,
        "wires": []
    },
    {
        "id": "40d5acccbef5c48b",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "5ffe83dfafbda464",
        "order": 4,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "cos phi L1",
        "format": "{{msg.payload.PF1}}",
        "layout": "row-spread",
        "className": "",
        "x": 1170,
        "y": 920,
        "wires": []
    },
    {
        "id": "de9dcac74796a43e",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "5ffe83dfafbda464",
        "order": 5,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "cos phi L2",
        "format": "{{msg.payload.PF2}}",
        "layout": "row-spread",
        "className": "",
        "x": 1170,
        "y": 960,
        "wires": []
    },
    {
        "id": "6c1fce3b7fe9d885",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "5ffe83dfafbda464",
        "order": 6,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "cos phi L3",
        "format": "{{msg.payload.PF3}}",
        "layout": "row-spread",
        "className": "",
        "x": 1170,
        "y": 1000,
        "wires": []
    },
    {
        "id": "42b1165389926533",
        "type": "delay",
        "z": "112d382639b7cc28",
        "name": "1min",
        "pauseType": "rate",
        "timeout": "5",
        "timeoutUnits": "seconds",
        "rate": "1",
        "nbRateUnits": "1",
        "rateUnits": "minute",
        "randomFirst": "1",
        "randomLast": "5",
        "randomUnits": "seconds",
        "drop": true,
        "allowrate": false,
        "outputs": 1,
        "x": 1150,
        "y": 460,
        "wires": [
            [
                "e3b03eb0760b7493"
            ]
        ]
    },
    {
        "id": "e9295b5cf21ad627",
        "type": "cronplus",
        "z": "112d382639b7cc28",
        "name": "jeden Monat",
        "outputField": "payload",
        "timeZone": "",
        "persistDynamic": false,
        "commandResponseMsgOutput": "output1",
        "outputs": 1,
        "options": [
            {
                "name": "W Export PV",
                "topic": "PV_Erz",
                "payloadType": "flow",
                "payload": "W_exp_PV",
                "expressionType": "cron",
                "expression": "0 0 0 1 * ? *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            },
            {
                "name": "W Import PV",
                "topic": "PV_Bez",
                "payloadType": "flow",
                "payload": "W_imp_PV",
                "expressionType": "cron",
                "expression": "0 0 0 1 * ? *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            },
            {
                "name": "W effektiv PV",
                "topic": "PV_eff",
                "payloadType": "flow",
                "payload": "W_eff_PV",
                "expressionType": "cron",
                "expression": "0 0 0 1 * ? *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            },
            {
                "name": "W Entladen SBS",
                "topic": "SBS_Ent",
                "payloadType": "flow",
                "payload": "W_exp_SBS",
                "expressionType": "cron",
                "expression": "0 0 0 1 * ? *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            },
            {
                "name": "W Beladen SBS",
                "topic": "SBS_Bel",
                "payloadType": "flow",
                "payload": "W_imp_SBS",
                "expressionType": "cron",
                "expression": "0 0 0 1 * ? *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            }
        ],
        "x": 190,
        "y": 2080,
        "wires": [
            [
                "98766566f8808b2d"
            ]
        ]
    },
    {
        "id": "98766566f8808b2d",
        "type": "join",
        "z": "112d382639b7cc28",
        "name": "Objekt für InfluxDB",
        "mode": "custom",
        "build": "object",
        "property": "payload",
        "propertyType": "msg",
        "key": "topic",
        "joiner": "\\n",
        "joinerType": "str",
        "accumulate": false,
        "timeout": "",
        "count": "5",
        "reduceRight": false,
        "reduceExp": "",
        "reduceInit": "",
        "reduceInitType": "",
        "reduceFixup": "",
        "x": 690,
        "y": 2080,
        "wires": [
            [
                "742f3439173e0dcb"
            ]
        ]
    },
    {
        "id": "742f3439173e0dcb",
        "type": "influxdb out",
        "z": "112d382639b7cc28",
        "influxdb": "72e5611c.85f388",
        "name": "SDM2",
        "measurement": "SDM2",
        "precision": "",
        "retentionPolicy": "",
        "database": "db",
        "precisionV18FluxV20": "s",
        "retentionPolicyV18Flux": "",
        "org": "organisation",
        "bucket": "bucket",
        "x": 930,
        "y": 2080,
        "wires": []
    },
    {
        "id": "202d3a525a4b76f2",
        "type": "cronplus",
        "z": "112d382639b7cc28",
        "name": "alle 5s",
        "outputField": "payload",
        "timeZone": "",
        "persistDynamic": false,
        "commandResponseMsgOutput": "output1",
        "outputs": 1,
        "options": [
            {
                "name": "P Erzeugung",
                "topic": "P",
                "payloadType": "global",
                "payload": "P-Erzeug",
                "expressionType": "cron",
                "expression": "*/5 * * * * *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            },
            {
                "name": "W Erzeugung",
                "topic": "W",
                "payloadType": "flow",
                "payload": "W_exp_PV",
                "expressionType": "cron",
                "expression": "*/5 * * * * *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            }
        ],
        "x": 170,
        "y": 1900,
        "wires": [
            [
                "6fd933d0e9079095"
            ]
        ]
    },
    {
        "id": "6fd933d0e9079095",
        "type": "join",
        "z": "112d382639b7cc28",
        "name": "",
        "mode": "custom",
        "build": "object",
        "property": "payload",
        "propertyType": "msg",
        "key": "topic",
        "joiner": "\\n",
        "joinerType": "str",
        "accumulate": false,
        "timeout": "",
        "count": "2",
        "reduceRight": false,
        "reduceExp": "",
        "reduceInit": "",
        "reduceInitType": "",
        "reduceFixup": "",
        "x": 550,
        "y": 1900,
        "wires": [
            [
                "ebbe645aee9a9db0"
            ]
        ]
    },
    {
        "id": "ebbe645aee9a9db0",
        "type": "function",
        "z": "112d382639b7cc28",
        "name": "Perz & Weff",
        "func": "var msg1 = {};\nvar msg2 = {};\nP = msg.payload.P;\nif(P > 0) {\n    P = 0;\n}\nmsg1.payload = Math.round(P) *-1;\nmsg1.topic = \"P\";\nmsg2.payload = msg.payload.W *1000;\nmsg2.topic = \"W\";\nreturn [msg1,msg2];",
        "outputs": 2,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 710,
        "y": 1900,
        "wires": [
            [
                "97c9de11aed76594"
            ],
            [
                "94db865a75356137"
            ]
        ]
    },
    {
        "id": "97c9de11aed76594",
        "type": "mqtt out",
        "z": "112d382639b7cc28",
        "name": "Erzeugung",
        "topic": "openWB/set/pv/1/W",
        "qos": "0",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "d1369cc14791a2de",
        "x": 950,
        "y": 1880,
        "wires": []
    },
    {
        "id": "94db865a75356137",
        "type": "mqtt out",
        "z": "112d382639b7cc28",
        "name": "Zähler",
        "topic": "openWB/set/pv/1/WhCounter",
        "qos": "0",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "d1369cc14791a2de",
        "x": 930,
        "y": 1940,
        "wires": []
    },
    {
        "id": "3dcad6ad0f1d3de0",
        "type": "comment",
        "z": "112d382639b7cc28",
        "name": "für das openWB PV Modul",
        "info": "alle 10 Sekunden",
        "x": 230,
        "y": 1860,
        "wires": []
    },
    {
        "id": "51621563949c0449",
        "type": "smooth",
        "z": "112d382639b7cc28",
        "name": "maximum",
        "property": "payload",
        "action": "max",
        "count": "22000",
        "round": "0",
        "mult": "single",
        "reduce": false,
        "x": 1160,
        "y": 1040,
        "wires": [
            [
                "75e86177881a3301"
            ]
        ]
    },
    {
        "id": "75e86177881a3301",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "6dc3a07e.4ef428",
        "order": 1,
        "width": 0,
        "height": 0,
        "name": "Erzeugung max.",
        "label": "<b> Erzeugung (SDM) max.",
        "format": "{{msg.payload}} W",
        "layout": "row-spread",
        "className": "",
        "x": 1360,
        "y": 1040,
        "wires": []
    },
    {
        "id": "93be6ee0fa42ede6",
        "type": "function",
        "z": "112d382639b7cc28",
        "name": "P,Q",
        "func": "var msg1 = {};\nvar msg2 = {};\nmsg1.payload = msg.payload.P_exp;\nmsg1.topic = \"P\";\nmsg2.payload = msg.payload.Q;\nmsg2.topic = \"Q\";\nreturn [msg1,msg2];",
        "outputs": 2,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 930,
        "y": 1060,
        "wires": [
            [
                "51621563949c0449"
            ],
            [
                "201e1537b7376669"
            ]
        ]
    },
    {
        "id": "201e1537b7376669",
        "type": "smooth",
        "z": "112d382639b7cc28",
        "name": "minimum",
        "property": "payload",
        "action": "min",
        "count": "22000",
        "round": "0",
        "mult": "single",
        "reduce": false,
        "x": 1160,
        "y": 1080,
        "wires": [
            [
                "9006a9f59d2eea79"
            ]
        ]
    },
    {
        "id": "9006a9f59d2eea79",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "6dc3a07e.4ef428",
        "order": 2,
        "width": 0,
        "height": 0,
        "name": "Blindleistung",
        "label": "Blindleistung (SDM)",
        "format": "{{msg.payload}} var",
        "layout": "row-spread",
        "className": "",
        "x": 1350,
        "y": 1080,
        "wires": []
    },
    {
        "id": "2844c4c58b7e4729",
        "type": "modbus-getter",
        "z": "112d382639b7cc28",
        "name": "0006 - 0035",
        "showStatusActivities": true,
        "showErrors": true,
        "logIOActivities": false,
        "unitid": "4",
        "dataType": "InputRegister",
        "adr": "0006",
        "quantity": "30",
        "server": "bb0f2e018eb97236",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "x": 190,
        "y": 1500,
        "wires": [
            [
                "ac1cea62248307c0"
            ],
            [
                "15b9f2ce6c23e859"
            ]
        ]
    },
    {
        "id": "15b9f2ce6c23e859",
        "type": "modbus-getter",
        "z": "112d382639b7cc28",
        "name": "0052 - 0053",
        "showStatusActivities": true,
        "showErrors": true,
        "logIOActivities": false,
        "unitid": "4",
        "dataType": "InputRegister",
        "adr": "0052",
        "quantity": "2",
        "server": "bb0f2e018eb97236",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "x": 190,
        "y": 1560,
        "wires": [
            [
                "547a95a8fa761ce4"
            ],
            [
                "385f6eb8bf7fc2fb"
            ]
        ]
    },
    {
        "id": "547a95a8fa761ce4",
        "type": "buffer-parser",
        "z": "112d382639b7cc28",
        "name": "P",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "floatbe",
                "name": "P",
                "offset": 0,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "value",
        "resultTypeType": "output",
        "multipleResult": true,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 370,
        "y": 1560,
        "wires": [
            [
                "0e9436a2f728efad"
            ]
        ]
    },
    {
        "id": "385f6eb8bf7fc2fb",
        "type": "modbus-getter",
        "z": "112d382639b7cc28",
        "name": "0060 - 0063",
        "showStatusActivities": true,
        "showErrors": true,
        "logIOActivities": false,
        "unitid": "4",
        "dataType": "InputRegister",
        "adr": "0060",
        "quantity": "4",
        "server": "bb0f2e018eb97236",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "x": 190,
        "y": 1620,
        "wires": [
            [
                "2f25dd3b2d0c1467"
            ],
            [
                "b37015d4bf776d74"
            ]
        ]
    },
    {
        "id": "2f25dd3b2d0c1467",
        "type": "buffer-parser",
        "z": "112d382639b7cc28",
        "name": "Q, PF",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "floatbe",
                "name": "Q",
                "offset": 0,
                "length": 1,
                "offsetbit": 0,
                "scale": "-1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "PF",
                "offset": 4,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "value",
        "resultTypeType": "output",
        "multipleResult": true,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 370,
        "y": 1620,
        "wires": [
            [
                "0e9436a2f728efad"
            ]
        ]
    },
    {
        "id": "b37015d4bf776d74",
        "type": "modbus-getter",
        "z": "112d382639b7cc28",
        "name": "0070 - 0075",
        "showStatusActivities": true,
        "showErrors": true,
        "logIOActivities": false,
        "unitid": "4",
        "dataType": "InputRegister",
        "adr": "0070",
        "quantity": "6",
        "server": "bb0f2e018eb97236",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "x": 190,
        "y": 1680,
        "wires": [
            [
                "45c1c62ce6779015"
            ],
            [
                "c2e327bbc7e4e03d"
            ]
        ]
    },
    {
        "id": "45c1c62ce6779015",
        "type": "buffer-parser",
        "z": "112d382639b7cc28",
        "name": "Hz, W",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "floatbe",
                "name": "Hz",
                "offset": 0,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "W_imp",
                "offset": 4,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "W_exp",
                "offset": 8,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "value",
        "resultTypeType": "output",
        "multipleResult": true,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 370,
        "y": 1680,
        "wires": [
            [
                "0e9436a2f728efad"
            ]
        ]
    },
    {
        "id": "c2e327bbc7e4e03d",
        "type": "modbus-getter",
        "z": "112d382639b7cc28",
        "name": "0224 - 0225",
        "showStatusActivities": true,
        "showErrors": true,
        "logIOActivities": false,
        "unitid": "4",
        "dataType": "InputRegister",
        "adr": "0224",
        "quantity": "2",
        "server": "bb0f2e018eb97236",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "x": 190,
        "y": 1740,
        "wires": [
            [
                "cf19175fce13241f"
            ],
            []
        ]
    },
    {
        "id": "cf19175fce13241f",
        "type": "buffer-parser",
        "z": "112d382639b7cc28",
        "name": "I Neutral",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "floatbe",
                "name": "I_N",
                "offset": 0,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "value",
        "resultTypeType": "output",
        "multipleResult": true,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 380,
        "y": 1740,
        "wires": [
            [
                "0e9436a2f728efad"
            ]
        ]
    },
    {
        "id": "0e9436a2f728efad",
        "type": "join",
        "z": "112d382639b7cc28",
        "name": "",
        "mode": "custom",
        "build": "object",
        "property": "payload",
        "propertyType": "msg",
        "key": "topic",
        "joiner": "\\n",
        "joinerType": "str",
        "accumulate": false,
        "timeout": "",
        "count": "22",
        "reduceRight": false,
        "reduceExp": "",
        "reduceInit": "",
        "reduceInitType": "",
        "reduceFixup": "",
        "x": 550,
        "y": 1620,
        "wires": [
            [
                "ca88034f64fed7e8"
            ]
        ]
    },
    {
        "id": "ac1cea62248307c0",
        "type": "buffer-parser",
        "z": "112d382639b7cc28",
        "name": "I, P, S, Q, PF L1-3",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "floatbe",
                "name": "I1",
                "offset": 0,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "I2",
                "offset": 4,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "I3",
                "offset": 8,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "P1",
                "offset": 12,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "P2",
                "offset": 16,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "P3",
                "offset": 20,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "S1",
                "offset": 24,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "S2",
                "offset": 28,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "S3",
                "offset": 32,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "Q1",
                "offset": 36,
                "length": 1,
                "offsetbit": 0,
                "scale": "-1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "Q2",
                "offset": 40,
                "length": 1,
                "offsetbit": 0,
                "scale": "-1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "Q3",
                "offset": 44,
                "length": 1,
                "offsetbit": 0,
                "scale": "-1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "PF1",
                "offset": 48,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "PF2",
                "offset": 52,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatbe",
                "name": "PF3",
                "offset": 56,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "value",
        "resultTypeType": "output",
        "multipleResult": true,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 410,
        "y": 1500,
        "wires": [
            [
                "0e9436a2f728efad"
            ]
        ]
    },
    {
        "id": "ca88034f64fed7e8",
        "type": "function",
        "z": "112d382639b7cc28",
        "name": "Ausgabe",
        "func": "P = msg.payload.P;\nP = parseFloat(P.toFixed(1));\nP0 = parseFloat(P.toFixed(0));\nif (P0 < 10) {\n    P0 = 0;\n}\nP1 = msg.payload.P1;\nP1 = parseFloat(P1.toFixed(1));\nP2 = msg.payload.P2;\nP2 = parseFloat(P2.toFixed(1));\nP3 = msg.payload.P3;\nP3 = parseFloat(P3.toFixed(1));\nI1 = msg.payload.I1;\nI1 = parseFloat(I1.toFixed(2));\nI2 = msg.payload.I2;\nI2 = parseFloat(I2.toFixed(2));\nI3 = msg.payload.I3;\nI3 = parseFloat(I3.toFixed(2));\nI_N = msg.payload.I_N;\nI_N = parseFloat(I_N.toFixed(2));\nQ = msg.payload.Q;\nQ = parseFloat(Q.toFixed(0));\nQ1 = msg.payload.Q1;\nQ1 = parseFloat(Q1.toFixed(0));\nQ2 = msg.payload.Q2;\nQ2 = parseFloat(Q2.toFixed(0));\nQ3 = msg.payload.Q3;\nQ3 = parseFloat(Q3.toFixed(0));\nPF = msg.payload.PF;\nPF = parseFloat(PF.toFixed(2));\nPF1 = msg.payload.PF1;\nPF1 = parseFloat(PF1.toFixed(2));\nPF2 = msg.payload.PF2;\nPF2 = parseFloat(PF2.toFixed(2));\nPF3 = msg.payload.PF3;\nPF3 = parseFloat(PF3.toFixed(2));\nW_imp = msg.payload.W_imp;\nW_imp = parseFloat(W_imp.toFixed(2));\nHz = msg.payload.Hz;\nHz = parseFloat(Hz.toFixed(2));\nmsg.payload = {P,P0,P1,P2,P3,I1,I2,I3,I_N,Q,Q1,Q2,Q3,PF,PF1,PF2,PF3,W_imp,Hz};\nmsg.topic = \"go-e\";\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 700,
        "y": 1620,
        "wires": [
            [
                "e97602fa28543417",
                "73f7355524ecd248",
                "6ebc3ece5d2e32fb",
                "435b6d84b4a8bed4",
                "ae18da4329e05fab",
                "46a8e8ba778971fb",
                "5d430b299ae1a23b",
                "0acccfa5670b8286",
                "ce3cd9a427d96e47",
                "9a2812b4f13b1cec",
                "aa8800ebc78fdf8d",
                "7adac27a07278ded",
                "c0bc754905826c78",
                "0cf10adbcf922c3f",
                "cc8c28d8ad721280",
                "10a196d1f619635a",
                "fb3de3c36cfaa6f6"
            ]
        ]
    },
    {
        "id": "e97602fa28543417",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9131d5df74b61114",
        "order": 10,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Leistung L1",
        "format": "{{msg.payload.P1}} W",
        "layout": "row-spread",
        "className": "",
        "x": 950,
        "y": 1460,
        "wires": []
    },
    {
        "id": "73f7355524ecd248",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9131d5df74b61114",
        "order": 11,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Leistung L2",
        "format": "{{msg.payload.P2}} W",
        "layout": "row-spread",
        "className": "",
        "x": 950,
        "y": 1500,
        "wires": []
    },
    {
        "id": "6ebc3ece5d2e32fb",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9131d5df74b61114",
        "order": 12,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Leistung L3",
        "format": "{{msg.payload.P3}} W",
        "layout": "row-spread",
        "className": "",
        "x": 950,
        "y": 1540,
        "wires": []
    },
    {
        "id": "0acccfa5670b8286",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9131d5df74b61114",
        "order": 13,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Blindleistung L1",
        "format": "{{msg.payload.Q1}} var",
        "layout": "row-spread",
        "className": "",
        "x": 1180,
        "y": 1460,
        "wires": []
    },
    {
        "id": "ce3cd9a427d96e47",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9131d5df74b61114",
        "order": 14,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Blindleistung L2",
        "format": "{{msg.payload.Q2}} var",
        "layout": "row-spread",
        "className": "",
        "x": 1180,
        "y": 1500,
        "wires": []
    },
    {
        "id": "9a2812b4f13b1cec",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9131d5df74b61114",
        "order": 15,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Blindleistung L3",
        "format": "{{msg.payload.Q3}} var",
        "layout": "row-spread",
        "className": "",
        "x": 1180,
        "y": 1540,
        "wires": []
    },
    {
        "id": "aa8800ebc78fdf8d",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9131d5df74b61114",
        "order": 1,
        "width": 0,
        "height": 0,
        "name": "Leistung",
        "label": "<b> Leistung",
        "format": "{{msg.payload.P}} W",
        "layout": "row-spread",
        "className": "",
        "x": 1160,
        "y": 1580,
        "wires": []
    },
    {
        "id": "7adac27a07278ded",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9131d5df74b61114",
        "order": 4,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Blindleistung",
        "format": "{{msg.payload.Q}} var",
        "layout": "row-spread",
        "className": "",
        "x": 1170,
        "y": 1620,
        "wires": []
    },
    {
        "id": "435b6d84b4a8bed4",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9131d5df74b61114",
        "order": 7,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Strom L1",
        "format": "{{msg.payload.I1}} A",
        "layout": "row-spread",
        "className": "",
        "x": 940,
        "y": 1580,
        "wires": []
    },
    {
        "id": "ae18da4329e05fab",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9131d5df74b61114",
        "order": 8,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Strom L2",
        "format": "{{msg.payload.I2}} A",
        "layout": "row-spread",
        "className": "",
        "x": 940,
        "y": 1620,
        "wires": []
    },
    {
        "id": "46a8e8ba778971fb",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9131d5df74b61114",
        "order": 9,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Strom L3",
        "format": "{{msg.payload.I3}} A",
        "layout": "row-spread",
        "className": "",
        "x": 940,
        "y": 1660,
        "wires": []
    },
    {
        "id": "5d430b299ae1a23b",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9131d5df74b61114",
        "order": 6,
        "width": 0,
        "height": 0,
        "name": "Strom N",
        "label": "<font color=blue> Strom N",
        "format": "{{msg.payload.I_N}} A",
        "layout": "row-spread",
        "className": "",
        "x": 940,
        "y": 1700,
        "wires": []
    },
    {
        "id": "c0bc754905826c78",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9131d5df74b61114",
        "order": 5,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "cos phi",
        "format": "{{msg.payload.PF}}",
        "layout": "row-spread",
        "className": "",
        "x": 1160,
        "y": 1660,
        "wires": []
    },
    {
        "id": "0cf10adbcf922c3f",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9131d5df74b61114",
        "order": 2,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Zählerstand",
        "format": "{{msg.payload.W_imp}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1170,
        "y": 1700,
        "wires": []
    },
    {
        "id": "346fc0e5cc8a0ea6",
        "type": "http in",
        "z": "112d382639b7cc28",
        "name": "go-e",
        "url": "/goe",
        "method": "get",
        "upload": false,
        "swaggerDoc": "",
        "x": 1330,
        "y": 1740,
        "wires": [
            [
                "8a0eec97e3130650"
            ]
        ]
    },
    {
        "id": "8a0eec97e3130650",
        "type": "template",
        "z": "112d382639b7cc28",
        "name": "go-e",
        "field": "payload",
        "fieldType": "msg",
        "format": "handlebars",
        "syntax": "mustache",
        "template": "{{global.LP2-Leistung}}",
        "x": 1450,
        "y": 1740,
        "wires": [
            [
                "1e107c8ac157df22"
            ]
        ]
    },
    {
        "id": "1e107c8ac157df22",
        "type": "http response",
        "z": "112d382639b7cc28",
        "name": "go-e",
        "statusCode": "",
        "headers": {},
        "x": 1570,
        "y": 1740,
        "wires": []
    },
    {
        "id": "2148428fb7abee1b",
        "type": "comment",
        "z": "112d382639b7cc28",
        "name": "für SAE",
        "info": "",
        "x": 1330,
        "y": 1700,
        "wires": []
    },
    {
        "id": "cc8c28d8ad721280",
        "type": "change",
        "z": "112d382639b7cc28",
        "name": "goe Leistung",
        "rules": [
            {
                "t": "set",
                "p": "LP2-Leistung",
                "pt": "global",
                "to": "payload.P0",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 950,
        "y": 1740,
        "wires": [
            []
        ]
    },
    {
        "id": "fb3de3c36cfaa6f6",
        "type": "change",
        "z": "112d382639b7cc28",
        "name": "global LP2-Zähler",
        "rules": [
            {
                "t": "set",
                "p": "LP2-Zähler",
                "pt": "global",
                "to": "payload.W_imp",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 970,
        "y": 1780,
        "wires": [
            []
        ]
    },
    {
        "id": "10a196d1f619635a",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "28072ca3.dd5adc",
        "order": 9,
        "width": 0,
        "height": 0,
        "name": "go-e*",
        "label": "<b> go-e",
        "format": "{{msg.payload.P0}} W",
        "layout": "row-spread",
        "className": "",
        "x": 1150,
        "y": 1740,
        "wires": []
    },
    {
        "id": "0bb76ffb640283f8",
        "type": "comment",
        "z": "112d382639b7cc28",
        "name": "ID4 Go-e",
        "info": "",
        "x": 180,
        "y": 1460,
        "wires": []
    },
    {
        "id": "1e0937e988570d0a",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "9497086e9f0a109d",
        "order": 5,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "cos phi",
        "format": "{{msg.payload.PF}}",
        "layout": "row-spread",
        "className": "",
        "x": 940,
        "y": 1360,
        "wires": []
    },
    {
        "id": "66f9abb9c2d95af7",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "bd2545e77e4ee7ee",
        "order": 1,
        "width": 0,
        "height": 0,
        "name": "Erzeugung**",
        "label": "<b><font color=green> Erzeugung",
        "format": "{{msg.payload.P_exp}} W",
        "layout": "row-spread",
        "className": "",
        "x": 1170,
        "y": 760,
        "wires": []
    },
    {
        "id": "d5414b9aff297cef",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "cab6742689765c7e",
        "order": 1,
        "width": 0,
        "height": 0,
        "name": "Erzeugung heute",
        "label": "<b><font color=green> Erzeugung",
        "format": "{{msg.payload.PV_T}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1190,
        "y": 1920,
        "wires": []
    },
    {
        "id": "a9abf857a2bc0375",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "cab6742689765c7e",
        "order": 11,
        "width": 0,
        "height": 0,
        "name": "go-e heute",
        "label": "<b> go-e",
        "format": "{{msg.payload.goe_T}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1170,
        "y": 2320,
        "wires": []
    },
    {
        "id": "c3f88b8b0378fe93",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "e95a7cdc52bfdb3e",
        "order": 11,
        "width": 0,
        "height": 0,
        "name": "go-e Monat",
        "label": "<b> go-e",
        "format": "{{msg.payload.goe_M}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1470,
        "y": 2320,
        "wires": []
    },
    {
        "id": "7e76473157e64de4",
        "type": "influxdb in",
        "z": "112d382639b7cc28",
        "influxdb": "72e5611c.85f388",
        "name": "Abfrage letzter Wert",
        "query": "select * from \"SMAEM\",\"SMAEM2\",\"SDM\",\"SDM2\",\"Ladestationz\",\"Ladestationz2\" order by time desc Limit 1",
        "rawOutput": false,
        "precision": "s",
        "retentionPolicy": "",
        "org": "organisation",
        "x": 380,
        "y": 2200,
        "wires": [
            [
                "5df5518c97863b87"
            ]
        ]
    },
    {
        "id": "ae39b4755d370594",
        "type": "inject",
        "z": "112d382639b7cc28",
        "name": "jede Minute",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "60",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "true",
        "payloadType": "bool",
        "x": 190,
        "y": 2200,
        "wires": [
            [
                "7e76473157e64de4"
            ]
        ]
    },
    {
        "id": "5df5518c97863b87",
        "type": "function",
        "z": "112d382639b7cc28",
        "name": "Influx",
        "func": "Bez_M = msg.payload[0].Bezug;\nEin_M = msg.payload[0].Einsp;\nBez_T = msg.payload[1].Bezug;\nEin_T = msg.payload[1].Einsp;\nPV_M = msg.payload[2].PV_Erz;\nPV_T = msg.payload[3].PV_Erz;\nBel_M = msg.payload[2].SBS_Bel;\nEnt_M = msg.payload[2].SBS_Ent;\nBel_T = msg.payload[3].SBS_Bel;\nEnt_T = msg.payload[3].SBS_Ent;\ngoe_M = msg.payload[4][\"go-e\"];\nopenwb_M = msg.payload[4].openWB;\ngoe_T = msg.payload[5][\"go-e\"];\nopenwb_T = msg.payload[5].openWB;\nmsg.payload = {Bez_M,Ein_M,Bez_T,Ein_T,PV_T,PV_M,Bel_M,Ent_M,Bel_T,Ent_T,goe_T,openwb_T,goe_M,openwb_M};\nmsg.topic = \"täglich & monatlich\";\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 550,
        "y": 2200,
        "wires": [
            [
                "6eed8a16b4174014"
            ]
        ]
    },
    {
        "id": "096d0b59bafc40bb",
        "type": "function",
        "z": "112d382639b7cc28",
        "name": "Werte",
        "func": "Bez_T = msg.payload.Bez - msg.payload.Bez_T;\nBez_M = msg.payload.Bez - msg.payload.Bez_M;\nBez_J = msg.payload.Bez - msg.payload.Bez_J;\nEin_T = msg.payload.Ein - msg.payload.Ein_T;\nEin_M = msg.payload.Ein - msg.payload.Ein_M;\nEin_J = msg.payload.Ein - msg.payload.Ein_J;\nPV_T = msg.payload.PV - msg.payload.PV_T;\nPV1_T = PV_T/21.23;\nPV_M = msg.payload.PV - msg.payload.PV_M;\nPV1_M = PV_M/21.23;\nPV_J = msg.payload.PV - msg.payload.PV_J;\nPV1_J = PV_J/21.23;\nBel_T = msg.payload.Bel - msg.payload.Bel_T;\nEnt_T = msg.payload.Ent - msg.payload.Ent_T;\nBel_M = msg.payload.Bel - msg.payload.Bel_M;\nEnt_M = msg.payload.Ent - msg.payload.Ent_M;\nBel_J = msg.payload.Bel - msg.payload.Bel_J;\nEnt_J = msg.payload.Ent - msg.payload.Ent_J;\nTw = (Ent_T/Bel_T )*100;\nMw = (Ent_M/Bel_M)*100;\nJw = (Ent_J/Bel_J)*100;\ngoe_T = msg.payload.goe - msg.payload.goe_T;\ngoe_M = msg.payload.goe - msg.payload.goe_M;\ngoe_J = msg.payload.goe - msg.payload.goe_J;\nopenwb_T = msg.payload.openwb - msg.payload.openwb_T;\nopenwb_M = msg.payload.openwb - msg.payload.openwb_M;\nopenwb_J = msg.payload.openwb - msg.payload.openwb_J;\nV = Bez_T - Ein_T + PV_T + Ent_T - Bel_T;\nH = V - goe_T - openwb_T;\nDV = PV_T - Bel_T - Ein_T;\nEVo = PV_T - Bel_T + Ent_T - Ein_T;\nEVr = PV_T - Ein_T;\nAQ = (EVo/V)*100;\nDVQ = (DV/PV_T)*100;\nEVQ = (EVr/PV_T)*100;\nV1 = Bez_M - Ein_M + PV_M + Ent_M - Bel_M;\nH1 = V1 - goe_M - openwb_M;\nDV1 = PV_M - Bel_M - Ein_M;\nEVo1 = PV_M - Bel_M + Ent_M - Ein_M;\nEVr1 = PV_M - Ein_M;\nAQ1 = (EVo1/V1)*100;\nDVQ1 = (DV1/PV_M)*100;\nEVQ1 = (EVr1/PV_M)*100;\nV2 = Bez_J - Ein_J + PV_J + Ent_J - Bel_J;\nH2 = V2 - goe_J - openwb_J;\nDV2 = PV_J - Bel_J - Ein_J;\nEVo2 = PV_J - Bel_J + Ent_J - Ein_J;\nEVr2 = PV_J - Ein_J;\nAQ2 = (EVo2/V2)*100;\nDVQ2 = (DV2/PV_J)*100;\nEVQ2 = (EVr2/PV_J)*100;\nmsg.payload = {Bez_M,Bez_T,Bez_J,Ein_M,Ein_T,Ein_J,PV_T,PV1_T,PV_M,PV1_M,PV_J,PV1_J,Bel_T,Ent_T,Bel_M,Ent_M,Bel_J,Ent_J,Tw,Mw,Jw,goe_T,goe_M,goe_J,openwb_T,openwb_M,openwb_J,V,H,DV,EVo,EVr,AQ,DVQ,EVQ,V1,H1,DV1,EVo1,EVr1,AQ1,DVQ1,EVQ1,V2,H2,DV2,EVo2,EVr2,AQ2,DVQ2,EVQ2};\nObject.entries(msg.payload).forEach((v) =>{\n    msg.payload[v[0]] = Math.round(v[1]*100)/100;\n})\nmsg.topic = \"Auswertung\";\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 930,
        "y": 2240,
        "wires": [
            [
                "a9abf857a2bc0375",
                "c3f88b8b0378fe93",
                "d5414b9aff297cef",
                "9d9c2045d5090c79",
                "da1305d7595ee868",
                "98d04a17f4c60d12",
                "dad2c4b76b4c6e8a",
                "881c90ad3ac5d62d",
                "53e573da2209f385",
                "347f6d33d82ddfc3",
                "6344290af83306d0",
                "4c52e4af28cfbb52",
                "f08d22bd27e93e41",
                "01e3cee029bfe671",
                "58554023b0d4e2fb",
                "1f5be3028323fe0b",
                "2b7732efd3210e76",
                "32bc5e3606832162",
                "80ce9e4fa74c5ab2",
                "bc50175de50d2eb4",
                "e3eca57246a6ce47",
                "054c15473b57fd12",
                "21a8ea2759db7efe",
                "85eeb8a87a85cc9b",
                "11782ce9f352f7e0",
                "73ebb9328d0eb99a",
                "1a7479b3c2171b38",
                "5f9da5ace765221d",
                "41343003240971bc",
                "eac95aa3eb5dcb97",
                "f6dbcfa7b060d39d",
                "5dab6c742597df4c",
                "8381740c99ea84ce",
                "ef7514a195bc354c",
                "b343bb061563e53a",
                "6eb9a946b418603d",
                "f3c35190ad8af69b",
                "d1c9c50204acc1bb",
                "eef947cd493a9cb4",
                "0a13be3e14d0fb74",
                "bee7b9647040ae04",
                "e22b1e41e2ab8b9d",
                "a2cc50b67b4aba89",
                "7832a49be6235d3d",
                "5ed9ef7ea01e7c40",
                "04abcae45b7ea6cb",
                "bfc221d34808feb2",
                "a5dd0949545020a8",
                "6925578da4c701e5",
                "bc68fcd6b92d4bb4",
                "e63d89027149277e"
            ]
        ]
    },
    {
        "id": "96f3e127a909ad43",
        "type": "join",
        "z": "112d382639b7cc28",
        "name": "",
        "mode": "custom",
        "build": "object",
        "property": "payload",
        "propertyType": "msg",
        "key": "topic",
        "joiner": "\\n",
        "joinerType": "str",
        "accumulate": false,
        "timeout": "",
        "count": "7",
        "reduceRight": false,
        "reduceExp": "",
        "reduceInit": "",
        "reduceInitType": "",
        "reduceFixup": "",
        "x": 550,
        "y": 2280,
        "wires": [
            [
                "6eed8a16b4174014"
            ]
        ]
    },
    {
        "id": "6eed8a16b4174014",
        "type": "join",
        "z": "112d382639b7cc28",
        "name": "",
        "mode": "custom",
        "build": "merged",
        "property": "payload",
        "propertyType": "msg",
        "key": "topic",
        "joiner": "\\n",
        "joinerType": "str",
        "accumulate": false,
        "timeout": "",
        "count": "28",
        "reduceRight": false,
        "reduceExp": "",
        "reduceInit": "",
        "reduceInitType": "",
        "reduceFixup": "",
        "x": 730,
        "y": 2240,
        "wires": [
            [
                "096d0b59bafc40bb"
            ]
        ]
    },
    {
        "id": "9d9c2045d5090c79",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "e95a7cdc52bfdb3e",
        "order": 1,
        "width": 0,
        "height": 0,
        "name": "Erzeugung Monat",
        "label": "<b><font color=green> Erzeugung",
        "format": "{{msg.payload.PV_M}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1490,
        "y": 1920,
        "wires": []
    },
    {
        "id": "3bc0136771d24dce",
        "type": "comment",
        "z": "112d382639b7cc28",
        "name": "Tages- / Monats- / Jahreszählerauswertung",
        "info": "",
        "x": 290,
        "y": 2160,
        "wires": []
    },
    {
        "id": "b82dd3e69c4dbc2f",
        "type": "comment",
        "z": "112d382639b7cc28",
        "name": "InfluxDB täglich / monatlich",
        "info": "",
        "x": 230,
        "y": 1980,
        "wires": []
    },
    {
        "id": "a2805ed26f8df196",
        "type": "cronplus",
        "z": "112d382639b7cc28",
        "name": "jede Minute",
        "outputField": "payload",
        "timeZone": "",
        "persistDynamic": false,
        "commandResponseMsgOutput": "output1",
        "outputs": 1,
        "options": [
            {
                "name": "go-e Zähler",
                "topic": "goe",
                "payloadType": "global",
                "payload": "LP2-Zähler",
                "expressionType": "cron",
                "expression": "0 * * * * *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            },
            {
                "name": "openWB Zähler",
                "topic": "openwb",
                "payloadType": "global",
                "payload": "LP1-Zähler",
                "expressionType": "cron",
                "expression": "0 * * * * * *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            },
            {
                "name": "SBS Beladen",
                "topic": "Bel",
                "payloadType": "flow",
                "payload": "W_imp_SBS",
                "expressionType": "cron",
                "expression": "0 * * * * * *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            },
            {
                "name": "SBS Entladen",
                "topic": "Ent",
                "payloadType": "flow",
                "payload": "W_exp_SBS",
                "expressionType": "cron",
                "expression": "0 * * * * * *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            },
            {
                "name": "Bezug Zähler",
                "topic": "Bez",
                "payloadType": "global",
                "payload": "W-Bezug",
                "expressionType": "cron",
                "expression": "0 * * * * * *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            },
            {
                "name": "Einspeisung Zähler",
                "topic": "Ein",
                "payloadType": "global",
                "payload": "W-Einsp",
                "expressionType": "cron",
                "expression": "0 * * * * * *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            },
            {
                "name": "PV Erzeugung",
                "topic": "PV",
                "payloadType": "flow",
                "payload": "W_exp_PV",
                "expressionType": "cron",
                "expression": "0 * * * * * *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            }
        ],
        "x": 190,
        "y": 2280,
        "wires": [
            [
                "96f3e127a909ad43"
            ]
        ]
    },
    {
        "id": "da1305d7595ee868",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "cab6742689765c7e",
        "order": 10,
        "width": 0,
        "height": 0,
        "name": "openWB heute",
        "label": "<b> openWB",
        "format": "{{msg.payload.openwb_T}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1180,
        "y": 2280,
        "wires": []
    },
    {
        "id": "98d04a17f4c60d12",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "e95a7cdc52bfdb3e",
        "order": 10,
        "width": 0,
        "height": 0,
        "name": "openWB Monat",
        "label": "<b> openWB",
        "format": "{{msg.payload.openwb_M}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1480,
        "y": 2280,
        "wires": []
    },
    {
        "id": "dad2c4b76b4c6e8a",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "cab6742689765c7e",
        "order": 7,
        "width": 0,
        "height": 0,
        "name": "Beladung heute",
        "label": "<b><font color=darkblue> Beladung BYD",
        "format": "{{msg.payload.Bel_T}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1180,
        "y": 2160,
        "wires": []
    },
    {
        "id": "881c90ad3ac5d62d",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "cab6742689765c7e",
        "order": 8,
        "width": 0,
        "height": 0,
        "name": "Entladung heute",
        "label": "<b><font color=darkblue> Entladung BYD",
        "format": "{{msg.payload.Ent_T}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1190,
        "y": 2200,
        "wires": []
    },
    {
        "id": "53e573da2209f385",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "e95a7cdc52bfdb3e",
        "order": 7,
        "width": 0,
        "height": 0,
        "name": "Beladung Monat",
        "label": "<b><font color=darkblue> Beladung BYD",
        "format": "{{msg.payload.Bel_M}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1480,
        "y": 2160,
        "wires": []
    },
    {
        "id": "347f6d33d82ddfc3",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "e95a7cdc52bfdb3e",
        "order": 8,
        "width": 0,
        "height": 0,
        "name": "Entladung Monat",
        "label": "<b><font color=darkblue> Entladung BYD",
        "format": "{{msg.payload.Ent_M}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1490,
        "y": 2200,
        "wires": []
    },
    {
        "id": "6344290af83306d0",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "cab6742689765c7e",
        "order": 9,
        "width": 0,
        "height": 0,
        "name": "Wirkungsgrad heute",
        "label": "<b><font color=darkblue> Wirkungsgrad BYD",
        "format": "{{msg.payload.Tw}} %",
        "layout": "row-spread",
        "className": "",
        "x": 1200,
        "y": 2240,
        "wires": []
    },
    {
        "id": "4c52e4af28cfbb52",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "e95a7cdc52bfdb3e",
        "order": 9,
        "width": 0,
        "height": 0,
        "name": "Wirkungsgrad Monat",
        "label": "<b><font color=darkblue> Wirkungsgrad BYD",
        "format": "{{msg.payload.Mw}} %",
        "layout": "row-spread",
        "className": "",
        "x": 1500,
        "y": 2240,
        "wires": []
    },
    {
        "id": "f08d22bd27e93e41",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "cab6742689765c7e",
        "order": 4,
        "width": 0,
        "height": 0,
        "name": "Bezug heute",
        "label": "<b><font color=red> Bezug",
        "format": "{{msg.payload.Bez_T}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1170,
        "y": 2040,
        "wires": []
    },
    {
        "id": "58554023b0d4e2fb",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "cab6742689765c7e",
        "order": 3,
        "width": 0,
        "height": 0,
        "name": "Einspeisung heute",
        "label": "<b><font color=orange> Einspeisung",
        "format": "{{msg.payload.Ein_T}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1190,
        "y": 2000,
        "wires": []
    },
    {
        "id": "01e3cee029bfe671",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "e95a7cdc52bfdb3e",
        "order": 4,
        "width": 0,
        "height": 0,
        "name": "Bezug Monat",
        "label": "<b><font color=red> Bezug",
        "format": "{{msg.payload.Bez_M}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1470,
        "y": 2040,
        "wires": []
    },
    {
        "id": "1f5be3028323fe0b",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "e95a7cdc52bfdb3e",
        "order": 3,
        "width": 0,
        "height": 0,
        "name": "Einspeisung Monat",
        "label": "<b><font color=orange> Einspeisung",
        "format": "{{msg.payload.Ein_M}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1490,
        "y": 2000,
        "wires": []
    },
    {
        "id": "2b7732efd3210e76",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "cab6742689765c7e",
        "order": 5,
        "width": 0,
        "height": 0,
        "name": "Verbrauch heute",
        "label": "<b> Verbrauch",
        "format": "{{msg.payload.V}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1190,
        "y": 2080,
        "wires": []
    },
    {
        "id": "32bc5e3606832162",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "cab6742689765c7e",
        "order": 6,
        "width": 0,
        "height": 0,
        "name": "Hausverbrauch heute",
        "label": "<b> Hausverbrauch",
        "format": "{{msg.payload.H}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1200,
        "y": 2120,
        "wires": []
    },
    {
        "id": "80ce9e4fa74c5ab2",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "e95a7cdc52bfdb3e",
        "order": 5,
        "width": 0,
        "height": 0,
        "name": "Verbrauch Monat",
        "label": "<b> Verbrauch",
        "format": "{{msg.payload.V1}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1490,
        "y": 2080,
        "wires": []
    },
    {
        "id": "bc50175de50d2eb4",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "e95a7cdc52bfdb3e",
        "order": 6,
        "width": 0,
        "height": 0,
        "name": "Hausverbrauch Monat",
        "label": "<b> Hausverbrauch",
        "format": "{{msg.payload.H1}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1500,
        "y": 2120,
        "wires": []
    },
    {
        "id": "e3eca57246a6ce47",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "cab6742689765c7e",
        "order": 16,
        "width": 0,
        "height": 0,
        "name": "Direktverbrauch heute",
        "label": "<b> Direktverbrauch",
        "format": "{{msg.payload.DV}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1200,
        "y": 2520,
        "wires": []
    },
    {
        "id": "054c15473b57fd12",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "cab6742689765c7e",
        "order": 12,
        "width": 0,
        "height": 0,
        "name": "Eigenverbrauch heute",
        "label": "<b><font color=purple> Eigenverbrauch",
        "format": "{{msg.payload.EVr}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1200,
        "y": 2360,
        "wires": []
    },
    {
        "id": "21a8ea2759db7efe",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "cab6742689765c7e",
        "order": 15,
        "width": 0,
        "height": 0,
        "name": "Autarkiequote heute",
        "label": "<b><font color=darkgreen> Autarkiequote",
        "format": "{{msg.payload.AQ}} %",
        "layout": "row-spread",
        "className": "",
        "x": 1200,
        "y": 2480,
        "wires": []
    },
    {
        "id": "85eeb8a87a85cc9b",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "cab6742689765c7e",
        "order": 17,
        "width": 0,
        "height": 0,
        "name": "Direktverbrauchsquote heute",
        "label": "<b> Direktverbrauchsquote",
        "format": "{{msg.payload.DVQ}} %",
        "layout": "row-spread",
        "className": "",
        "x": 1230,
        "y": 2560,
        "wires": []
    },
    {
        "id": "11782ce9f352f7e0",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "cab6742689765c7e",
        "order": 13,
        "width": 0,
        "height": 0,
        "name": "Eigenverbrauchsquote heute",
        "label": "<b><font color=purple> Eigenverbrauchsquote",
        "format": "{{msg.payload.EVQ}} %",
        "layout": "row-spread",
        "className": "",
        "x": 1220,
        "y": 2400,
        "wires": []
    },
    {
        "id": "41343003240971bc",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "e95a7cdc52bfdb3e",
        "order": 16,
        "width": 0,
        "height": 0,
        "name": "Direktverbrauch Monat",
        "label": "<b> Direktverbrauch",
        "format": "{{msg.payload.DV1}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1510,
        "y": 2520,
        "wires": []
    },
    {
        "id": "1a7479b3c2171b38",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "e95a7cdc52bfdb3e",
        "order": 12,
        "width": 0,
        "height": 0,
        "name": "Eigenverbrauch Monat",
        "label": "<b><font color=purple> Eigenverbrauch",
        "format": "{{msg.payload.EVr1}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1500,
        "y": 2360,
        "wires": []
    },
    {
        "id": "73ebb9328d0eb99a",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "e95a7cdc52bfdb3e",
        "order": 15,
        "width": 0,
        "height": 0,
        "name": "Autarkiequote Monat",
        "label": "<b><font color=darkgreen> Autarkiequote",
        "format": "{{msg.payload.AQ1}} %",
        "layout": "row-spread",
        "className": "",
        "x": 1500,
        "y": 2480,
        "wires": []
    },
    {
        "id": "eac95aa3eb5dcb97",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "e95a7cdc52bfdb3e",
        "order": 17,
        "width": 0,
        "height": 0,
        "name": "Direktverbrauchsquote Monat",
        "label": "<b> Direktverbrauchsquote",
        "format": "{{msg.payload.DVQ1}} %",
        "layout": "row-spread",
        "className": "",
        "x": 1530,
        "y": 2560,
        "wires": []
    },
    {
        "id": "5f9da5ace765221d",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "e95a7cdc52bfdb3e",
        "order": 13,
        "width": 0,
        "height": 0,
        "name": "Eigenverbrauchsquote Monat",
        "label": "<b><font color=purple> Eigenverbrauchsquote",
        "format": "{{msg.payload.EVQ1}} %",
        "layout": "row-spread",
        "className": "",
        "x": 1530,
        "y": 2400,
        "wires": []
    },
    {
        "id": "ae04996d7e1932d5",
        "type": "inject",
        "z": "112d382639b7cc28",
        "name": "jede Minute",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "60",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "true",
        "payloadType": "bool",
        "x": 190,
        "y": 2240,
        "wires": [
            [
                "424d5dc2e982720e"
            ]
        ]
    },
    {
        "id": "424d5dc2e982720e",
        "type": "influxdb in",
        "z": "112d382639b7cc28",
        "influxdb": "72e5611c.85f388",
        "name": "Abfrage 01.01.2022",
        "query": "select * from \"SMAEM2\",\"SDM2\",\"Ladestationz2\" WHERE time >= '2021-12-31T22:55:00Z' AND time <= '2021-12-31T23:05:00Z'",
        "rawOutput": false,
        "precision": "s",
        "retentionPolicy": "",
        "org": "organisation",
        "x": 380,
        "y": 2240,
        "wires": [
            [
                "a25e6ba0ff42f6ec"
            ]
        ]
    },
    {
        "id": "a25e6ba0ff42f6ec",
        "type": "function",
        "z": "112d382639b7cc28",
        "name": "Influx",
        "func": "goe_J = msg.payload[0][\"go-e\"];\nopenwb_J = msg.payload[0].openWB;\nPV_J = msg.payload[1].PV_Erz;\nBel_J = msg.payload[1].SBS_Bel;\nEnt_J = msg.payload[1].SBS_Ent;\nBez_J = msg.payload[2].Bezug;\nEin_J = msg.payload[2].Einsp;\nmsg.payload = {Bez_J,Ein_J,PV_J,Ent_J,Bel_J,goe_J,openwb_J};\nmsg.topic = \"jährlich\";\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 550,
        "y": 2240,
        "wires": [
            [
                "6eed8a16b4174014"
            ]
        ]
    },
    {
        "id": "0a13be3e14d0fb74",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "5bb1420f639cc7f6",
        "order": 11,
        "width": 0,
        "height": 0,
        "name": "go-e Jahr",
        "label": "<b> go-e",
        "format": "{{msg.payload.goe_J}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1760,
        "y": 2320,
        "wires": []
    },
    {
        "id": "f6dbcfa7b060d39d",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "5bb1420f639cc7f6",
        "order": 1,
        "width": 0,
        "height": 0,
        "name": "Erzeugung Jahr",
        "label": "<b><font color=green> Erzeugung",
        "format": "{{msg.payload.PV_J}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1780,
        "y": 1920,
        "wires": []
    },
    {
        "id": "eef947cd493a9cb4",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "5bb1420f639cc7f6",
        "order": 10,
        "width": 0,
        "height": 0,
        "name": "openWB Jahr",
        "label": "<b> openWB",
        "format": "{{msg.payload.openwb_J}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1780,
        "y": 2280,
        "wires": []
    },
    {
        "id": "6eb9a946b418603d",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "5bb1420f639cc7f6",
        "order": 7,
        "width": 0,
        "height": 0,
        "name": "Beladung Jahr",
        "label": "<b><font color=darkblue> Beladung BYD",
        "format": "{{msg.payload.Bel_J}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1780,
        "y": 2160,
        "wires": []
    },
    {
        "id": "f3c35190ad8af69b",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "5bb1420f639cc7f6",
        "order": 8,
        "width": 0,
        "height": 0,
        "name": "Entladung Jahr",
        "label": "<b><font color=darkblue> Entladung BYD",
        "format": "{{msg.payload.Ent_J}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1780,
        "y": 2200,
        "wires": []
    },
    {
        "id": "d1c9c50204acc1bb",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "5bb1420f639cc7f6",
        "order": 9,
        "width": 0,
        "height": 0,
        "name": "Wirkungsgrad Jahr",
        "label": "<b><font color=darkblue> Wirkungsgrad BYD",
        "format": "{{msg.payload.Jw}} %",
        "layout": "row-spread",
        "className": "",
        "x": 1790,
        "y": 2240,
        "wires": []
    },
    {
        "id": "8381740c99ea84ce",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "5bb1420f639cc7f6",
        "order": 4,
        "width": 0,
        "height": 0,
        "name": "Bezug Jahr",
        "label": "<b><font color=red> Bezug",
        "format": "{{msg.payload.Bez_J}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1770,
        "y": 2040,
        "wires": []
    },
    {
        "id": "5dab6c742597df4c",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "5bb1420f639cc7f6",
        "order": 3,
        "width": 0,
        "height": 0,
        "name": "Einspeisung Jahr",
        "label": "<b><font color=orange> Einspeisung",
        "format": "{{msg.payload.Ein_J}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1790,
        "y": 2000,
        "wires": []
    },
    {
        "id": "b343bb061563e53a",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "5bb1420f639cc7f6",
        "order": 5,
        "width": 0,
        "height": 0,
        "name": "Verbrauch Jahr",
        "label": "<b> Verbrauch",
        "format": "{{msg.payload.V2}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1780,
        "y": 2080,
        "wires": []
    },
    {
        "id": "ef7514a195bc354c",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "5bb1420f639cc7f6",
        "order": 6,
        "width": 0,
        "height": 0,
        "name": "Hausverbrauch Jahr",
        "label": "<b> Hausverbrauch",
        "format": "{{msg.payload.H2}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1800,
        "y": 2120,
        "wires": []
    },
    {
        "id": "7832a49be6235d3d",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "5bb1420f639cc7f6",
        "order": 16,
        "width": 0,
        "height": 0,
        "name": "Direktverbrauch Jahr",
        "label": "<b> Direktverbrauch",
        "format": "{{msg.payload.DV2}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1800,
        "y": 2520,
        "wires": []
    },
    {
        "id": "e22b1e41e2ab8b9d",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "5bb1420f639cc7f6",
        "order": 12,
        "width": 0,
        "height": 0,
        "name": "Eigenverbrauch Jahr",
        "label": "<b><font color=purple> Eigenverbrauch",
        "format": "{{msg.payload.EVr2}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1800,
        "y": 2360,
        "wires": []
    },
    {
        "id": "bee7b9647040ae04",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "5bb1420f639cc7f6",
        "order": 15,
        "width": 0,
        "height": 0,
        "name": "Autarkiequote Jahr",
        "label": "<b><font color=darkgreen> Autarkiequote",
        "format": "{{msg.payload.AQ2}} %",
        "layout": "row-spread",
        "className": "",
        "x": 1790,
        "y": 2480,
        "wires": []
    },
    {
        "id": "5ed9ef7ea01e7c40",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "5bb1420f639cc7f6",
        "order": 17,
        "width": 0,
        "height": 0,
        "name": "Direktverbrauchsquote Jahr",
        "label": "<b> Direktverbrauchsquote",
        "format": "{{msg.payload.DVQ2}} %",
        "layout": "row-spread",
        "className": "",
        "x": 1820,
        "y": 2560,
        "wires": []
    },
    {
        "id": "a2cc50b67b4aba89",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "5bb1420f639cc7f6",
        "order": 13,
        "width": 0,
        "height": 0,
        "name": "Eigenverbrauchsquote Jahr",
        "label": "<b><font color=purple> Eigenverbrauchsquote",
        "format": "{{msg.payload.EVQ2}} %",
        "layout": "row-spread",
        "className": "",
        "x": 1820,
        "y": 2400,
        "wires": []
    },
    {
        "id": "999bee8444832703",
        "type": "comment",
        "z": "112d382639b7cc28",
        "name": "Erklärung",
        "info": "Eigenverbrauch = Erzeugung - Einspeisung\nEigenverbrauchsquote = Eigenverbrauch / Erzeugung\n\nEigenversorgung = Erzeugung - Akku Beladung + Akku Entladung - Einspeisung\n                = Erzeugung - Akkuverbrauch - Einspeisung\n\t\t        = Eigenverbrauch - Akkuverbrauch\n\t\t        = Direktverbrauch + Akku Entladung\nAutarkiequote \t= Eigenversorgung / Verbrauch\n\t\t        = (Erzeugung - Akkuverbrauch - Einspeisung) / Verbrauch\n\t\t        = (Eigenverbrauch - Akkuverbrauch) / Verbrauch\n\nDirektverbrauch = Erzeugung - Akku Beladung - Einspeisung\nDirektverbrauchsquote = Direktverbrauch / Erzeugung\n\nDirektverbrauch = DV\nEigenversorung  = EVo\nEigenverbrauch  = EVr",
        "x": 940,
        "y": 2200,
        "wires": []
    },
    {
        "id": "04abcae45b7ea6cb",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "cab6742689765c7e",
        "order": 14,
        "width": 0,
        "height": 0,
        "name": "Eigenversorgung heute",
        "label": "<b><font color=darkgreen> Eigenversorgung",
        "format": "{{msg.payload.EVo}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1210,
        "y": 2440,
        "wires": []
    },
    {
        "id": "bfc221d34808feb2",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "e95a7cdc52bfdb3e",
        "order": 14,
        "width": 0,
        "height": 0,
        "name": "Eigenversorgung Monat",
        "label": "<b><font color=darkgreen> Eigenversorgung",
        "format": "{{msg.payload.EVo1}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1510,
        "y": 2440,
        "wires": []
    },
    {
        "id": "a5dd0949545020a8",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "5bb1420f639cc7f6",
        "order": 14,
        "width": 0,
        "height": 0,
        "name": "Eigenversorgung Jahr",
        "label": "<b><font color=darkgreen> Eigenversorgung",
        "format": "{{msg.payload.EVo2}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1800,
        "y": 2440,
        "wires": []
    },
    {
        "id": "6925578da4c701e5",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "cab6742689765c7e",
        "order": 2,
        "width": 0,
        "height": 0,
        "name": "Erzeugung relativ heute",
        "label": "<b><font color=green> Erzeugung relativ",
        "format": "{{msg.payload.PV1_T}} kWh/kWp",
        "layout": "row-spread",
        "className": "",
        "x": 1210,
        "y": 1960,
        "wires": []
    },
    {
        "id": "bc68fcd6b92d4bb4",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "e95a7cdc52bfdb3e",
        "order": 2,
        "width": 0,
        "height": 0,
        "name": "Erzeugung relativ Monat",
        "label": "<b><font color=green> Erzeugung relativ",
        "format": "{{msg.payload.PV1_M}} kWh/kWp",
        "layout": "row-spread",
        "className": "",
        "x": 1510,
        "y": 1960,
        "wires": []
    },
    {
        "id": "e63d89027149277e",
        "type": "ui_text",
        "z": "112d382639b7cc28",
        "group": "5bb1420f639cc7f6",
        "order": 2,
        "width": 0,
        "height": 0,
        "name": "Erzeugung relativ Jahr",
        "label": "<b><font color=green> Erzeugung relativ",
        "format": "{{msg.payload.PV1_J}} kWh/kWp",
        "layout": "row-spread",
        "className": "",
        "x": 1800,
        "y": 1960,
        "wires": []
    },
    {
        "id": "bb0f2e018eb97236",
        "type": "modbus-client",
        "name": "SDM",
        "clienttype": "serial",
        "bufferCommands": true,
        "stateLogEnabled": false,
        "queueLogEnabled": false,
        "tcpHost": "127.0.0.1",
        "tcpPort": "502",
        "tcpType": "DEFAULT",
        "serialPort": "/dev/ttyUSB0",
        "serialType": "RTU-BUFFERD",
        "serialBaudrate": "9600",
        "serialDatabits": "8",
        "serialStopbits": "1",
        "serialParity": "none",
        "serialConnectionDelay": "50",
        "serialAsciiResponseStartDelimiter": "0x3A",
        "unit_id": 1,
        "commandDelay": 5,
        "clientTimeout": 1000,
        "reconnectOnTimeout": true,
        "reconnectTimeout": 5000,
        "parallelUnitIdsAllowed": false
    },
    {
        "id": "327e6b7ab2200f45",
        "type": "ui_group",
        "name": "Nibe Gesamt",
        "tab": "42d5f48c53f4de1d",
        "order": 1,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "3067ff11d319fda4",
        "type": "mqtt-broker",
        "name": "NibePi",
        "broker": "192.168.168.6",
        "port": "1883",
        "clientid": "rasperrypi4",
        "autoConnect": true,
        "usetls": false,
        "protocolVersion": "4",
        "keepalive": "60",
        "cleansession": true,
        "birthTopic": "",
        "birthQos": "0",
        "birthPayload": "",
        "birthMsg": {},
        "closeTopic": "",
        "closeQos": "0",
        "closePayload": "",
        "closeMsg": {},
        "willTopic": "",
        "willQos": "0",
        "willPayload": "",
        "willMsg": {},
        "sessionExpiry": ""
    },
    {
        "id": "9909f80f8f6639fa",
        "type": "ui_group",
        "name": "Nibe Phasen",
        "tab": "42d5f48c53f4de1d",
        "order": 2,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "28072ca3.dd5adc",
        "type": "ui_group",
        "name": "Speicher / Verbraucher",
        "tab": "cbde10df.643df8",
        "order": 2,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "9497086e9f0a109d",
        "type": "ui_group",
        "name": "SDM230",
        "tab": "69ee5cda.ec1a2c",
        "order": 3,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "bb962992173f802c",
        "type": "ui_group",
        "name": "Gesamt",
        "tab": "5e62cd34044d4a77",
        "order": 1,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "b96243a644a83d95",
        "type": "ui_group",
        "name": "Phasen",
        "tab": "5e62cd34044d4a77",
        "order": 2,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "e3b838f7.b1f5b",
        "type": "ui_group",
        "name": "Erzeugung / Hausanschluss",
        "tab": "cbde10df.643df8",
        "order": 1,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "5ffe83dfafbda464",
        "type": "ui_group",
        "name": "Blindleistung",
        "tab": "5e62cd34044d4a77",
        "order": 3,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "72e5611c.85f388",
        "type": "influxdb",
        "hostname": "127.0.0.1",
        "port": "8086",
        "protocol": "http",
        "database": "db",
        "name": "InfluxDB",
        "usetls": false,
        "tls": "",
        "influxdbVersion": "1.x",
        "url": "http://localhost:8086",
        "rejectUnauthorized": false
    },
    {
        "id": "d1369cc14791a2de",
        "type": "mqtt-broker",
        "name": "openWB",
        "broker": "192.168.168.51",
        "port": "1883",
        "clientid": "",
        "autoConnect": true,
        "usetls": false,
        "protocolVersion": "4",
        "keepalive": "60",
        "cleansession": true,
        "birthTopic": "",
        "birthQos": "0",
        "birthPayload": "",
        "birthMsg": {},
        "closeTopic": "",
        "closeQos": "0",
        "closePayload": "",
        "closeMsg": {},
        "willTopic": "",
        "willQos": "0",
        "willPayload": "",
        "willMsg": {},
        "sessionExpiry": ""
    },
    {
        "id": "6dc3a07e.4ef428",
        "type": "ui_group",
        "name": "Wechselrichter / BYD",
        "tab": "c913c93a.05c5a",
        "order": 1,
        "disp": true,
        "width": "6",
        "collapse": false
    },
    {
        "id": "9131d5df74b61114",
        "type": "ui_group",
        "name": "SDM72",
        "tab": "9792939834cdd925",
        "order": 2,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "bd2545e77e4ee7ee",
        "type": "ui_group",
        "name": "Gesamt",
        "tab": "1160710e.823717",
        "order": 1,
        "disp": true,
        "width": "5",
        "collapse": false,
        "className": ""
    },
    {
        "id": "cab6742689765c7e",
        "type": "ui_group",
        "name": "Heute",
        "tab": "2e2a9d097480c938",
        "order": 1,
        "disp": true,
        "width": 6,
        "collapse": false,
        "className": ""
    },
    {
        "id": "e95a7cdc52bfdb3e",
        "type": "ui_group",
        "name": "Monat",
        "tab": "2e2a9d097480c938",
        "order": 2,
        "disp": true,
        "width": 6,
        "collapse": false,
        "className": ""
    },
    {
        "id": "5bb1420f639cc7f6",
        "type": "ui_group",
        "name": "Jahr",
        "tab": "2e2a9d097480c938",
        "order": 3,
        "disp": true,
        "width": 6,
        "collapse": false,
        "className": ""
    },
    {
        "id": "42d5f48c53f4de1d",
        "type": "ui_tab",
        "name": "Wärmepumpe",
        "icon": "fa-thermometer-empty",
        "order": 7,
        "disabled": false,
        "hidden": false
    },
    {
        "id": "cbde10df.643df8",
        "type": "ui_tab",
        "name": "Übersicht",
        "icon": "fa-eercast ",
        "order": 1,
        "disabled": false,
        "hidden": false
    },
    {
        "id": "69ee5cda.ec1a2c",
        "type": "ui_tab",
        "name": "Speicher",
        "icon": "battery_50",
        "order": 5,
        "disabled": false,
        "hidden": false
    },
    {
        "id": "5e62cd34044d4a77",
        "type": "ui_tab",
        "name": "Photovoltaik",
        "icon": "mi-wb_sunny",
        "order": 3,
        "disabled": false,
        "hidden": false
    },
    {
        "id": "c913c93a.05c5a",
        "type": "ui_tab",
        "name": "Tageswerte",
        "icon": "mi-insights",
        "order": 10,
        "disabled": false,
        "hidden": false
    },
    {
        "id": "9792939834cdd925",
        "type": "ui_tab",
        "name": "go-e",
        "icon": "ev_station",
        "order": 9,
        "disabled": false,
        "hidden": false
    },
    {
        "id": "1160710e.823717",
        "type": "ui_tab",
        "name": "Hausanschluss",
        "icon": "fa-bolt ",
        "order": 2,
        "disabled": false,
        "hidden": false
    },
    {
        "id": "2e2a9d097480c938",
        "type": "ui_tab",
        "name": "Zählerauswertung",
        "icon": "assessment",
        "order": 11,
        "disabled": false,
        "hidden": false
    }
]