Alpha ESS Hi10 über IOBroker an homee Energiemanager

Hallo,

wochenlanges lesen + ausprobieren … jetzt bin ich am Ende! :slight_smile:

Scripten + programmieren ist einfach nicht mein Ding.

Zur Sache: Ich hab eine PV Anlage und will die in homee als Energiemanager Kachel anzeigen lasen.
Die Anbindung mit TCP Modus über einen Pi4 mit IOBroker hat soweit geklappt.
Auch die Integration des virtuellen Homee und Übergabe der Daten an den Energiemanager funktioniert.

Nur habe ich noch Probleme mit der „Feinabstimmung“ der Daten, wo ich jetzt einfach nicht mehr weiterkomme.

  1. Punkt: Wenn Eingespeist wird, dann geht der Verbrauch am Haus auf „-“ und der Pfeil ändert sich auch nicht vom Haus Richtung Strommast und die Bezeichnung Netzbezug bleibt. Ich denke da müsste dann „Einspeisung“ stehen. Ich denke da müsste mit -/+ Vorzeichen gearbeitet werden.

  2. Sobald der PV Ertrag abends auf „0“ steht, frieren die Daten ein.

  3. Die Verläufe werden nicht gefüllt. Vermutlich fehlen noch Daten. Da steht immer „Das Gerät hat noch nicht genug Daten gesammelt“

Der Hersteller der PV Anlage (Alpha ESS) bietet dafür nur eine Cloudlösung mit Webinterface.
Da ich generell meine Daten selber im Haus haben möchte und die Web Lösung des Herstellers in den letzten Wochen mehrmals nicht verfügbar war und dann auch noch falsche Daten lieferte, ist das meine Motivation!

Für jegliche Hilfe bin ich sehr dankbar.
Den IOBroker Adapter „Alpha-ESS“ kenne ich. Der liest leider auch nur die Daten der Cloud aus.

Hier noch der IOBroker Code und ein Screenshot vom Energiemanager.
Im Webinterface über den Browser ist die Kachel nicht da.

Im Handy über homee App wird das aber angezeigt:

[
    {
        "id": "8e9d3cc01fb8d65c",
        "type": "tab",
        "label": "Flow 2",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "96fe91a0bbe0ee31",
        "type": "virtualHomee",
        "name": "virtualHome"
    },
    {
        "id": "59e0d70b.25e9f8",
        "type": "function",
        "z": "8e9d3cc01fb8d65c",
        "name": "Filter",
        "func": "return{payload:msg.payload[1]}",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 150,
        "y": 80,
        "wires": [
            [
                "47799353.50defc"
            ]
        ]
    },
    {
        "id": "1bbc6664.5e9a8a",
        "type": "function",
        "z": "8e9d3cc01fb8d65c",
        "name": "Filter",
        "func": "return{payload:msg.payload[1]}",
        "outputs": 1,
        "noerr": 0,
        "x": 150,
        "y": 20,
        "wires": [
            [
                "bee11677.8991f8",
                "9f9c897a.da71e8"
            ]
        ]
    },
    {
        "id": "c4b97f3e.2d92f",
        "type": "function",
        "z": "8e9d3cc01fb8d65c",
        "name": "722",
        "func": "var wert = msg.payload\n\nnode.send({payload:{\"attribute\":{\"id\":722,\"value\":msg.payload}}})\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 610,
        "y": 200,
        "wires": [
            [
                "4da2116e.8b8a9"
            ]
        ]
    },
    {
        "id": "bee11677.8991f8",
        "type": "function",
        "z": "8e9d3cc01fb8d65c",
        "name": "Wert  an EM ID: 723",
        "func": "var wert = msg.payload\n\nnode.send({payload:{\"attribute\":{\"id\":723,\"value\":msg.payload}}})\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1110,
        "y": 20,
        "wires": [
            []
        ]
    },
    {
        "id": "c75f3b7a.477f28",
        "type": "function",
        "z": "8e9d3cc01fb8d65c",
        "name": "728",
        "func": "var wert = msg.payload\n\nnode.send({payload:{\"attribute\":{\"id\":728,\"value\":msg.payload}}})\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 610,
        "y": 480,
        "wires": [
            [
                "4da2116e.8b8a9"
            ]
        ]
    },
    {
        "id": "105318d4.c9bf47",
        "type": "function",
        "z": "8e9d3cc01fb8d65c",
        "name": "727",
        "func": "var wert = msg.payload\n\nnode.send({payload:{\"attribute\":{\"id\":727,\"value\":msg.payload}}})\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 610,
        "y": 440,
        "wires": [
            [
                "4da2116e.8b8a9"
            ]
        ]
    },
    {
        "id": "32f287cc.caad38",
        "type": "function",
        "z": "8e9d3cc01fb8d65c",
        "name": "725 + 726",
        "func": "var wert = msg.payload\nvar msg1 = {payload:{\"attribute\":{\"id\": 726, \"value\":-wert}}};\nvar msg2 = {payload:{\"attribute\":{\"id\": 725, \"value\": 0 }}};\nvar msg3 = {payload:{\"attribute\":{\"id\": 725, \"value\":wert}}};\nvar msg4 = {payload:{\"attribute\":{\"id\": 726, \"value\": 0 }}};\n\nif (wert < 0){\nreturn [[msg1,msg2]]\n}\nif (wert >= 0){\nreturn [[msg3,msg4]]\n}\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 760,
        "y": 360,
        "wires": [
            [
                "4da2116e.8b8a9"
            ]
        ]
    },
    {
        "id": "9f9c897a.da71e8",
        "type": "function",
        "z": "8e9d3cc01fb8d65c",
        "name": "Vorzeichen auf -",
        "func": "var wert = msg.payload\n\nreturn {payload:-wert};\n\n",
        "outputs": 1,
        "noerr": 0,
        "x": 340,
        "y": 40,
        "wires": [
            [
                "47799353.50defc"
            ]
        ]
    },
    {
        "id": "4f033979.a87d08",
        "type": "function",
        "z": "8e9d3cc01fb8d65c",
        "name": "Summe",
        "func": "msg.payload = msg.payload[0] + msg.payload[1] + msg.payload[2];\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "x": 720,
        "y": 60,
        "wires": [
            [
                "63aa5943.0975b8"
            ]
        ]
    },
    {
        "id": "8d9f915d.63c0f",
        "type": "function",
        "z": "8e9d3cc01fb8d65c",
        "name": "Wert  an EM ID: 724",
        "func": "var wert = msg.payload\n\nnode.send({payload:{\"attribute\":{\"id\":724,\"value\":msg.payload}}})\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1110,
        "y": 80,
        "wires": [
            []
        ]
    },
    {
        "id": "63aa5943.0975b8",
        "type": "function",
        "z": "8e9d3cc01fb8d65c",
        "name": "Vorzeichen +/-",
        "func": "var wert = msg.payload\n\nif (wert < 0){\nreturn {payload:-wert};\n}\nif (wert >= 0){\nreturn {payload:wert};\n}\n\n\n\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "x": 900,
        "y": 80,
        "wires": [
            [
                "8d9f915d.63c0f"
            ]
        ]
    },
    {
        "id": "47799353.50defc",
        "type": "join",
        "z": "8e9d3cc01fb8d65c",
        "name": "",
        "mode": "custom",
        "build": "array",
        "property": "payload",
        "propertyType": "msg",
        "key": "topic",
        "joiner": "\\n",
        "joinerType": "str",
        "accumulate": false,
        "timeout": "",
        "count": "3",
        "reduceRight": false,
        "reduceExp": "",
        "reduceInit": "",
        "reduceInitType": "",
        "reduceFixup": "",
        "x": 590,
        "y": 60,
        "wires": [
            [
                "4f033979.a87d08"
            ]
        ]
    },
    {
        "id": "4da2116e.8b8a9",
        "type": "homeeDevice",
        "z": "8e9d3cc01fb8d65c",
        "virtual-homee": "96fe91a0bbe0ee31",
        "name": "Alpha ESS",
        "nodeId": "700",
        "showNodeId": false,
        "profile": "38",
        "icon": "nodeicon_energymeter",
        "attributes": [
            {
                "instance": 0,
                "minimum": 0,
                "maximum": 50000,
                "current_value": 1700,
                "target_value": 1700,
                "last_value": 0,
                "unit": "W",
                "step_value": 100,
                "editable": 0,
                "type": 264,
                "state": 1,
                "last_changed": 1572785482,
                "changed_by": 1,
                "changed_by_id": 0,
                "based_on": 4,
                "data": "",
                "id": "722",
                "node_id": "700"
            },
            {
                "type": 265,
                "state": 1,
                "instance": 0,
                "minimum": 0,
                "maximum": 50000,
                "current_value": 0,
                "target_value": 0,
                "last_value": 0,
                "data": "",
                "name": "",
                "unit": "W",
                "step_value": 100,
                "editable": 0,
                "last_changed": 1692910450,
                "changed_by": 1,
                "changed_by_id": 0,
                "based_on": 1,
                "options": [],
                "id": "723",
                "node_id": "700"
            },
            {
                "instance": 0,
                "minimum": -50000,
                "maximum": 50000,
                "current_value": 258,
                "target_value": 258,
                "last_value": 0,
                "unit": "W",
                "step_value": 100,
                "editable": 0,
                "type": 267,
                "state": 1,
                "last_changed": 1572785482,
                "changed_by": 1,
                "changed_by_id": 0,
                "based_on": 4,
                "data": "",
                "id": "724",
                "node_id": "700"
            },
            {
                "instance": 0,
                "minimum": 0,
                "maximum": 50000,
                "current_value": 2500,
                "target_value": 2500,
                "last_value": 0,
                "unit": "W",
                "step_value": 100,
                "editable": 0,
                "type": 268,
                "state": 1,
                "last_changed": 1572785482,
                "changed_by": 1,
                "changed_by_id": 0,
                "based_on": 4,
                "data": "",
                "id": "725",
                "node_id": "700"
            },
            {
                "instance": 0,
                "minimum": 0,
                "maximum": 50000,
                "current_value": 980,
                "target_value": 980,
                "last_value": 0,
                "unit": "W",
                "step_value": 100,
                "editable": 0,
                "type": 269,
                "state": 1,
                "last_changed": 1572785482,
                "changed_by": 1,
                "changed_by_id": 0,
                "based_on": 4,
                "data": "",
                "id": "726",
                "node_id": "700"
            },
            {
                "instance": 0,
                "minimum": 0,
                "maximum": 100,
                "current_value": 37,
                "target_value": 37,
                "last_value": 0,
                "unit": "%25",
                "step_value": 1,
                "editable": 0,
                "type": 273,
                "state": 1,
                "last_changed": 1572785482,
                "changed_by": 1,
                "changed_by_id": 0,
                "based_on": 4,
                "data": "",
                "id": "727",
                "node_id": "700"
            },
            {
                "instance": 0,
                "minimum": -500000,
                "maximum": 500000,
                "current_value": 1180,
                "target_value": 1180,
                "last_value": 1240,
                "unit": "W",
                "step_value": 100,
                "editable": 0,
                "type": 266,
                "state": 1,
                "last_changed": 1572785663,
                "changed_by": 1,
                "changed_by_id": 0,
                "based_on": 4,
                "data": "",
                "id": "728",
                "node_id": "700"
            },
            {
                "instance": 0,
                "minimum": 0,
                "maximum": 9999999,
                "current_value": 0,
                "target_value": 0,
                "last_value": 0,
                "unit": "kWh",
                "step_value": 1,
                "editable": 0,
                "type": 275,
                "state": 6,
                "last_changed": 1572785482,
                "changed_by": 1,
                "changed_by_id": 0,
                "based_on": 4,
                "data": "",
                "id": "730",
                "node_id": "700"
            },
            {
                "instance": 0,
                "minimum": 0,
                "maximum": 9999999,
                "current_value": 0,
                "target_value": 0,
                "last_value": 0,
                "unit": "kWh",
                "step_value": 1,
                "editable": 0,
                "type": 276,
                "state": 6,
                "last_changed": 1572785482,
                "changed_by": 1,
                "changed_by_id": 0,
                "based_on": 4,
                "data": "",
                "id": "731",
                "node_id": "700"
            },
            {
                "instance": 0,
                "minimum": 0,
                "maximum": 9999999,
                "current_value": 0,
                "target_value": 0,
                "last_value": 0,
                "unit": "kWh",
                "step_value": 1,
                "editable": 0,
                "type": 277,
                "state": 6,
                "last_changed": 1572785482,
                "changed_by": 1,
                "changed_by_id": 0,
                "based_on": 4,
                "data": "",
                "id": "732",
                "node_id": "700"
            },
            {
                "instance": 0,
                "minimum": 0,
                "maximum": 9999999,
                "current_value": 0,
                "target_value": 0,
                "last_value": 0,
                "unit": "kWh",
                "step_value": 1,
                "editable": 0,
                "type": 278,
                "state": 6,
                "last_changed": 1572785482,
                "changed_by": 1,
                "changed_by_id": 0,
                "based_on": 4,
                "data": "",
                "id": "733",
                "node_id": "700"
            },
            {
                "type": 279,
                "state": 1,
                "instance": 0,
                "minimum": 0,
                "maximum": 9999999,
                "current_value": 0,
                "target_value": 0,
                "last_value": 0,
                "data": "",
                "name": "",
                "unit": "kWh",
                "step_value": 1,
                "editable": 0,
                "last_changed": 1695035947,
                "changed_by": 1,
                "changed_by_id": 0,
                "based_on": 1,
                "options": [],
                "id": "734",
                "node_id": "700"
            }
        ],
        "statusTemplate": "",
        "x": 1330,
        "y": 360,
        "wires": [
            []
        ]
    },
    {
        "id": "b735ac88cee8dd70",
        "type": "ioBroker in",
        "z": "8e9d3cc01fb8d65c",
        "name": "1055_PV1_Power Watt",
        "topic": "modbus.0.holdingRegisters.1055_PV1_Power",
        "payloadType": "value",
        "onlyack": "",
        "func": "all",
        "gap": "",
        "fireOnStart": "true",
        "outFormat": "MQTT",
        "x": 100,
        "y": 780,
        "wires": [
            [
                "465303e5806c5cb6"
            ]
        ]
    },
    {
        "id": "5796f4755c7e04c7",
        "type": "ioBroker in",
        "z": "8e9d3cc01fb8d65c",
        "name": "18_Total_energy_consume_from_grid(Grid)",
        "topic": "modbus.0.holdingRegisters.18_Total_energy_consume_from_grid(Grid)",
        "payloadType": "value",
        "onlyack": "",
        "func": "all",
        "gap": "",
        "fireOnStart": "true",
        "outFormat": "MQTT",
        "x": 160,
        "y": 720,
        "wires": [
            [
                "6469cf306e36a5a5"
            ]
        ]
    },
    {
        "id": "d29b18be1d0f193b",
        "type": "ioBroker in",
        "z": "8e9d3cc01fb8d65c",
        "name": "Batterie Füllstand",
        "topic": "modbus.0.holdingRegisters.258_SOC",
        "payloadType": "value",
        "onlyack": "",
        "func": "all",
        "gap": "",
        "fireOnStart": "true",
        "outFormat": "ioBroker",
        "x": 80,
        "y": 600,
        "wires": [
            [
                "105318d4.c9bf47"
            ]
        ]
    },
    {
        "id": "f09733551e2d073f",
        "type": "ioBroker in",
        "z": "8e9d3cc01fb8d65c",
        "name": "1059_PV2_Power Watt",
        "topic": "modbus.0.holdingRegisters.1059_PV2_Power",
        "payloadType": "value",
        "onlyack": "",
        "func": "all",
        "gap": "",
        "fireOnStart": "true",
        "outFormat": "MQTT",
        "x": 100,
        "y": 840,
        "wires": [
            [
                "465303e5806c5cb6"
            ]
        ]
    },
    {
        "id": "fb971c9847329a34",
        "type": "ioBroker in",
        "z": "8e9d3cc01fb8d65c",
        "name": "144_Total_energy_feed_to_Grid(PV)",
        "topic": "modbus.0.holdingRegisters.144_Total_energy_feed_to_Grid(PV)",
        "payloadType": "value",
        "onlyack": "",
        "func": "all",
        "gap": "",
        "fireOnStart": "true",
        "outFormat": "ioBroker",
        "x": 140,
        "y": 280,
        "wires": [
            [
                "5906c11dfb5e25a4"
            ]
        ]
    },
    {
        "id": "da299330a8be28eb",
        "type": "ioBroker in",
        "z": "8e9d3cc01fb8d65c",
        "name": "33_Total_Active_power(Grid_Meter)",
        "topic": "modbus.0.holdingRegisters.33_Total_Active_power(Grid_Meter)",
        "payloadType": "value",
        "onlyack": "",
        "func": "all",
        "gap": "",
        "fireOnStart": "true",
        "outFormat": "ioBroker",
        "x": 140,
        "y": 420,
        "wires": [
            []
        ]
    },
    {
        "id": "b96e6408d8276340",
        "type": "ioBroker in",
        "z": "8e9d3cc01fb8d65c",
        "name": "294_Batterie_Power",
        "topic": "modbus.0.holdingRegisters.294_Batterie_Power",
        "payloadType": "value",
        "onlyack": "",
        "func": "all",
        "gap": "",
        "fireOnStart": "true",
        "outFormat": "ioBroker",
        "x": 90,
        "y": 540,
        "wires": [
            [
                "32f287cc.caad38"
            ]
        ]
    },
    {
        "id": "78582653d1abd8ef",
        "type": "function",
        "z": "8e9d3cc01fb8d65c",
        "name": "720 Seriennummer",
        "func": "var wert = msg.payload\n\nnode.send({payload:{\"attribute\":{\"id\":720,\"value\":msg.payload}}})\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 710,
        "y": 120,
        "wires": [
            [
                "4da2116e.8b8a9"
            ]
        ]
    },
    {
        "id": "68ed15dd8c2c07ee",
        "type": "function",
        "z": "8e9d3cc01fb8d65c",
        "name": "721 Firmware Inverter",
        "func": "var wert = msg.payload\n\nnode.send({payload:{\"attribute\":{\"id\":721,\"value\":msg.payload}}})\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 720,
        "y": 160,
        "wires": [
            []
        ]
    },
    {
        "id": "6e56bafd35e0a01f",
        "type": "ioBroker in",
        "z": "8e9d3cc01fb8d65c",
        "name": "Strombezug Netz kWh 33_Total_Active_power(Grid_Meter)",
        "topic": "modbus.0.holdingRegisters.33_Total_Active_power(Grid_Meter)",
        "payloadType": "value",
        "onlyack": "",
        "func": "all",
        "gap": "",
        "fireOnStart": "true",
        "outFormat": "ioBroker",
        "x": 210,
        "y": 200,
        "wires": [
            [
                "c4b97f3e.2d92f",
                "782d9698cf4e9938"
            ]
        ]
    },
    {
        "id": "85e16134bca40d25",
        "type": "function",
        "z": "8e9d3cc01fb8d65c",
        "name": "730",
        "func": "var wert = msg.payload\n\nnode.send({payload:{\"attribute\":{\"id\":730,\"value\":msg.payload}}})\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 610,
        "y": 560,
        "wires": [
            [
                "4da2116e.8b8a9"
            ]
        ]
    },
    {
        "id": "e12d7006a83adeec",
        "type": "ioBroker in",
        "z": "8e9d3cc01fb8d65c",
        "name": "1086_Inverter_Totol_PV_Energy W",
        "topic": "modbus.0.holdingRegisters.1086_Inverter_Totol_PV_Energy",
        "payloadType": "value",
        "onlyack": "",
        "func": "all",
        "gap": "",
        "fireOnStart": "true",
        "outFormat": "MQTT",
        "x": 140,
        "y": 480,
        "wires": [
            [
                "85e16134bca40d25"
            ]
        ]
    },
    {
        "id": "6469cf306e36a5a5",
        "type": "function",
        "z": "8e9d3cc01fb8d65c",
        "name": "731",
        "func": "var wert = msg.payload\n\nnode.send({payload:{\"attribute\":{\"id\":731,\"value\":msg.payload}}})\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 610,
        "y": 600,
        "wires": [
            [
                "4da2116e.8b8a9"
            ]
        ]
    },
    {
        "id": "fd17be5650dd5eaf",
        "type": "function",
        "z": "8e9d3cc01fb8d65c",
        "name": "Filter",
        "func": "msg.payload = msg.payload[1] + msg.payload[0];\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 610,
        "y": 740,
        "wires": [
            [
                "c75f3b7a.477f28"
            ]
        ]
    },
    {
        "id": "36726ffcb6585ea0",
        "type": "function",
        "z": "8e9d3cc01fb8d65c",
        "name": "724",
        "func": "var wert = msg.payload\n\nnode.send({payload:{\"attribute\":{\"id\":724,\"value\":msg.payload}}})\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 650,
        "y": 320,
        "wires": [
            [
                "4da2116e.8b8a9"
            ]
        ]
    },
    {
        "id": "c7feabe7afc08cdb",
        "type": "ioBroker in",
        "z": "8e9d3cc01fb8d65c",
        "name": "1036_Inverter_Power_Total_L1–L3",
        "topic": "modbus.0.holdingRegisters.1036_Inverter_Power_Total_L1–L3",
        "payloadType": "value",
        "onlyack": "",
        "func": "all",
        "gap": "",
        "fireOnStart": "true",
        "outFormat": "MQTT",
        "x": 140,
        "y": 360,
        "wires": [
            [
                "782d9698cf4e9938"
            ]
        ]
    },
    {
        "id": "00b103eed2a03df3",
        "type": "ioBroker in",
        "z": "8e9d3cc01fb8d65c",
        "name": "16_Total_energy_feed_to_grid(Grid)_0010H",
        "topic": "modbus.0.holdingRegisters.16_Total_energy_feed_to_grid(Grid)_0010H",
        "payloadType": "value",
        "onlyack": "",
        "func": "all",
        "gap": "",
        "fireOnStart": "true",
        "outFormat": "MQTT",
        "x": 180,
        "y": 140,
        "wires": [
            [
                "b7a917e5c1ad25a6"
            ]
        ]
    },
    {
        "id": "5906c11dfb5e25a4",
        "type": "function",
        "z": "8e9d3cc01fb8d65c",
        "name": "723",
        "func": "var wert = msg.payload\n\nnode.send({payload:{\"attribute\":{\"id\":723,\"value\":msg.payload}}})\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 610,
        "y": 260,
        "wires": [
            [
                "4da2116e.8b8a9"
            ]
        ]
    },
    {
        "id": "a53112ad25cc8a1d",
        "type": "ioBroker in",
        "z": "8e9d3cc01fb8d65c",
        "name": "290_Battery_discharge_energy",
        "topic": "modbus.0.holdingRegisters.290_Battery_discharge_energy",
        "payloadType": "value",
        "onlyack": "",
        "func": "all",
        "gap": "",
        "fireOnStart": "true",
        "outFormat": "MQTT",
        "x": 130,
        "y": 900,
        "wires": [
            [
                "2b3d1c41c4a9dc1c"
            ]
        ]
    },
    {
        "id": "064e5f2f01132e91",
        "type": "function",
        "z": "8e9d3cc01fb8d65c",
        "name": "729",
        "func": "var wert = msg.payload\n\nnode.send({payload:{\"attribute\":{\"id\":729,\"value\":msg.payload}}})\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 610,
        "y": 520,
        "wires": [
            []
        ]
    },
    {
        "id": "b7a917e5c1ad25a6",
        "type": "function",
        "z": "8e9d3cc01fb8d65c",
        "name": "732",
        "func": "var wert = msg.payload\n\nnode.send({payload:{\"attribute\":{\"id\":732,\"value\":msg.payload}}})\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 610,
        "y": 640,
        "wires": [
            [
                "4da2116e.8b8a9"
            ]
        ]
    },
    {
        "id": "cd624550dc28e6fc",
        "type": "function",
        "z": "8e9d3cc01fb8d65c",
        "name": "733",
        "func": "var wert = msg.payload\n\nnode.send({payload:{\"attribute\":{\"id\":733,\"value\":msg.payload}}})\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 610,
        "y": 700,
        "wires": [
            [
                "4da2116e.8b8a9"
            ]
        ]
    },
    {
        "id": "2b3d1c41c4a9dc1c",
        "type": "function",
        "z": "8e9d3cc01fb8d65c",
        "name": "734",
        "func": "var wert = msg.payload\n\nnode.send({payload:{\"attribute\":{\"id\":734,\"value\":msg.payload}}})\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 610,
        "y": 780,
        "wires": [
            [
                "4da2116e.8b8a9"
            ]
        ]
    },
    {
        "id": "8a82c5f292ccb470",
        "type": "ioBroker in",
        "z": "8e9d3cc01fb8d65c",
        "name": "288_Battery_charge_energy",
        "topic": "modbus.0.holdingRegisters.288_Battery_charge_energy",
        "payloadType": "value",
        "onlyack": "",
        "func": "all",
        "gap": "",
        "fireOnStart": "true",
        "outFormat": "MQTT",
        "x": 120,
        "y": 660,
        "wires": [
            [
                "cd624550dc28e6fc"
            ]
        ]
    },
    {
        "id": "465303e5806c5cb6",
        "type": "join",
        "z": "8e9d3cc01fb8d65c",
        "name": "Manuell payload Array",
        "mode": "custom",
        "build": "array",
        "property": "payload",
        "propertyType": "msg",
        "key": "topic",
        "joiner": "\\n",
        "joinerType": "str",
        "accumulate": false,
        "timeout": "2",
        "count": "2",
        "reduceRight": false,
        "reduceExp": "",
        "reduceInit": "",
        "reduceInitType": "num",
        "reduceFixup": "",
        "x": 380,
        "y": 760,
        "wires": [
            [
                "fd17be5650dd5eaf"
            ]
        ]
    },
    {
        "id": "782d9698cf4e9938",
        "type": "join",
        "z": "8e9d3cc01fb8d65c",
        "name": "Manuell payload Array",
        "mode": "custom",
        "build": "array",
        "property": "payload",
        "propertyType": "msg",
        "key": "topic",
        "joiner": "\\n",
        "joinerType": "str",
        "accumulate": false,
        "timeout": "2",
        "count": "2",
        "reduceRight": false,
        "reduceExp": "",
        "reduceInit": "",
        "reduceInitType": "num",
        "reduceFixup": "",
        "x": 460,
        "y": 380,
        "wires": [
            [
                "d253631a38e7580d"
            ]
        ]
    },
    {
        "id": "d253631a38e7580d",
        "type": "function",
        "z": "8e9d3cc01fb8d65c",
        "name": "Filter",
        "func": "msg.payload = msg.payload[1] + msg.payload[0];\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 470,
        "y": 300,
        "wires": [
            [
                "36726ffcb6585ea0"
            ]
        ]
    }
]

Hab den Thread mal in die Kathegorie „Smart Home Welt“ verschoben, da es sich nicht um ein direktes Support und Bug Thema handelt, das den homee betrifft, sonder eher ein Problem mit der inoffiziellen API und deren Nutzung über IOBroker und vhih.

1 „Gefällt mir“