Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Node-Red
  5. [HowTo] Huawei SUN2000 WR Modbus mit node-red (read + write)

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.3k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.9k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.3k

[HowTo] Huawei SUN2000 WR Modbus mit node-red (read + write)

Geplant Angeheftet Gesperrt Verschoben Node-Red
574 Beiträge 110 Kommentatoren 223.4k Aufrufe 108 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Christof LewandowskiC Christof Lewandowski

    @mickym said in [HowTo] Huawei SUN2000 WR Modbus mit node-red (read + write):

    @christof-lewandowski sagte in [HowTo] Huawei SUN2000 WR Modbus mit node-red (read + write):

    Wie würde man denn in Node Red nun die Ergebnisse der Registerabfragen in die ioBroker Datenpunkte schreiben?

    Mit einer iobroker-Out Node. Das Topic enthält den Pfad zum Datenpunkt.

    Ein Beispiel hierzu wäre klasse :)

    Eher dann aber zu den buffer-parser und join nodes. Die iobroker-Out Nodes sollten ja die selben wie aus den mehrfach verlinkten Flows hier sein.

    mickymM Offline
    mickymM Offline
    mickym
    Most Active
    schrieb am zuletzt editiert von mickym
    #308

    @christof-lewandowski Du - dann musst Du ein konkretes Beispiel liefern. Stelle hier in CodeTags das ein was aus einer Modbus Node rauskommt und was Du dann in einen Datenpunkt schreiben willst - also wie das aussehen soll. Die Join Node brauchst du nicht unbedingt.

    Mehrfache Analysen kannst bereits in einem Objekt zusammenfassen, wenn Du den parser entsprechend konfigurierst.

    730f952e-df3a-4028-9464-28f6b7e72832-image.png

    Beispiele zu den Buffer-Nodes werden in Beispielen bereits mitgeliefert.

    51c3310a-11f1-493c-bd0c-ea1c0d2ee281-image.png

    Hier noch ein paar Beispiele, die ich mir selbst gemacht habe, um das Ganze zu verstehen;

    [
       {
           "id": "0662713ffc076361",
           "type": "tab",
           "label": "Buffer Beispiele",
           "disabled": false,
           "info": "",
           "env": []
       },
       {
           "id": "1c12b45aa6c4adca",
           "type": "junction",
           "z": "0662713ffc076361",
           "x": 280,
           "y": 240,
           "wires": [
               [
                   "9bc9a74d1f455065",
                   "9c99b46399646127"
               ]
           ]
       },
       {
           "id": "e1b02064d9fdd3a2",
           "type": "junction",
           "z": "0662713ffc076361",
           "x": 260,
           "y": 540,
           "wires": [
               [
                   "652134c61c9e5717",
                   "21fe0484881084c7"
               ]
           ]
       },
       {
           "id": "507801e3daf21784",
           "type": "junction",
           "z": "0662713ffc076361",
           "x": 240,
           "y": 840,
           "wires": [
               [
                   "1856c460913bd89e",
                   "fffe47c505694c8c"
               ]
           ]
       },
       {
           "id": "049178586542d05a",
           "type": "junction",
           "z": "0662713ffc076361",
           "x": 260,
           "y": 1280,
           "wires": [
               [
                   "13eedcda4930699c",
                   "a930d2c46dcbcd47"
               ]
           ]
       },
       {
           "id": "8dde82b282601d6e",
           "type": "junction",
           "z": "0662713ffc076361",
           "x": 260,
           "y": 1560,
           "wires": [
               [
                   "5f59f14ac3fcd3b1",
                   "29b71699a89afce7"
               ]
           ]
       },
       {
           "id": "b2a1f09de6d12e90",
           "type": "inject",
           "z": "0662713ffc076361",
           "name": "",
           "props": [
               {
                   "p": "payload"
               }
           ],
           "repeat": "",
           "crontab": "",
           "once": false,
           "onceDelay": 0.1,
           "topic": "",
           "payload": "100.00",
           "payloadType": "num",
           "x": 170,
           "y": 240,
           "wires": [
               [
                   "1c12b45aa6c4adca"
               ]
           ]
       },
       {
           "id": "9bc9a74d1f455065",
           "type": "buffer-maker",
           "z": "0662713ffc076361",
           "name": "",
           "specification": "spec",
           "specificationType": "ui",
           "items": [
               {
                   "name": "item1",
                   "type": "floatbe",
                   "length": 1,
                   "dataType": "msg",
                   "data": "payload"
               }
           ],
           "swap1": "",
           "swap2": "",
           "swap3": "",
           "swap1Type": "swap",
           "swap2Type": "swap",
           "swap3Type": "swap",
           "msgProperty": "payload",
           "msgPropertyType": "str",
           "x": 390,
           "y": 220,
           "wires": [
               [
                   "faea83afe6fa1bba",
                   "c39e4fa3f88efaed"
               ]
           ]
       },
       {
           "id": "c5411af36dbc6206",
           "type": "debug",
           "z": "0662713ffc076361",
           "name": "Neues Array",
           "active": true,
           "tosidebar": true,
           "console": false,
           "tostatus": true,
           "complete": "payload",
           "targetType": "msg",
           "statusVal": "payload",
           "statusType": "auto",
           "x": 770,
           "y": 220,
           "wires": []
       },
       {
           "id": "7d49268d76c118b3",
           "type": "inject",
           "z": "0662713ffc076361",
           "name": "",
           "props": [
               {
                   "p": "payload"
               }
           ],
           "repeat": "",
           "crontab": "",
           "once": false,
           "onceDelay": 0.1,
           "topic": "",
           "payload": "-100.00",
           "payloadType": "num",
           "x": 170,
           "y": 200,
           "wires": [
               [
                   "1c12b45aa6c4adca"
               ]
           ]
       },
       {
           "id": "faea83afe6fa1bba",
           "type": "buffer-parser",
           "z": "0662713ffc076361",
           "name": "",
           "data": "payload",
           "dataType": "msg",
           "specification": "spec",
           "specificationType": "ui",
           "items": [
               {
                   "type": "uint16be",
                   "name": "item1",
                   "offset": 0,
                   "length": 1,
                   "offsetbit": 0,
                   "scale": "1",
                   "mask": ""
               },
               {
                   "type": "uint16be",
                   "name": "item2",
                   "offset": 2,
                   "length": 1,
                   "offsetbit": 0,
                   "scale": "1",
                   "mask": ""
               }
           ],
           "swap1": "",
           "swap2": "",
           "swap3": "",
           "swap1Type": "swap",
           "swap2Type": "swap",
           "swap3Type": "swap",
           "msgProperty": "payload",
           "msgPropertyType": "str",
           "resultType": "value",
           "resultTypeType": "return",
           "multipleResult": false,
           "fanOutMultipleResult": false,
           "setTopic": true,
           "outputs": 1,
           "x": 570,
           "y": 220,
           "wires": [
               [
                   "c5411af36dbc6206",
                   "28e7d3b028dcf2ba",
                   "c49d8a32b00d9e38"
               ]
           ]
       },
       {
           "id": "c310b522d6b2bc18",
           "type": "inject",
           "z": "0662713ffc076361",
           "name": "",
           "props": [
               {
                   "p": "payload"
               }
           ],
           "repeat": "",
           "crontab": "",
           "once": false,
           "onceDelay": 0.1,
           "topic": "",
           "payload": "-1234.00",
           "payloadType": "num",
           "x": 160,
           "y": 320,
           "wires": [
               [
                   "1c12b45aa6c4adca"
               ]
           ]
       },
       {
           "id": "c39e4fa3f88efaed",
           "type": "debug",
           "z": "0662713ffc076361",
           "name": "buffer",
           "active": true,
           "tosidebar": true,
           "console": false,
           "tostatus": false,
           "complete": "payload",
           "targetType": "msg",
           "statusVal": "",
           "statusType": "auto",
           "x": 550,
           "y": 160,
           "wires": []
       },
       {
           "id": "31e68b28d89b17db",
           "type": "inject",
           "z": "0662713ffc076361",
           "name": "",
           "props": [
               {
                   "p": "payload"
               }
           ],
           "repeat": "",
           "crontab": "",
           "once": false,
           "onceDelay": 0.1,
           "topic": "",
           "payload": "68001",
           "payloadType": "num",
           "x": 170,
           "y": 280,
           "wires": [
               [
                   "1c12b45aa6c4adca"
               ]
           ]
       },
       {
           "id": "28e7d3b028dcf2ba",
           "type": "buffer-maker",
           "z": "0662713ffc076361",
           "name": "",
           "specification": "spec",
           "specificationType": "ui",
           "items": [
               {
                   "name": "item1",
                   "type": "uint16be",
                   "length": 2,
                   "dataType": "msg",
                   "data": "payload"
               }
           ],
           "swap1": "",
           "swap2": "",
           "swap3": "",
           "swap1Type": "swap",
           "swap2Type": "swap",
           "swap3Type": "swap",
           "msgProperty": "payload",
           "msgPropertyType": "str",
           "x": 770,
           "y": 300,
           "wires": [
               [
                   "423d2ba998b44648"
               ]
           ]
       },
       {
           "id": "d23882e23c0fe50c",
           "type": "debug",
           "z": "0662713ffc076361",
           "name": "Rückkonvertierung",
           "active": true,
           "tosidebar": true,
           "console": false,
           "tostatus": false,
           "complete": "payload",
           "targetType": "msg",
           "statusVal": "",
           "statusType": "auto",
           "x": 1150,
           "y": 300,
           "wires": []
       },
       {
           "id": "423d2ba998b44648",
           "type": "buffer-parser",
           "z": "0662713ffc076361",
           "name": "",
           "data": "payload",
           "dataType": "msg",
           "specification": "spec",
           "specificationType": "ui",
           "items": [
               {
                   "type": "floatbe",
                   "name": "item1",
                   "offset": 0,
                   "length": 1,
                   "offsetbit": 0,
                   "scale": "1",
                   "mask": ""
               }
           ],
           "swap1": "",
           "swap2": "",
           "swap3": "",
           "swap1Type": "swap",
           "swap2Type": "swap",
           "swap3Type": "swap",
           "msgProperty": "payload",
           "msgPropertyType": "str",
           "resultType": "value",
           "resultTypeType": "return",
           "multipleResult": true,
           "fanOutMultipleResult": false,
           "setTopic": false,
           "outputs": 1,
           "x": 950,
           "y": 300,
           "wires": [
               [
                   "d23882e23c0fe50c"
               ]
           ]
       },
       {
           "id": "9c99b46399646127",
           "type": "debug",
           "z": "0662713ffc076361",
           "name": "Float- Eingabe",
           "active": true,
           "tosidebar": true,
           "console": false,
           "tostatus": false,
           "complete": "payload",
           "targetType": "msg",
           "statusVal": "",
           "statusType": "auto",
           "x": 400,
           "y": 280,
           "wires": []
       },
       {
           "id": "65392663801b7347",
           "type": "inject",
           "z": "0662713ffc076361",
           "name": "",
           "props": [
               {
                   "p": "payload"
               }
           ],
           "repeat": "",
           "crontab": "",
           "once": false,
           "onceDelay": 0.1,
           "topic": "",
           "payload": "-2",
           "payloadType": "num",
           "x": 170,
           "y": 520,
           "wires": [
               [
                   "e1b02064d9fdd3a2"
               ]
           ]
       },
       {
           "id": "652134c61c9e5717",
           "type": "buffer-maker",
           "z": "0662713ffc076361",
           "name": "",
           "specification": "spec",
           "specificationType": "ui",
           "items": [
               {
                   "name": "item1",
                   "type": "int8",
                   "length": 1,
                   "dataType": "msg",
                   "data": "payload"
               }
           ],
           "swap1": "",
           "swap2": "",
           "swap3": "",
           "swap1Type": "swap",
           "swap2Type": "swap",
           "swap3Type": "swap",
           "msgProperty": "payload",
           "msgPropertyType": "str",
           "x": 370,
           "y": 520,
           "wires": [
               [
                   "95bd1a00f43c3a41",
                   "1f0f6998b2fe22bd"
               ]
           ]
       },
       {
           "id": "95bd1a00f43c3a41",
           "type": "debug",
           "z": "0662713ffc076361",
           "name": "buffer maker",
           "active": true,
           "tosidebar": true,
           "console": false,
           "tostatus": false,
           "complete": "payload",
           "targetType": "msg",
           "statusVal": "",
           "statusType": "auto",
           "x": 550,
           "y": 480,
           "wires": []
       },
       {
           "id": "1f0f6998b2fe22bd",
           "type": "buffer-parser",
           "z": "0662713ffc076361",
           "name": "",
           "data": "payload",
           "dataType": "msg",
           "specification": "spec",
           "specificationType": "ui",
           "items": [
               {
                   "type": "8bit",
                   "name": "item1",
                   "offset": 0,
                   "length": 1,
                   "offsetbit": 0,
                   "scale": "1",
                   "mask": ""
               }
           ],
           "swap1": "",
           "swap2": "",
           "swap3": "",
           "swap1Type": "swap",
           "swap2Type": "swap",
           "swap3Type": "swap",
           "msgProperty": "payload",
           "msgPropertyType": "str",
           "resultType": "value",
           "resultTypeType": "return",
           "multipleResult": false,
           "fanOutMultipleResult": false,
           "setTopic": true,
           "outputs": 1,
           "x": 550,
           "y": 520,
           "wires": [
               [
                   "0d6994be085f2354",
                   "e2ed4381ba501491"
               ]
           ]
       },
       {
           "id": "0d6994be085f2354",
           "type": "debug",
           "z": "0662713ffc076361",
           "name": "buffer parser",
           "active": true,
           "tosidebar": true,
           "console": false,
           "tostatus": false,
           "complete": "payload",
           "targetType": "msg",
           "statusVal": "",
           "statusType": "auto",
           "x": 730,
           "y": 520,
           "wires": []
       },
       {
           "id": "abae5fcc0b245338",
           "type": "inject",
           "z": "0662713ffc076361",
           "name": "",
           "props": [
               {
                   "p": "payload"
               }
           ],
           "repeat": "",
           "crontab": "",
           "once": false,
           "onceDelay": 0.1,
           "topic": "",
           "payload": "-3",
           "payloadType": "num",
           "x": 170,
           "y": 560,
           "wires": [
               [
                   "e1b02064d9fdd3a2"
               ]
           ]
       },
       {
           "id": "e2ed4381ba501491",
           "type": "change",
           "z": "0662713ffc076361",
           "name": "",
           "rules": [
               {
                   "t": "set",
                   "p": "payload",
                   "pt": "msg",
                   "to": "[[payload[0][0].bits]]",
                   "tot": "jsonata"
               }
           ],
           "action": "",
           "property": "",
           "from": "",
           "to": "",
           "reg": false,
           "x": 675,
           "y": 580,
           "wires": [
               [
                   "5574ff5ac8d119b9",
                   "10d57305e25d5ffb"
               ]
           ],
           "l": false
       },
       {
           "id": "10d57305e25d5ffb",
           "type": "debug",
           "z": "0662713ffc076361",
           "name": "8bit Array",
           "active": true,
           "tosidebar": true,
           "console": false,
           "tostatus": false,
           "complete": "payload",
           "targetType": "msg",
           "statusVal": "",
           "statusType": "auto",
           "x": 820,
           "y": 560,
           "wires": []
       },
       {
           "id": "5574ff5ac8d119b9",
           "type": "buffer-maker",
           "z": "0662713ffc076361",
           "name": "",
           "specification": "spec",
           "specificationType": "ui",
           "items": [
               {
                   "name": "item1",
                   "type": "8bit",
                   "length": 1,
                   "dataType": "msg",
                   "data": "payload"
               }
           ],
           "swap1": "",
           "swap2": "",
           "swap3": "",
           "swap1Type": "swap",
           "swap2Type": "swap",
           "swap3Type": "swap",
           "msgProperty": "payload",
           "msgPropertyType": "str",
           "x": 830,
           "y": 600,
           "wires": [
               [
                   "a8bc2f0c740651b7",
                   "bc288c3fca11aefa"
               ]
           ]
       },
       {
           "id": "a8bc2f0c740651b7",
           "type": "debug",
           "z": "0662713ffc076361",
           "name": "buffer maker 2",
           "active": true,
           "tosidebar": true,
           "console": false,
           "tostatus": false,
           "complete": "payload",
           "targetType": "msg",
           "statusVal": "",
           "statusType": "auto",
           "x": 1020,
           "y": 560,
           "wires": []
       },
       {
           "id": "bc288c3fca11aefa",
           "type": "buffer-parser",
           "z": "0662713ffc076361",
           "name": "",
           "data": "payload",
           "dataType": "msg",
           "specification": "spec",
           "specificationType": "ui",
           "items": [
               {
                   "type": "int8",
                   "name": "item1",
                   "offset": 0,
                   "length": 1,
                   "offsetbit": 0,
                   "scale": "1",
                   "mask": ""
               }
           ],
           "swap1": "",
           "swap2": "",
           "swap3": "",
           "swap1Type": "swap",
           "swap2Type": "swap",
           "swap3Type": "swap",
           "msgProperty": "payload",
           "msgPropertyType": "str",
           "resultType": "value",
           "resultTypeType": "return",
           "multipleResult": true,
           "fanOutMultipleResult": false,
           "setTopic": false,
           "outputs": 1,
           "x": 1010,
           "y": 600,
           "wires": [
               [
                   "177efcba05d60d49"
               ]
           ]
       },
       {
           "id": "177efcba05d60d49",
           "type": "debug",
           "z": "0662713ffc076361",
           "name": "buffer parser 2",
           "active": true,
           "tosidebar": true,
           "console": false,
           "tostatus": false,
           "complete": "payload",
           "targetType": "msg",
           "statusVal": "",
           "statusType": "auto",
           "x": 1200,
           "y": 600,
           "wires": []
       },
       {
           "id": "21fe0484881084c7",
           "type": "debug",
           "z": "0662713ffc076361",
           "name": "int 8 - Eíngabe",
           "active": true,
           "tosidebar": true,
           "console": false,
           "tostatus": false,
           "complete": "payload",
           "targetType": "msg",
           "statusVal": "",
           "statusType": "auto",
           "x": 380,
           "y": 580,
           "wires": []
       },
       {
           "id": "84c27693b7531e4a",
           "type": "comment",
           "z": "0662713ffc076361",
           "name": "Float to Modbus and vice versa",
           "info": "",
           "x": 250,
           "y": 100,
           "wires": []
       },
       {
           "id": "39d7dcbddba73a69",
           "type": "comment",
           "z": "0662713ffc076361",
           "name": "int8 in bits and vice versa",
           "info": "",
           "x": 230,
           "y": 420,
           "wires": []
       },
       {
           "id": "d69fb8a9990a7328",
           "type": "inject",
           "z": "0662713ffc076361",
           "name": "",
           "props": [
               {
                   "p": "payload"
               }
           ],
           "repeat": "",
           "crontab": "",
           "once": false,
           "onceDelay": 0.1,
           "topic": "",
           "payload": "2",
           "payloadType": "num",
           "x": 150,
           "y": 820,
           "wires": [
               [
                   "507801e3daf21784"
               ]
           ]
       },
       {
           "id": "1856c460913bd89e",
           "type": "buffer-maker",
           "z": "0662713ffc076361",
           "name": "",
           "specification": "spec",
           "specificationType": "ui",
           "items": [
               {
                   "name": "item1",
                   "type": "int8",
                   "length": 1,
                   "dataType": "msg",
                   "data": "payload"
               }
           ],
           "swap1": "",
           "swap2": "",
           "swap3": "",
           "swap1Type": "swap",
           "swap2Type": "swap",
           "swap3Type": "swap",
           "msgProperty": "payload",
           "msgPropertyType": "str",
           "x": 350,
           "y": 820,
           "wires": [
               [
                   "433f2540895c99ad",
                   "36dc7e66a9b26a6b"
               ]
           ]
       },
       {
           "id": "433f2540895c99ad",
           "type": "debug",
           "z": "0662713ffc076361",
           "name": "buffer maker",
           "active": false,
           "tosidebar": true,
           "console": false,
           "tostatus": false,
           "complete": "payload",
           "targetType": "msg",
           "statusVal": "",
           "statusType": "auto",
           "x": 530,
           "y": 780,
           "wires": []
       },
       {
           "id": "36dc7e66a9b26a6b",
           "type": "buffer-parser",
           "z": "0662713ffc076361",
           "name": "",
           "data": "payload",
           "dataType": "msg",
           "specification": "spec",
           "specificationType": "ui",
           "items": [
               {
                   "type": "bool",
                   "name": "item1",
                   "offset": 0,
                   "length": 8,
                   "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": false,
           "outputs": 1,
           "x": 530,
           "y": 820,
           "wires": [
               [
                   "784028a112add38d",
                   "070c0aa63a892e0c",
                   "9f4c5c840cc21038",
                   "f6cb9b4c0c93839f"
               ]
           ]
       },
       {
           "id": "530209956de421ec",
           "type": "inject",
           "z": "0662713ffc076361",
           "name": "",
           "props": [
               {
                   "p": "payload"
               }
           ],
           "repeat": "",
           "crontab": "",
           "once": false,
           "onceDelay": 0.1,
           "topic": "",
           "payload": "3",
           "payloadType": "num",
           "x": 150,
           "y": 860,
           "wires": [
               [
                   "507801e3daf21784"
               ]
           ]
       },
       {
           "id": "fffe47c505694c8c",
           "type": "debug",
           "z": "0662713ffc076361",
           "name": "uint 8 - Eíngabe",
           "active": false,
           "tosidebar": true,
           "console": false,
           "tostatus": false,
           "complete": "payload",
           "targetType": "msg",
           "statusVal": "",
           "statusType": "auto",
           "x": 360,
           "y": 880,
           "wires": []
       },
       {
           "id": "0cd4466a316781d4",
           "type": "comment",
           "z": "0662713ffc076361",
           "name": "uint8 in bools",
           "info": "",
           "x": 170,
           "y": 720,
           "wires": []
       },
       {
           "id": "784028a112add38d",
           "type": "debug",
           "z": "0662713ffc076361",
           "name": "buffer parser",
           "active": false,
           "tosidebar": true,
           "console": false,
           "tostatus": false,
           "complete": "payload",
           "targetType": "msg",
           "statusVal": "",
           "statusType": "auto",
           "x": 710,
           "y": 820,
           "wires": []
       },
       {
           "id": "070c0aa63a892e0c",
           "type": "switch",
           "z": "0662713ffc076361",
           "name": "",
           "property": "payload",
           "propertyType": "msg",
           "rules": [
               {
                   "t": "jsonata_exp",
                   "v": "payload[0]",
                   "vt": "jsonata"
               },
               {
                   "t": "jsonata_exp",
                   "v": "payload[1]  ",
                   "vt": "jsonata"
               }
           ],
           "checkall": "true",
           "repair": false,
           "outputs": 2,
           "x": 710,
           "y": 900,
           "wires": [
               [
                   "1d59c18e4ef90cd4"
               ],
               [
                   "12a0fb01a3a0c44a"
               ]
           ]
       },
       {
           "id": "1d59c18e4ef90cd4",
           "type": "debug",
           "z": "0662713ffc076361",
           "name": "Bit 0 gesetzt",
           "active": false,
           "tosidebar": true,
           "console": false,
           "tostatus": false,
           "complete": "payload",
           "targetType": "msg",
           "statusVal": "",
           "statusType": "auto",
           "x": 890,
           "y": 880,
           "wires": []
       },
       {
           "id": "12a0fb01a3a0c44a",
           "type": "debug",
           "z": "0662713ffc076361",
           "name": "Bit 1 gesetzt",
           "active": false,
           "tosidebar": true,
           "console": false,
           "tostatus": false,
           "complete": "payload",
           "targetType": "msg",
           "statusVal": "",
           "statusType": "auto",
           "x": 890,
           "y": 920,
           "wires": []
       },
       {
           "id": "9f4c5c840cc21038",
           "type": "change",
           "z": "0662713ffc076361",
           "name": "Bit 0",
           "rules": [
               {
                   "t": "set",
                   "p": "payload",
                   "pt": "msg",
                   "to": "payload[0]",
                   "tot": "msg"
               }
           ],
           "action": "",
           "property": "",
           "from": "",
           "to": "",
           "reg": false,
           "x": 710,
           "y": 1000,
           "wires": [
               [
                   "91ce77f514e1cc35"
               ]
           ]
       },
       {
           "id": "91ce77f514e1cc35",
           "type": "debug",
           "z": "0662713ffc076361",
           "name": "immer Ausgabe von Bit0",
           "active": true,
           "tosidebar": true,
           "console": false,
           "tostatus": false,
           "complete": "payload",
           "targetType": "msg",
           "statusVal": "",
           "statusType": "auto",
           "x": 910,
           "y": 1000,
           "wires": []
       },
       {
           "id": "f80380170774bc60",
           "type": "debug",
           "z": "0662713ffc076361",
           "name": "nur Ausgabe von Bit0, wenn wahr",
           "active": true,
           "tosidebar": true,
           "console": false,
           "tostatus": false,
           "complete": "payload",
           "targetType": "msg",
           "statusVal": "",
           "statusType": "auto",
           "x": 1060,
           "y": 1060,
           "wires": []
       },
       {
           "id": "f6cb9b4c0c93839f",
           "type": "function",
           "z": "0662713ffc076361",
           "name": "nur Ausgabe wenn true",
           "func": "msg = msg.payload[0] ? {payload : true} : null;\nreturn msg;",
           "outputs": 1,
           "noerr": 0,
           "initialize": "",
           "finalize": "",
           "libs": [],
           "x": 770,
           "y": 1060,
           "wires": [
               [
                   "f80380170774bc60"
               ]
           ]
       },
       {
           "id": "0e30d1a439bb18f0",
           "type": "inject",
           "z": "0662713ffc076361",
           "name": "",
           "props": [
               {
                   "p": "payload"
               }
           ],
           "repeat": "",
           "crontab": "",
           "once": false,
           "onceDelay": 0.1,
           "topic": "",
           "payload": "2",
           "payloadType": "num",
           "x": 170,
           "y": 1260,
           "wires": [
               [
                   "049178586542d05a"
               ]
           ]
       },
       {
           "id": "13eedcda4930699c",
           "type": "buffer-maker",
           "z": "0662713ffc076361",
           "name": "",
           "specification": "spec",
           "specificationType": "ui",
           "items": [
               {
                   "name": "item1",
                   "type": "int8",
                   "length": 1,
                   "dataType": "msg",
                   "data": "payload"
               }
           ],
           "swap1": "",
           "swap2": "",
           "swap3": "",
           "swap1Type": "swap",
           "swap2Type": "swap",
           "swap3Type": "swap",
           "msgProperty": "payload",
           "msgPropertyType": "str",
           "x": 370,
           "y": 1260,
           "wires": [
               [
                   "9163d26897e6af76",
                   "6f2bea75830b22b7"
               ]
           ]
       },
       {
           "id": "9163d26897e6af76",
           "type": "debug",
           "z": "0662713ffc076361",
           "name": "buffer maker",
           "active": true,
           "tosidebar": true,
           "console": false,
           "tostatus": false,
           "complete": "payload",
           "targetType": "msg",
           "statusVal": "",
           "statusType": "auto",
           "x": 550,
           "y": 1220,
           "wires": []
       },
       {
           "id": "6f2bea75830b22b7",
           "type": "buffer-parser",
           "z": "0662713ffc076361",
           "name": "",
           "data": "payload",
           "dataType": "msg",
           "specification": "spec",
           "specificationType": "ui",
           "items": [
               {
                   "type": "bool",
                   "name": "Wohnzimmer",
                   "offset": 0,
                   "length": 1,
                   "offsetbit": 0,
                   "scale": "1",
                   "mask": ""
               },
               {
                   "type": "bool",
                   "name": "Esszimmer",
                   "offset": 0,
                   "length": 1,
                   "offsetbit": 1,
                   "scale": "1",
                   "mask": ""
               },
               {
                   "type": "bool",
                   "name": "Küche",
                   "offset": 0,
                   "length": 1,
                   "offsetbit": 2,
                   "scale": "1",
                   "mask": ""
               },
               {
                   "type": "bool",
                   "name": "Bad",
                   "offset": 0,
                   "length": 1,
                   "offsetbit": 3,
                   "scale": "1",
                   "mask": ""
               },
               {
                   "type": "bool",
                   "name": "Büro",
                   "offset": 0,
                   "length": 1,
                   "offsetbit": 4,
                   "scale": "1",
                   "mask": ""
               },
               {
                   "type": "bool",
                   "name": "Schlafzimmer",
                   "offset": 0,
                   "length": 1,
                   "offsetbit": 5,
                   "scale": "1",
                   "mask": ""
               },
               {
                   "type": "bool",
                   "name": "Diele",
                   "offset": 0,
                   "length": 1,
                   "offsetbit": 6,
                   "scale": "1",
                   "mask": ""
               },
               {
                   "type": "bool",
                   "name": "Flur",
                   "offset": 0,
                   "length": 1,
                   "offsetbit": 7,
                   "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": 550,
           "y": 1260,
           "wires": [
               [
                   "297c8cbeede9dc87"
               ]
           ]
       },
       {
           "id": "fb2a58e4823e7e2b",
           "type": "inject",
           "z": "0662713ffc076361",
           "name": "",
           "props": [
               {
                   "p": "payload"
               }
           ],
           "repeat": "",
           "crontab": "",
           "once": false,
           "onceDelay": 0.1,
           "topic": "",
           "payload": "3",
           "payloadType": "num",
           "x": 170,
           "y": 1300,
           "wires": [
               [
                   "049178586542d05a"
               ]
           ]
       },
       {
           "id": "a930d2c46dcbcd47",
           "type": "debug",
           "z": "0662713ffc076361",
           "name": "uint 8 - Eíngabe",
           "active": false,
           "tosidebar": true,
           "console": false,
           "tostatus": false,
           "complete": "payload",
           "targetType": "msg",
           "statusVal": "",
           "statusType": "auto",
           "x": 380,
           "y": 1320,
           "wires": []
       },
       {
           "id": "297c8cbeede9dc87",
           "type": "debug",
           "z": "0662713ffc076361",
           "name": "buffer parser -key/values",
           "active": true,
           "tosidebar": true,
           "console": false,
           "tostatus": false,
           "complete": "payload",
           "targetType": "msg",
           "statusVal": "",
           "statusType": "auto",
           "x": 770,
           "y": 1260,
           "wires": []
       },
       {
           "id": "64eb5fd73953b7d5",
           "type": "inject",
           "z": "0662713ffc076361",
           "name": "",
           "props": [
               {
                   "p": "payload"
               }
           ],
           "repeat": "",
           "crontab": "",
           "once": false,
           "onceDelay": 0.1,
           "topic": "",
           "payload": "-2",
           "payloadType": "num",
           "x": 170,
           "y": 1540,
           "wires": [
               [
                   "8dde82b282601d6e"
               ]
           ]
       },
       {
           "id": "5f59f14ac3fcd3b1",
           "type": "buffer-maker",
           "z": "0662713ffc076361",
           "name": "",
           "specification": "spec",
           "specificationType": "ui",
           "items": [
               {
                   "name": "item1",
                   "type": "int8",
                   "length": 1,
                   "dataType": "msg",
                   "data": "payload"
               }
           ],
           "swap1": "",
           "swap2": "",
           "swap3": "",
           "swap1Type": "swap",
           "swap2Type": "swap",
           "swap3Type": "swap",
           "msgProperty": "payload",
           "msgPropertyType": "str",
           "x": 370,
           "y": 1540,
           "wires": [
               [
                   "48ccf7d25a4846f5",
                   "5bad6ada97251a35"
               ]
           ]
       },
       {
           "id": "48ccf7d25a4846f5",
           "type": "debug",
           "z": "0662713ffc076361",
           "name": "buffer maker",
           "active": true,
           "tosidebar": true,
           "console": false,
           "tostatus": false,
           "complete": "payload",
           "targetType": "msg",
           "statusVal": "",
           "statusType": "auto",
           "x": 550,
           "y": 1500,
           "wires": []
       },
       {
           "id": "5bad6ada97251a35",
           "type": "buffer-parser",
           "z": "0662713ffc076361",
           "name": "",
           "data": "payload",
           "dataType": "msg",
           "specification": "spec",
           "specificationType": "ui",
           "items": [
               {
                   "type": "hex",
                   "name": "item1",
                   "offset": 0,
                   "length": 1,
                   "offsetbit": 0,
                   "scale": "1",
                   "mask": ""
               }
           ],
           "swap1": "",
           "swap2": "",
           "swap3": "",
           "swap1Type": "swap",
           "swap2Type": "swap",
           "swap3Type": "swap",
           "msgProperty": "payload",
           "msgPropertyType": "str",
           "resultType": "value",
           "resultTypeType": "return",
           "multipleResult": true,
           "fanOutMultipleResult": false,
           "setTopic": true,
           "outputs": 1,
           "x": 550,
           "y": 1540,
           "wires": [
               [
                   "0696cce665e1162d",
                   "bb01a74912b2e976"
               ]
           ]
       },
       {
           "id": "0696cce665e1162d",
           "type": "debug",
           "z": "0662713ffc076361",
           "name": "buffer parser in hex",
           "active": true,
           "tosidebar": true,
           "console": false,
           "tostatus": false,
           "complete": "payload",
           "targetType": "msg",
           "statusVal": "",
           "statusType": "auto",
           "x": 750,
           "y": 1540,
           "wires": []
       },
       {
           "id": "1ebd8ea793a5b9b8",
           "type": "inject",
           "z": "0662713ffc076361",
           "name": "",
           "props": [
               {
                   "p": "payload"
               }
           ],
           "repeat": "",
           "crontab": "",
           "once": false,
           "onceDelay": 0.1,
           "topic": "",
           "payload": "-3",
           "payloadType": "num",
           "x": 170,
           "y": 1580,
           "wires": [
               [
                   "8dde82b282601d6e"
               ]
           ]
       },
       {
           "id": "29b71699a89afce7",
           "type": "debug",
           "z": "0662713ffc076361",
           "name": "int 8 - Eíngabe",
           "active": true,
           "tosidebar": true,
           "console": false,
           "tostatus": false,
           "complete": "payload",
           "targetType": "msg",
           "statusVal": "",
           "statusType": "auto",
           "x": 380,
           "y": 1600,
           "wires": []
       },
       {
           "id": "61f1d7d4f86d8657",
           "type": "comment",
           "z": "0662713ffc076361",
           "name": "int8 in hex and vice versa",
           "info": "",
           "x": 230,
           "y": 1440,
           "wires": []
       },
       {
           "id": "72a7a1dc12d9e0a2",
           "type": "inject",
           "z": "0662713ffc076361",
           "name": "",
           "props": [
               {
                   "p": "payload"
               }
           ],
           "repeat": "",
           "crontab": "",
           "once": false,
           "onceDelay": 0.1,
           "topic": "",
           "payload": "60",
           "payloadType": "num",
           "x": 150,
           "y": 1620,
           "wires": [
               [
                   "8dde82b282601d6e"
               ]
           ]
       },
       {
           "id": "bb01a74912b2e976",
           "type": "buffer-maker",
           "z": "0662713ffc076361",
           "name": "",
           "specification": "spec",
           "specificationType": "ui",
           "items": [
               {
                   "name": "item1",
                   "type": "hex",
                   "length": 2,
                   "dataType": "msg",
                   "data": "payload"
               }
           ],
           "swap1": "",
           "swap2": "",
           "swap3": "",
           "swap1Type": "swap",
           "swap2Type": "swap",
           "swap3Type": "swap",
           "msgProperty": "payload",
           "msgPropertyType": "str",
           "x": 730,
           "y": 1600,
           "wires": [
               [
                   "96a8ddbaa4107912",
                   "0834e676856b25b9"
               ]
           ]
       },
       {
           "id": "96a8ddbaa4107912",
           "type": "buffer-parser",
           "z": "0662713ffc076361",
           "name": "",
           "data": "payload",
           "dataType": "msg",
           "specification": "spec",
           "specificationType": "ui",
           "items": [
               {
                   "type": "int8",
                   "name": "item1",
                   "offset": 0,
                   "length": 1,
                   "offsetbit": 0,
                   "scale": "1",
                   "mask": ""
               }
           ],
           "swap1": "",
           "swap2": "",
           "swap3": "",
           "swap1Type": "swap",
           "swap2Type": "swap",
           "swap3Type": "swap",
           "msgProperty": "payload",
           "msgPropertyType": "str",
           "resultType": "value",
           "resultTypeType": "return",
           "multipleResult": true,
           "fanOutMultipleResult": false,
           "setTopic": false,
           "outputs": 1,
           "x": 910,
           "y": 1600,
           "wires": [
               [
                   "8f582bbef1396cb7"
               ]
           ]
       },
       {
           "id": "8f582bbef1396cb7",
           "type": "debug",
           "z": "0662713ffc076361",
           "name": "buffer parser 2",
           "active": true,
           "tosidebar": true,
           "console": false,
           "tostatus": false,
           "complete": "payload",
           "targetType": "msg",
           "statusVal": "",
           "statusType": "auto",
           "x": 1100,
           "y": 1600,
           "wires": []
       },
       {
           "id": "0834e676856b25b9",
           "type": "debug",
           "z": "0662713ffc076361",
           "name": "buffer maker 2",
           "active": true,
           "tosidebar": true,
           "console": false,
           "tostatus": false,
           "complete": "payload",
           "targetType": "msg",
           "statusVal": "",
           "statusType": "auto",
           "x": 920,
           "y": 1660,
           "wires": []
       },
       {
           "id": "cb9cb4b958d69dbb",
           "type": "debug",
           "z": "0662713ffc076361",
           "name": "Rückkonvertierung aus Int16 Arrray",
           "active": true,
           "tosidebar": true,
           "console": false,
           "tostatus": false,
           "complete": "payload",
           "targetType": "msg",
           "statusVal": "",
           "statusType": "auto",
           "x": 1020,
           "y": 340,
           "wires": []
       },
       {
           "id": "c49d8a32b00d9e38",
           "type": "buffer-parser",
           "z": "0662713ffc076361",
           "name": "",
           "data": "payload",
           "dataType": "msg",
           "specification": "spec",
           "specificationType": "ui",
           "items": [
               {
                   "type": "floatbe",
                   "name": "item1",
                   "offset": 0,
                   "length": 1,
                   "offsetbit": 0,
                   "scale": "1",
                   "mask": ""
               }
           ],
           "swap1": "",
           "swap2": "",
           "swap3": "",
           "swap1Type": "swap",
           "swap2Type": "swap",
           "swap3Type": "swap",
           "msgProperty": "payload",
           "msgPropertyType": "str",
           "resultType": "value",
           "resultTypeType": "return",
           "multipleResult": true,
           "fanOutMultipleResult": false,
           "setTopic": false,
           "outputs": 1,
           "x": 770,
           "y": 340,
           "wires": [
               [
                   "cb9cb4b958d69dbb"
               ]
           ]
       },
       {
           "id": "b7efada9296433bd",
           "type": "comment",
           "z": "0662713ffc076361",
           "name": "parser Node kann auch mit Int16 Array arbeiten",
           "info": "",
           "x": 460,
           "y": 340,
           "wires": []
       }
    ]
    

    Ich empfehle Dir auch diesen Thread - in dem alles im Detail anhand von Beispielen erklärt wird:

    https://forum.iobroker.net/topic/65273/node-red-modbus

    Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

    Christof LewandowskiC 1 Antwort Letzte Antwort
    0
    • P ple

      @fridolin01
      So hier mal mein Export.
      die Variablen, da musst mal gucken ob die mit exportiert wurden, ansonsten noch mal melden.
      Wenn du Fehler findest, gib mal eben Bescheid.

      PV Übersicht-1661367854571.json

      flows.json

      L Offline
      L Offline
      leonundjulie
      schrieb am zuletzt editiert von leonundjulie
      #309

      Guten Morgen @ple

      ich habe Deinen Flow importiert. Die Datenpunkte zum Dongle wurden angelegt und Werte kommen im iOBroker an.

      Aber beim zweiten Pfad tut sich nichts. Es werden keine Datenpunkte angelegt und es kommen auch keine Werte an.

      Hast Du eine Idee?

      Liegt es daran, dass ich nur zwei Strings habe? Was für einen WR nutzt Du - ich habe einen SUN2000 6KT1 ….. werden die richtigen Register abgefragt.?

      LG
      Andreas S.

      IMG_0447.jpeg IMG_0445.jpeg IMG_0444.jpeg

      10x JA-Solar (380Wp) unter 15° gen Süden und 12x JA-Solar (385Wp) unter 10° gen Westen auf Carport, HUAWEI SUN2000 WR

      Daran HUAWEI LUNA2000, 10kWh

      Und via Kaskade 8x JA-Solar (385Wp) unter 45° gen Osten und 14x JA-Solar (385Wp) unter 23° gen Westen am 2. HUAWEI SUN2000 WR.

      SMARTFOX PRO als EMS, KEBA P30-X Wallbox

      L 1 Antwort Letzte Antwort
      0
      • L leonundjulie

        Guten Morgen @ple

        ich habe Deinen Flow importiert. Die Datenpunkte zum Dongle wurden angelegt und Werte kommen im iOBroker an.

        Aber beim zweiten Pfad tut sich nichts. Es werden keine Datenpunkte angelegt und es kommen auch keine Werte an.

        Hast Du eine Idee?

        Liegt es daran, dass ich nur zwei Strings habe? Was für einen WR nutzt Du - ich habe einen SUN2000 6KT1 ….. werden die richtigen Register abgefragt.?

        LG
        Andreas S.

        IMG_0447.jpeg IMG_0445.jpeg IMG_0444.jpeg

        L Offline
        L Offline
        leonundjulie
        schrieb am zuletzt editiert von
        #310

        @ple, ich habe dann mal weiter recherchiert, denn leider sehe noch immer keine Werte für den unteren Teil des Flows :-(.

        Herausgefunden habe ich, dass der obere Teil auf die Register zugreift, die auch in diesem Dokument beschrieben sind SDongle MODBUS TCP Guide https://www.photovoltaikforum.com/core/attachment/260120-sdonglea-05-modbus-tcp-guide-pdf/

        Die Register, die im unteren Teil verwendet werden, sind im folgenden Dokument beschrieben Solar Inverter Modbus Interface Definitions (V3.0)
        https://www.photovoltaikforum.com/core/attachment/180219-solar-inverter-modbus-interface-definitions-v3-0-pdf/.

        Da die Dokumente auch für meine Hardware zutreffen, sollten die im Flow verwendeten Register alle richtig sein …. aber trotzdem kommt zum unteren Teil, dem zweiten und dritten Trigger nichts an. Warum geht es bei anderen? Warum geht es bei mir nicht?

        10x JA-Solar (380Wp) unter 15° gen Süden und 12x JA-Solar (385Wp) unter 10° gen Westen auf Carport, HUAWEI SUN2000 WR

        Daran HUAWEI LUNA2000, 10kWh

        Und via Kaskade 8x JA-Solar (385Wp) unter 45° gen Osten und 14x JA-Solar (385Wp) unter 23° gen Westen am 2. HUAWEI SUN2000 WR.

        SMARTFOX PRO als EMS, KEBA P30-X Wallbox

        P 1 Antwort Letzte Antwort
        0
        • L leonundjulie

          @ple, ich habe dann mal weiter recherchiert, denn leider sehe noch immer keine Werte für den unteren Teil des Flows :-(.

          Herausgefunden habe ich, dass der obere Teil auf die Register zugreift, die auch in diesem Dokument beschrieben sind SDongle MODBUS TCP Guide https://www.photovoltaikforum.com/core/attachment/260120-sdonglea-05-modbus-tcp-guide-pdf/

          Die Register, die im unteren Teil verwendet werden, sind im folgenden Dokument beschrieben Solar Inverter Modbus Interface Definitions (V3.0)
          https://www.photovoltaikforum.com/core/attachment/180219-solar-inverter-modbus-interface-definitions-v3-0-pdf/.

          Da die Dokumente auch für meine Hardware zutreffen, sollten die im Flow verwendeten Register alle richtig sein …. aber trotzdem kommt zum unteren Teil, dem zweiten und dritten Trigger nichts an. Warum geht es bei anderen? Warum geht es bei mir nicht?

          P Offline
          P Offline
          ple
          schrieb am zuletzt editiert von
          #311

          @leonundjulie
          Puh, ist schon ein wenig her bei mir. Hier mal mein aktueller Flow.
          Wie du schon erkannt hast, habe ich für den oberen Teil die Adressen direkt vom Dongle genommen, mit der neusten Software kann man die auch schneller abfragen.
          Der untere Teil betrifft nur den Inverter, da musst du die passenden Strings wählen. Kann sein, dass dein WR andere verwendet.
          Meine Hardware besteht aus KTL30-m3, powersensor und dongle.

          flows (1).json

          Intel Nuc + Proxmox

          1 Antwort Letzte Antwort
          0
          • J Offline
            J Offline
            Joogibaer
            schrieb am zuletzt editiert von
            #312

            Hallo zusammen,

            hat einer eine Idee warum auf einmal, meine active Last, also mein Hausverbrauch (32080) identisch ist mit der Dachproduktion? Das war vorher nie so :(

            Danke für Eure Ideen :)

            bfd6fb81-ee9e-4184-a806-80d81149259e-image.png

            B 1 Antwort Letzte Antwort
            0
            • J Joogibaer

              Hallo zusammen,

              hat einer eine Idee warum auf einmal, meine active Last, also mein Hausverbrauch (32080) identisch ist mit der Dachproduktion? Das war vorher nie so :(

              Danke für Eure Ideen :)

              bfd6fb81-ee9e-4184-a806-80d81149259e-image.png

              B Online
              B Online
              badsnoopy667
              schrieb am zuletzt editiert von badsnoopy667
              #313

              @joogibaer
              Ich glaube der Fehler liegt in der Annahme, das "Active Power" der Hausverbrauch wäre. Das ist definitiv nicht so. Den Hausverbrauch muss man sich selber berechnen. Kann Dir gerade nicht genau sagen, was "Active Power" dann sein soll, aber ich glaube das ist eher das, was gerade über den Wechselrichter läuft. Also nachts dann auch das, was aus der Batterie kommt.
              Bei mir sind die beiden Werte aktuell auch gleich. Ich speise ein. Sobald die Batterie ge- oder entladen wird, sind die beiden Werte nicht mehr gleich.
              Ich habe weiter oben mein Blockly Skript zur Berechnung des Verbrauchs gepostet. Ist etwas komplizierter, aber guck Dir das mal an.

              active_power.png

              Hab jetzt nochmal nachgesehen, aber ohne Gewähr:

              PV-Erzeugung = Active Power Inverter + Battery Power
              Hausverbrauch = Active Power Inverter - Active Power Meter
              Netzbezug/Einspeisung = Active Power Meter (Vorzeichen beachten!)

              S 1 Antwort Letzte Antwort
              0
              • B badsnoopy667

                @joogibaer
                Ich glaube der Fehler liegt in der Annahme, das "Active Power" der Hausverbrauch wäre. Das ist definitiv nicht so. Den Hausverbrauch muss man sich selber berechnen. Kann Dir gerade nicht genau sagen, was "Active Power" dann sein soll, aber ich glaube das ist eher das, was gerade über den Wechselrichter läuft. Also nachts dann auch das, was aus der Batterie kommt.
                Bei mir sind die beiden Werte aktuell auch gleich. Ich speise ein. Sobald die Batterie ge- oder entladen wird, sind die beiden Werte nicht mehr gleich.
                Ich habe weiter oben mein Blockly Skript zur Berechnung des Verbrauchs gepostet. Ist etwas komplizierter, aber guck Dir das mal an.

                active_power.png

                Hab jetzt nochmal nachgesehen, aber ohne Gewähr:

                PV-Erzeugung = Active Power Inverter + Battery Power
                Hausverbrauch = Active Power Inverter - Active Power Meter
                Netzbezug/Einspeisung = Active Power Meter (Vorzeichen beachten!)

                S Offline
                S Offline
                SvenH75
                schrieb am zuletzt editiert von
                #314

                @badsnoopy667 Hallo, ich hab das gleiche…… bin der Meinung, bis vor ein paar Tagen war aktiv Power der Hausverbrauch ( verbrauchte Leistung)…….

                B 1 Antwort Letzte Antwort
                0
                • S SvenH75

                  @badsnoopy667 Hallo, ich hab das gleiche…… bin der Meinung, bis vor ein paar Tagen war aktiv Power der Hausverbrauch ( verbrauchte Leistung)…….

                  B Online
                  B Online
                  badsnoopy667
                  schrieb am zuletzt editiert von
                  #315

                  @svenh75
                  Solange scheiß Wetter ist und man nicht Einspeist, kommt das ja auch ungefähr hin. 😂

                  1 Antwort Letzte Antwort
                  0
                  • A Offline
                    A Offline
                    Agent.Til
                    schrieb am zuletzt editiert von
                    #316

                    hallo zusammen,
                    hat schon jemand schon eine möglichkeit gefunden die optimierer auszulesen?
                    ich meine damit die nicht die anzahl, sondern die daten der einzelnen optimierer.
                    hintergrund: ich habe ost- und westseite (je 6 module) sowie die fassade (8 module) an einem string und würde nun gern die erträge pro seite errechnen.
                    für sachdienliche hilfe wäre ich sehr, sehr dankbar.
                    Til

                    1 Antwort Letzte Antwort
                    0
                    • exelE Offline
                      exelE Offline
                      exel
                      schrieb am zuletzt editiert von
                      #317

                      Hallo, ich teste gerade Solaranzeige und die Variante alles über iobroker und Node-Red zu realisieren.

                      In Solaranzeige wird mir der Gesamtwert Import und Export in kWh angezeigt. (Also der Gesamtwert seit Inbetriebnahme des SmartMeter).
                      Ich habe zig unterschiedl. Dokumente von Huawei über Interface Definitions durchgelesen. Finde aber einfach die Adresse nicht.

                      Hat jemand zufällig eine Idee? Die Werte sind für mich ausschlaggebend für eine sinnvolle Auswertung.

                      T 2 Antworten Letzte Antwort
                      0
                      • exelE exel

                        Hallo, ich teste gerade Solaranzeige und die Variante alles über iobroker und Node-Red zu realisieren.

                        In Solaranzeige wird mir der Gesamtwert Import und Export in kWh angezeigt. (Also der Gesamtwert seit Inbetriebnahme des SmartMeter).
                        Ich habe zig unterschiedl. Dokumente von Huawei über Interface Definitions durchgelesen. Finde aber einfach die Adresse nicht.

                        Hat jemand zufällig eine Idee? Die Werte sind für mich ausschlaggebend für eine sinnvolle Auswertung.

                        T Offline
                        T Offline
                        ts_482
                        schrieb am zuletzt editiert von
                        #318

                        @exel Energie Export müsste 37119 sein, ich hab da auch schon was fertiges mit NodeRed. Habe ich mir damals auch von jemand geben lassen.

                        1 Antwort Letzte Antwort
                        0
                        • exelE exel

                          Hallo, ich teste gerade Solaranzeige und die Variante alles über iobroker und Node-Red zu realisieren.

                          In Solaranzeige wird mir der Gesamtwert Import und Export in kWh angezeigt. (Also der Gesamtwert seit Inbetriebnahme des SmartMeter).
                          Ich habe zig unterschiedl. Dokumente von Huawei über Interface Definitions durchgelesen. Finde aber einfach die Adresse nicht.

                          Hat jemand zufällig eine Idee? Die Werte sind für mich ausschlaggebend für eine sinnvolle Auswertung.

                          T Offline
                          T Offline
                          ts_482
                          schrieb am zuletzt editiert von
                          #319

                          @exel flows.json

                          exelE 1 Antwort Letzte Antwort
                          0
                          • T ts_482

                            @exel flows.json

                            exelE Offline
                            exelE Offline
                            exel
                            schrieb am zuletzt editiert von
                            #320

                            @ts_482 Vielen Dank. Das sieht gut aus.

                            1 Antwort Letzte Antwort
                            0
                            • S Offline
                              S Offline
                              Spexx
                              schrieb am zuletzt editiert von Spexx
                              #321

                              Weiss jemand, mit welchem Register ich den oberen SOC schreiben kann?
                              Ich habe es mit dem Register 47101 probiert, nennt sich Target SOC. Das klappt aber nicht. Blöderweise habe ich den ursprünglichen Wert zuvor nicht ausgelesen, jetzt weiss ich nicht was das Register bewirkt und welcher Wert da reingehört...

                              Könnte mal jemand das Register 47101 auslesen und mir mitteilen, was da drin steht?

                              Edit:
                              Hat sich erledigt. Target SOC ist wohl für das erzwungene Laden/Entladen. Den SOC kann man über das Register 47081 schreiben.

                              1 Antwort Letzte Antwort
                              0
                              • mickymM mickym

                                @christof-lewandowski Du - dann musst Du ein konkretes Beispiel liefern. Stelle hier in CodeTags das ein was aus einer Modbus Node rauskommt und was Du dann in einen Datenpunkt schreiben willst - also wie das aussehen soll. Die Join Node brauchst du nicht unbedingt.

                                Mehrfache Analysen kannst bereits in einem Objekt zusammenfassen, wenn Du den parser entsprechend konfigurierst.

                                730f952e-df3a-4028-9464-28f6b7e72832-image.png

                                Beispiele zu den Buffer-Nodes werden in Beispielen bereits mitgeliefert.

                                51c3310a-11f1-493c-bd0c-ea1c0d2ee281-image.png

                                Hier noch ein paar Beispiele, die ich mir selbst gemacht habe, um das Ganze zu verstehen;

                                [
                                   {
                                       "id": "0662713ffc076361",
                                       "type": "tab",
                                       "label": "Buffer Beispiele",
                                       "disabled": false,
                                       "info": "",
                                       "env": []
                                   },
                                   {
                                       "id": "1c12b45aa6c4adca",
                                       "type": "junction",
                                       "z": "0662713ffc076361",
                                       "x": 280,
                                       "y": 240,
                                       "wires": [
                                           [
                                               "9bc9a74d1f455065",
                                               "9c99b46399646127"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "e1b02064d9fdd3a2",
                                       "type": "junction",
                                       "z": "0662713ffc076361",
                                       "x": 260,
                                       "y": 540,
                                       "wires": [
                                           [
                                               "652134c61c9e5717",
                                               "21fe0484881084c7"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "507801e3daf21784",
                                       "type": "junction",
                                       "z": "0662713ffc076361",
                                       "x": 240,
                                       "y": 840,
                                       "wires": [
                                           [
                                               "1856c460913bd89e",
                                               "fffe47c505694c8c"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "049178586542d05a",
                                       "type": "junction",
                                       "z": "0662713ffc076361",
                                       "x": 260,
                                       "y": 1280,
                                       "wires": [
                                           [
                                               "13eedcda4930699c",
                                               "a930d2c46dcbcd47"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "8dde82b282601d6e",
                                       "type": "junction",
                                       "z": "0662713ffc076361",
                                       "x": 260,
                                       "y": 1560,
                                       "wires": [
                                           [
                                               "5f59f14ac3fcd3b1",
                                               "29b71699a89afce7"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "b2a1f09de6d12e90",
                                       "type": "inject",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "props": [
                                           {
                                               "p": "payload"
                                           }
                                       ],
                                       "repeat": "",
                                       "crontab": "",
                                       "once": false,
                                       "onceDelay": 0.1,
                                       "topic": "",
                                       "payload": "100.00",
                                       "payloadType": "num",
                                       "x": 170,
                                       "y": 240,
                                       "wires": [
                                           [
                                               "1c12b45aa6c4adca"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "9bc9a74d1f455065",
                                       "type": "buffer-maker",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "specification": "spec",
                                       "specificationType": "ui",
                                       "items": [
                                           {
                                               "name": "item1",
                                               "type": "floatbe",
                                               "length": 1,
                                               "dataType": "msg",
                                               "data": "payload"
                                           }
                                       ],
                                       "swap1": "",
                                       "swap2": "",
                                       "swap3": "",
                                       "swap1Type": "swap",
                                       "swap2Type": "swap",
                                       "swap3Type": "swap",
                                       "msgProperty": "payload",
                                       "msgPropertyType": "str",
                                       "x": 390,
                                       "y": 220,
                                       "wires": [
                                           [
                                               "faea83afe6fa1bba",
                                               "c39e4fa3f88efaed"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "c5411af36dbc6206",
                                       "type": "debug",
                                       "z": "0662713ffc076361",
                                       "name": "Neues Array",
                                       "active": true,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": true,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "payload",
                                       "statusType": "auto",
                                       "x": 770,
                                       "y": 220,
                                       "wires": []
                                   },
                                   {
                                       "id": "7d49268d76c118b3",
                                       "type": "inject",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "props": [
                                           {
                                               "p": "payload"
                                           }
                                       ],
                                       "repeat": "",
                                       "crontab": "",
                                       "once": false,
                                       "onceDelay": 0.1,
                                       "topic": "",
                                       "payload": "-100.00",
                                       "payloadType": "num",
                                       "x": 170,
                                       "y": 200,
                                       "wires": [
                                           [
                                               "1c12b45aa6c4adca"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "faea83afe6fa1bba",
                                       "type": "buffer-parser",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "data": "payload",
                                       "dataType": "msg",
                                       "specification": "spec",
                                       "specificationType": "ui",
                                       "items": [
                                           {
                                               "type": "uint16be",
                                               "name": "item1",
                                               "offset": 0,
                                               "length": 1,
                                               "offsetbit": 0,
                                               "scale": "1",
                                               "mask": ""
                                           },
                                           {
                                               "type": "uint16be",
                                               "name": "item2",
                                               "offset": 2,
                                               "length": 1,
                                               "offsetbit": 0,
                                               "scale": "1",
                                               "mask": ""
                                           }
                                       ],
                                       "swap1": "",
                                       "swap2": "",
                                       "swap3": "",
                                       "swap1Type": "swap",
                                       "swap2Type": "swap",
                                       "swap3Type": "swap",
                                       "msgProperty": "payload",
                                       "msgPropertyType": "str",
                                       "resultType": "value",
                                       "resultTypeType": "return",
                                       "multipleResult": false,
                                       "fanOutMultipleResult": false,
                                       "setTopic": true,
                                       "outputs": 1,
                                       "x": 570,
                                       "y": 220,
                                       "wires": [
                                           [
                                               "c5411af36dbc6206",
                                               "28e7d3b028dcf2ba",
                                               "c49d8a32b00d9e38"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "c310b522d6b2bc18",
                                       "type": "inject",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "props": [
                                           {
                                               "p": "payload"
                                           }
                                       ],
                                       "repeat": "",
                                       "crontab": "",
                                       "once": false,
                                       "onceDelay": 0.1,
                                       "topic": "",
                                       "payload": "-1234.00",
                                       "payloadType": "num",
                                       "x": 160,
                                       "y": 320,
                                       "wires": [
                                           [
                                               "1c12b45aa6c4adca"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "c39e4fa3f88efaed",
                                       "type": "debug",
                                       "z": "0662713ffc076361",
                                       "name": "buffer",
                                       "active": true,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 550,
                                       "y": 160,
                                       "wires": []
                                   },
                                   {
                                       "id": "31e68b28d89b17db",
                                       "type": "inject",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "props": [
                                           {
                                               "p": "payload"
                                           }
                                       ],
                                       "repeat": "",
                                       "crontab": "",
                                       "once": false,
                                       "onceDelay": 0.1,
                                       "topic": "",
                                       "payload": "68001",
                                       "payloadType": "num",
                                       "x": 170,
                                       "y": 280,
                                       "wires": [
                                           [
                                               "1c12b45aa6c4adca"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "28e7d3b028dcf2ba",
                                       "type": "buffer-maker",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "specification": "spec",
                                       "specificationType": "ui",
                                       "items": [
                                           {
                                               "name": "item1",
                                               "type": "uint16be",
                                               "length": 2,
                                               "dataType": "msg",
                                               "data": "payload"
                                           }
                                       ],
                                       "swap1": "",
                                       "swap2": "",
                                       "swap3": "",
                                       "swap1Type": "swap",
                                       "swap2Type": "swap",
                                       "swap3Type": "swap",
                                       "msgProperty": "payload",
                                       "msgPropertyType": "str",
                                       "x": 770,
                                       "y": 300,
                                       "wires": [
                                           [
                                               "423d2ba998b44648"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "d23882e23c0fe50c",
                                       "type": "debug",
                                       "z": "0662713ffc076361",
                                       "name": "Rückkonvertierung",
                                       "active": true,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 1150,
                                       "y": 300,
                                       "wires": []
                                   },
                                   {
                                       "id": "423d2ba998b44648",
                                       "type": "buffer-parser",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "data": "payload",
                                       "dataType": "msg",
                                       "specification": "spec",
                                       "specificationType": "ui",
                                       "items": [
                                           {
                                               "type": "floatbe",
                                               "name": "item1",
                                               "offset": 0,
                                               "length": 1,
                                               "offsetbit": 0,
                                               "scale": "1",
                                               "mask": ""
                                           }
                                       ],
                                       "swap1": "",
                                       "swap2": "",
                                       "swap3": "",
                                       "swap1Type": "swap",
                                       "swap2Type": "swap",
                                       "swap3Type": "swap",
                                       "msgProperty": "payload",
                                       "msgPropertyType": "str",
                                       "resultType": "value",
                                       "resultTypeType": "return",
                                       "multipleResult": true,
                                       "fanOutMultipleResult": false,
                                       "setTopic": false,
                                       "outputs": 1,
                                       "x": 950,
                                       "y": 300,
                                       "wires": [
                                           [
                                               "d23882e23c0fe50c"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "9c99b46399646127",
                                       "type": "debug",
                                       "z": "0662713ffc076361",
                                       "name": "Float- Eingabe",
                                       "active": true,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 400,
                                       "y": 280,
                                       "wires": []
                                   },
                                   {
                                       "id": "65392663801b7347",
                                       "type": "inject",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "props": [
                                           {
                                               "p": "payload"
                                           }
                                       ],
                                       "repeat": "",
                                       "crontab": "",
                                       "once": false,
                                       "onceDelay": 0.1,
                                       "topic": "",
                                       "payload": "-2",
                                       "payloadType": "num",
                                       "x": 170,
                                       "y": 520,
                                       "wires": [
                                           [
                                               "e1b02064d9fdd3a2"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "652134c61c9e5717",
                                       "type": "buffer-maker",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "specification": "spec",
                                       "specificationType": "ui",
                                       "items": [
                                           {
                                               "name": "item1",
                                               "type": "int8",
                                               "length": 1,
                                               "dataType": "msg",
                                               "data": "payload"
                                           }
                                       ],
                                       "swap1": "",
                                       "swap2": "",
                                       "swap3": "",
                                       "swap1Type": "swap",
                                       "swap2Type": "swap",
                                       "swap3Type": "swap",
                                       "msgProperty": "payload",
                                       "msgPropertyType": "str",
                                       "x": 370,
                                       "y": 520,
                                       "wires": [
                                           [
                                               "95bd1a00f43c3a41",
                                               "1f0f6998b2fe22bd"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "95bd1a00f43c3a41",
                                       "type": "debug",
                                       "z": "0662713ffc076361",
                                       "name": "buffer maker",
                                       "active": true,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 550,
                                       "y": 480,
                                       "wires": []
                                   },
                                   {
                                       "id": "1f0f6998b2fe22bd",
                                       "type": "buffer-parser",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "data": "payload",
                                       "dataType": "msg",
                                       "specification": "spec",
                                       "specificationType": "ui",
                                       "items": [
                                           {
                                               "type": "8bit",
                                               "name": "item1",
                                               "offset": 0,
                                               "length": 1,
                                               "offsetbit": 0,
                                               "scale": "1",
                                               "mask": ""
                                           }
                                       ],
                                       "swap1": "",
                                       "swap2": "",
                                       "swap3": "",
                                       "swap1Type": "swap",
                                       "swap2Type": "swap",
                                       "swap3Type": "swap",
                                       "msgProperty": "payload",
                                       "msgPropertyType": "str",
                                       "resultType": "value",
                                       "resultTypeType": "return",
                                       "multipleResult": false,
                                       "fanOutMultipleResult": false,
                                       "setTopic": true,
                                       "outputs": 1,
                                       "x": 550,
                                       "y": 520,
                                       "wires": [
                                           [
                                               "0d6994be085f2354",
                                               "e2ed4381ba501491"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "0d6994be085f2354",
                                       "type": "debug",
                                       "z": "0662713ffc076361",
                                       "name": "buffer parser",
                                       "active": true,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 730,
                                       "y": 520,
                                       "wires": []
                                   },
                                   {
                                       "id": "abae5fcc0b245338",
                                       "type": "inject",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "props": [
                                           {
                                               "p": "payload"
                                           }
                                       ],
                                       "repeat": "",
                                       "crontab": "",
                                       "once": false,
                                       "onceDelay": 0.1,
                                       "topic": "",
                                       "payload": "-3",
                                       "payloadType": "num",
                                       "x": 170,
                                       "y": 560,
                                       "wires": [
                                           [
                                               "e1b02064d9fdd3a2"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "e2ed4381ba501491",
                                       "type": "change",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "rules": [
                                           {
                                               "t": "set",
                                               "p": "payload",
                                               "pt": "msg",
                                               "to": "[[payload[0][0].bits]]",
                                               "tot": "jsonata"
                                           }
                                       ],
                                       "action": "",
                                       "property": "",
                                       "from": "",
                                       "to": "",
                                       "reg": false,
                                       "x": 675,
                                       "y": 580,
                                       "wires": [
                                           [
                                               "5574ff5ac8d119b9",
                                               "10d57305e25d5ffb"
                                           ]
                                       ],
                                       "l": false
                                   },
                                   {
                                       "id": "10d57305e25d5ffb",
                                       "type": "debug",
                                       "z": "0662713ffc076361",
                                       "name": "8bit Array",
                                       "active": true,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 820,
                                       "y": 560,
                                       "wires": []
                                   },
                                   {
                                       "id": "5574ff5ac8d119b9",
                                       "type": "buffer-maker",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "specification": "spec",
                                       "specificationType": "ui",
                                       "items": [
                                           {
                                               "name": "item1",
                                               "type": "8bit",
                                               "length": 1,
                                               "dataType": "msg",
                                               "data": "payload"
                                           }
                                       ],
                                       "swap1": "",
                                       "swap2": "",
                                       "swap3": "",
                                       "swap1Type": "swap",
                                       "swap2Type": "swap",
                                       "swap3Type": "swap",
                                       "msgProperty": "payload",
                                       "msgPropertyType": "str",
                                       "x": 830,
                                       "y": 600,
                                       "wires": [
                                           [
                                               "a8bc2f0c740651b7",
                                               "bc288c3fca11aefa"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "a8bc2f0c740651b7",
                                       "type": "debug",
                                       "z": "0662713ffc076361",
                                       "name": "buffer maker 2",
                                       "active": true,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 1020,
                                       "y": 560,
                                       "wires": []
                                   },
                                   {
                                       "id": "bc288c3fca11aefa",
                                       "type": "buffer-parser",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "data": "payload",
                                       "dataType": "msg",
                                       "specification": "spec",
                                       "specificationType": "ui",
                                       "items": [
                                           {
                                               "type": "int8",
                                               "name": "item1",
                                               "offset": 0,
                                               "length": 1,
                                               "offsetbit": 0,
                                               "scale": "1",
                                               "mask": ""
                                           }
                                       ],
                                       "swap1": "",
                                       "swap2": "",
                                       "swap3": "",
                                       "swap1Type": "swap",
                                       "swap2Type": "swap",
                                       "swap3Type": "swap",
                                       "msgProperty": "payload",
                                       "msgPropertyType": "str",
                                       "resultType": "value",
                                       "resultTypeType": "return",
                                       "multipleResult": true,
                                       "fanOutMultipleResult": false,
                                       "setTopic": false,
                                       "outputs": 1,
                                       "x": 1010,
                                       "y": 600,
                                       "wires": [
                                           [
                                               "177efcba05d60d49"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "177efcba05d60d49",
                                       "type": "debug",
                                       "z": "0662713ffc076361",
                                       "name": "buffer parser 2",
                                       "active": true,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 1200,
                                       "y": 600,
                                       "wires": []
                                   },
                                   {
                                       "id": "21fe0484881084c7",
                                       "type": "debug",
                                       "z": "0662713ffc076361",
                                       "name": "int 8 - Eíngabe",
                                       "active": true,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 380,
                                       "y": 580,
                                       "wires": []
                                   },
                                   {
                                       "id": "84c27693b7531e4a",
                                       "type": "comment",
                                       "z": "0662713ffc076361",
                                       "name": "Float to Modbus and vice versa",
                                       "info": "",
                                       "x": 250,
                                       "y": 100,
                                       "wires": []
                                   },
                                   {
                                       "id": "39d7dcbddba73a69",
                                       "type": "comment",
                                       "z": "0662713ffc076361",
                                       "name": "int8 in bits and vice versa",
                                       "info": "",
                                       "x": 230,
                                       "y": 420,
                                       "wires": []
                                   },
                                   {
                                       "id": "d69fb8a9990a7328",
                                       "type": "inject",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "props": [
                                           {
                                               "p": "payload"
                                           }
                                       ],
                                       "repeat": "",
                                       "crontab": "",
                                       "once": false,
                                       "onceDelay": 0.1,
                                       "topic": "",
                                       "payload": "2",
                                       "payloadType": "num",
                                       "x": 150,
                                       "y": 820,
                                       "wires": [
                                           [
                                               "507801e3daf21784"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "1856c460913bd89e",
                                       "type": "buffer-maker",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "specification": "spec",
                                       "specificationType": "ui",
                                       "items": [
                                           {
                                               "name": "item1",
                                               "type": "int8",
                                               "length": 1,
                                               "dataType": "msg",
                                               "data": "payload"
                                           }
                                       ],
                                       "swap1": "",
                                       "swap2": "",
                                       "swap3": "",
                                       "swap1Type": "swap",
                                       "swap2Type": "swap",
                                       "swap3Type": "swap",
                                       "msgProperty": "payload",
                                       "msgPropertyType": "str",
                                       "x": 350,
                                       "y": 820,
                                       "wires": [
                                           [
                                               "433f2540895c99ad",
                                               "36dc7e66a9b26a6b"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "433f2540895c99ad",
                                       "type": "debug",
                                       "z": "0662713ffc076361",
                                       "name": "buffer maker",
                                       "active": false,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 530,
                                       "y": 780,
                                       "wires": []
                                   },
                                   {
                                       "id": "36dc7e66a9b26a6b",
                                       "type": "buffer-parser",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "data": "payload",
                                       "dataType": "msg",
                                       "specification": "spec",
                                       "specificationType": "ui",
                                       "items": [
                                           {
                                               "type": "bool",
                                               "name": "item1",
                                               "offset": 0,
                                               "length": 8,
                                               "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": false,
                                       "outputs": 1,
                                       "x": 530,
                                       "y": 820,
                                       "wires": [
                                           [
                                               "784028a112add38d",
                                               "070c0aa63a892e0c",
                                               "9f4c5c840cc21038",
                                               "f6cb9b4c0c93839f"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "530209956de421ec",
                                       "type": "inject",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "props": [
                                           {
                                               "p": "payload"
                                           }
                                       ],
                                       "repeat": "",
                                       "crontab": "",
                                       "once": false,
                                       "onceDelay": 0.1,
                                       "topic": "",
                                       "payload": "3",
                                       "payloadType": "num",
                                       "x": 150,
                                       "y": 860,
                                       "wires": [
                                           [
                                               "507801e3daf21784"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "fffe47c505694c8c",
                                       "type": "debug",
                                       "z": "0662713ffc076361",
                                       "name": "uint 8 - Eíngabe",
                                       "active": false,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 360,
                                       "y": 880,
                                       "wires": []
                                   },
                                   {
                                       "id": "0cd4466a316781d4",
                                       "type": "comment",
                                       "z": "0662713ffc076361",
                                       "name": "uint8 in bools",
                                       "info": "",
                                       "x": 170,
                                       "y": 720,
                                       "wires": []
                                   },
                                   {
                                       "id": "784028a112add38d",
                                       "type": "debug",
                                       "z": "0662713ffc076361",
                                       "name": "buffer parser",
                                       "active": false,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 710,
                                       "y": 820,
                                       "wires": []
                                   },
                                   {
                                       "id": "070c0aa63a892e0c",
                                       "type": "switch",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "property": "payload",
                                       "propertyType": "msg",
                                       "rules": [
                                           {
                                               "t": "jsonata_exp",
                                               "v": "payload[0]",
                                               "vt": "jsonata"
                                           },
                                           {
                                               "t": "jsonata_exp",
                                               "v": "payload[1]  ",
                                               "vt": "jsonata"
                                           }
                                       ],
                                       "checkall": "true",
                                       "repair": false,
                                       "outputs": 2,
                                       "x": 710,
                                       "y": 900,
                                       "wires": [
                                           [
                                               "1d59c18e4ef90cd4"
                                           ],
                                           [
                                               "12a0fb01a3a0c44a"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "1d59c18e4ef90cd4",
                                       "type": "debug",
                                       "z": "0662713ffc076361",
                                       "name": "Bit 0 gesetzt",
                                       "active": false,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 890,
                                       "y": 880,
                                       "wires": []
                                   },
                                   {
                                       "id": "12a0fb01a3a0c44a",
                                       "type": "debug",
                                       "z": "0662713ffc076361",
                                       "name": "Bit 1 gesetzt",
                                       "active": false,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 890,
                                       "y": 920,
                                       "wires": []
                                   },
                                   {
                                       "id": "9f4c5c840cc21038",
                                       "type": "change",
                                       "z": "0662713ffc076361",
                                       "name": "Bit 0",
                                       "rules": [
                                           {
                                               "t": "set",
                                               "p": "payload",
                                               "pt": "msg",
                                               "to": "payload[0]",
                                               "tot": "msg"
                                           }
                                       ],
                                       "action": "",
                                       "property": "",
                                       "from": "",
                                       "to": "",
                                       "reg": false,
                                       "x": 710,
                                       "y": 1000,
                                       "wires": [
                                           [
                                               "91ce77f514e1cc35"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "91ce77f514e1cc35",
                                       "type": "debug",
                                       "z": "0662713ffc076361",
                                       "name": "immer Ausgabe von Bit0",
                                       "active": true,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 910,
                                       "y": 1000,
                                       "wires": []
                                   },
                                   {
                                       "id": "f80380170774bc60",
                                       "type": "debug",
                                       "z": "0662713ffc076361",
                                       "name": "nur Ausgabe von Bit0, wenn wahr",
                                       "active": true,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 1060,
                                       "y": 1060,
                                       "wires": []
                                   },
                                   {
                                       "id": "f6cb9b4c0c93839f",
                                       "type": "function",
                                       "z": "0662713ffc076361",
                                       "name": "nur Ausgabe wenn true",
                                       "func": "msg = msg.payload[0] ? {payload : true} : null;\nreturn msg;",
                                       "outputs": 1,
                                       "noerr": 0,
                                       "initialize": "",
                                       "finalize": "",
                                       "libs": [],
                                       "x": 770,
                                       "y": 1060,
                                       "wires": [
                                           [
                                               "f80380170774bc60"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "0e30d1a439bb18f0",
                                       "type": "inject",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "props": [
                                           {
                                               "p": "payload"
                                           }
                                       ],
                                       "repeat": "",
                                       "crontab": "",
                                       "once": false,
                                       "onceDelay": 0.1,
                                       "topic": "",
                                       "payload": "2",
                                       "payloadType": "num",
                                       "x": 170,
                                       "y": 1260,
                                       "wires": [
                                           [
                                               "049178586542d05a"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "13eedcda4930699c",
                                       "type": "buffer-maker",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "specification": "spec",
                                       "specificationType": "ui",
                                       "items": [
                                           {
                                               "name": "item1",
                                               "type": "int8",
                                               "length": 1,
                                               "dataType": "msg",
                                               "data": "payload"
                                           }
                                       ],
                                       "swap1": "",
                                       "swap2": "",
                                       "swap3": "",
                                       "swap1Type": "swap",
                                       "swap2Type": "swap",
                                       "swap3Type": "swap",
                                       "msgProperty": "payload",
                                       "msgPropertyType": "str",
                                       "x": 370,
                                       "y": 1260,
                                       "wires": [
                                           [
                                               "9163d26897e6af76",
                                               "6f2bea75830b22b7"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "9163d26897e6af76",
                                       "type": "debug",
                                       "z": "0662713ffc076361",
                                       "name": "buffer maker",
                                       "active": true,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 550,
                                       "y": 1220,
                                       "wires": []
                                   },
                                   {
                                       "id": "6f2bea75830b22b7",
                                       "type": "buffer-parser",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "data": "payload",
                                       "dataType": "msg",
                                       "specification": "spec",
                                       "specificationType": "ui",
                                       "items": [
                                           {
                                               "type": "bool",
                                               "name": "Wohnzimmer",
                                               "offset": 0,
                                               "length": 1,
                                               "offsetbit": 0,
                                               "scale": "1",
                                               "mask": ""
                                           },
                                           {
                                               "type": "bool",
                                               "name": "Esszimmer",
                                               "offset": 0,
                                               "length": 1,
                                               "offsetbit": 1,
                                               "scale": "1",
                                               "mask": ""
                                           },
                                           {
                                               "type": "bool",
                                               "name": "Küche",
                                               "offset": 0,
                                               "length": 1,
                                               "offsetbit": 2,
                                               "scale": "1",
                                               "mask": ""
                                           },
                                           {
                                               "type": "bool",
                                               "name": "Bad",
                                               "offset": 0,
                                               "length": 1,
                                               "offsetbit": 3,
                                               "scale": "1",
                                               "mask": ""
                                           },
                                           {
                                               "type": "bool",
                                               "name": "Büro",
                                               "offset": 0,
                                               "length": 1,
                                               "offsetbit": 4,
                                               "scale": "1",
                                               "mask": ""
                                           },
                                           {
                                               "type": "bool",
                                               "name": "Schlafzimmer",
                                               "offset": 0,
                                               "length": 1,
                                               "offsetbit": 5,
                                               "scale": "1",
                                               "mask": ""
                                           },
                                           {
                                               "type": "bool",
                                               "name": "Diele",
                                               "offset": 0,
                                               "length": 1,
                                               "offsetbit": 6,
                                               "scale": "1",
                                               "mask": ""
                                           },
                                           {
                                               "type": "bool",
                                               "name": "Flur",
                                               "offset": 0,
                                               "length": 1,
                                               "offsetbit": 7,
                                               "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": 550,
                                       "y": 1260,
                                       "wires": [
                                           [
                                               "297c8cbeede9dc87"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "fb2a58e4823e7e2b",
                                       "type": "inject",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "props": [
                                           {
                                               "p": "payload"
                                           }
                                       ],
                                       "repeat": "",
                                       "crontab": "",
                                       "once": false,
                                       "onceDelay": 0.1,
                                       "topic": "",
                                       "payload": "3",
                                       "payloadType": "num",
                                       "x": 170,
                                       "y": 1300,
                                       "wires": [
                                           [
                                               "049178586542d05a"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "a930d2c46dcbcd47",
                                       "type": "debug",
                                       "z": "0662713ffc076361",
                                       "name": "uint 8 - Eíngabe",
                                       "active": false,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 380,
                                       "y": 1320,
                                       "wires": []
                                   },
                                   {
                                       "id": "297c8cbeede9dc87",
                                       "type": "debug",
                                       "z": "0662713ffc076361",
                                       "name": "buffer parser -key/values",
                                       "active": true,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 770,
                                       "y": 1260,
                                       "wires": []
                                   },
                                   {
                                       "id": "64eb5fd73953b7d5",
                                       "type": "inject",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "props": [
                                           {
                                               "p": "payload"
                                           }
                                       ],
                                       "repeat": "",
                                       "crontab": "",
                                       "once": false,
                                       "onceDelay": 0.1,
                                       "topic": "",
                                       "payload": "-2",
                                       "payloadType": "num",
                                       "x": 170,
                                       "y": 1540,
                                       "wires": [
                                           [
                                               "8dde82b282601d6e"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "5f59f14ac3fcd3b1",
                                       "type": "buffer-maker",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "specification": "spec",
                                       "specificationType": "ui",
                                       "items": [
                                           {
                                               "name": "item1",
                                               "type": "int8",
                                               "length": 1,
                                               "dataType": "msg",
                                               "data": "payload"
                                           }
                                       ],
                                       "swap1": "",
                                       "swap2": "",
                                       "swap3": "",
                                       "swap1Type": "swap",
                                       "swap2Type": "swap",
                                       "swap3Type": "swap",
                                       "msgProperty": "payload",
                                       "msgPropertyType": "str",
                                       "x": 370,
                                       "y": 1540,
                                       "wires": [
                                           [
                                               "48ccf7d25a4846f5",
                                               "5bad6ada97251a35"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "48ccf7d25a4846f5",
                                       "type": "debug",
                                       "z": "0662713ffc076361",
                                       "name": "buffer maker",
                                       "active": true,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 550,
                                       "y": 1500,
                                       "wires": []
                                   },
                                   {
                                       "id": "5bad6ada97251a35",
                                       "type": "buffer-parser",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "data": "payload",
                                       "dataType": "msg",
                                       "specification": "spec",
                                       "specificationType": "ui",
                                       "items": [
                                           {
                                               "type": "hex",
                                               "name": "item1",
                                               "offset": 0,
                                               "length": 1,
                                               "offsetbit": 0,
                                               "scale": "1",
                                               "mask": ""
                                           }
                                       ],
                                       "swap1": "",
                                       "swap2": "",
                                       "swap3": "",
                                       "swap1Type": "swap",
                                       "swap2Type": "swap",
                                       "swap3Type": "swap",
                                       "msgProperty": "payload",
                                       "msgPropertyType": "str",
                                       "resultType": "value",
                                       "resultTypeType": "return",
                                       "multipleResult": true,
                                       "fanOutMultipleResult": false,
                                       "setTopic": true,
                                       "outputs": 1,
                                       "x": 550,
                                       "y": 1540,
                                       "wires": [
                                           [
                                               "0696cce665e1162d",
                                               "bb01a74912b2e976"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "0696cce665e1162d",
                                       "type": "debug",
                                       "z": "0662713ffc076361",
                                       "name": "buffer parser in hex",
                                       "active": true,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 750,
                                       "y": 1540,
                                       "wires": []
                                   },
                                   {
                                       "id": "1ebd8ea793a5b9b8",
                                       "type": "inject",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "props": [
                                           {
                                               "p": "payload"
                                           }
                                       ],
                                       "repeat": "",
                                       "crontab": "",
                                       "once": false,
                                       "onceDelay": 0.1,
                                       "topic": "",
                                       "payload": "-3",
                                       "payloadType": "num",
                                       "x": 170,
                                       "y": 1580,
                                       "wires": [
                                           [
                                               "8dde82b282601d6e"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "29b71699a89afce7",
                                       "type": "debug",
                                       "z": "0662713ffc076361",
                                       "name": "int 8 - Eíngabe",
                                       "active": true,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 380,
                                       "y": 1600,
                                       "wires": []
                                   },
                                   {
                                       "id": "61f1d7d4f86d8657",
                                       "type": "comment",
                                       "z": "0662713ffc076361",
                                       "name": "int8 in hex and vice versa",
                                       "info": "",
                                       "x": 230,
                                       "y": 1440,
                                       "wires": []
                                   },
                                   {
                                       "id": "72a7a1dc12d9e0a2",
                                       "type": "inject",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "props": [
                                           {
                                               "p": "payload"
                                           }
                                       ],
                                       "repeat": "",
                                       "crontab": "",
                                       "once": false,
                                       "onceDelay": 0.1,
                                       "topic": "",
                                       "payload": "60",
                                       "payloadType": "num",
                                       "x": 150,
                                       "y": 1620,
                                       "wires": [
                                           [
                                               "8dde82b282601d6e"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "bb01a74912b2e976",
                                       "type": "buffer-maker",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "specification": "spec",
                                       "specificationType": "ui",
                                       "items": [
                                           {
                                               "name": "item1",
                                               "type": "hex",
                                               "length": 2,
                                               "dataType": "msg",
                                               "data": "payload"
                                           }
                                       ],
                                       "swap1": "",
                                       "swap2": "",
                                       "swap3": "",
                                       "swap1Type": "swap",
                                       "swap2Type": "swap",
                                       "swap3Type": "swap",
                                       "msgProperty": "payload",
                                       "msgPropertyType": "str",
                                       "x": 730,
                                       "y": 1600,
                                       "wires": [
                                           [
                                               "96a8ddbaa4107912",
                                               "0834e676856b25b9"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "96a8ddbaa4107912",
                                       "type": "buffer-parser",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "data": "payload",
                                       "dataType": "msg",
                                       "specification": "spec",
                                       "specificationType": "ui",
                                       "items": [
                                           {
                                               "type": "int8",
                                               "name": "item1",
                                               "offset": 0,
                                               "length": 1,
                                               "offsetbit": 0,
                                               "scale": "1",
                                               "mask": ""
                                           }
                                       ],
                                       "swap1": "",
                                       "swap2": "",
                                       "swap3": "",
                                       "swap1Type": "swap",
                                       "swap2Type": "swap",
                                       "swap3Type": "swap",
                                       "msgProperty": "payload",
                                       "msgPropertyType": "str",
                                       "resultType": "value",
                                       "resultTypeType": "return",
                                       "multipleResult": true,
                                       "fanOutMultipleResult": false,
                                       "setTopic": false,
                                       "outputs": 1,
                                       "x": 910,
                                       "y": 1600,
                                       "wires": [
                                           [
                                               "8f582bbef1396cb7"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "8f582bbef1396cb7",
                                       "type": "debug",
                                       "z": "0662713ffc076361",
                                       "name": "buffer parser 2",
                                       "active": true,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 1100,
                                       "y": 1600,
                                       "wires": []
                                   },
                                   {
                                       "id": "0834e676856b25b9",
                                       "type": "debug",
                                       "z": "0662713ffc076361",
                                       "name": "buffer maker 2",
                                       "active": true,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 920,
                                       "y": 1660,
                                       "wires": []
                                   },
                                   {
                                       "id": "cb9cb4b958d69dbb",
                                       "type": "debug",
                                       "z": "0662713ffc076361",
                                       "name": "Rückkonvertierung aus Int16 Arrray",
                                       "active": true,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 1020,
                                       "y": 340,
                                       "wires": []
                                   },
                                   {
                                       "id": "c49d8a32b00d9e38",
                                       "type": "buffer-parser",
                                       "z": "0662713ffc076361",
                                       "name": "",
                                       "data": "payload",
                                       "dataType": "msg",
                                       "specification": "spec",
                                       "specificationType": "ui",
                                       "items": [
                                           {
                                               "type": "floatbe",
                                               "name": "item1",
                                               "offset": 0,
                                               "length": 1,
                                               "offsetbit": 0,
                                               "scale": "1",
                                               "mask": ""
                                           }
                                       ],
                                       "swap1": "",
                                       "swap2": "",
                                       "swap3": "",
                                       "swap1Type": "swap",
                                       "swap2Type": "swap",
                                       "swap3Type": "swap",
                                       "msgProperty": "payload",
                                       "msgPropertyType": "str",
                                       "resultType": "value",
                                       "resultTypeType": "return",
                                       "multipleResult": true,
                                       "fanOutMultipleResult": false,
                                       "setTopic": false,
                                       "outputs": 1,
                                       "x": 770,
                                       "y": 340,
                                       "wires": [
                                           [
                                               "cb9cb4b958d69dbb"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "b7efada9296433bd",
                                       "type": "comment",
                                       "z": "0662713ffc076361",
                                       "name": "parser Node kann auch mit Int16 Array arbeiten",
                                       "info": "",
                                       "x": 460,
                                       "y": 340,
                                       "wires": []
                                   }
                                ]
                                

                                Ich empfehle Dir auch diesen Thread - in dem alles im Detail anhand von Beispielen erklärt wird:

                                https://forum.iobroker.net/topic/65273/node-red-modbus

                                Christof LewandowskiC Offline
                                Christof LewandowskiC Offline
                                Christof Lewandowski
                                schrieb am zuletzt editiert von
                                #322

                                @mickym Sorry für die späte Rückmeldung. Musste erst den zweiten Teil meiner PV Anlage fertig bauen und war dann im Urlaub :)

                                Ich meine bspw. sowas:
                                a1240415-5ff0-4302-a529-a4e826e687e9-image.png

                                Hier werden die Adressen 32016-32019 einzeln ausgelesen und in die dazugehörigen Datenpunkte geschrieben.
                                Wie würde man es denn realisieren, dass die vier Adressen gleichzeitig ausgelesen und dann in die jeweiligen Datenpunkte geschrieben werden?

                                Dein verlinkter Thread ist für mich wie bömische Dörfer :D

                                mickymM 1 Antwort Letzte Antwort
                                0
                                • Christof LewandowskiC Christof Lewandowski

                                  @mickym Sorry für die späte Rückmeldung. Musste erst den zweiten Teil meiner PV Anlage fertig bauen und war dann im Urlaub :)

                                  Ich meine bspw. sowas:
                                  a1240415-5ff0-4302-a529-a4e826e687e9-image.png

                                  Hier werden die Adressen 32016-32019 einzeln ausgelesen und in die dazugehörigen Datenpunkte geschrieben.
                                  Wie würde man es denn realisieren, dass die vier Adressen gleichzeitig ausgelesen und dann in die jeweiligen Datenpunkte geschrieben werden?

                                  Dein verlinkter Thread ist für mich wie bömische Dörfer :D

                                  mickymM Offline
                                  mickymM Offline
                                  mickym
                                  Most Active
                                  schrieb am zuletzt editiert von mickym
                                  #323

                                  @christof-lewandowski Na ja ich kenne jetzt das Modbus nicht im Detail und es läuft ja auch. Aber man könnte ggf. den Verkehr oder die Anfragen vermindern indem man halt einmal die Adressen von 32016 bis 32019 ausliest und dann mit dem Bufferparser in 4 einzelne Nachrichten ausgeben lässt, wobei man ggf. sogar gleich das topic setzen könnte. Um das mit dir auszuprobieren müsste ich sehen, was Du in dem Flow machst und ob Du selbst mit der modbus Node alle Adressen aufeinmal auslesen kannst. ich glaube das geht, dass man angeben kann wieviel ausgelesen werden soll.

                                  Exportiere halt mal den ausgewählten Schnipsel und poste mir mal was eine Modbus Node mit allen 4 Registern aufeinmal ausspukt hier in Code Tags, dann kann ich das mit einer Inject Node nachstellen.

                                  Wie gesagt wenn Du Deine Anlage in größeren Blöcken abfragst, minimierst Du Netzwerktraffic und die Systeme im Allgemeinen.

                                  Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

                                  1 Antwort Letzte Antwort
                                  0
                                  • S Offline
                                    S Offline
                                    Spexx
                                    schrieb am zuletzt editiert von
                                    #324

                                    @Christof-Lewandowski
                                    Ich frage drei größere Adressbereiche ab, das wird dann über einen Buffer-Parser ausgewertet und alle Werte in einzelne Datenpunkte geschrieben. Ich denke im Prinzip das was du suchst, anbei der Flow.
                                    Zwischen den Abfragen habe ich aktuell eine Minute Verzögerung, das Abfrageintervall kann man sicher auch noch runtersetzen, läuft so aber bereits seit Wochen problemlos.

                                    2023-06-23_20h10_28.png
                                    2023-06-23_20h20_26.png
                                    flows.json

                                    L 1 Antwort Letzte Antwort
                                    0
                                    • S Offline
                                      S Offline
                                      Spexx
                                      schrieb am zuletzt editiert von
                                      #325

                                      Noch einmal kurz zusammengefasst, wie ein Adressbereich / mehrere Register auf einmal ausgelesen werden können.

                                      Man legt im Read-Befehl das Start-Register fest und zudem auch die Länge bzw. die Anzahl der Register. Hier im Bespiel das Register 32016 bis 32114. Jedes Register hat eine Länge von 2, d.h. die Anzahl beträgt somit 100:
                                      2023-06-23_20h38_34.png

                                      Über ein Buffer-Parser kann man dann die empfangenen Werte auswerten. Hierbei muss einerseits das Offset der einzelnen Werte definiert werden (es können auch Werte übersprungen werden falls diese nicht relevant sind). Zudem kann auch direkt der Umrechnungsfaktor festgelegt werden. Die Ausgabewerte können dann in einzelne Datenpunkte geschrieben werden:
                                      2023-06-23_20h41_57.png

                                      Anbei ein Beispiel-Flow, in welchem der WR in einem Block ausgelesen (32016-32114) wird sowie die Batterie/Smartmeter in einem weiteren Block (37000-37123).
                                      2023-06-23_20h52_10.png
                                      b303d536-401c-449c-97bc-2f1adae466aa-image.png
                                      7a8fc812-c7eb-4b7d-8388-a26d446cf5a1-image.png

                                      flows.json

                                      mickymM 1 Antwort Letzte Antwort
                                      0
                                      • S Spexx

                                        Noch einmal kurz zusammengefasst, wie ein Adressbereich / mehrere Register auf einmal ausgelesen werden können.

                                        Man legt im Read-Befehl das Start-Register fest und zudem auch die Länge bzw. die Anzahl der Register. Hier im Bespiel das Register 32016 bis 32114. Jedes Register hat eine Länge von 2, d.h. die Anzahl beträgt somit 100:
                                        2023-06-23_20h38_34.png

                                        Über ein Buffer-Parser kann man dann die empfangenen Werte auswerten. Hierbei muss einerseits das Offset der einzelnen Werte definiert werden (es können auch Werte übersprungen werden falls diese nicht relevant sind). Zudem kann auch direkt der Umrechnungsfaktor festgelegt werden. Die Ausgabewerte können dann in einzelne Datenpunkte geschrieben werden:
                                        2023-06-23_20h41_57.png

                                        Anbei ein Beispiel-Flow, in welchem der WR in einem Block ausgelesen (32016-32114) wird sowie die Batterie/Smartmeter in einem weiteren Block (37000-37123).
                                        2023-06-23_20h52_10.png
                                        b303d536-401c-449c-97bc-2f1adae466aa-image.png
                                        7a8fc812-c7eb-4b7d-8388-a26d446cf5a1-image.png

                                        flows.json

                                        mickymM Offline
                                        mickymM Offline
                                        mickym
                                        Most Active
                                        schrieb am zuletzt editiert von
                                        #326

                                        @spexx Eine Verbesserung und wesentliche Vereinfachung habe ich aber. ;)

                                        Du kannst in dem Bufferparser set topic ankreuzt und im Namen gleich den richtigen Pfad zum Datenpunkt eingibst und nicht was beschreibendes - dann ist das bereits das topic und Du brauchst das fan Out nicht und kannst alles in eine iobroker - OUT Node schreiben. Dann ist der Flow viel übersichtlicher.

                                        Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

                                        1 Antwort Letzte Antwort
                                        0
                                        • Christof LewandowskiC Offline
                                          Christof LewandowskiC Offline
                                          Christof Lewandowski
                                          schrieb am zuletzt editiert von
                                          #327

                                          @mickym und @Spexx

                                          Mega, vielen Dank!

                                          Da kommen wir der Sache doch schon sehr sehr viel näher :)

                                          Habs jetzt mal auf meine Daten angepasst und läuft! Werde jetzt mal beobachten, ob und wie viele Timeouts ich nun bekomme.

                                          Eine Frage hätte ich noch bzgl. des Schedules. Der Intervall steht auf alle 3 Minuten. Dann gibts da noch ne Verzögerung von 1 bzw. 2 Minuten (im Flow von @Spexx )? Wie darf man das verstehen?

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          480

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe