[
    {
        "id": "2127eb3c.6814d4",
        "type": "tab",
        "label": "SolarEdge",
        "disabled": false,
        "info": ""
    },
    {
        "id": "4b847dc3.be22c4",
        "type": "modbus-getter",
        "z": "2127eb3c.6814d4",
        "name": "40071 - 40107",
        "showStatusActivities": true,
        "showErrors": true,
        "showWarnings": true,
        "logIOActivities": false,
        "unitid": "1",
        "dataType": "HoldingRegister",
        "adr": "40071",
        "quantity": "37",
        "server": "c92ba865.93cb78",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "delayOnStart": false,
        "startDelayTime": "",
        "x": 120,
        "y": 100,
        "wires": [
            [
                "7a31131f.01636c"
            ],
            [
                "8baa2487.7d8968"
            ]
        ]
    },
    {
        "id": "7a31131f.01636c",
        "type": "buffer-parser",
        "z": "2127eb3c.6814d4",
        "name": "SolarEdge",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "uint16be",
                "name": "I",
                "offset": 0,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "uint16be",
                "name": "I1",
                "offset": 2,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "uint16be",
                "name": "I2",
                "offset": 4,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "uint16be",
                "name": "I3",
                "offset": 6,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "Is",
                "offset": 8,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "uint16be",
                "name": "U12",
                "offset": 10,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "uint16be",
                "name": "U23",
                "offset": 12,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "uint16be",
                "name": "U31",
                "offset": 14,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "uint16be",
                "name": "U1",
                "offset": 16,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "uint16be",
                "name": "U2",
                "offset": 18,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "uint16be",
                "name": "U3",
                "offset": 20,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "Us",
                "offset": 22,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "PAC",
                "offset": 24,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "PACs",
                "offset": 26,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "uint16be",
                "name": "Hz",
                "offset": 28,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "Hzs",
                "offset": 30,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "VA",
                "offset": 32,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "VAs",
                "offset": 34,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "Q",
                "offset": 36,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "Qs",
                "offset": 38,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "PF",
                "offset": 40,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "PFs",
                "offset": 42,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "uint32be",
                "name": "W",
                "offset": 44,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "uint16be",
                "name": "Ws",
                "offset": 48,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "uint16be",
                "name": "IDC",
                "offset": 50,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "IDCs",
                "offset": 52,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "uint16be",
                "name": "UDC",
                "offset": 54,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "UDCs",
                "offset": 56,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "PDC",
                "offset": 58,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "PDCs",
                "offset": 60,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "Temp",
                "offset": 64,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "Temps",
                "offset": 70,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "uint16be",
                "name": "Status",
                "offset": 72,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "keyvalue",
        "resultTypeType": "output",
        "multipleResult": false,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 330,
        "y": 100,
        "wires": [
            [
                "8eda99f7daa9122f"
            ]
        ]
    },
    {
        "id": "ad1404c5.aaf398",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "f7b812c8.ec053",
        "order": 1,
        "width": 0,
        "height": 0,
        "name": "Leistung AC",
        "label": "<b> Leistung AC",
        "format": "{{msg.payload.PAC}} W",
        "layout": "row-spread",
        "className": "",
        "x": 750,
        "y": 60,
        "wires": []
    },
    {
        "id": "8baa2487.7d8968",
        "type": "modbus-getter",
        "z": "2127eb3c.6814d4",
        "name": "40190 - 40242",
        "showStatusActivities": false,
        "showErrors": false,
        "showWarnings": true,
        "logIOActivities": false,
        "unitid": "1",
        "dataType": "HoldingRegister",
        "adr": "40190",
        "quantity": "54",
        "server": "c92ba865.93cb78",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "delayOnStart": false,
        "startDelayTime": "",
        "x": 120,
        "y": 260,
        "wires": [
            [
                "de496517ca8f67c6"
            ],
            [
                "ca92898dfc90ed2e"
            ]
        ]
    },
    {
        "id": "24c741da.df716e",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "aa73ad85.5f98c",
        "order": 2,
        "width": 0,
        "height": 0,
        "name": "Leistung gesamt",
        "label": "<b> Leistung",
        "format": "{{msg.payload.P}} W",
        "layout": "row-spread",
        "className": "",
        "x": 770,
        "y": 220,
        "wires": []
    },
    {
        "id": "5c52c195.e8155",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "b7f92209.4b9ae",
        "order": 1,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Leistung L1",
        "format": "{{msg.payload.P1}} W",
        "layout": "row-spread",
        "className": "",
        "x": 1030,
        "y": 220,
        "wires": []
    },
    {
        "id": "dc730127.c3f32",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "b7f92209.4b9ae",
        "order": 2,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Leistung L2",
        "format": "{{msg.payload.P2}} W",
        "layout": "row-spread",
        "className": "",
        "x": 1030,
        "y": 260,
        "wires": []
    },
    {
        "id": "f1f782e3.ba0d6",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "b7f92209.4b9ae",
        "order": 3,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Leistung L3",
        "format": "{{msg.payload.P3}} W",
        "layout": "row-spread",
        "className": "",
        "x": 1030,
        "y": 300,
        "wires": []
    },
    {
        "id": "4d083e9d.662f",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "b7f92209.4b9ae",
        "order": 7,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Strom L1",
        "format": "{{msg.payload.I1}} A",
        "layout": "row-spread",
        "className": "",
        "x": 1020,
        "y": 460,
        "wires": []
    },
    {
        "id": "2db805ab.5260fa",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "b7f92209.4b9ae",
        "order": 8,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Strom L2",
        "format": "{{msg.payload.I2}} A",
        "layout": "row-spread",
        "className": "",
        "x": 1020,
        "y": 500,
        "wires": []
    },
    {
        "id": "19cd1999.1ad9a6",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "b7f92209.4b9ae",
        "order": 9,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Strom L3",
        "format": "{{msg.payload.I3}} A",
        "layout": "row-spread",
        "className": "",
        "x": 1020,
        "y": 540,
        "wires": []
    },
    {
        "id": "bdd904c1.172508",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "b7f92209.4b9ae",
        "order": 4,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Spannung L1",
        "format": "{{msg.payload.U1}} V",
        "layout": "row-spread",
        "className": "",
        "x": 1040,
        "y": 340,
        "wires": []
    },
    {
        "id": "a2343877.49dc28",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "b7f92209.4b9ae",
        "order": 6,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Spannung L3",
        "format": "{{msg.payload.U3}} V",
        "layout": "row-spread",
        "className": "",
        "x": 1040,
        "y": 420,
        "wires": []
    },
    {
        "id": "b5da9954.b979d8",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "b7f92209.4b9ae",
        "order": 5,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Spannung L2",
        "format": "{{msg.payload.U2}} V",
        "layout": "row-spread",
        "className": "",
        "x": 1040,
        "y": 380,
        "wires": []
    },
    {
        "id": "c9bb3ae3.00b3c8",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "f7b812c8.ec053",
        "order": 3,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Spannung DC",
        "format": "{{msg.payload.UDC}} V",
        "layout": "row-spread",
        "className": "",
        "x": 760,
        "y": 140,
        "wires": []
    },
    {
        "id": "668e64a7.e4191c",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "f7b812c8.ec053",
        "order": 4,
        "width": 0,
        "height": 0,
        "name": "Strom DC",
        "label": "Strom DC",
        "format": "{{msg.payload.IDC}} A",
        "layout": "row-spread",
        "className": "",
        "x": 740,
        "y": 180,
        "wires": []
    },
    {
        "id": "af5050b8.104d7",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "f7b812c8.ec053",
        "order": 2,
        "width": 0,
        "height": 0,
        "name": "Leistung DC",
        "label": "<b><font color=orange> Leistung DC ",
        "format": "{{msg.payload.PDC}} W",
        "layout": "row-spread",
        "className": "",
        "x": 750,
        "y": 100,
        "wires": []
    },
    {
        "id": "c318e8df.7928d8",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "f7b812c8.ec053",
        "order": 5,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Wirkungsgrad",
        "format": "{{msg.payload.Wirk}} %",
        "layout": "row-spread",
        "className": "",
        "x": 1040,
        "y": 60,
        "wires": []
    },
    {
        "id": "c3f47e1a.a03eb",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "aa73ad85.5f98c",
        "order": 3,
        "width": 0,
        "height": 0,
        "name": "Verbrauch",
        "label": "<b><font color=darkred> Verbrauch",
        "format": "{{msg.payload.V}} W",
        "layout": "row-spread",
        "className": "",
        "x": 1310,
        "y": 760,
        "wires": []
    },
    {
        "id": "a15fdac9.d66208",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "aa73ad85.5f98c",
        "order": 6,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Frequenz",
        "format": "{{msg.payload.Hz}} Hz",
        "layout": "row-spread",
        "className": "",
        "x": 740,
        "y": 340,
        "wires": []
    },
    {
        "id": "647e24db.811f0c",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "aa73ad85.5f98c",
        "order": 4,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Blindleistung",
        "format": "{{msg.payload.Q}} var",
        "layout": "row-spread",
        "className": "",
        "x": 750,
        "y": 260,
        "wires": []
    },
    {
        "id": "9afd89d4.777a18",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "aa73ad85.5f98c",
        "order": 5,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Power Faktor",
        "format": "{{msg.payload.PF}}",
        "layout": "row-spread",
        "className": "",
        "x": 760,
        "y": 300,
        "wires": []
    },
    {
        "id": "56f2e798fa38db05",
        "type": "inject",
        "z": "2127eb3c.6814d4",
        "name": "5s",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "5",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "Hauptschalter",
        "payloadType": "flow",
        "x": 90,
        "y": 20,
        "wires": [
            [
                "e1c6b84df0da574c"
            ]
        ]
    },
    {
        "id": "91366be6039bbe84",
        "type": "debug",
        "z": "2127eb3c.6814d4",
        "name": "Solaredge",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 510,
        "y": 60,
        "wires": []
    },
    {
        "id": "8eda99f7daa9122f",
        "type": "function",
        "z": "2127eb3c.6814d4",
        "name": "Ausgabe",
        "func": "let I1 = msg.payload.I1 * Math.pow(10, msg.payload.Is);\nI1 = parseFloat(I1.toFixed(2));\nlet I2 = msg.payload.I2 * Math.pow(10, msg.payload.Is);\nI2 = parseFloat(I2.toFixed(2));\nlet I3 = msg.payload.I3 * Math.pow(10, msg.payload.Is);\nI3 = parseFloat(I3.toFixed(2));\nlet U1 = msg.payload.U1 * Math.pow(10, msg.payload.Us);\nU1 = parseFloat(U1.toFixed(1));\nlet U2 = msg.payload.U2 * Math.pow(10, msg.payload.Us);\nU2 = parseFloat(U2.toFixed(1));\nlet U3 = msg.payload.U3 * Math.pow(10, msg.payload.Us);\nU3 = parseFloat(U3.toFixed(1));\nlet PAC = msg.payload.PAC * Math.pow(10, msg.payload.PACs);\nPAC = Math.round(PAC);\nlet Hz = msg.payload.Hz * Math.pow(10, msg.payload.Hzs);\nHz = parseFloat(Hz.toFixed(2));\nlet Q = msg.payload.Q * Math.pow(10, msg.payload.Qs);\nQ = Math.round(Q);\nlet PF = msg.payload.PF * Math.pow(10, msg.payload.PFs);\nPF = parseFloat((PF/100).toFixed(2));\nlet W = msg.payload.W * Math.pow(10, msg.payload.Ws);\nlet W2 = Math.round(W);\nW = parseFloat((W/1000).toFixed(2));\nlet IDC = msg.payload.IDC * Math.pow(10, msg.payload.IDCs);\nIDC = parseFloat(IDC.toFixed(2));\nlet UDC = msg.payload.UDC * Math.pow(10, msg.payload.UDCs);\nUDC = parseFloat(UDC.toFixed(1));\nlet PDC = msg.payload.PDC * Math.pow(10, msg.payload.PDCs);\nPDC = Math.round(PDC);\nlet Temp = msg.payload.Temp * Math.pow(10, msg.payload.Temps);\nTemp = Math.round(Temp);\nlet Status = msg.payload.Status;\nlet Wirk = (PAC/PDC)*100;\nWirk = parseFloat(Wirk.toFixed(2));\nmsg.payload = {I1,I2,I3,U1,U2,U3,PAC,Hz,Q,PF,W,W2,IDC,UDC,PDC,Temp,Status,Wirk};\nmsg.topic = \"Solaredge\";\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 500,
        "y": 100,
        "wires": [
            [
                "91366be6039bbe84",
                "5c2a45b565a7b686",
                "ad1404c5.aaf398",
                "af5050b8.104d7",
                "c9bb3ae3.00b3c8",
                "668e64a7.e4191c"
            ]
        ]
    },
    {
        "id": "9e4da4eabb242e2d",
        "type": "debug",
        "z": "2127eb3c.6814d4",
        "name": "Gridmeter",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 500,
        "y": 220,
        "wires": []
    },
    {
        "id": "de496517ca8f67c6",
        "type": "buffer-parser",
        "z": "2127eb3c.6814d4",
        "name": "Grid Meter",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "int16be",
                "name": "I",
                "offset": 0,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "I1",
                "offset": 2,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "I2",
                "offset": 4,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "I3",
                "offset": 6,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "Is",
                "offset": 8,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "U1",
                "offset": 12,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "U2",
                "offset": 14,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "U3",
                "offset": 16,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "Us",
                "offset": 26,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "Hz",
                "offset": 28,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "Hzs",
                "offset": 30,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "P",
                "offset": 32,
                "length": 1,
                "offsetbit": 0,
                "scale": "-1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "P1",
                "offset": 34,
                "length": 1,
                "offsetbit": 0,
                "scale": "-1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "P2",
                "offset": 36,
                "length": 1,
                "offsetbit": 0,
                "scale": "-1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "P3",
                "offset": 38,
                "length": 1,
                "offsetbit": 0,
                "scale": "-1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "Ps",
                "offset": 40,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "Q",
                "offset": 52,
                "length": 1,
                "offsetbit": 0,
                "scale": "-1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "Q1",
                "offset": 54,
                "length": 1,
                "offsetbit": 0,
                "scale": "-1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "Q2",
                "offset": 56,
                "length": 1,
                "offsetbit": 0,
                "scale": "-1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "Q3",
                "offset": 58,
                "length": 1,
                "offsetbit": 0,
                "scale": "-1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "Qs",
                "offset": 60,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "PF",
                "offset": 62,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "PF1",
                "offset": 64,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "PF2",
                "offset": 66,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "PF3",
                "offset": 68,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "PFs",
                "offset": 70,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "uint32be",
                "name": "Wexp",
                "offset": 72,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "uint32be",
                "name": "W1exp",
                "offset": 76,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "uint32be",
                "name": "W2exp",
                "offset": 80,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "uint32be",
                "name": "W3exp",
                "offset": 84,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "uint32be",
                "name": "Wimp",
                "offset": 88,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "uint32be",
                "name": "W1imp",
                "offset": 92,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "uint32be",
                "name": "W2imp",
                "offset": 96,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "uint32be",
                "name": "W3imp",
                "offset": 100,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "int16be",
                "name": "Ws",
                "offset": 104,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "keyvalue",
        "resultTypeType": "output",
        "multipleResult": false,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 330,
        "y": 260,
        "wires": [
            [
                "a0b9d78b4e760c9e"
            ]
        ]
    },
    {
        "id": "a0b9d78b4e760c9e",
        "type": "function",
        "z": "2127eb3c.6814d4",
        "name": "Ausgabe",
        "func": "let I1 = msg.payload.I1 * Math.pow(10, msg.payload.Is);\nlet I2 = msg.payload.I2 * Math.pow(10, msg.payload.Is);\nlet I3 = msg.payload.I3 * Math.pow(10, msg.payload.Is);\nlet U1 = msg.payload.U1 * Math.pow(10, msg.payload.Us);\nU1 = parseFloat(U1.toFixed(1));\nlet U2 = msg.payload.U2 * Math.pow(10, msg.payload.Us);\nU2 = parseFloat(U2.toFixed(1));\nlet U3 = msg.payload.U3 * Math.pow(10, msg.payload.Us);\nU3 = parseFloat(U3.toFixed(1));\nlet Hz = msg.payload.Hz * Math.pow(10, msg.payload.Hzs);\nHz = parseFloat(Hz.toFixed(2));\nlet P = msg.payload.P * Math.pow(10, msg.payload.Ps);\nP = Math.round(P);\nlet Einsp;\nlet Bezug;\nif (P > 0) {\n    Bezug = P;\n    Einsp = 0;\n} \nelse {\n    Bezug = 0;\n    Einsp = P *-1;\n}\nlet P1 = msg.payload.P1 * Math.pow(10, msg.payload.Ps);\nP1 = Math.round(P1);\nlet P2 = msg.payload.P2 * Math.pow(10, msg.payload.Ps);\nP2 = Math.round(P2);\nlet P3 = msg.payload.P3 * Math.pow(10, msg.payload.Ps);\nP3 = Math.round(P3);\nlet Q = msg.payload.Q * Math.pow(10, msg.payload.Qs);\nQ = Math.round(Q);\nlet Q1 = msg.payload.Q1 * Math.pow(10, msg.payload.Qs);\nQ1 = Math.round(Q1);\nlet Q2 = msg.payload.Q2 * Math.pow(10, msg.payload.Qs);\nQ2 = Math.round(Q2);\nlet Q3 = msg.payload.Q3 * Math.pow(10, msg.payload.Qs);\nQ3 = Math.round(Q3);\nlet PF = msg.payload.PF * Math.pow(10, msg.payload.PFs);\nPF = parseFloat((PF/100).toFixed(2));\nlet PF1 = msg.payload.PF1 * Math.pow(10, msg.payload.PFs);\nPF1 = parseFloat((PF1/100).toFixed(2));\nlet PF2 = msg.payload.PF2 * Math.pow(10, msg.payload.PFs);\nPF2 = parseFloat((PF2/100).toFixed(2));\nlet PF3 = msg.payload.PF3 * Math.pow(10, msg.payload.PFs);\nPF3 = parseFloat((PF3/100).toFixed(2));\nlet Wexp = msg.payload.Wexp * Math.pow(10, msg.payload.Ws);\nlet Wexp2 = Math.round(Wexp);\nWexp = parseFloat((Wexp/1000).toFixed(2));\nlet W1exp = msg.payload.W1exp * Math.pow(10, msg.payload.Ws);\nW1exp = parseFloat((W1exp/1000).toFixed(2));\nlet W2exp = msg.payload.W2exp * Math.pow(10, msg.payload.Ws);\nW2exp = parseFloat((W2exp/1000).toFixed(2));\nlet W3exp = msg.payload.W3exp * Math.pow(10, msg.payload.Ws);\nW3exp = parseFloat((W3exp/1000).toFixed(2));\nlet Wimp = msg.payload.Wimp * Math.pow(10, msg.payload.Ws);\nlet Wimp2 = Math.round(Wimp);\nWimp = parseFloat((Wimp/1000).toFixed(2));\nlet W1imp = msg.payload.W1imp * Math.pow(10, msg.payload.Ws);\nW1imp = parseFloat((W1imp/1000).toFixed(2));\nlet W2imp = msg.payload.W2imp * Math.pow(10, msg.payload.Ws);\nW2imp = parseFloat((W2imp/1000).toFixed(2));\nlet W3imp = msg.payload.W3imp * Math.pow(10, msg.payload.Ws);\nW3imp = parseFloat((W3imp/1000).toFixed(2));\n// Ströme mit Vorzeichen\nif (P1 < 0) {\n    I1 = I1 *-1;\n} else {\n    I1 = I1;\n}\nif (P2 < 0) {\n    I2 = I2 *-1;\n} else {\n    I2 = I2;\n}\nif (P3 < 0) {\n    I3 = I3 *-1;\n} else {\n    I3 = I3;\n}\nI1 = parseFloat(I1.toFixed(2));\nI2 = parseFloat(I2.toFixed(2));\nI3 = parseFloat(I3.toFixed(2));\nmsg.payload = {I1,I2,I3,U1,U2,U3,Hz,P,Einsp,Bezug,P1,P2,P3,Q,Q1,Q2,Q3,PF,PF1,PF2,PF3,Wexp,Wexp2,W1exp,W2exp,W3exp,Wimp,Wimp2,W1imp,W2imp,W3imp};\nmsg.topic = \"Gridmeter\";\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 500,
        "y": 260,
        "wires": [
            [
                "9e4da4eabb242e2d",
                "aea56269c8ad2fba",
                "24c741da.df716e",
                "a15fdac9.d66208",
                "647e24db.811f0c",
                "9afd89d4.777a18",
                "c876584a4b8c95fb"
            ]
        ]
    },
    {
        "id": "ecb48f11f67f0279",
        "type": "modbus-getter",
        "z": "2127eb3c.6814d4",
        "name": "57708 - 57733",
        "showStatusActivities": false,
        "showErrors": false,
        "showWarnings": true,
        "logIOActivities": false,
        "unitid": "1",
        "dataType": "HoldingRegister",
        "adr": "57708",
        "quantity": "26",
        "server": "c92ba865.93cb78",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "delayOnStart": false,
        "startDelayTime": "",
        "x": 120,
        "y": 560,
        "wires": [
            [
                "0bb70702601fb570"
            ],
            [
                "b2308f12095a82fa"
            ]
        ]
    },
    {
        "id": "0bb70702601fb570",
        "type": "buffer-parser",
        "z": "2127eb3c.6814d4",
        "name": "Batterie",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "floatle",
                "name": "Temp",
                "offset": 0,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatle",
                "name": "UDC",
                "offset": 8,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatle",
                "name": "IDC",
                "offset": 12,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatle",
                "name": "PDC",
                "offset": 16,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "biguint64le",
                "name": "Wexp",
                "offset": 20,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "biguint64le",
                "name": "Wimp",
                "offset": 28,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatle",
                "name": "SoC",
                "offset": 48,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "swap16",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "keyvalue",
        "resultTypeType": "return",
        "multipleResult": false,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 320,
        "y": 560,
        "wires": [
            [
                "644986ce0a4af781"
            ]
        ]
    },
    {
        "id": "5161a6ab602e0fc4",
        "type": "debug",
        "z": "2127eb3c.6814d4",
        "name": "Control",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 500,
        "y": 480,
        "wires": []
    },
    {
        "id": "ca92898dfc90ed2e",
        "type": "modbus-getter",
        "z": "2127eb3c.6814d4",
        "name": "57348 - 57361",
        "showStatusActivities": false,
        "showErrors": false,
        "showWarnings": true,
        "logIOActivities": false,
        "unitid": "1",
        "dataType": "HoldingRegister",
        "adr": "57348",
        "quantity": "14",
        "server": "c92ba865.93cb78",
        "useIOFile": false,
        "ioFile": "",
        "useIOForPayload": false,
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "delayOnStart": false,
        "startDelayTime": "",
        "x": 120,
        "y": 400,
        "wires": [
            [
                "6496c7324600d320",
                "a9fb285258d23e24"
            ],
            [
                "ecb48f11f67f0279"
            ]
        ]
    },
    {
        "id": "6496c7324600d320",
        "type": "buffer-parser",
        "z": "2127eb3c.6814d4",
        "name": "Power Control",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "uint16be",
                "name": "Storage_Control_Mode",
                "offset": 0,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "uint16be",
                "name": "Storage_AC_Charge_Policy",
                "offset": 2,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "uint16be",
                "name": "Storage_Default_Mode",
                "offset": 12,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "uint16be",
                "name": "RC_Command_Mode",
                "offset": 18,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "keyvalue",
        "resultTypeType": "return",
        "multipleResult": false,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 340,
        "y": 380,
        "wires": [
            [
                "5161a6ab602e0fc4",
                "d18176c4bb143fec"
            ]
        ]
    },
    {
        "id": "a9fb285258d23e24",
        "type": "buffer-parser",
        "z": "2127eb3c.6814d4",
        "name": "Power Control",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "floatle",
                "name": "Storage_AC_Limit",
                "offset": 4,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatle",
                "name": "Storage_Backup_Res",
                "offset": 8,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "uint32le",
                "name": "RC_Timeout",
                "offset": 14,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatle",
                "name": "RC_Charge_Limit",
                "offset": 20,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            },
            {
                "type": "floatle",
                "name": "RC_Discharge_Limit",
                "offset": 24,
                "length": 1,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "swap16",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "keyvalue",
        "resultTypeType": "return",
        "multipleResult": false,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 340,
        "y": 420,
        "wires": [
            [
                "5161a6ab602e0fc4",
                "d6dfcae479e17e13"
            ]
        ]
    },
    {
        "id": "83a36efe6598ee3b",
        "type": "debug",
        "z": "2127eb3c.6814d4",
        "name": "Batterie",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 500,
        "y": 520,
        "wires": []
    },
    {
        "id": "644986ce0a4af781",
        "type": "function",
        "z": "2127eb3c.6814d4",
        "name": "Batterie",
        "func": "let Temp = msg.payload.Temp;\nlet UDC = Math.round(msg.payload.UDC);\nlet IDC = parseFloat(msg.payload.IDC.toFixed(2));\nlet PDC = msg.payload.PDC;\nlet Bel;\nlet Ent;\nif (PDC > 0) {\n    Bel = PDC;\n    Ent = 0;\n} else {\n    Ent = PDC *-1;\n    Bel = 0;\n}\nlet Wexp = Number(msg.payload.Wexp)/1000;\nlet Wimp = Number(msg.payload.Wimp)/1000;\nlet SoC = msg.payload.SoC;\nmsg.payload = {Temp,UDC,IDC,PDC,Bel,Ent,Wexp,Wimp,SoC};\nmsg.topic = \"Batterie\";\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 500,
        "y": 560,
        "wires": [
            [
                "83a36efe6598ee3b",
                "571f59261b753bc3",
                "380645314ef0c1aa",
                "aa848bda112bc60b",
                "15c8bdfb165f8039",
                "3c23811d2900768e",
                "400565c5cad1217a",
                "cb297b1e6cc7bf31",
                "8e60557d8a39dbf2"
            ]
        ]
    },
    {
        "id": "c78b17308a57e51a",
        "type": "mqtt out",
        "z": "2127eb3c.6814d4",
        "name": "Strom L2",
        "topic": "openWB/set/evu/APhase2",
        "qos": "0",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "d1369cc14791a2de",
        "x": 320,
        "y": 1080,
        "wires": []
    },
    {
        "id": "e4d55f0f1b537d52",
        "type": "mqtt out",
        "z": "2127eb3c.6814d4",
        "name": "Strom L3",
        "topic": "openWB/set/evu/APhase3",
        "qos": "0",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "d1369cc14791a2de",
        "x": 320,
        "y": 1140,
        "wires": []
    },
    {
        "id": "0941e47dfd2b1ae0",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "I L2",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.I2",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 170,
        "y": 1080,
        "wires": [
            [
                "c78b17308a57e51a"
            ]
        ]
    },
    {
        "id": "82f7ee1e368ab8f7",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "I L3",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.I3",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 170,
        "y": 1140,
        "wires": [
            [
                "e4d55f0f1b537d52"
            ]
        ]
    },
    {
        "id": "dc51bdeddba52baf",
        "type": "mqtt out",
        "z": "2127eb3c.6814d4",
        "name": "Bezogene Energie in Wh",
        "topic": "openWB/set/evu/WhImported",
        "qos": "0",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "d1369cc14791a2de",
        "x": 370,
        "y": 1620,
        "wires": []
    },
    {
        "id": "718ebd8162de0e76",
        "type": "mqtt out",
        "z": "2127eb3c.6814d4",
        "name": "Eingespeiste Energie in Wh",
        "topic": "openWB/set/evu/WhExported",
        "qos": "0",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "d1369cc14791a2de",
        "x": 380,
        "y": 1680,
        "wires": []
    },
    {
        "id": "b4caa3281ec39a1e",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "W Bezug",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.Wimp2",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 180,
        "y": 1620,
        "wires": [
            [
                "dc51bdeddba52baf"
            ]
        ]
    },
    {
        "id": "e0cc9585588ab29e",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "W Einsp",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.Wexp2",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 180,
        "y": 1680,
        "wires": [
            [
                "718ebd8162de0e76"
            ]
        ]
    },
    {
        "id": "ecdeb310366ddb58",
        "type": "mqtt out",
        "z": "2127eb3c.6814d4",
        "name": "Spannung L1",
        "topic": "openWB/set/evu/VPhase1",
        "qos": "0",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "d1369cc14791a2de",
        "x": 340,
        "y": 1200,
        "wires": []
    },
    {
        "id": "17ee85d34a8a3823",
        "type": "mqtt out",
        "z": "2127eb3c.6814d4",
        "name": "Spannung L2",
        "topic": "openWB/set/evu/VPhase2",
        "qos": "0",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "d1369cc14791a2de",
        "x": 340,
        "y": 1260,
        "wires": []
    },
    {
        "id": "97bc1c1d40c7d49d",
        "type": "mqtt out",
        "z": "2127eb3c.6814d4",
        "name": "Spannung L3",
        "topic": "openWB/set/evu/VPhase3",
        "qos": "0",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "d1369cc14791a2de",
        "x": 340,
        "y": 1320,
        "wires": []
    },
    {
        "id": "8d8825484130fb79",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "U L1",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.U1",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 170,
        "y": 1200,
        "wires": [
            [
                "ecdeb310366ddb58"
            ]
        ]
    },
    {
        "id": "02f331bc84d51997",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "U L2",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.U2",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 170,
        "y": 1260,
        "wires": [
            [
                "17ee85d34a8a3823"
            ]
        ]
    },
    {
        "id": "08a20444e8ddff72",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "U L3",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.U3",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 170,
        "y": 1320,
        "wires": [
            [
                "97bc1c1d40c7d49d"
            ]
        ]
    },
    {
        "id": "185c8682f5c99586",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "Hz",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.Hz",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 170,
        "y": 1380,
        "wires": [
            [
                "764780e0cd8deed0"
            ]
        ]
    },
    {
        "id": "764780e0cd8deed0",
        "type": "mqtt out",
        "z": "2127eb3c.6814d4",
        "name": "Frequenz",
        "topic": "openWB/set/evu/HzFrequenz",
        "qos": "0",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "d1369cc14791a2de",
        "x": 320,
        "y": 1380,
        "wires": []
    },
    {
        "id": "807926396419df98",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "PF1",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.PF1",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 170,
        "y": 1440,
        "wires": [
            [
                "260d44de1b37d8c7"
            ]
        ]
    },
    {
        "id": "260d44de1b37d8c7",
        "type": "mqtt out",
        "z": "2127eb3c.6814d4",
        "name": "PF 1",
        "topic": "openWB/set/evu/PfPhase1",
        "qos": "0",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "d1369cc14791a2de",
        "x": 310,
        "y": 1440,
        "wires": []
    },
    {
        "id": "38279dd63a5169d4",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "PF2",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.PF2",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 170,
        "y": 1500,
        "wires": [
            [
                "134272f87364c89c"
            ]
        ]
    },
    {
        "id": "134272f87364c89c",
        "type": "mqtt out",
        "z": "2127eb3c.6814d4",
        "name": "PF 2",
        "topic": "openWB/set/evu/PfPhase2",
        "qos": "0",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "d1369cc14791a2de",
        "x": 310,
        "y": 1500,
        "wires": []
    },
    {
        "id": "dafb43d7f097cb87",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "PF3",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.PF3",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 170,
        "y": 1560,
        "wires": [
            [
                "581ec04e6ed33efb"
            ]
        ]
    },
    {
        "id": "581ec04e6ed33efb",
        "type": "mqtt out",
        "z": "2127eb3c.6814d4",
        "name": "PF 3",
        "topic": "openWB/set/evu/PfPhase3",
        "qos": "0",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "d1369cc14791a2de",
        "x": 310,
        "y": 1560,
        "wires": []
    },
    {
        "id": "6649fcadf54f90a8",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "I L1",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.I1",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 170,
        "y": 1020,
        "wires": [
            [
                "92a46e3c400a2c08"
            ]
        ]
    },
    {
        "id": "92a46e3c400a2c08",
        "type": "mqtt out",
        "z": "2127eb3c.6814d4",
        "name": "Strom L1",
        "topic": "openWB/set/evu/APhase1",
        "qos": "0",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "d1369cc14791a2de",
        "x": 320,
        "y": 1020,
        "wires": []
    },
    {
        "id": "88eb277976ca8d30",
        "type": "mqtt out",
        "z": "2127eb3c.6814d4",
        "name": "Bezugsleistung L3",
        "topic": "openWB/set/evu/WPhase3",
        "qos": "0",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "d1369cc14791a2de",
        "x": 350,
        "y": 960,
        "wires": []
    },
    {
        "id": "ab091e5463e81b2e",
        "type": "mqtt out",
        "z": "2127eb3c.6814d4",
        "name": "Bezugsleistung L2",
        "topic": "openWB/set/evu/WPhase2",
        "qos": "0",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "d1369cc14791a2de",
        "x": 350,
        "y": 900,
        "wires": []
    },
    {
        "id": "4e01e0ddfdc90b2b",
        "type": "mqtt out",
        "z": "2127eb3c.6814d4",
        "name": "Bezugsleistung L1",
        "topic": "openWB/set/evu/WPhase1",
        "qos": "0",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "d1369cc14791a2de",
        "x": 350,
        "y": 840,
        "wires": []
    },
    {
        "id": "50cd715bd0d6434e",
        "type": "mqtt out",
        "z": "2127eb3c.6814d4",
        "name": "Bezugsleistung",
        "topic": "openWB/set/evu/W",
        "qos": "0",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "d1369cc14791a2de",
        "x": 340,
        "y": 780,
        "wires": []
    },
    {
        "id": "d911a50905654ebc",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "P",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.P",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 170,
        "y": 780,
        "wires": [
            [
                "50cd715bd0d6434e"
            ]
        ]
    },
    {
        "id": "0e947ab53d79b8ba",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "P1",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.P1",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 170,
        "y": 840,
        "wires": [
            [
                "4e01e0ddfdc90b2b"
            ]
        ]
    },
    {
        "id": "580854558e02799e",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "P2",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.P2",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 170,
        "y": 900,
        "wires": [
            [
                "ab091e5463e81b2e"
            ]
        ]
    },
    {
        "id": "d7d136c06167183b",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "P3",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.P3",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 170,
        "y": 960,
        "wires": [
            [
                "88eb277976ca8d30"
            ]
        ]
    },
    {
        "id": "2891af5f26d77ae0",
        "type": "link in",
        "z": "2127eb3c.6814d4",
        "name": "EVU openWB",
        "links": [
            "aea56269c8ad2fba"
        ],
        "x": 35,
        "y": 780,
        "wires": [
            [
                "d911a50905654ebc",
                "0e947ab53d79b8ba",
                "580854558e02799e",
                "d7d136c06167183b",
                "6649fcadf54f90a8",
                "0941e47dfd2b1ae0",
                "82f7ee1e368ab8f7",
                "8d8825484130fb79",
                "02f331bc84d51997",
                "08a20444e8ddff72",
                "185c8682f5c99586",
                "807926396419df98",
                "38279dd63a5169d4",
                "dafb43d7f097cb87",
                "b4caa3281ec39a1e",
                "e0cc9585588ab29e"
            ]
        ]
    },
    {
        "id": "aea56269c8ad2fba",
        "type": "link out",
        "z": "2127eb3c.6814d4",
        "name": "Grid Meter",
        "mode": "link",
        "links": [
            "2891af5f26d77ae0",
            "0c65bd1ca17c38b0",
            "3437b581abb79727",
            "30cd116cfb3168bb",
            "69e89721b104ed84",
            "50ef3039843d2666"
        ],
        "x": 545,
        "y": 300,
        "wires": []
    },
    {
        "id": "3dcad6ad0f1d3de0",
        "type": "comment",
        "z": "2127eb3c.6814d4",
        "name": "openWB PV Modul",
        "info": "",
        "x": 210,
        "y": 1740,
        "wires": []
    },
    {
        "id": "8c3ae966465a8ca7",
        "type": "mqtt out",
        "z": "2127eb3c.6814d4",
        "name": "Erzeugung",
        "topic": "openWB/set/pv/1/W",
        "qos": "0",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "d1369cc14791a2de",
        "x": 330,
        "y": 1780,
        "wires": []
    },
    {
        "id": "8b063f8ba547f998",
        "type": "mqtt out",
        "z": "2127eb3c.6814d4",
        "name": "Zähler",
        "topic": "openWB/set/pv/1/WhCounter",
        "qos": "0",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "d1369cc14791a2de",
        "x": 310,
        "y": 1840,
        "wires": []
    },
    {
        "id": "f59956fbe25a3f75",
        "type": "comment",
        "z": "2127eb3c.6814d4",
        "name": "openWB EVU Modul",
        "info": "",
        "x": 350,
        "y": 740,
        "wires": []
    },
    {
        "id": "e4179eb918ed1ec0",
        "type": "mqtt out",
        "z": "2127eb3c.6814d4",
        "name": "Batterie SoC",
        "topic": "openWB/set/houseBattery/%Soc",
        "qos": "0",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "d1369cc14791a2de",
        "x": 330,
        "y": 2000,
        "wires": []
    },
    {
        "id": "aff135732a66f571",
        "type": "mqtt out",
        "z": "2127eb3c.6814d4",
        "name": "Batterie Leistung",
        "topic": "openWB/set/houseBattery/W",
        "qos": "0",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "d1369cc14791a2de",
        "x": 350,
        "y": 1940,
        "wires": []
    },
    {
        "id": "7c6d4014e625d583",
        "type": "comment",
        "z": "2127eb3c.6814d4",
        "name": "openWB Speicher Modul",
        "info": "",
        "x": 230,
        "y": 1900,
        "wires": []
    },
    {
        "id": "bdd28d739f48a9aa",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "SoC",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.SoC",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "topic",
                "pt": "msg",
                "to": "SoC",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 170,
        "y": 2000,
        "wires": [
            [
                "e4179eb918ed1ec0",
                "6f07f889.bda788"
            ]
        ]
    },
    {
        "id": "108bea46fbc82340",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "PDC",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.PDC",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 170,
        "y": 1940,
        "wires": [
            [
                "aff135732a66f571"
            ]
        ]
    },
    {
        "id": "b3c9a5469fe2482d",
        "type": "link in",
        "z": "2127eb3c.6814d4",
        "name": "Batterie",
        "links": [
            "571f59261b753bc3",
            "b390b0680a37e021"
        ],
        "x": 35,
        "y": 1940,
        "wires": [
            [
                "108bea46fbc82340",
                "bdd28d739f48a9aa",
                "f516fd8e548b1f1e",
                "2e9fd1daae7c0d1c"
            ]
        ]
    },
    {
        "id": "571f59261b753bc3",
        "type": "link out",
        "z": "2127eb3c.6814d4",
        "name": "Batterie",
        "mode": "link",
        "links": [
            "b3c9a5469fe2482d",
            "56ad4f3a5b1d8705",
            "664d5ce8a611a1c7"
        ],
        "x": 545,
        "y": 600,
        "wires": []
    },
    {
        "id": "a977d822af70e1c4",
        "type": "link in",
        "z": "2127eb3c.6814d4",
        "name": "Solaredge",
        "links": [
            "5c2a45b565a7b686"
        ],
        "x": 35,
        "y": 1840,
        "wires": [
            [
                "b964b0c5893efac8"
            ]
        ]
    },
    {
        "id": "5c2a45b565a7b686",
        "type": "link out",
        "z": "2127eb3c.6814d4",
        "name": "Solaredge",
        "mode": "link",
        "links": [
            "a977d822af70e1c4",
            "51a252ba4e0a2b51",
            "66bb352020fe2b39",
            "fe56f14f649cbe37",
            "dd66f1211fcc53a8"
        ],
        "x": 545,
        "y": 140,
        "wires": []
    },
    {
        "id": "e6a2b3f26f7c1bc4",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "Perz2",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.Perz2",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "topic",
                "pt": "msg",
                "to": "Perz",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 170,
        "y": 1780,
        "wires": [
            [
                "8c3ae966465a8ca7",
                "6f07f889.bda788"
            ]
        ]
    },
    {
        "id": "b964b0c5893efac8",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "W2",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.W2",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 170,
        "y": 1840,
        "wires": [
            [
                "8b063f8ba547f998"
            ]
        ]
    },
    {
        "id": "1a834db1676ec6a6",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "f7b812c8.ec053",
        "order": 7,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Temperatur",
        "format": "{{msg.payload.Temp}} °C",
        "layout": "row-spread",
        "className": "",
        "x": 1030,
        "y": 140,
        "wires": []
    },
    {
        "id": "0c65bd1ca17c38b0",
        "type": "link in",
        "z": "2127eb3c.6814d4",
        "name": "Gridmeter",
        "links": [
            "aea56269c8ad2fba"
        ],
        "x": 885,
        "y": 300,
        "wires": [
            [
                "4d083e9d.662f",
                "2db805ab.5260fa",
                "19cd1999.1ad9a6",
                "bdd904c1.172508",
                "b5da9954.b979d8",
                "a2343877.49dc28",
                "5c52c195.e8155",
                "dc730127.c3f32",
                "f1f782e3.ba0d6"
            ]
        ]
    },
    {
        "id": "06937b9bd7856c4f",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "ce0ce043d2af9d85",
        "order": 4,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Power Faktor L1",
        "format": "{{msg.payload.PF1}}",
        "layout": "row-spread",
        "className": "",
        "x": 1330,
        "y": 340,
        "wires": []
    },
    {
        "id": "a0cfe5cb9165cc9d",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "ce0ce043d2af9d85",
        "order": 5,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Power Faktor L2",
        "format": "{{msg.payload.PF2}}",
        "layout": "row-spread",
        "className": "",
        "x": 1330,
        "y": 380,
        "wires": []
    },
    {
        "id": "1166a39e3694ac17",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "ce0ce043d2af9d85",
        "order": 6,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Power Faktor L3",
        "format": "{{msg.payload.PF3}}",
        "layout": "row-spread",
        "className": "",
        "x": 1330,
        "y": 420,
        "wires": []
    },
    {
        "id": "3437b581abb79727",
        "type": "link in",
        "z": "2127eb3c.6814d4",
        "name": "Gridmeter",
        "links": [
            "aea56269c8ad2fba"
        ],
        "x": 1155,
        "y": 300,
        "wires": [
            [
                "81eb652c8226090e",
                "56e4ce8ca1bbdbd4",
                "1166a39e3694ac17",
                "a0cfe5cb9165cc9d",
                "06937b9bd7856c4f",
                "3087b92558b1368d",
                "b55e20cfab11a0f2",
                "3531118427d9f9e8"
            ]
        ]
    },
    {
        "id": "81eb652c8226090e",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "ce0ce043d2af9d85",
        "order": 1,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Blindleistung L1",
        "format": "{{msg.payload.Q1}} var",
        "layout": "row-spread",
        "className": "",
        "x": 1320,
        "y": 220,
        "wires": []
    },
    {
        "id": "56e4ce8ca1bbdbd4",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "ce0ce043d2af9d85",
        "order": 2,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Blindleistung L2",
        "format": "{{msg.payload.Q2}} var",
        "layout": "row-spread",
        "className": "",
        "x": 1320,
        "y": 260,
        "wires": []
    },
    {
        "id": "3087b92558b1368d",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "ce0ce043d2af9d85",
        "order": 3,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Blindleistung L3",
        "format": "{{msg.payload.Q3}} var",
        "layout": "row-spread",
        "className": "",
        "x": 1320,
        "y": 300,
        "wires": []
    },
    {
        "id": "cd15167dd5a90169",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "f7b812c8.ec053",
        "order": 6,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Blindleistung",
        "format": "{{msg.payload.Q}} var",
        "layout": "row-spread",
        "className": "",
        "x": 1030,
        "y": 100,
        "wires": []
    },
    {
        "id": "9b488cd035901b43",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "09ddce34722bf671",
        "order": 1,
        "width": 0,
        "height": 0,
        "name": "Erzeugung",
        "label": "<b> Erzeugung",
        "format": "{{msg.payload.W}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1610,
        "y": 120,
        "wires": []
    },
    {
        "id": "b0346cab427603d2",
        "type": "function",
        "z": "2127eb3c.6814d4",
        "name": "Status",
        "func": "let S = msg.payload.Status;\nlet T;\nif (S == 1) {\n    T = \"aus\";\n} \nelse if (S == 2) {\n    T = \"Nachtmodus\";\n}\nelse if (S == 3) {\n    T = \"Starten\";\n}\nelse if (S == 4) {\n    T = \"Wechselrichter an\";\n} \nelse if (S == 5) {\n    T = \"Produktion eingeschränkt\"\n}\nelse if (S == 6) {\n    T = \"Herunterfahren\"\n}\nelse if (S == 7) {\n    T = \"Fehler\";\n}\nelse if (S == 8) {\n    T = \"Wartung\";\n} \nelse {\n    T = \"unbekannt\";\n}\nmsg.payload = T;\nmsg.topic = \"Status\";\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1010,
        "y": 180,
        "wires": [
            [
                "77cb32dfc5c8bec0"
            ]
        ]
    },
    {
        "id": "77cb32dfc5c8bec0",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "f7b812c8.ec053",
        "order": 8,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Status",
        "format": "{{msg.payload}}",
        "layout": "row-spread",
        "className": "",
        "x": 1290,
        "y": 180,
        "wires": []
    },
    {
        "id": "380645314ef0c1aa",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "8f26ab3497d3cb29",
        "order": 3,
        "width": 0,
        "height": 0,
        "name": "Leistung DC ",
        "label": "<b><font color=orange> Leistung DC ",
        "format": "{{msg.payload.PDC}} W",
        "layout": "row-spread",
        "className": "",
        "x": 750,
        "y": 540,
        "wires": []
    },
    {
        "id": "aa848bda112bc60b",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "8f26ab3497d3cb29",
        "order": 4,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Spannung DC ",
        "format": "{{msg.payload.UDC}} V",
        "layout": "row-spread",
        "className": "",
        "x": 760,
        "y": 580,
        "wires": []
    },
    {
        "id": "15c8bdfb165f8039",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "8f26ab3497d3cb29",
        "order": 5,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Strom DC",
        "format": "{{msg.payload.IDC}} A",
        "layout": "row-spread",
        "className": "",
        "x": 740,
        "y": 620,
        "wires": []
    },
    {
        "id": "3c23811d2900768e",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "8f26ab3497d3cb29",
        "order": 1,
        "width": 0,
        "height": 0,
        "name": "SoC",
        "label": "<b> SoC",
        "format": "{{msg.payload.SoC}} %",
        "layout": "row-spread",
        "className": "",
        "x": 730,
        "y": 500,
        "wires": []
    },
    {
        "id": "9bf04bbceb71a5d3",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "PAC",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.PAC",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "topic",
                "pt": "msg",
                "to": "PAC",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 730,
        "y": 740,
        "wires": [
            [
                "98941ab02669883a"
            ]
        ]
    },
    {
        "id": "400565c5cad1217a",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "PDC2",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.PDC",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "topic",
                "pt": "msg",
                "to": "PDC2",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 730,
        "y": 700,
        "wires": [
            [
                "98941ab02669883a"
            ]
        ]
    },
    {
        "id": "98941ab02669883a",
        "type": "join",
        "z": "2127eb3c.6814d4",
        "name": "Objekt",
        "mode": "custom",
        "build": "object",
        "property": "payload",
        "propertyType": "msg",
        "key": "topic",
        "joiner": "\\n",
        "joinerType": "str",
        "accumulate": false,
        "timeout": "",
        "count": "4",
        "reduceRight": false,
        "reduceExp": "",
        "reduceInit": "",
        "reduceInitType": "",
        "reduceFixup": "",
        "x": 870,
        "y": 740,
        "wires": [
            [
                "eab26e088bad6077"
            ]
        ]
    },
    {
        "id": "eab26e088bad6077",
        "type": "function",
        "z": "2127eb3c.6814d4",
        "name": "Erz & Verbrauch",
        "func": "let V = msg.payload.PAC + msg.payload.P;\nlet Perz = msg.payload.PDC1 + msg.payload.PDC2;\nlet Perz2;\nif (Perz < 0)  {\n    Perz2 = 0;\n} \nelse {\n    Perz2 = Perz;\n}\nmsg.payload = {V,Perz,Perz2};\nmsg.topic = \"Erz & Verbrauch\";\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1040,
        "y": 740,
        "wires": [
            [
                "92331066fe2e6e35",
                "cf73a5801d5d31fa",
                "c3f47e1a.a03eb",
                "b1f29ba3e5a50353",
                "4037eeb0c37f23b5"
            ]
        ]
    },
    {
        "id": "92331066fe2e6e35",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "aa73ad85.5f98c",
        "order": 1,
        "width": 0,
        "height": 0,
        "name": "Erzeugung",
        "label": "<b><font color=green> Erzeugung",
        "format": "{{msg.payload.Perz}} W",
        "layout": "row-spread",
        "className": "",
        "x": 1310,
        "y": 720,
        "wires": []
    },
    {
        "id": "cb297b1e6cc7bf31",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "8f26ab3497d3cb29",
        "order": 6,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Temperatur",
        "format": "{{msg.payload.Temp}} °C",
        "layout": "row-spread",
        "className": "",
        "x": 750,
        "y": 660,
        "wires": []
    },
    {
        "id": "51a252ba4e0a2b51",
        "type": "link in",
        "z": "2127eb3c.6814d4",
        "name": "Solaredge",
        "links": [
            "5c2a45b565a7b686"
        ],
        "x": 645,
        "y": 760,
        "wires": [
            [
                "9bf04bbceb71a5d3",
                "38d7b70266a9634e"
            ]
        ]
    },
    {
        "id": "5500f65745a939ca",
        "type": "link in",
        "z": "2127eb3c.6814d4",
        "name": "Perz",
        "links": [
            "cf73a5801d5d31fa"
        ],
        "x": 35,
        "y": 1780,
        "wires": [
            [
                "e6a2b3f26f7c1bc4",
                "a7b6a64933301f80"
            ]
        ]
    },
    {
        "id": "cf73a5801d5d31fa",
        "type": "link out",
        "z": "2127eb3c.6814d4",
        "name": "Perz",
        "mode": "link",
        "links": [
            "5500f65745a939ca"
        ],
        "x": 1105,
        "y": 780,
        "wires": []
    },
    {
        "id": "914f2e568308a04e",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "09ddce34722bf671",
        "order": 3,
        "width": 0,
        "height": 0,
        "name": "Bezug",
        "label": "<b><font color=red> Bezug",
        "format": "{{msg.payload.Wimp}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1590,
        "y": 200,
        "wires": []
    },
    {
        "id": "30cd116cfb3168bb",
        "type": "link in",
        "z": "2127eb3c.6814d4",
        "name": "Gridmeter",
        "links": [
            "aea56269c8ad2fba"
        ],
        "x": 1465,
        "y": 300,
        "wires": [
            [
                "914f2e568308a04e",
                "af99d719bb739b45",
                "77f8d71b7044bc7b",
                "4717bf41e889ce3a",
                "418208280ff6f5ed",
                "9c2114ab0222f306",
                "882b3d3af68f1825",
                "a940706fa8b2133c"
            ]
        ]
    },
    {
        "id": "af99d719bb739b45",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "09ddce34722bf671",
        "order": 2,
        "width": 0,
        "height": 0,
        "name": "Einspeisung",
        "label": "<b><font color=green> Einspeisung",
        "format": "{{msg.payload.Wexp}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1610,
        "y": 160,
        "wires": []
    },
    {
        "id": "77f8d71b7044bc7b",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "7d28094e314c7523",
        "order": 1,
        "width": 0,
        "height": 0,
        "name": "Einspeisung L1",
        "label": "<b><font color=green> Einspeisung L1",
        "format": "{{msg.payload.W1exp}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1620,
        "y": 240,
        "wires": []
    },
    {
        "id": "4717bf41e889ce3a",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "7d28094e314c7523",
        "order": 2,
        "width": 0,
        "height": 0,
        "name": "Einspeisung L2",
        "label": "<b><font color=green> Einspeisung L2",
        "format": "{{msg.payload.W2exp}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1620,
        "y": 280,
        "wires": []
    },
    {
        "id": "418208280ff6f5ed",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "7d28094e314c7523",
        "order": 3,
        "width": 0,
        "height": 0,
        "name": "Einspeisung L3",
        "label": "<b><font color=green> Einspeisung L3",
        "format": "{{msg.payload.W3exp}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1620,
        "y": 320,
        "wires": []
    },
    {
        "id": "9c2114ab0222f306",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "cc51d487dd6050db",
        "order": 1,
        "width": 0,
        "height": 0,
        "name": "Bezug L1",
        "label": "<b><font color=red> Bezug L1",
        "format": "{{msg.payload.W1imp}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1600,
        "y": 360,
        "wires": []
    },
    {
        "id": "882b3d3af68f1825",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "cc51d487dd6050db",
        "order": 2,
        "width": 0,
        "height": 0,
        "name": "Bezug L2",
        "label": "<b><font color=red> Bezug L2",
        "format": "{{msg.payload.W2imp}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1600,
        "y": 400,
        "wires": []
    },
    {
        "id": "a940706fa8b2133c",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "cc51d487dd6050db",
        "order": 3,
        "width": 0,
        "height": 0,
        "name": "Bezug L3",
        "label": "<b><font color=red> Bezug L3",
        "format": "{{msg.payload.W3imp}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1600,
        "y": 440,
        "wires": []
    },
    {
        "id": "1676ddcf4d4a4979",
        "type": "ui_switch",
        "z": "2127eb3c.6814d4",
        "name": "",
        "label": "Hauptschalter",
        "tooltip": "Modbus Abfrage",
        "group": "ce0ce043d2af9d85",
        "order": 9,
        "width": 0,
        "height": 0,
        "passthru": true,
        "decouple": "false",
        "topic": "topic",
        "topicType": "msg",
        "style": "",
        "onvalue": "true",
        "onvalueType": "bool",
        "onicon": "",
        "oncolor": "",
        "offvalue": "false",
        "offvalueType": "bool",
        "officon": "",
        "offcolor": "",
        "animate": false,
        "className": "",
        "x": 340,
        "y": 620,
        "wires": [
            [
                "e97c1097e2d865ce"
            ]
        ]
    },
    {
        "id": "d902c664857a9554",
        "type": "inject",
        "z": "2127eb3c.6814d4",
        "name": "Erstinj.",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": true,
        "onceDelay": "0.5",
        "topic": "",
        "payload": "true",
        "payloadType": "bool",
        "x": 100,
        "y": 620,
        "wires": [
            [
                "1676ddcf4d4a4979"
            ]
        ]
    },
    {
        "id": "e97c1097e2d865ce",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "flow.Hauptschalter",
        "rules": [
            {
                "t": "set",
                "p": "Hauptschalter",
                "pt": "flow",
                "to": "payload",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 350,
        "y": 680,
        "wires": [
            []
        ]
    },
    {
        "id": "e1c6b84df0da574c",
        "type": "switch",
        "z": "2127eb3c.6814d4",
        "name": "Hauptschalter",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "true"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 1,
        "x": 120,
        "y": 60,
        "wires": [
            [
                "4b847dc3.be22c4"
            ]
        ]
    },
    {
        "id": "e2b95ac1f1cc6e13",
        "type": "ui_template",
        "z": "2127eb3c.6814d4",
        "group": "ce0ce043d2af9d85",
        "name": "Hauptschalter Modbus",
        "order": 8,
        "width": 0,
        "height": 0,
        "format": "<div>\n    <span><b>Hauptschalter Modbus</b></span>\n</div>",
        "storeOutMessages": false,
        "fwdInMessages": false,
        "resendOnRefresh": false,
        "templateScope": "local",
        "className": "",
        "x": 120,
        "y": 700,
        "wires": [
            []
        ]
    },
    {
        "id": "6eb9e908800762b3",
        "type": "ui_template",
        "z": "2127eb3c.6814d4",
        "group": "ce0ce043d2af9d85",
        "name": "Leerzeichen",
        "order": 7,
        "width": 0,
        "height": 0,
        "format": "<div>\n    <span>      </span>\n</div>",
        "storeOutMessages": false,
        "fwdInMessages": false,
        "resendOnRefresh": false,
        "templateScope": "local",
        "className": "",
        "x": 90,
        "y": 660,
        "wires": [
            []
        ]
    },
    {
        "id": "255078571d718135",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "P",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.P",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "topic",
                "pt": "msg",
                "to": "P",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 730,
        "y": 820,
        "wires": [
            [
                "98941ab02669883a"
            ]
        ]
    },
    {
        "id": "69e89721b104ed84",
        "type": "link in",
        "z": "2127eb3c.6814d4",
        "name": "Gridmeter",
        "links": [
            "aea56269c8ad2fba"
        ],
        "x": 645,
        "y": 820,
        "wires": [
            [
                "255078571d718135"
            ]
        ]
    },
    {
        "id": "bf1c20aa97f517e4",
        "type": "function",
        "z": "2127eb3c.6814d4",
        "name": "Storage Control Mode",
        "func": "let S = msg.payload.Storage_Control_Mode;\nlet T;\nif (S == 0) {\n    T = \"0: aus\";\n}\nelse if (S == 1) {\n    T = \"1: Automatik\";\n}\nelse if (S == 4) {\n    T = \"4: manuelle Steuerung\";\n}\nelse {\n    T = \"unbekannt\";\n}\nmsg.payload = T;\nmsg.topic = \"Storage_Control_Mode\";\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 780,
        "y": 860,
        "wires": [
            [
                "adcb51aa78ba1826"
            ]
        ]
    },
    {
        "id": "adcb51aa78ba1826",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "126fc69a5db58952",
        "order": 1,
        "width": 0,
        "height": 0,
        "name": "Storage Control Mode",
        "label": "<b><font color=darkred> Modus",
        "format": "{{msg.payload}}",
        "layout": "col-center",
        "className": "",
        "x": 1060,
        "y": 860,
        "wires": []
    },
    {
        "id": "789a33a65e814f94",
        "type": "function",
        "z": "2127eb3c.6814d4",
        "name": "RC Command Mode",
        "func": "let S = msg.payload.RC_Command_Mode;\nlet T;\nif (S == 0) {\n    T = \"0: aus\";\n}\nelse if (S == 1) {\n    T = \"1: nur Überschuss laden\";\n}\nelse if (S == 2) {\n    T = \"2: Batterie Vorrang\";\n}\nelse if (S == 3) {\n    T = \"3: Aufladen von PV & Netz\";\n}\nelse if (S == 4) {\n    T = \"4: Entladen von PV & Batterie\";\n}\nelse if (S == 5) {\n    T = \"5: nur Entladen erlauben\";\n}\nelse if (S == 7) {\n    T = \"7: maximaler Eigenverbrauch\";\n}\nelse {\n    T = \"aus\";\n}\nmsg.payload = T;\nmsg.topic = \"RC_Command_Mode\";\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 780,
        "y": 900,
        "wires": [
            [
                "4ce688525f5d9b2e"
            ]
        ]
    },
    {
        "id": "4ce688525f5d9b2e",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "126fc69a5db58952",
        "order": 5,
        "width": 0,
        "height": 0,
        "name": "Fernsteuerung Modus",
        "label": "<b><font color=darkred> Steuerung",
        "format": "{{msg.payload}}",
        "layout": "col-center",
        "className": "",
        "x": 1060,
        "y": 940,
        "wires": []
    },
    {
        "id": "72964aaf67f2c589",
        "type": "function",
        "z": "2127eb3c.6814d4",
        "name": "RC Charge / Discharge Limit",
        "func": "let RCDL = Math.round(msg.payload.RC_Discharge_Limit);\nlet RCCL = Math.round(msg.payload.RC_Charge_Limit);\nmsg.payload = {RCDL,RCCL};\nmsg.topic = \"RC_Limit\";\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 800,
        "y": 1000,
        "wires": [
            [
                "6c35683135040d6c",
                "30e8fe824fe949ef"
            ]
        ]
    },
    {
        "id": "6c35683135040d6c",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "126fc69a5db58952",
        "order": 7,
        "width": 0,
        "height": 0,
        "name": "Entladeleistung",
        "label": "<b><font color=darkred> max. Entladeleistung",
        "format": "{{msg.payload.RCDL}} W",
        "layout": "col-center",
        "className": "",
        "x": 1040,
        "y": 980,
        "wires": []
    },
    {
        "id": "30e8fe824fe949ef",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "126fc69a5db58952",
        "order": 9,
        "width": 0,
        "height": 0,
        "name": "Ladeleistung",
        "label": "<b><font color=darkred> max. Ladeleistung",
        "format": "{{msg.payload.RCCL}} W",
        "layout": "col-center",
        "className": "",
        "x": 1030,
        "y": 1020,
        "wires": []
    },
    {
        "id": "a141344340ec2d8b",
        "type": "link in",
        "z": "2127eb3c.6814d4",
        "name": "Power Control",
        "links": [
            "d18176c4bb143fec"
        ],
        "x": 645,
        "y": 880,
        "wires": [
            [
                "bf1c20aa97f517e4",
                "789a33a65e814f94"
            ]
        ]
    },
    {
        "id": "d18176c4bb143fec",
        "type": "link out",
        "z": "2127eb3c.6814d4",
        "name": "Power Control",
        "mode": "link",
        "links": [
            "a141344340ec2d8b"
        ],
        "x": 545,
        "y": 380,
        "wires": []
    },
    {
        "id": "d6dfcae479e17e13",
        "type": "link out",
        "z": "2127eb3c.6814d4",
        "name": "Power Control 2",
        "mode": "link",
        "links": [
            "9d1bbb0783495df8"
        ],
        "x": 545,
        "y": 420,
        "wires": []
    },
    {
        "id": "9d1bbb0783495df8",
        "type": "link in",
        "z": "2127eb3c.6814d4",
        "name": "Power Control 2",
        "links": [
            "d6dfcae479e17e13"
        ],
        "x": 645,
        "y": 980,
        "wires": [
            [
                "72964aaf67f2c589",
                "81d40d5e4921c98e"
            ]
        ]
    },
    {
        "id": "693121523e8e5247",
        "type": "ui_template",
        "z": "2127eb3c.6814d4",
        "group": "126fc69a5db58952",
        "name": "Leerzeichen",
        "order": 2,
        "width": 0,
        "height": 0,
        "format": "<div>\n    <span>      </span>\n</div>",
        "storeOutMessages": false,
        "fwdInMessages": false,
        "resendOnRefresh": false,
        "templateScope": "local",
        "className": "",
        "x": 1310,
        "y": 860,
        "wires": [
            []
        ]
    },
    {
        "id": "b83cfbc556ee60c8",
        "type": "ui_template",
        "z": "2127eb3c.6814d4",
        "group": "126fc69a5db58952",
        "name": "Leerzeichen",
        "order": 6,
        "width": 0,
        "height": 0,
        "format": "<div>\n    <span>      </span>\n</div>",
        "storeOutMessages": false,
        "fwdInMessages": false,
        "resendOnRefresh": false,
        "templateScope": "local",
        "className": "",
        "x": 1310,
        "y": 940,
        "wires": [
            []
        ]
    },
    {
        "id": "79fdb01c15aa1450",
        "type": "ui_template",
        "z": "2127eb3c.6814d4",
        "group": "126fc69a5db58952",
        "name": "Leerzeichen",
        "order": 8,
        "width": 0,
        "height": 0,
        "format": "<div>\n    <span>      </span>\n</div>",
        "storeOutMessages": false,
        "fwdInMessages": false,
        "resendOnRefresh": false,
        "templateScope": "local",
        "className": "",
        "x": 1310,
        "y": 980,
        "wires": [
            []
        ]
    },
    {
        "id": "2944dd90b4f49503",
        "type": "buffer-maker",
        "z": "2127eb3c.6814d4",
        "name": "float(le)",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "name": "float",
                "type": "floatle",
                "length": 1,
                "dataType": "msg",
                "data": "payload"
            }
        ],
        "swap1": "swap16",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "x": 880,
        "y": 1580,
        "wires": [
            [
                "0a0122983e4af6fb"
            ]
        ]
    },
    {
        "id": "0a0122983e4af6fb",
        "type": "buffer-parser",
        "z": "2127eb3c.6814d4",
        "name": "2x uint16(be)",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "uint16be",
                "name": "data",
                "offset": 0,
                "length": 2,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "value",
        "resultTypeType": "return",
        "multipleResult": true,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 1030,
        "y": 1580,
        "wires": [
            [
                "a7e8209d53dc8fb2"
            ]
        ]
    },
    {
        "id": "488981e5b2ce8e7b",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "max. LL",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "maxlade",
                "tot": "flow"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 740,
        "y": 1580,
        "wires": [
            [
                "2944dd90b4f49503"
            ]
        ]
    },
    {
        "id": "410e76df1a6a3f4f",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "max. EL",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "maxentlade",
                "tot": "flow"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 740,
        "y": 1640,
        "wires": [
            [
                "781f27fd51188b84"
            ]
        ]
    },
    {
        "id": "781f27fd51188b84",
        "type": "buffer-maker",
        "z": "2127eb3c.6814d4",
        "name": "float(le)",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "name": "float",
                "type": "floatle",
                "length": 1,
                "dataType": "msg",
                "data": "payload"
            }
        ],
        "swap1": "swap16",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "x": 880,
        "y": 1640,
        "wires": [
            [
                "65d80890c28fd271"
            ]
        ]
    },
    {
        "id": "65d80890c28fd271",
        "type": "buffer-parser",
        "z": "2127eb3c.6814d4",
        "name": "2x uint16(be)",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "uint16be",
                "name": "data",
                "offset": 0,
                "length": 2,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "value",
        "resultTypeType": "return",
        "multipleResult": true,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 1030,
        "y": 1640,
        "wires": [
            [
                "524d4fad82a6f12b"
            ]
        ]
    },
    {
        "id": "d002988eecf1d5e7",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "max. Ladeleistung",
        "rules": [
            {
                "t": "set",
                "p": "maxlade",
                "pt": "flow",
                "to": "payload",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1170,
        "y": 1300,
        "wires": [
            []
        ]
    },
    {
        "id": "4e41b3fa9ddc754f",
        "type": "inject",
        "z": "2127eb3c.6814d4",
        "name": "Erstinjektion",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": true,
        "onceDelay": "1",
        "topic": "",
        "payload": "5000",
        "payloadType": "num",
        "x": 750,
        "y": 1320,
        "wires": [
            [
                "16b42f6237771bd3",
                "545a9460ed6de6eb"
            ]
        ]
    },
    {
        "id": "16b42f6237771bd3",
        "type": "ui_text_input",
        "z": "2127eb3c.6814d4",
        "name": "",
        "label": "max. Ladeleistung:",
        "tooltip": "(max. 5000)",
        "group": "0ac1413dcc0ef9c2",
        "order": 3,
        "width": 0,
        "height": 0,
        "passthru": true,
        "mode": "number",
        "delay": "0",
        "topic": "topic",
        "sendOnBlur": true,
        "className": "",
        "topicType": "msg",
        "x": 950,
        "y": 1300,
        "wires": [
            [
                "d002988eecf1d5e7"
            ]
        ]
    },
    {
        "id": "64aa4326425715f4",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "max. Entladeleistung",
        "rules": [
            {
                "t": "set",
                "p": "maxentlade",
                "pt": "flow",
                "to": "payload",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1180,
        "y": 1340,
        "wires": [
            []
        ]
    },
    {
        "id": "545a9460ed6de6eb",
        "type": "ui_text_input",
        "z": "2127eb3c.6814d4",
        "name": "",
        "label": "max. Entladeleistung:",
        "tooltip": "(max. 5000)",
        "group": "0ac1413dcc0ef9c2",
        "order": 4,
        "width": 0,
        "height": 0,
        "passthru": true,
        "mode": "number",
        "delay": "0",
        "topic": "topic",
        "sendOnBlur": true,
        "className": "",
        "topicType": "msg",
        "x": 960,
        "y": 1340,
        "wires": [
            [
                "64aa4326425715f4"
            ]
        ]
    },
    {
        "id": "a7e8209d53dc8fb2",
        "type": "modbus-write",
        "z": "2127eb3c.6814d4",
        "name": "57358 (E00E)",
        "showStatusActivities": false,
        "showErrors": true,
        "showWarnings": true,
        "unitid": "1",
        "dataType": "MHoldingRegisters",
        "adr": "57358",
        "quantity": "2",
        "server": "c92ba865.93cb78",
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "delayOnStart": false,
        "startDelayTime": "",
        "x": 1200,
        "y": 1580,
        "wires": [
            [],
            [
                "410e76df1a6a3f4f"
            ]
        ]
    },
    {
        "id": "524d4fad82a6f12b",
        "type": "modbus-write",
        "z": "2127eb3c.6814d4",
        "name": "57360 (E010)",
        "showStatusActivities": false,
        "showErrors": true,
        "showWarnings": true,
        "unitid": "1",
        "dataType": "MHoldingRegisters",
        "adr": "57360",
        "quantity": "2",
        "server": "c92ba865.93cb78",
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "delayOnStart": false,
        "startDelayTime": "",
        "x": 1200,
        "y": 1640,
        "wires": [
            [],
            []
        ]
    },
    {
        "id": "8e60557d8a39dbf2",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "28072ca3.dd5adc",
        "order": 5,
        "width": 0,
        "height": 0,
        "name": "SoC BYD",
        "label": "<b> SoC BYD",
        "format": "{{msg.payload.SoC}} %",
        "layout": "row-spread",
        "className": "",
        "x": 740,
        "y": 460,
        "wires": []
    },
    {
        "id": "ee40f0133e557cf2",
        "type": "ui_button",
        "z": "2127eb3c.6814d4",
        "name": "Befehle senden",
        "group": "0ac1413dcc0ef9c2",
        "order": 5,
        "width": 0,
        "height": 0,
        "passthru": false,
        "label": "<b> Modbus Befehle senden",
        "tooltip": "",
        "color": "",
        "bgcolor": "orange",
        "className": "",
        "icon": "",
        "payload": "1",
        "payloadType": "num",
        "topic": "Schalter",
        "topicType": "str",
        "x": 760,
        "y": 1040,
        "wires": [
            [
                "ccdaa46b1eceb09b"
            ]
        ]
    },
    {
        "id": "8b26e90bfb7cbabb",
        "type": "ui_dropdown",
        "z": "2127eb3c.6814d4",
        "name": "",
        "label": "Modus",
        "tooltip": "",
        "place": "bitte auswählen",
        "group": "0ac1413dcc0ef9c2",
        "order": 1,
        "width": 0,
        "height": 0,
        "passthru": true,
        "multiple": false,
        "options": [
            {
                "label": "Automatik",
                "value": 1,
                "type": "num"
            },
            {
                "label": "manuelle Steuerung",
                "value": 4,
                "type": "num"
            },
            {
                "label": "aus",
                "value": 0,
                "type": "num"
            }
        ],
        "payload": "",
        "topic": "topic",
        "topicType": "msg",
        "className": "",
        "x": 910,
        "y": 1120,
        "wires": [
            [
                "7819b912a6dd8b94"
            ]
        ]
    },
    {
        "id": "8f655db2b7ccb0bd",
        "type": "inject",
        "z": "2127eb3c.6814d4",
        "name": "Erstinjektion",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": true,
        "onceDelay": "1",
        "topic": "",
        "payload": "1",
        "payloadType": "num",
        "x": 750,
        "y": 1120,
        "wires": [
            [
                "8b26e90bfb7cbabb"
            ]
        ]
    },
    {
        "id": "52fee125c41ab6f3",
        "type": "ui_dropdown",
        "z": "2127eb3c.6814d4",
        "name": "",
        "label": "Steuerung",
        "tooltip": "",
        "place": "bitte auswählen",
        "group": "0ac1413dcc0ef9c2",
        "order": 2,
        "width": 0,
        "height": 0,
        "passthru": true,
        "multiple": false,
        "options": [
            {
                "label": "nur Überschuss laden",
                "value": 1,
                "type": "num"
            },
            {
                "label": "Batterie Vorrang",
                "value": 2,
                "type": "num"
            },
            {
                "label": "Aufladen von PV & Netz",
                "value": 3,
                "type": "num"
            },
            {
                "label": "Entladen von PV & Batterie",
                "value": 4,
                "type": "num"
            },
            {
                "label": "nur Entladen erlauben",
                "value": 5,
                "type": "num"
            },
            {
                "label": "maximaler Eigenverbrauch",
                "value": 7,
                "type": "num"
            }
        ],
        "payload": "",
        "topic": "topic",
        "topicType": "msg",
        "className": "",
        "x": 930,
        "y": 1240,
        "wires": [
            [
                "1ec5ce40daea7b54"
            ]
        ]
    },
    {
        "id": "8a9849f28a4cf4fb",
        "type": "inject",
        "z": "2127eb3c.6814d4",
        "name": "Erstinjektion",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": true,
        "onceDelay": "1",
        "topic": "",
        "payload": "7",
        "payloadType": "num",
        "x": 750,
        "y": 1240,
        "wires": [
            [
                "52fee125c41ab6f3"
            ]
        ]
    },
    {
        "id": "a8700d37feda356a",
        "type": "modbus-write",
        "z": "2127eb3c.6814d4",
        "name": "57357 (E00D)",
        "showStatusActivities": false,
        "showErrors": true,
        "showWarnings": true,
        "unitid": "1",
        "dataType": "HoldingRegister",
        "adr": "57357",
        "quantity": "1",
        "server": "c92ba865.93cb78",
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "delayOnStart": false,
        "startDelayTime": "",
        "x": 1200,
        "y": 1520,
        "wires": [
            [],
            [
                "488981e5b2ce8e7b"
            ]
        ]
    },
    {
        "id": "4f09d93e8d840359",
        "type": "modbus-write",
        "z": "2127eb3c.6814d4",
        "name": "57348 (E004)",
        "showStatusActivities": false,
        "showErrors": true,
        "showWarnings": true,
        "unitid": "1",
        "dataType": "HoldingRegister",
        "adr": "57348",
        "quantity": "1",
        "server": "c92ba865.93cb78",
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "delayOnStart": false,
        "startDelayTime": "",
        "x": 1200,
        "y": 1400,
        "wires": [
            [],
            [
                "3e857a0dbd01d032"
            ]
        ]
    },
    {
        "id": "1ec5ce40daea7b54",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "Steuerung",
        "rules": [
            {
                "t": "set",
                "p": "steuer",
                "pt": "flow",
                "to": "payload",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1150,
        "y": 1240,
        "wires": [
            []
        ]
    },
    {
        "id": "7819b912a6dd8b94",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "Modus",
        "rules": [
            {
                "t": "set",
                "p": "modus",
                "pt": "flow",
                "to": "payload",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1130,
        "y": 1120,
        "wires": [
            []
        ]
    },
    {
        "id": "dc91a96e77d0320f",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "Modus",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "modus",
                "tot": "flow"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1010,
        "y": 1400,
        "wires": [
            [
                "4f09d93e8d840359"
            ]
        ]
    },
    {
        "id": "2ff707af0803aab6",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "Steuerung",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "steuer",
                "tot": "flow"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1030,
        "y": 1520,
        "wires": [
            [
                "a8700d37feda356a"
            ]
        ]
    },
    {
        "id": "610434b170a6bbd2",
        "type": "link in",
        "z": "2127eb3c.6814d4",
        "name": "Modbus",
        "links": [
            "b2308f12095a82fa",
            "98d844bb90a88f54"
        ],
        "x": 645,
        "y": 1400,
        "wires": [
            [
                "9ba1f6dfedca7769"
            ]
        ]
    },
    {
        "id": "b2308f12095a82fa",
        "type": "link out",
        "z": "2127eb3c.6814d4",
        "name": "Modbus",
        "mode": "link",
        "links": [
            "610434b170a6bbd2"
        ],
        "x": 235,
        "y": 580,
        "wires": []
    },
    {
        "id": "9ba1f6dfedca7769",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "Befehl",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "befehl",
                "tot": "flow"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 730,
        "y": 1400,
        "wires": [
            [
                "45e40a0231b52ea8"
            ]
        ]
    },
    {
        "id": "45e40a0231b52ea8",
        "type": "switch",
        "z": "2127eb3c.6814d4",
        "name": "=1",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "eq",
                "v": "1",
                "vt": "num"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 1,
        "x": 870,
        "y": 1400,
        "wires": [
            [
                "dc91a96e77d0320f"
            ]
        ]
    },
    {
        "id": "ccdaa46b1eceb09b",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "Befehl = 1",
        "rules": [
            {
                "t": "set",
                "p": "befehl",
                "pt": "flow",
                "to": "payload",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 930,
        "y": 1060,
        "wires": [
            [
                "82dd526669e7b490"
            ]
        ]
    },
    {
        "id": "82dd526669e7b490",
        "type": "delay",
        "z": "2127eb3c.6814d4",
        "name": "resett",
        "pauseType": "delay",
        "timeout": "5",
        "timeoutUnits": "seconds",
        "rate": "1",
        "nbRateUnits": "1",
        "rateUnits": "second",
        "randomFirst": "1",
        "randomLast": "5",
        "randomUnits": "seconds",
        "drop": false,
        "allowrate": false,
        "outputs": 1,
        "x": 1130,
        "y": 1060,
        "wires": [
            [
                "747abecf5b650c64"
            ]
        ]
    },
    {
        "id": "747abecf5b650c64",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "Befehl = 0",
        "rules": [
            {
                "t": "set",
                "p": "befehl",
                "pt": "flow",
                "to": "0",
                "tot": "num"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1310,
        "y": 1060,
        "wires": [
            []
        ]
    },
    {
        "id": "38d7b70266a9634e",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "PDC1",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.PDC",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "topic",
                "pt": "msg",
                "to": "PDC1",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 730,
        "y": 780,
        "wires": [
            [
                "98941ab02669883a"
            ]
        ]
    },
    {
        "id": "66bb352020fe2b39",
        "type": "link in",
        "z": "2127eb3c.6814d4",
        "name": "Solaredge",
        "links": [
            "5c2a45b565a7b686"
        ],
        "x": 885,
        "y": 120,
        "wires": [
            [
                "c318e8df.7928d8",
                "cd15167dd5a90169",
                "b0346cab427603d2",
                "1a834db1676ec6a6"
            ]
        ]
    },
    {
        "id": "fe56f14f649cbe37",
        "type": "link in",
        "z": "2127eb3c.6814d4",
        "name": "Solaredge",
        "links": [
            "5c2a45b565a7b686"
        ],
        "x": 1465,
        "y": 120,
        "wires": [
            [
                "9b488cd035901b43",
                "ef2fd29991109f08"
            ]
        ]
    },
    {
        "id": "b1f29ba3e5a50353",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "28072ca3.dd5adc",
        "order": 1,
        "width": 0,
        "height": 0,
        "name": "Erzeugung (Übersicht)",
        "label": "<b><font color=green> Erzeugung",
        "format": "{{msg.payload.Perz2}} W",
        "layout": "row-spread",
        "className": "",
        "x": 1340,
        "y": 680,
        "wires": []
    },
    {
        "id": "4037eeb0c37f23b5",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "28072ca3.dd5adc",
        "order": 4,
        "width": 0,
        "height": 0,
        "name": "Verbrauch (Übersicht)",
        "label": "<b><font color=darkred> Verbrauch",
        "format": "{{msg.payload.V}} W",
        "layout": "row-spread",
        "className": "",
        "x": 1340,
        "y": 800,
        "wires": []
    },
    {
        "id": "b55e20cfab11a0f2",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "28072ca3.dd5adc",
        "order": 2,
        "width": 0,
        "height": 0,
        "name": "Einspeisung (Übersicht)",
        "label": "<b><font color=orange> Einspeisung",
        "format": "{{msg.payload.Einsp}} W",
        "layout": "row-spread",
        "className": "",
        "x": 1350,
        "y": 460,
        "wires": []
    },
    {
        "id": "3531118427d9f9e8",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "28072ca3.dd5adc",
        "order": 3,
        "width": 0,
        "height": 0,
        "name": "Bezug (Übersicht)",
        "label": "<b><font color=red> Bezug",
        "format": "{{msg.payload.Bezug}} W",
        "layout": "row-spread",
        "className": "",
        "x": 1330,
        "y": 500,
        "wires": []
    },
    {
        "id": "8cc059bb650aca35",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "Datum / Zeit",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "$moment(payload.date).locale(\"de\").tz('Europe/Berlin').format('dd, DD.MM.YYYY [-] HH:mm [Uhr]')",
                "tot": "jsonata"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1030,
        "y": 20,
        "wires": [
            [
                "e4ad655837e4a077"
            ]
        ]
    },
    {
        "id": "d6117a9bf9f1c829",
        "type": "inject",
        "z": "2127eb3c.6814d4",
        "name": "Zeit",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "10",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 730,
        "y": 20,
        "wires": [
            [
                "8cc059bb650aca35"
            ]
        ]
    },
    {
        "id": "e4ad655837e4a077",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "28072ca3.dd5adc",
        "order": 10,
        "width": 0,
        "height": 0,
        "name": "Datum / Zeit",
        "label": "",
        "format": "{{msg.payload}}",
        "layout": "col-center",
        "className": "",
        "x": 1310,
        "y": 20,
        "wires": []
    },
    {
        "id": "724d76bb0d118e09",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "28072ca3.dd5adc",
        "order": 6,
        "width": 0,
        "height": 0,
        "name": "Beladen (Übersicht)",
        "label": "<b><font color=darkgreen> BYD Beladen",
        "format": "{{msg.payload.Bel}} W",
        "layout": "row-spread",
        "className": "",
        "x": 1060,
        "y": 580,
        "wires": []
    },
    {
        "id": "daa051e043117b55",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "28072ca3.dd5adc",
        "order": 7,
        "width": 0,
        "height": 0,
        "name": "Entladen (Übersicht)",
        "label": "<b><font color=purple> BYD Entladen",
        "format": "{{msg.payload.Ent}} W",
        "layout": "row-spread",
        "className": "",
        "x": 1060,
        "y": 620,
        "wires": []
    },
    {
        "id": "56ad4f3a5b1d8705",
        "type": "link in",
        "z": "2127eb3c.6814d4",
        "name": "Batterie",
        "links": [
            "571f59261b753bc3",
            "b390b0680a37e021"
        ],
        "x": 885,
        "y": 600,
        "wires": [
            [
                "724d76bb0d118e09",
                "daa051e043117b55"
            ]
        ]
    },
    {
        "id": "ef2fd29991109f08",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "W Erzeug",
        "rules": [
            {
                "t": "set",
                "p": "W-Erzeug",
                "pt": "flow",
                "to": "payload.W",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1600,
        "y": 80,
        "wires": [
            []
        ]
    },
    {
        "id": "c876584a4b8c95fb",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "W",
        "rules": [
            {
                "t": "set",
                "p": "W-Einsp",
                "pt": "flow",
                "to": "payload.Wexp",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "W-Bezug",
                "pt": "flow",
                "to": "payload.Wimp",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 730,
        "y": 380,
        "wires": [
            []
        ]
    },
    {
        "id": "96d5961bc7c9d713",
        "type": "join",
        "z": "2127eb3c.6814d4",
        "name": "Objekt für InfluxDB",
        "mode": "custom",
        "build": "object",
        "property": "payload",
        "propertyType": "msg",
        "key": "topic",
        "joiner": "\\n",
        "joinerType": "str",
        "accumulate": false,
        "timeout": "",
        "count": "4",
        "reduceRight": false,
        "reduceExp": "",
        "reduceInit": "",
        "reduceInitType": "",
        "reduceFixup": "",
        "x": 970,
        "y": 1920,
        "wires": [
            [
                "a23db8609a598af4"
            ]
        ]
    },
    {
        "id": "a23db8609a598af4",
        "type": "influxdb out",
        "z": "2127eb3c.6814d4",
        "influxdb": "ddfe7191a781f2bb",
        "name": "Zähler",
        "measurement": "Zähler",
        "precision": "s",
        "retentionPolicy": "",
        "database": "db",
        "precisionV18FluxV20": "s",
        "retentionPolicyV18Flux": "",
        "org": "organisation",
        "bucket": "bucket",
        "x": 1170,
        "y": 1920,
        "wires": []
    },
    {
        "id": "ccff399381dc6b48",
        "type": "cronplus",
        "z": "2127eb3c.6814d4",
        "name": "täglich 0 Uhr",
        "outputField": "payload",
        "timeZone": "",
        "persistDynamic": false,
        "commandResponseMsgOutput": "output1",
        "outputs": 1,
        "options": [
            {
                "name": "Zähler Bezug",
                "topic": "Bezug",
                "payloadType": "flow",
                "payload": "W-Bezug",
                "expressionType": "cron",
                "expression": "0 0 * * *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            },
            {
                "name": "Zähler Einspeisung",
                "topic": "Einsp",
                "payloadType": "flow",
                "payload": "W-Einsp",
                "expressionType": "cron",
                "expression": "0 0 * * *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            },
            {
                "name": "Zähler Erzeugung",
                "topic": "Erzeug",
                "payloadType": "flow",
                "payload": "W-Erzeug",
                "expressionType": "cron",
                "expression": "0 0 * * *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            },
            {
                "name": "openWB",
                "topic": "openWB",
                "payloadType": "global",
                "payload": "LP1-Zähler",
                "expressionType": "cron",
                "expression": "0 0 * * *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            }
        ],
        "x": 750,
        "y": 1920,
        "wires": [
            [
                "96d5961bc7c9d713"
            ]
        ]
    },
    {
        "id": "b7cbfbfbe2ea344d",
        "type": "join",
        "z": "2127eb3c.6814d4",
        "name": "Objekt für InfluxDB",
        "mode": "custom",
        "build": "object",
        "property": "payload",
        "propertyType": "msg",
        "key": "topic",
        "joiner": "\\n",
        "joinerType": "str",
        "accumulate": false,
        "timeout": "",
        "count": "4",
        "reduceRight": false,
        "reduceExp": "",
        "reduceInit": "",
        "reduceInitType": "",
        "reduceFixup": "",
        "x": 970,
        "y": 1980,
        "wires": [
            [
                "f4f325c982b80680"
            ]
        ]
    },
    {
        "id": "f4f325c982b80680",
        "type": "influxdb out",
        "z": "2127eb3c.6814d4",
        "influxdb": "ddfe7191a781f2bb",
        "name": "Zähler2",
        "measurement": "Zähler2",
        "precision": "s",
        "retentionPolicy": "",
        "database": "db",
        "precisionV18FluxV20": "s",
        "retentionPolicyV18Flux": "",
        "org": "organisation",
        "bucket": "bucket",
        "x": 1180,
        "y": 1980,
        "wires": []
    },
    {
        "id": "e8659898230dc9a8",
        "type": "cronplus",
        "z": "2127eb3c.6814d4",
        "name": "jeden Monat",
        "outputField": "payload",
        "timeZone": "",
        "persistDynamic": false,
        "commandResponseMsgOutput": "output1",
        "outputs": 1,
        "options": [
            {
                "name": "Zähler Bezug",
                "topic": "Bezug",
                "payloadType": "flow",
                "payload": "W-Bezug",
                "expressionType": "cron",
                "expression": "0 0 0 1 * ? *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            },
            {
                "name": "Zähler Einspeisung",
                "topic": "Einsp",
                "payloadType": "flow",
                "payload": "W-Einsp",
                "expressionType": "cron",
                "expression": "0 0 0 1 * ? *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            },
            {
                "name": "Zähler Erzeugung",
                "topic": "Erzeug",
                "payloadType": "flow",
                "payload": "W-Erzeug",
                "expressionType": "cron",
                "expression": "0 0 0 1 * ? *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            },
            {
                "name": "openWB",
                "topic": "openWB",
                "payloadType": "global",
                "payload": "LP1-Zähler",
                "expressionType": "cron",
                "expression": "0 0 0 1 * ? *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            }
        ],
        "x": 750,
        "y": 1980,
        "wires": [
            [
                "b7cbfbfbe2ea344d"
            ]
        ]
    },
    {
        "id": "ae06654dd5b533c7",
        "type": "function",
        "z": "2127eb3c.6814d4",
        "name": "runden",
        "func": "msg.payload = Math.round(msg.payload);\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 740,
        "y": 2060,
        "wires": [
            [
                "77cf25f10c2de926"
            ]
        ]
    },
    {
        "id": "77cf25f10c2de926",
        "type": "join",
        "z": "2127eb3c.6814d4",
        "name": "Objekt für InfluxDB",
        "mode": "custom",
        "build": "object",
        "property": "payload",
        "propertyType": "msg",
        "key": "topic",
        "joiner": "\\n",
        "joinerType": "str",
        "accumulate": false,
        "timeout": "",
        "count": "8",
        "reduceRight": false,
        "reduceExp": "",
        "reduceInit": "",
        "reduceInitType": "",
        "reduceFixup": "",
        "x": 970,
        "y": 2060,
        "wires": [
            [
                "f0884c3c.6cb3c8"
            ]
        ]
    },
    {
        "id": "f0884c3c.6cb3c8",
        "type": "influxdb out",
        "z": "2127eb3c.6814d4",
        "influxdb": "ddfe7191a781f2bb",
        "name": "PV",
        "measurement": "PV",
        "precision": "s",
        "retentionPolicy": "",
        "database": "db",
        "precisionV18FluxV20": "s",
        "retentionPolicyV18Flux": "",
        "org": "organisation",
        "bucket": "bucket",
        "x": 1170,
        "y": 2060,
        "wires": []
    },
    {
        "id": "6f07f889.bda788",
        "type": "calculate",
        "z": "2127eb3c.6814d4",
        "name": "Ø pro Minute",
        "pauseType": "timed",
        "calculation": "average",
        "timeout": "1",
        "timeoutUnits": "minutes",
        "rate": "10",
        "x": 530,
        "y": 2060,
        "wires": [
            [
                "ae06654dd5b533c7"
            ]
        ]
    },
    {
        "id": "50ef3039843d2666",
        "type": "link in",
        "z": "2127eb3c.6814d4",
        "name": "Gridmeter",
        "links": [
            "aea56269c8ad2fba"
        ],
        "x": 35,
        "y": 2200,
        "wires": [
            [
                "5cfa10a08467599f",
                "1926652ac0f92a0c"
            ]
        ]
    },
    {
        "id": "5cfa10a08467599f",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "Bezug",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.Bezug",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "topic",
                "pt": "msg",
                "to": "Pbez",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 170,
        "y": 2180,
        "wires": [
            [
                "6f07f889.bda788"
            ]
        ]
    },
    {
        "id": "1926652ac0f92a0c",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "Einsp.",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.Einsp",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "topic",
                "pt": "msg",
                "to": "Pein",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 170,
        "y": 2220,
        "wires": [
            [
                "6f07f889.bda788"
            ]
        ]
    },
    {
        "id": "a7b6a64933301f80",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "Verbr.",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.V",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "topic",
                "pt": "msg",
                "to": "Verbrauch",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 170,
        "y": 2060,
        "wires": [
            [
                "6f07f889.bda788"
            ]
        ]
    },
    {
        "id": "a7408b109609d1f8",
        "type": "comment",
        "z": "2127eb3c.6814d4",
        "name": "InfluxDB",
        "info": "",
        "x": 740,
        "y": 1880,
        "wires": []
    },
    {
        "id": "f516fd8e548b1f1e",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "Entladen",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.Ent",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "topic",
                "pt": "msg",
                "to": "Entladen",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 180,
        "y": 2100,
        "wires": [
            [
                "6f07f889.bda788"
            ]
        ]
    },
    {
        "id": "2e9fd1daae7c0d1c",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "Beladen",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "payload.Bel",
                "tot": "msg"
            },
            {
                "t": "set",
                "p": "topic",
                "pt": "msg",
                "to": "Beladen",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 180,
        "y": 2140,
        "wires": [
            [
                "6f07f889.bda788"
            ]
        ]
    },
    {
        "id": "05b311e87ab532a9",
        "type": "inject",
        "z": "2127eb3c.6814d4",
        "name": "openWB",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "10",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "openWB",
        "payload": "LP1-Leistung",
        "payloadType": "global",
        "x": 180,
        "y": 2260,
        "wires": [
            [
                "6f07f889.bda788"
            ]
        ]
    },
    {
        "id": "d36992a9c6c1dbf3",
        "type": "ui_template",
        "z": "2127eb3c.6814d4",
        "group": "5fae143f97a297fc",
        "name": "Grafana",
        "order": 9,
        "width": 0,
        "height": 0,
        "format": "<div>\n    <a href=\"http://192.168.1.99:3000/dashboards\"\n        target=\"_blank\"><span><center><b>Verlauf in Grafana</b></center></span></a>\n</div>",
        "storeOutMessages": false,
        "fwdInMessages": false,
        "resendOnRefresh": false,
        "templateScope": "local",
        "className": "",
        "x": 320,
        "y": 60,
        "wires": [
            []
        ]
    },
    {
        "id": "ae39b4755d370594",
        "type": "inject",
        "z": "2127eb3c.6814d4",
        "name": "jede Minute",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "60",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "true",
        "payloadType": "bool",
        "x": 750,
        "y": 2140,
        "wires": [
            [
                "7e76473157e64de4"
            ]
        ]
    },
    {
        "id": "7e76473157e64de4",
        "type": "influxdb in",
        "z": "2127eb3c.6814d4",
        "influxdb": "ddfe7191a781f2bb",
        "name": "Abfrage",
        "query": "select * from \"Zähler\" order by time desc Limit 1",
        "rawOutput": false,
        "precision": "s",
        "retentionPolicy": "",
        "org": "organisation",
        "x": 940,
        "y": 2140,
        "wires": [
            [
                "5df5518c97863b87"
            ]
        ]
    },
    {
        "id": "5df5518c97863b87",
        "type": "function",
        "z": "2127eb3c.6814d4",
        "name": "Influx",
        "func": "let Bez = msg.payload[0].Bezug;\nlet Ein = msg.payload[0].Einsp;\nlet PV = msg.payload[0].Erzeug;\nmsg.payload = {Bez,Ein,PV};\nmsg.topic = \"täglich\";\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1170,
        "y": 2140,
        "wires": [
            [
                "6eed8a16b4174014"
            ]
        ]
    },
    {
        "id": "96f3e127a909ad43",
        "type": "join",
        "z": "2127eb3c.6814d4",
        "name": "Objekt",
        "mode": "custom",
        "build": "object",
        "property": "payload",
        "propertyType": "msg",
        "key": "topic",
        "joiner": "\\n",
        "joinerType": "str",
        "accumulate": false,
        "timeout": "",
        "count": "3",
        "reduceRight": false,
        "reduceExp": "",
        "reduceInit": "",
        "reduceInitType": "",
        "reduceFixup": "",
        "x": 930,
        "y": 2180,
        "wires": [
            [
                "6eed8a16b4174014"
            ]
        ]
    },
    {
        "id": "6eed8a16b4174014",
        "type": "join",
        "z": "2127eb3c.6814d4",
        "name": "Objekt",
        "mode": "custom",
        "build": "merged",
        "property": "payload",
        "propertyType": "msg",
        "key": "topic",
        "joiner": "\\n",
        "joinerType": "str",
        "accumulate": false,
        "timeout": "",
        "count": "6",
        "reduceRight": false,
        "reduceExp": "",
        "reduceInit": "",
        "reduceInitType": "",
        "reduceFixup": "",
        "x": 1180,
        "y": 2180,
        "wires": [
            [
                "096d0b59bafc40bb"
            ]
        ]
    },
    {
        "id": "096d0b59bafc40bb",
        "type": "function",
        "z": "2127eb3c.6814d4",
        "name": "Auswertung",
        "func": "let Bez = msg.payload.Bez1 - msg.payload.Bez;\nlet Ein = msg.payload.Ein1 - msg.payload.Ein;\nlet PV = msg.payload.PV1 - msg.payload.PV;\nmsg.payload={Bez,Ein,PV};\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": 1190,
        "y": 2220,
        "wires": [
            [
                "daeb9f360e86b638",
                "d6edd51f03f974aa",
                "8cd107f602772e4f"
            ]
        ]
    },
    {
        "id": "10ada36701c2a90b",
        "type": "cronplus",
        "z": "2127eb3c.6814d4",
        "name": "Jetzt",
        "outputField": "payload",
        "timeZone": "",
        "persistDynamic": false,
        "commandResponseMsgOutput": "output1",
        "outputs": 1,
        "options": [
            {
                "name": "Zähler Bezug",
                "topic": "Bez1",
                "payloadType": "flow",
                "payload": "W-Bezug",
                "expressionType": "cron",
                "expression": "0 * * * * * *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            },
            {
                "name": "Zähler Einspeisung",
                "topic": "Ein1",
                "payloadType": "flow",
                "payload": "W-Einsp",
                "expressionType": "cron",
                "expression": "0 * * * * * *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            },
            {
                "name": "Zähler Erzeugung",
                "topic": "PV1",
                "payloadType": "flow",
                "payload": "W-Erzeug",
                "expressionType": "cron",
                "expression": "0 * * * * * *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            }
        ],
        "x": 730,
        "y": 2180,
        "wires": [
            [
                "96f3e127a909ad43"
            ]
        ]
    },
    {
        "id": "daeb9f360e86b638",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "226dd5311f68d7f3",
        "order": 3,
        "width": 0,
        "height": 0,
        "name": "Bezug",
        "label": "<b><font color=red> Bezug",
        "format": "{{msg.payload.Bez}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1350,
        "y": 2260,
        "wires": []
    },
    {
        "id": "8cd107f602772e4f",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "226dd5311f68d7f3",
        "order": 1,
        "width": 0,
        "height": 0,
        "name": "Erzeugung",
        "label": "<b> Erzeugung",
        "format": "{{msg.payload.PV}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1370,
        "y": 2180,
        "wires": []
    },
    {
        "id": "d6edd51f03f974aa",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "226dd5311f68d7f3",
        "order": 2,
        "width": 0,
        "height": 0,
        "name": "Einspeisung",
        "label": "<b><font color=green> Einspeisung",
        "format": "{{msg.payload.Ein}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1370,
        "y": 2220,
        "wires": []
    },
    {
        "id": "81d40d5e4921c98e",
        "type": "function",
        "z": "2127eb3c.6814d4",
        "name": "RC Timeout",
        "func": "let T = msg.payload.RC_Timeout;\nT = Math.round(T/3600);\nmsg.payload = T;\nmsg.topic = \"Timeout\";\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 750,
        "y": 960,
        "wires": [
            [
                "e1bb032a77e5d9fb"
            ]
        ]
    },
    {
        "id": "e1bb032a77e5d9fb",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "group": "126fc69a5db58952",
        "order": 3,
        "width": 0,
        "height": 0,
        "name": "Timeout",
        "label": "<b><font color=darkred> Resett nach",
        "format": "{{msg.payload}} h",
        "layout": "col-center",
        "className": "",
        "x": 1020,
        "y": 900,
        "wires": []
    },
    {
        "id": "fe15971e536b2630",
        "type": "inject",
        "z": "2127eb3c.6814d4",
        "name": "Erstinjektion",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": true,
        "onceDelay": "1",
        "topic": "",
        "payload": "43200",
        "payloadType": "num",
        "x": 750,
        "y": 1180,
        "wires": [
            [
                "bf425d4e52fd210c"
            ]
        ]
    },
    {
        "id": "bf425d4e52fd210c",
        "type": "ui_dropdown",
        "z": "2127eb3c.6814d4",
        "name": "",
        "label": "Resett nach",
        "tooltip": "",
        "place": "bitte auswählen",
        "group": "0ac1413dcc0ef9c2",
        "order": 1,
        "width": 0,
        "height": 0,
        "passthru": true,
        "multiple": false,
        "options": [
            {
                "label": "12h",
                "value": 43200,
                "type": "num"
            },
            {
                "label": "10h",
                "value": 36000,
                "type": "num"
            },
            {
                "label": "8h",
                "value": 28800,
                "type": "num"
            },
            {
                "label": "6h",
                "value": 21600,
                "type": "num"
            },
            {
                "label": "4h",
                "value": 14400,
                "type": "num"
            },
            {
                "label": "3h",
                "value": 10800,
                "type": "num"
            },
            {
                "label": "2h",
                "value": 7200,
                "type": "num"
            },
            {
                "label": "1h",
                "value": 3600,
                "type": "num"
            }
        ],
        "payload": "",
        "topic": "topic",
        "topicType": "msg",
        "className": "",
        "x": 930,
        "y": 1180,
        "wires": [
            [
                "b8407992b04ce188"
            ]
        ]
    },
    {
        "id": "b8407992b04ce188",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "Zeit",
        "rules": [
            {
                "t": "set",
                "p": "zeit",
                "pt": "flow",
                "to": "payload",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1130,
        "y": 1180,
        "wires": [
            []
        ]
    },
    {
        "id": "89754ec04aa930ca",
        "type": "ui_template",
        "z": "2127eb3c.6814d4",
        "group": "126fc69a5db58952",
        "name": "Leerzeichen",
        "order": 4,
        "width": 0,
        "height": 0,
        "format": "<div>\n    <span>      </span>\n</div>",
        "storeOutMessages": false,
        "fwdInMessages": false,
        "resendOnRefresh": false,
        "templateScope": "local",
        "className": "",
        "x": 1310,
        "y": 900,
        "wires": [
            []
        ]
    },
    {
        "id": "5125a4f101ebdb6e",
        "type": "inject",
        "z": "2127eb3c.6814d4",
        "name": "alle 30min",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "1800",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "Schalter",
        "payload": "1",
        "payloadType": "num",
        "x": 750,
        "y": 1080,
        "wires": [
            [
                "ccdaa46b1eceb09b"
            ]
        ]
    },
    {
        "id": "3e857a0dbd01d032",
        "type": "change",
        "z": "2127eb3c.6814d4",
        "name": "Timeout",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "zeit",
                "tot": "flow"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 740,
        "y": 1460,
        "wires": [
            [
                "bb6e4c0cca8062d6"
            ]
        ]
    },
    {
        "id": "bb6e4c0cca8062d6",
        "type": "buffer-maker",
        "z": "2127eb3c.6814d4",
        "name": "uint32(le)",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "name": "uint32",
                "type": "uint32le",
                "length": 1,
                "dataType": "msg",
                "data": "payload"
            }
        ],
        "swap1": "swap16",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "x": 880,
        "y": 1460,
        "wires": [
            [
                "f9b94a23a89c7a5b"
            ]
        ]
    },
    {
        "id": "f9b94a23a89c7a5b",
        "type": "buffer-parser",
        "z": "2127eb3c.6814d4",
        "name": "2x uint16(be)",
        "data": "payload",
        "dataType": "msg",
        "specification": "spec",
        "specificationType": "ui",
        "items": [
            {
                "type": "uint16be",
                "name": "data",
                "offset": 0,
                "length": 2,
                "offsetbit": 0,
                "scale": "1",
                "mask": ""
            }
        ],
        "swap1": "",
        "swap2": "",
        "swap3": "",
        "swap1Type": "swap",
        "swap2Type": "swap",
        "swap3Type": "swap",
        "msgProperty": "payload",
        "msgPropertyType": "str",
        "resultType": "value",
        "resultTypeType": "return",
        "multipleResult": true,
        "fanOutMultipleResult": false,
        "setTopic": true,
        "outputs": 1,
        "x": 1030,
        "y": 1460,
        "wires": [
            [
                "1d06a940e26130c5"
            ]
        ]
    },
    {
        "id": "1d06a940e26130c5",
        "type": "modbus-write",
        "z": "2127eb3c.6814d4",
        "name": "57355 (E00B)",
        "showStatusActivities": false,
        "showErrors": true,
        "showWarnings": true,
        "unitid": "1",
        "dataType": "MHoldingRegisters",
        "adr": "57355",
        "quantity": "2",
        "server": "c92ba865.93cb78",
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "delayOnStart": false,
        "startDelayTime": "",
        "x": 1200,
        "y": 1460,
        "wires": [
            [],
            [
                "2ff707af0803aab6"
            ]
        ]
    },
    {
        "id": "a44449a51c081bb5",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "d": true,
        "group": "09ddce34722bf671",
        "order": 4,
        "width": 0,
        "height": 0,
        "name": "Batterie Entladen",
        "label": "<b> Batterie Entladen",
        "format": "{{msg.payload.Wexp}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1630,
        "y": 480,
        "wires": []
    },
    {
        "id": "664d5ce8a611a1c7",
        "type": "link in",
        "z": "2127eb3c.6814d4",
        "name": "Batterie",
        "links": [
            "571f59261b753bc3",
            "b390b0680a37e021"
        ],
        "x": 1465,
        "y": 500,
        "wires": [
            [
                "a44449a51c081bb5",
                "802ff47937c51f5b"
            ]
        ]
    },
    {
        "id": "802ff47937c51f5b",
        "type": "ui_text",
        "z": "2127eb3c.6814d4",
        "d": true,
        "group": "09ddce34722bf671",
        "order": 5,
        "width": 0,
        "height": 0,
        "name": "Batterie Beladen",
        "label": "<b> Batterie Beladen",
        "format": "{{msg.payload.Wimp}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1630,
        "y": 520,
        "wires": []
    },
    {
        "id": "c92ba865.93cb78",
        "type": "modbus-client",
        "name": "SolarEdge",
        "clienttype": "tcp",
        "bufferCommands": true,
        "stateLogEnabled": false,
        "queueLogEnabled": false,
        "failureLogEnabled": false,
        "tcpHost": "192.168.1.187",
        "tcpPort": "502",
        "tcpType": "TCP-RTU-BUFFERED",
        "serialPort": "/dev/ttyUSB",
        "serialType": "RTU-BUFFERD",
        "serialBaudrate": "9600",
        "serialDatabits": "8",
        "serialStopbits": "1",
        "serialParity": "none",
        "serialConnectionDelay": "100",
        "serialAsciiResponseStartDelimiter": "",
        "unit_id": "1",
        "commandDelay": "10",
        "clientTimeout": "2000",
        "reconnectOnTimeout": true,
        "reconnectTimeout": "5000",
        "parallelUnitIdsAllowed": false
    },
    {
        "id": "f7b812c8.ec053",
        "type": "ui_group",
        "name": "Wechselrichter",
        "tab": "e0ab68c7.17d7f8",
        "order": 1,
        "disp": true,
        "width": "5",
        "collapse": false
    },
    {
        "id": "aa73ad85.5f98c",
        "type": "ui_group",
        "name": "Hausanschluss",
        "tab": "e0ab68c7.17d7f8",
        "order": 3,
        "disp": true,
        "width": "5",
        "collapse": false,
        "className": ""
    },
    {
        "id": "b7f92209.4b9ae",
        "type": "ui_group",
        "name": "Hausanschluss Phasen",
        "tab": "e0ab68c7.17d7f8",
        "order": 4,
        "disp": true,
        "width": "5",
        "collapse": false,
        "className": ""
    },
    {
        "id": "d1369cc14791a2de",
        "type": "mqtt-broker",
        "name": "openWB",
        "broker": "192.168.1.134",
        "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": {},
        "userProps": "",
        "sessionExpiry": ""
    },
    {
        "id": "ce0ce043d2af9d85",
        "type": "ui_group",
        "name": "Hausanschluss Phasen",
        "tab": "e0ab68c7.17d7f8",
        "order": 5,
        "disp": true,
        "width": "5",
        "collapse": false,
        "className": ""
    },
    {
        "id": "09ddce34722bf671",
        "type": "ui_group",
        "name": "Zähler (gesamt)",
        "tab": "f91513e2048eb0a7",
        "order": 2,
        "disp": true,
        "width": "5",
        "collapse": false,
        "className": ""
    },
    {
        "id": "8f26ab3497d3cb29",
        "type": "ui_group",
        "name": "Batterie",
        "tab": "e0ab68c7.17d7f8",
        "order": 2,
        "disp": true,
        "width": "5",
        "collapse": false,
        "className": ""
    },
    {
        "id": "7d28094e314c7523",
        "type": "ui_group",
        "name": "Phasen Einspeisung",
        "tab": "f91513e2048eb0a7",
        "order": 3,
        "disp": true,
        "width": 5,
        "collapse": false,
        "className": ""
    },
    {
        "id": "cc51d487dd6050db",
        "type": "ui_group",
        "name": "Phasen Bezug",
        "tab": "f91513e2048eb0a7",
        "order": 4,
        "disp": true,
        "width": 5,
        "collapse": false,
        "className": ""
    },
    {
        "id": "126fc69a5db58952",
        "type": "ui_group",
        "name": "Kontrolle",
        "tab": "a82996cb5ad3f0d5",
        "order": 1,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "0ac1413dcc0ef9c2",
        "type": "ui_group",
        "name": "Steuerung",
        "tab": "a82996cb5ad3f0d5",
        "order": 2,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "28072ca3.dd5adc",
        "type": "ui_group",
        "name": "Solaredge",
        "tab": "cbde10df.643df8",
        "order": 2,
        "disp": true,
        "width": "5",
        "collapse": false,
        "className": ""
    },
    {
        "id": "ddfe7191a781f2bb",
        "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": "5fae143f97a297fc",
        "type": "ui_group",
        "name": "Nibe",
        "tab": "cbde10df.643df8",
        "order": 2,
        "disp": true,
        "width": "5",
        "collapse": false,
        "className": ""
    },
    {
        "id": "226dd5311f68d7f3",
        "type": "ui_group",
        "name": "Heute",
        "tab": "f91513e2048eb0a7",
        "order": 1,
        "disp": true,
        "width": "5",
        "collapse": false,
        "className": ""
    },
    {
        "id": "e0ab68c7.17d7f8",
        "type": "ui_tab",
        "name": "Solaredge",
        "icon": "mi-wb_sunny",
        "order": 2,
        "disabled": false,
        "hidden": false
    },
    {
        "id": "f91513e2048eb0a7",
        "type": "ui_tab",
        "name": "Solaredge Zähler",
        "icon": "fa-list ",
        "order": 4,
        "disabled": false,
        "hidden": false
    },
    {
        "id": "a82996cb5ad3f0d5",
        "type": "ui_tab",
        "name": "Solaredge Steuerung",
        "icon": "battery_charging_full",
        "order": 3,
        "disabled": false,
        "hidden": false
    },
    {
        "id": "cbde10df.643df8",
        "type": "ui_tab",
        "name": "Übersicht",
        "icon": "fa-eercast ",
        "order": 1,
        "disabled": false,
        "hidden": false
    }
]