Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Node-Red
    5. [HowTo] Huawei SUN2000 WR Modbus mit node-red (read + write)

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

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

    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      badsnoopy667 @Atifan last edited by

      @atifan
      Theoretisch geht das. Es gibt Modbus Register dafür. Praktisch ist das so kompliziert und schlecht dokumentiert, das wird nix befürchte ich.

      1 Reply Last reply Reply Quote 0
      • L
        leonundjulie @badsnoopy667 last edited by

        @badsnoopy667 Moin, moin, sonnige Grüße von der Küste. Ich habe gestern umgesetzt was in der Anleitung steht - aber leider ohne den erhofften Erfolg.

        Ich meine alles gemacht zu haben was hier steht:

        • User ID auf 1 gesetzt .. so wie es in meinem WR eingestellt ist
        • ich kann den WR anpingen
        • MOD-TCP ist im WR auch entsprechend der Vorgaben gesetzt

        Nach dem Stoppen und Starten von NodeRed werden die Objekte nicht angelegt, die Kommunikation startet nicht und folgendes lese ich im Protokoll. Was habe ich vergessen oder falsch gemacht?

        IMG_0407.jpeg

        1 Reply Last reply Reply Quote 0
        • Christof Lewandowski
          Christof Lewandowski @Atifan last edited by

          @atifan
          Danke. Habs jetzt mit dem modbus-proxy "gelöst". Damit kann mein Solarmanager UND node-red Daten per ModbusTCP abgreifen.
          Gestern liefs zumindest noch, heute möchte Node-red den Flow nicht mehr starten...

          W 1 Reply Last reply Reply Quote 0
          • S
            SvenH75 @badsnoopy667 last edited by

            @badsnoopy667 Hallo, vielen Dank für die Anleitung, habe es eingerichtet und es funktioniert (Node-red Anfänger). Es werden nur nicht alle Werte erfasst. Im Node-red sind die Kästchen heller….. Ist das normal? Die wichtigsten Werte sind ja vorhanden…… ich hänge es mal als Bilder an, sollte hoffentlich zu sehen sein…….

            Vielen Dank

            IMG_0923.png
            IMG_0924.png
            IMG_0925.png
            IMG_0926.png
            IMG_0927.png

            B 1 Reply Last reply Reply Quote 0
            • B
              badsnoopy667 @SvenH75 last edited by

              @svenh75
              die helleren Kästchen sind deaktiviert. Ich glaube da kann man drauf klicken und dann unten in der Ecke auf aktivieren oder so klicken.

              S 1 Reply Last reply Reply Quote 0
              • S
                SvenH75 @badsnoopy667 last edited by

                @badsnoopy667 Dankeschön, genau so ist es 👍

                1 Reply Last reply Reply Quote 0
                • H
                  harald0708 last edited by

                  Hallo zusammen. Ich habe zwei SUN2000 und eine Luna2000. Darf ich mir eine Node von Euch runterladen, damit ich die dann an meine Anlage anpassen kann? Bin Node-RED-Anfänger. Muss leider auch blöd Fragen: Wie kann ich denn eine Node runterladen? Vielen herzlichen Dank im voraus.

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    badsnoopy667 @harald0708 last edited by

                    @harald0708
                    Du musst den Flow aus Post 1 runterladen und in node-red importieren. Das ist eine Textdatei.
                    Dann kannst du die Nodes (also die kleinen bunten Kästchen), die sich in diesem Flow befinden, anpassen wie im Post 1 beschrieben (also mit der Unit-ID usw.)

                    S H 2 Replies Last reply Reply Quote 0
                    • S
                      stefanWidmann @badsnoopy667 last edited by

                      @badsnoopy667 Servus, das hab ich erledigt, bin mal so frech, und hänge mich an diese Frage dran. Wie kann ich jetzt dann die Werte im IOBroker verwenden? Brauche die Werte, dass ich meine Wallbox mit den Keba-connect adapter steuern kann. Bitte um Hilfe. danke und schönen Nachmittag

                      mickym 1 Reply Last reply Reply Quote 0
                      • mickym
                        mickym Most Active @stefanWidmann last edited by

                        @stefanwidmann ??? in dem Flow schreibst Du doch die Werte über die iobroker-Out Nodes in Datenpunkte?

                        1 Reply Last reply Reply Quote 0
                        • H
                          harald0708 @badsnoopy667 last edited by

                          @badsnoopy667 Vielen Dank für Deine Anwort. Leider stell ich mich so dämlich an. Wo ist der Post1 und wo kann ich den Flow runterladen? Bitte nochmals um Hilfe. Die Textdatei (Flow) in Node-Red importieren ist kein Problem.

                          mickym 1 Reply Last reply Reply Quote 0
                          • mickym
                            mickym Most Active @harald0708 last edited by

                            @harald0708 Der erste Post ist der Älteste und lest ihr nicht?

                            136e2f5a-6644-43d1-bf23-813f77f1be08-image.png

                            H 1 Reply Last reply Reply Quote 0
                            • H
                              harald0708 @mickym last edited by

                              @mickym Danke für die Antwort. Ganz hochscrollen hat wohl nicht gleich funktioniert. Nun hab ich es gefunden und importiert. Vielen Dank.

                              1 Reply Last reply Reply Quote 0
                              • Christof Lewandowski
                                Christof Lewandowski @madmat17 last edited by

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

                                @a1uca2d

                                Das Thema mit den Abfragen kannst du auch anders umschiffen.
                                Du kannst mehrere Register auf einmal abfragen (ich habe zB in 2 Abfragen alles drinnen - da ein recht großer Adressbereich für mich nicht so interessant ist):

                                • Register 32000-32116:
                                  cf21b6ea-6e0d-422f-a361-79df4952364e-image.png
                                  Die Abfrage triggert dann die zweite Abfrage
                                  edd8206a-900b-4843-b7c4-87fec141bf81-image.png

                                • Register 37000-37125:
                                  6fda4d92-475f-4c9c-b144-a09d33432e6c-image.png

                                Die Daten laufen dann durch einen edit puffer-parser node, werden in einem join-node zusammengefügt und (in meinem Fall) auf einmal in eine InfluxDB geschrieben:
                                2f3e0ad6-6c9f-458e-bc19-7af60b771b51-image.png

                                Nur als Anregung bzw. Idee, wenn man den Overhead der Register-Anfragen reduzieren möchte. 😉

                                Gruß,
                                Mat

                                Das sieht sehr interessant aus. Kämpfe auch gerade mit zu vielen Abfragen...Wie würde man denn in Node Red nun die Ergebnisse der Registerabfragen in die ioBroker Datenpunkte schreiben?

                                mickym 1 Reply Last reply Reply Quote 0
                                • mickym
                                  mickym Most Active @Christof Lewandowski last edited by

                                  @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.

                                  Christof Lewandowski 1 Reply Last reply Reply Quote 0
                                  • Christof Lewandowski
                                    Christof Lewandowski @mickym last edited by

                                    @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.

                                    mickym 1 Reply Last reply Reply Quote 0
                                    • mickym
                                      mickym Most Active @Christof Lewandowski last edited by 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 Lewandowski 1 Reply Last reply Reply Quote 0
                                      • L
                                        leonundjulie @ple last edited by 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 1 Reply Last reply Reply Quote 0
                                        • L
                                          leonundjulie @leonundjulie last edited by

                                          @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 1 Reply Last reply Reply Quote 0
                                          • P
                                            ple @leonundjulie last edited by

                                            @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

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.2k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            110
                                            573
                                            176178
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo