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. Array mit Objekten in iOBroker anlegen

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Array mit Objekten in iOBroker anlegen

    This topic has been deleted. Only users with topic management privileges can see it.
    • mickym
      mickym Most Active @HackyPaddy last edited by mickym

      @hackypaddy Lass Dir erst nochmal die Vorteile meiner Alternativstruktur erklären und dann auch nochmal die Frage, wenn Du alle 4 Partitionen auf einmal abfragst - kommt das nur manchmal vor, dass die Anlage nicht klar kommt und kannst Du dann ggf. auf diese Abfrage verzichten oder geht es grundsätzlich nicht?

      Bei meiner Alternativstruktur kannst Du dann nämlich mit Wildcards (nachdem anfänglich erst mal alle Initialisiert wurde) - nur noch auf Änderungen reagieren und alle states auf einmal überwachen:

      1e40acc5-db28-4f9a-b230-cb9e3bf4d47c-image.png

      Da der Datenpunkt mit dem state immer gleich heißt - hast Du so immer den aktuellen Status - der Name wird eigentlich gar nicht gebraucht kannst ihn aber mit einer get-Node ggf. auslesen. Da hier der Name des Datenpunktes ebenfalls konstant ist, ist das hier natürlich von Vorteil

      Wie gesagt den Originalnamen brauchst Du nicht. Im oberen Ast - hast Du im Topic ja den Pfad zur Originalquelle. Wenn Du unbedingt den Originalnamen als topic haben willst, dann holst Du ihn Dir via get Node.

      5126afe0-b71d-4c3a-8f25-8c581ee73b3f-image.png

      Hier der Import

      [
         {
             "id": "6f37e7e87386cf05",
             "type": "ioBroker in",
             "z": "517cd16e4d7e6ae4",
             "name": "",
             "topic": "0_userdata.0.Alarm.*.state",
             "payloadType": "value",
             "onlyack": "",
             "func": "rbe",
             "gap": "",
             "fireOnStart": "false",
             "outFormat": "ioBroker",
             "x": 190,
             "y": 1260,
             "wires": [
                 [
                     "2f2c58975ed6758e",
                     "672bb3340becd84b"
                 ]
             ]
         },
         {
             "id": "2f2c58975ed6758e",
             "type": "debug",
             "z": "517cd16e4d7e6ae4",
             "name": "topic enthält Quelle",
             "active": true,
             "tosidebar": true,
             "console": false,
             "tostatus": false,
             "complete": "payload",
             "targetType": "msg",
             "statusVal": "",
             "statusType": "auto",
             "x": 470,
             "y": 1240,
             "wires": []
         },
         {
             "id": "672bb3340becd84b",
             "type": "change",
             "z": "517cd16e4d7e6ae4",
             "name": "",
             "rules": [
                 {
                     "t": "change",
                     "p": "topic",
                     "pt": "msg",
                     "from": "(.*)state",
                     "fromt": "re",
                     "to": "$1",
                     "tot": "str"
                 },
                 {
                     "t": "set",
                     "p": "topic",
                     "pt": "msg",
                     "to": "topic & \"name\"",
                     "tot": "jsonata"
                 }
             ],
             "action": "",
             "property": "",
             "from": "",
             "to": "",
             "reg": false,
             "x": 470,
             "y": 1340,
             "wires": [
                 [
                     "98ee8ccb4ef7da95"
                 ]
             ]
         },
         {
             "id": "ba4115e983914988",
             "type": "debug",
             "z": "517cd16e4d7e6ae4",
             "name": "topic als Originalnamen",
             "active": true,
             "tosidebar": true,
             "console": false,
             "tostatus": false,
             "complete": "payload",
             "targetType": "msg",
             "statusVal": "",
             "statusType": "auto",
             "x": 1090,
             "y": 1340,
             "wires": []
         },
         {
             "id": "9b4d855c5031939a",
             "type": "comment",
             "z": "517cd16e4d7e6ae4",
             "name": "Namen braucht man nicht - nur Kosmetik",
             "info": "",
             "x": 540,
             "y": 1300,
             "wires": []
         },
         {
             "id": "9e3e01f2a53a7fa1",
             "type": "comment",
             "z": "517cd16e4d7e6ae4",
             "name": "state Änderungen  Name überflüssig - Quelle ist im Topic",
             "info": "",
             "x": 580,
             "y": 1200,
             "wires": []
         },
         {
             "id": "98ee8ccb4ef7da95",
             "type": "ioBroker get",
             "z": "517cd16e4d7e6ae4",
             "name": "getName",
             "topic": "",
             "attrname": "name",
             "payloadType": "value",
             "errOnInvalidState": "nothing",
             "x": 660,
             "y": 1340,
             "wires": [
                 [
                     "d81ac4aecfd5b949"
                 ]
             ]
         },
         {
             "id": "d81ac4aecfd5b949",
             "type": "change",
             "z": "517cd16e4d7e6ae4",
             "name": "name -> topic",
             "rules": [
                 {
                     "t": "move",
                     "p": "name",
                     "pt": "msg",
                     "to": "topic",
                     "tot": "msg"
                 }
             ],
             "action": "",
             "property": "",
             "from": "",
             "to": "",
             "reg": false,
             "x": 840,
             "y": 1340,
             "wires": [
                 [
                     "ba4115e983914988"
                 ]
             ]
         }
      ]
      

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

        @mickym

        Das ist echt ne geile Idee. So baue ich das um.

        Wegen der Abfragen: Es gehen maximal 2 zeitgleich. Lieber aber sequenziell hintereinander. Dann kommen die Antworten auch schneller.

        4 Abfragen gehen garnicht… bricht ab. Entweder stürzt die Anlage ab oder der Node Server.

        mickym 2 Replies Last reply Reply Quote 0
        • mickym
          mickym Most Active @HackyPaddy last edited by

          @hackypaddy sagte in Array mit Objekten in iOBroker anlegen:

          @mickym

          Das ist echt ne geile Idee. So baue ich das um.

          Wegen der Abfragen: Es gehen maximal 2 zeitgleich. Lieber aber sequenziell hintereinander. Dann kommen die Antworten auch schneller.

          4 Abfragen gehen garnicht… bricht ab. Entweder stürzt die Anlage ab oder der Node Server.

          Hier noch der Import - um die andere Struktur aufzubauen:

          [
             {
                 "id": "449010e92d9ebbd8",
                 "type": "inject",
                 "z": "517cd16e4d7e6ae4",
                 "name": "",
                 "props": [
                     {
                         "p": "payload"
                     }
                 ],
                 "repeat": "",
                 "crontab": "",
                 "once": false,
                 "onceDelay": 0.1,
                 "topic": "",
                 "payload": "[{\"id\":\"109\",\"name\":\"Kontakt\",\"state\":\"closed\"},{\"id\":\"110\",\"name\":\"BW Fen. R.\",\"state\":\"closed\"}]",
                 "payloadType": "json",
                 "x": 150,
                 "y": 1100,
                 "wires": [
                     [
                         "c3673c87edd45369"
                     ]
                 ]
             },
             {
                 "id": "c3673c87edd45369",
                 "type": "split",
                 "z": "517cd16e4d7e6ae4",
                 "name": "",
                 "splt": "\\n",
                 "spltType": "str",
                 "arraySplt": 1,
                 "arraySpltType": "len",
                 "stream": false,
                 "addname": "topic",
                 "x": 310,
                 "y": 1100,
                 "wires": [
                     [
                         "fd333903bf4aaa07"
                     ]
                 ]
             },
             {
                 "id": "fd333903bf4aaa07",
                 "type": "change",
                 "z": "517cd16e4d7e6ae4",
                 "name": "",
                 "rules": [
                     {
                         "t": "set",
                         "p": "topic",
                         "pt": "msg",
                         "to": "\"0_userdata.0.Alarm.\" & payload.id",
                         "tot": "jsonata"
                     },
                     {
                         "t": "delete",
                         "p": "payload.id",
                         "pt": "msg"
                     }
                 ],
                 "action": "",
                 "property": "",
                 "from": "",
                 "to": "",
                 "reg": false,
                 "x": 490,
                 "y": 1100,
                 "wires": [
                     [
                         "2ac15ee0675e260f"
                     ]
                 ]
             },
             {
                 "id": "daa3c3782f2712cc",
                 "type": "ioBroker out",
                 "z": "517cd16e4d7e6ae4",
                 "name": "",
                 "topic": "",
                 "ack": "true",
                 "autoCreate": "true",
                 "stateName": "",
                 "role": "",
                 "payloadType": "",
                 "readonly": "false",
                 "stateUnit": "",
                 "stateMin": "",
                 "stateMax": "",
                 "x": 1060,
                 "y": 1100,
                 "wires": []
             },
             {
                 "id": "2ac15ee0675e260f",
                 "type": "split",
                 "z": "517cd16e4d7e6ae4",
                 "name": "",
                 "splt": "\\n",
                 "spltType": "str",
                 "arraySplt": 1,
                 "arraySpltType": "len",
                 "stream": false,
                 "addname": "topicName",
                 "x": 670,
                 "y": 1100,
                 "wires": [
                     [
                         "801aed56877d211c"
                     ]
                 ]
             },
             {
                 "id": "801aed56877d211c",
                 "type": "change",
                 "z": "517cd16e4d7e6ae4",
                 "name": "",
                 "rules": [
                     {
                         "t": "set",
                         "p": "topic",
                         "pt": "msg",
                         "to": "topic & \".\" & topicName",
                         "tot": "jsonata"
                     }
                 ],
                 "action": "",
                 "property": "",
                 "from": "",
                 "to": "",
                 "reg": false,
                 "x": 840,
                 "y": 1100,
                 "wires": [
                     [
                         "daa3c3782f2712cc"
                     ]
                 ]
             }
          ]
          

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

            @hackypaddy sagte in Array mit Objekten in iOBroker anlegen:

            @mickym

            Das ist echt ne geile Idee. So baue ich das um.

            Wegen der Abfragen: Es gehen maximal 2 zeitgleich. Lieber aber sequenziell hintereinander. Dann kommen die Antworten auch schneller.

            4 Abfragen gehen garnicht… bricht ab. Entweder stürzt die Anlage ab oder der Node Server.

            Hast Du mal versucht mit einer payload die einzelnen Partitionen abzufragen, anstatt das in der Node fest zu verdrahten?

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

              @mickym

              Ne, weil ich nichts genau weiß wie...
              Ich schick Dir gleich mal mein Flow, wie er im Moment aussieht.

              Dann kannst Du das besser nachvollziehen.

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

                @hackypaddy

                Probiere doch mal wie ich gesagt habe die Partition nicht in der Node zu verwenden sondern mit der payload?

                hast Du denn das schon versucht: https://forum.iobroker.net/post/1098790

                Ich probiere parallel einen Flow zu erstellen, aber Du würdest Dir das Leben viel einfacher machen. Bitte probiere das erst aus.

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

                  @mickym

                  hier mal mein Flow, wie ich ihn gerade verwende. Ziel wäre es, die einzelnen Bereiche nacheinander abzufragen. Erst Bereich 1, dann Bereich 2, usw.

                  [
                      {
                          "id": "21ba77d9f363fc5c",
                          "type": "tab",
                          "label": "Secvest",
                          "disabled": false,
                          "info": "",
                          "env": []
                      },
                      {
                          "id": "7de9826e28d68b1d",
                          "type": "split",
                          "z": "21ba77d9f363fc5c",
                          "name": "",
                          "splt": "\\n",
                          "spltType": "str",
                          "arraySplt": 1,
                          "arraySpltType": "len",
                          "stream": false,
                          "addname": "topic",
                          "x": 690,
                          "y": 220,
                          "wires": [
                              [
                                  "7ae37472e7b5ca96"
                              ]
                          ]
                      },
                      {
                          "id": "7ae37472e7b5ca96",
                          "type": "change",
                          "z": "21ba77d9f363fc5c",
                          "name": "",
                          "rules": [
                              {
                                  "t": "change",
                                  "p": "payload.name",
                                  "pt": "msg",
                                  "from": ".",
                                  "fromt": "str",
                                  "to": "",
                                  "tot": "str"
                              },
                              {
                                  "t": "set",
                                  "p": "topic",
                                  "pt": "msg",
                                  "to": "\"0_userdata.0.Alarm.\" & payload.id & \".\" &  payload.name",
                                  "tot": "jsonata"
                              },
                              {
                                  "t": "set",
                                  "p": "payload",
                                  "pt": "msg",
                                  "to": "payload.state",
                                  "tot": "msg"
                              }
                          ],
                          "action": "",
                          "property": "",
                          "from": "",
                          "to": "",
                          "reg": false,
                          "x": 730,
                          "y": 300,
                          "wires": [
                              [
                                  "3f9d9626684a6018"
                              ]
                          ]
                      },
                      {
                          "id": "3f9d9626684a6018",
                          "type": "ioBroker out",
                          "z": "21ba77d9f363fc5c",
                          "name": "",
                          "topic": "",
                          "ack": "true",
                          "autoCreate": "true",
                          "stateName": "",
                          "role": "",
                          "payloadType": "",
                          "readonly": "",
                          "stateUnit": "",
                          "stateMin": "",
                          "stateMax": "",
                          "x": 720,
                          "y": 380,
                          "wires": []
                      },
                      {
                          "id": "736b74f1fd7dfdd5",
                          "type": "Secvest Status",
                          "z": "21ba77d9f363fc5c",
                          "name": "Bereich 1",
                          "server": "5dc4b66ee70b8720",
                          "partition": "1",
                          "command": "zones",
                          "x": 400,
                          "y": 140,
                          "wires": [
                              [
                                  "7de9826e28d68b1d"
                              ]
                          ]
                      },
                      {
                          "id": "c9f81194989a2d11",
                          "type": "inject",
                          "z": "21ba77d9f363fc5c",
                          "name": "Alle 45 Sek.",
                          "props": [
                              {
                                  "p": "payload"
                              },
                              {
                                  "p": "topic",
                                  "vt": "str"
                              }
                          ],
                          "repeat": "",
                          "crontab": "",
                          "once": false,
                          "onceDelay": "1",
                          "topic": "",
                          "payload": "",
                          "payloadType": "date",
                          "x": 130,
                          "y": 100,
                          "wires": [
                              [
                                  "736b74f1fd7dfdd5",
                                  "3149fd696d113580",
                                  "427ed92e5fcf9fa0",
                                  "a7ae4222d4fc65a0"
                              ]
                          ]
                      },
                      {
                          "id": "3149fd696d113580",
                          "type": "Secvest Status",
                          "z": "21ba77d9f363fc5c",
                          "name": "Bereich 2",
                          "server": "5dc4b66ee70b8720",
                          "partition": "2",
                          "command": "zones",
                          "x": 420,
                          "y": 200,
                          "wires": [
                              [
                                  "7de9826e28d68b1d"
                              ]
                          ]
                      },
                      {
                          "id": "427ed92e5fcf9fa0",
                          "type": "Secvest Status",
                          "z": "21ba77d9f363fc5c",
                          "name": "Bereich 3",
                          "server": "5dc4b66ee70b8720",
                          "partition": "3",
                          "command": "zones",
                          "x": 400,
                          "y": 260,
                          "wires": [
                              [
                                  "7de9826e28d68b1d"
                              ]
                          ]
                      },
                      {
                          "id": "a7ae4222d4fc65a0",
                          "type": "Secvest Status",
                          "z": "21ba77d9f363fc5c",
                          "name": "Bereich 4",
                          "server": "5dc4b66ee70b8720",
                          "partition": "4",
                          "command": "zones",
                          "x": 390,
                          "y": 320,
                          "wires": [
                              [
                                  "7de9826e28d68b1d"
                              ]
                          ]
                      },
                      {
                          "id": "5dc4b66ee70b8720",
                          "type": "ABUS Secvest",
                          "servername": "Secvest",
                          "host": "192.168.10.121",
                          "port": "4433",
                          "user": "Alert",
                          "password": "xxxx"
                      }
                  ]
                  
                  mickym 1 Reply Last reply Reply Quote 0
                  • mickym
                    mickym Most Active @HackyPaddy last edited by mickym

                    @hackypaddy Ja trotzdem probiere es bitte -

                    Nimm einfach eine von den Secvest Nodes - mach dahinter eine Debug Node und schau ob Du mit
                    einer Inject Node mit einer payload die eine der 3. Partitions enthält abfragst?

                    Wie gesagt es geht auch mit 4 Nodes - aber es ist einfach ÜBERFLÜSSIG, wenn der Entwickler anbietet, dass man mit einer payload die Partitionen einzeln abfragen kann.

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

                      @hackpaddy

                      Hast Du es probiert???

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

                        @mickym

                        Ich bin noch dabei, aber so wie es aussieht, funktioniert das nicht...

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

                          @hackypaddy dann probiere es mal mit den beiden Inject Nodes und schau ob da was rauskommt.

                          In der Node löscht Du Command und Partition bitte.

                          [
                             {
                                 "id": "30a75b4cea8b0f90",
                                 "type": "inject",
                                 "z": "517cd16e4d7e6ae4",
                                 "name": "",
                                 "props": [
                                     {
                                         "p": "payload"
                                     }
                                 ],
                                 "repeat": "",
                                 "crontab": "",
                                 "once": false,
                                 "onceDelay": 0.1,
                                 "topic": "",
                                 "payload": "{\"command\":\"state\",\"partition\":\"3\"}",
                                 "payloadType": "json",
                                 "x": 830,
                                 "y": 1480,
                                 "wires": [
                                     []
                                 ]
                             },
                             {
                                 "id": "b886fcf335c578ce",
                                 "type": "inject",
                                 "z": "517cd16e4d7e6ae4",
                                 "name": "",
                                 "props": [
                                     {
                                         "p": "payload"
                                     }
                                 ],
                                 "repeat": "",
                                 "crontab": "",
                                 "once": false,
                                 "onceDelay": 0.1,
                                 "topic": "",
                                 "payload": "{\"command\":\"state\",\"partition\":3}",
                                 "payloadType": "json",
                                 "x": 830,
                                 "y": 1520,
                                 "wires": [
                                     []
                                 ]
                             }
                          ]
                          

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

                            So nachdem ich von Dir leider keinen Response bekomme, und das eigentlich gehen müsste, habe ich Dir hier nun einen Flow gebastelt - der den Status abfragt und mit dem ich Deine Secvest Nodes simuliert habe

                            962d03a5-1a0a-49d3-a0ab-773a30b0f94e-image.png

                            Die Nachricht kommt nur raus, wenn der Status OK ist.

                            Du musst aber vorher in der Statusermittlung die ID der Nodes in die Switch Node eintragen. Wenn Du das mal durchgespielt hast hier mit diesem Flow - dann wirst Du es auch auf den realen Flow umsetzen können:

                            [
                               {
                                   "id": "c05f687368999ce5",
                                   "type": "group",
                                   "z": "517cd16e4d7e6ae4",
                                   "name": "Hauptflow",
                                   "style": {
                                       "fill": "#e3f3d3",
                                       "label": true
                                   },
                                   "nodes": [
                                       "edf6186f87bd29cf",
                                       "43d75f1a298e4228",
                                       "5c2a6fd166cadeea",
                                       "1f3ca857652a6f2d",
                                       "d0227b7791f129b7",
                                       "4385c065f4bcf50b",
                                       "2686fd64b3416b63",
                                       "105628d009801c57"
                                   ],
                                   "x": 54,
                                   "y": 1559,
                                   "w": 1612,
                                   "h": 82
                               },
                               {
                                   "id": "edf6186f87bd29cf",
                                   "type": "debug",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "c05f687368999ce5",
                                   "name": "Nachricht",
                                   "active": true,
                                   "tosidebar": true,
                                   "console": false,
                                   "tostatus": false,
                                   "complete": "payload",
                                   "targetType": "msg",
                                   "statusVal": "",
                                   "statusType": "auto",
                                   "x": 1560,
                                   "y": 1600,
                                   "wires": []
                               },
                               {
                                   "id": "43d75f1a298e4228",
                                   "type": "link call",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "c05f687368999ce5",
                                   "name": "",
                                   "links": [
                                       "0261bc0c575a8179"
                                   ],
                                   "linkType": "static",
                                   "timeout": "30",
                                   "x": 340,
                                   "y": 1600,
                                   "wires": [
                                       [
                                           "1f3ca857652a6f2d"
                                       ]
                                   ]
                               },
                               {
                                   "id": "5c2a6fd166cadeea",
                                   "type": "inject",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "c05f687368999ce5",
                                   "name": "trigger",
                                   "props": [
                                       {
                                           "p": "payload"
                                       }
                                   ],
                                   "repeat": "",
                                   "crontab": "",
                                   "once": false,
                                   "onceDelay": 0.1,
                                   "topic": "",
                                   "payload": "true",
                                   "payloadType": "bool",
                                   "x": 150,
                                   "y": 1600,
                                   "wires": [
                                       [
                                           "43d75f1a298e4228"
                                       ]
                                   ]
                               },
                               {
                                   "id": "1f3ca857652a6f2d",
                                   "type": "change",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "c05f687368999ce5",
                                   "name": "",
                                   "rules": [
                                       {
                                           "t": "set",
                                           "p": "result",
                                           "pt": "msg",
                                           "to": "$flowContext(\"Secvest.partition.\"& next)\t",
                                           "tot": "jsonata"
                                       }
                                   ],
                                   "action": "",
                                   "property": "",
                                   "from": "",
                                   "to": "",
                                   "reg": false,
                                   "x": 540,
                                   "y": 1600,
                                   "wires": [
                                       [
                                           "d0227b7791f129b7"
                                       ]
                                   ]
                               },
                               {
                                   "id": "d0227b7791f129b7",
                                   "type": "switch",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "c05f687368999ce5",
                                   "name": "Nur wenn OK?",
                                   "property": "result",
                                   "propertyType": "msg",
                                   "rules": [
                                       {
                                           "t": "cont",
                                           "v": "OK",
                                           "vt": "str"
                                       }
                                   ],
                                   "checkall": "true",
                                   "repair": false,
                                   "outputs": 1,
                                   "x": 740,
                                   "y": 1600,
                                   "wires": [
                                       [
                                           "2686fd64b3416b63"
                                       ]
                                   ]
                               },
                               {
                                   "id": "4385c065f4bcf50b",
                                   "type": "change",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "c05f687368999ce5",
                                   "name": "",
                                   "rules": [
                                       {
                                           "t": "set",
                                           "p": "Secvest.nextPart",
                                           "pt": "flow",
                                           "to": "next",
                                           "tot": "msg"
                                       }
                                   ],
                                   "action": "",
                                   "property": "",
                                   "from": "",
                                   "to": "",
                                   "reg": false,
                                   "x": 1340,
                                   "y": 1600,
                                   "wires": [
                                       [
                                           "edf6186f87bd29cf"
                                       ]
                                   ]
                               },
                               {
                                   "id": "2686fd64b3416b63",
                                   "type": "change",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "c05f687368999ce5",
                                   "name": "",
                                   "rules": [
                                       {
                                           "t": "set",
                                           "p": "next",
                                           "pt": "msg",
                                           "to": "next + 1",
                                           "tot": "jsonata"
                                       }
                                   ],
                                   "action": "",
                                   "property": "",
                                   "from": "",
                                   "to": "",
                                   "reg": false,
                                   "x": 940,
                                   "y": 1600,
                                   "wires": [
                                       [
                                           "105628d009801c57"
                                       ]
                                   ]
                               },
                               {
                                   "id": "105628d009801c57",
                                   "type": "range",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "c05f687368999ce5",
                                   "minin": "1",
                                   "maxin": "5",
                                   "minout": "1",
                                   "maxout": "5",
                                   "action": "roll",
                                   "round": true,
                                   "property": "next",
                                   "name": "",
                                   "x": 1110,
                                   "y": 1600,
                                   "wires": [
                                       [
                                           "4385c065f4bcf50b"
                                       ]
                                   ]
                               },
                               {
                                   "id": "79474f37517badfa",
                                   "type": "group",
                                   "z": "517cd16e4d7e6ae4",
                                   "name": "Status",
                                   "style": {
                                       "fill": "#ffffbf",
                                       "label": true
                                   },
                                   "nodes": [
                                       "046d20801968277a",
                                       "166f54f5d95776c5",
                                       "967ae311bedb5398",
                                       "f531134c2d277c8e",
                                       "f7e0ad7f8c47e9e2",
                                       "b859b6f87ebdea89",
                                       "acd1fb1a37c75788"
                                   ],
                                   "x": 54,
                                   "y": 1659,
                                   "w": 672,
                                   "h": 222
                               },
                               {
                                   "id": "046d20801968277a",
                                   "type": "status",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "79474f37517badfa",
                                   "name": "",
                                   "scope": [
                                       "26da1e75ad50f497",
                                       "77406c09f2b4935f",
                                       "a36d2b0336d314d5",
                                       "dca5caeebd3fa237"
                                   ],
                                   "x": 140,
                                   "y": 1780,
                                   "wires": [
                                       [
                                           "166f54f5d95776c5",
                                           "f531134c2d277c8e"
                                       ]
                                   ]
                               },
                               {
                                   "id": "166f54f5d95776c5",
                                   "type": "switch",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "79474f37517badfa",
                                   "name": "",
                                   "property": "status.source.id",
                                   "propertyType": "msg",
                                   "rules": [
                                       {
                                           "t": "eq",
                                           "v": "26da1e75ad50f497",
                                           "vt": "str"
                                       },
                                       {
                                           "t": "eq",
                                           "v": "77406c09f2b4935f",
                                           "vt": "str"
                                       },
                                       {
                                           "t": "eq",
                                           "v": "a36d2b0336d314d5",
                                           "vt": "str"
                                       },
                                       {
                                           "t": "eq",
                                           "v": "dca5caeebd3fa237",
                                           "vt": "str"
                                       }
                                   ],
                                   "checkall": "true",
                                   "repair": false,
                                   "outputs": 4,
                                   "x": 330,
                                   "y": 1760,
                                   "wires": [
                                       [
                                           "967ae311bedb5398"
                                       ],
                                       [
                                           "f7e0ad7f8c47e9e2"
                                       ],
                                       [
                                           "b859b6f87ebdea89"
                                       ],
                                       [
                                           "acd1fb1a37c75788"
                                       ]
                                   ]
                               },
                               {
                                   "id": "967ae311bedb5398",
                                   "type": "change",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "79474f37517badfa",
                                   "name": "",
                                   "rules": [
                                       {
                                           "t": "set",
                                           "p": "Secvest.partition.1",
                                           "pt": "flow",
                                           "to": "status.text ",
                                           "tot": "jsonata"
                                       }
                                   ],
                                   "action": "",
                                   "property": "",
                                   "from": "",
                                   "to": "",
                                   "reg": false,
                                   "x": 580,
                                   "y": 1700,
                                   "wires": [
                                       []
                                   ]
                               },
                               {
                                   "id": "f531134c2d277c8e",
                                   "type": "debug",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "79474f37517badfa",
                                   "name": "status all",
                                   "active": false,
                                   "tosidebar": true,
                                   "console": false,
                                   "tostatus": false,
                                   "complete": "status",
                                   "targetType": "msg",
                                   "statusVal": "",
                                   "statusType": "auto",
                                   "x": 320,
                                   "y": 1840,
                                   "wires": []
                               },
                               {
                                   "id": "f7e0ad7f8c47e9e2",
                                   "type": "change",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "79474f37517badfa",
                                   "name": "",
                                   "rules": [
                                       {
                                           "t": "set",
                                           "p": "Secvest.partition.2",
                                           "pt": "flow",
                                           "to": "status.text ",
                                           "tot": "jsonata"
                                       }
                                   ],
                                   "action": "",
                                   "property": "",
                                   "from": "",
                                   "to": "",
                                   "reg": false,
                                   "x": 580,
                                   "y": 1740,
                                   "wires": [
                                       []
                                   ]
                               },
                               {
                                   "id": "b859b6f87ebdea89",
                                   "type": "change",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "79474f37517badfa",
                                   "name": "",
                                   "rules": [
                                       {
                                           "t": "set",
                                           "p": "Secvest.partition.3",
                                           "pt": "flow",
                                           "to": "status.text ",
                                           "tot": "jsonata"
                                       }
                                   ],
                                   "action": "",
                                   "property": "",
                                   "from": "",
                                   "to": "",
                                   "reg": false,
                                   "x": 580,
                                   "y": 1780,
                                   "wires": [
                                       []
                                   ]
                               },
                               {
                                   "id": "acd1fb1a37c75788",
                                   "type": "change",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "79474f37517badfa",
                                   "name": "",
                                   "rules": [
                                       {
                                           "t": "set",
                                           "p": "Secvest.partition.4",
                                           "pt": "flow",
                                           "to": "status.text ",
                                           "tot": "jsonata"
                                       }
                                   ],
                                   "action": "",
                                   "property": "",
                                   "from": "",
                                   "to": "",
                                   "reg": false,
                                   "x": 580,
                                   "y": 1820,
                                   "wires": [
                                       []
                                   ]
                               },
                               {
                                   "id": "b7fe5d925d8e97e6",
                                   "type": "group",
                                   "z": "517cd16e4d7e6ae4",
                                   "name": "Abfrage",
                                   "style": {
                                       "fill": "#dbcbe7",
                                       "label": true
                                   },
                                   "nodes": [
                                       "678dc9ba9d8c785f",
                                       "f848c65833d70071",
                                       "40bce79305c4643d",
                                       "26da1e75ad50f497",
                                       "50b76a92e1d49815",
                                       "610c1cd0aa01c457",
                                       "edf0b36304b14ced",
                                       "77406c09f2b4935f",
                                       "b291f001e92e6035",
                                       "94e0553e3cd9b288",
                                       "27712704a9ab0b48",
                                       "a36d2b0336d314d5",
                                       "fd85b9e702df0f23",
                                       "b3e5ed6bd910648d",
                                       "d6c566a7f673e2bf",
                                       "dca5caeebd3fa237",
                                       "6203be293dd53946",
                                       "77ed707586880c2f",
                                       "0261bc0c575a8179",
                                       "c867ec0ddf91ddf0",
                                       "bf53714046156c85",
                                       "de3b72e71c80a313"
                                   ],
                                   "x": 54,
                                   "y": 1899,
                                   "w": 1612,
                                   "h": 422
                               },
                               {
                                   "id": "678dc9ba9d8c785f",
                                   "type": "switch",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "b7fe5d925d8e97e6",
                                   "name": "part1",
                                   "property": "$random()\t",
                                   "propertyType": "jsonata",
                                   "rules": [
                                       {
                                           "t": "lt",
                                           "v": "0.5",
                                           "vt": "num"
                                       },
                                       {
                                           "t": "gte",
                                           "v": "0.5",
                                           "vt": "num"
                                       }
                                   ],
                                   "checkall": "true",
                                   "repair": false,
                                   "outputs": 2,
                                   "x": 630,
                                   "y": 1960,
                                   "wires": [
                                       [
                                           "f848c65833d70071"
                                       ],
                                       [
                                           "40bce79305c4643d"
                                       ]
                                   ]
                               },
                               {
                                   "id": "f848c65833d70071",
                                   "type": "change",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "b7fe5d925d8e97e6",
                                   "name": "Ergebnis Ok",
                                   "rules": [
                                       {
                                           "t": "set",
                                           "p": "payload",
                                           "pt": "msg",
                                           "to": "[{\"id\":\"109\",\"name\":\"Kontakt\",\"state\":\"closed\"},{\"id\":\"110\",\"name\":\"BW Fen. R.\",\"state\":\"closed\"}]",
                                           "tot": "json"
                                       },
                                       {
                                           "t": "set",
                                           "p": "topic",
                                           "pt": "msg",
                                           "to": "part1",
                                           "tot": "str"
                                       },
                                       {
                                           "t": "set",
                                           "p": "status",
                                           "pt": "msg",
                                           "to": "{\"fill\":\"green\",\"shape\":\"dot\",\"text\":\"OK\"}",
                                           "tot": "json"
                                       }
                                   ],
                                   "action": "",
                                   "property": "",
                                   "from": "",
                                   "to": "",
                                   "reg": false,
                                   "x": 830,
                                   "y": 1940,
                                   "wires": [
                                       [
                                           "26da1e75ad50f497"
                                       ]
                                   ]
                               },
                               {
                                   "id": "40bce79305c4643d",
                                   "type": "change",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "b7fe5d925d8e97e6",
                                   "name": "Ergebnis Nicht Ok",
                                   "rules": [
                                       {
                                           "t": "set",
                                           "p": "payload",
                                           "pt": "msg",
                                           "to": "[{\"id\":\"109\",\"name\":\"Kontakt\",\"state\":\"closed\"}]",
                                           "tot": "json"
                                       },
                                       {
                                           "t": "set",
                                           "p": "topic",
                                           "pt": "msg",
                                           "to": "part1",
                                           "tot": "str"
                                       },
                                       {
                                           "t": "set",
                                           "p": "status",
                                           "pt": "msg",
                                           "to": "{\"fill\":\"red\",\"shape\":\"dot\",\"text\":\"Error\"}",
                                           "tot": "json"
                                       }
                                   ],
                                   "action": "",
                                   "property": "",
                                   "from": "",
                                   "to": "",
                                   "reg": false,
                                   "x": 810,
                                   "y": 1980,
                                   "wires": [
                                       [
                                           "26da1e75ad50f497"
                                       ]
                                   ]
                               },
                               {
                                   "id": "26da1e75ad50f497",
                                   "type": "function",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "b7fe5d925d8e97e6",
                                   "name": "Simuliere Secvest Command - Partition 1",
                                   "func": "var newMsg;\nnode.status(msg.status);\nnewMsg = {topic:msg.topic, payload:msg.payload}\nreturn msg;",
                                   "outputs": 1,
                                   "noerr": 0,
                                   "initialize": "",
                                   "finalize": "",
                                   "libs": [],
                                   "x": 1120,
                                   "y": 1960,
                                   "wires": [
                                       [
                                           "de3b72e71c80a313"
                                       ]
                                   ]
                               },
                               {
                                   "id": "50b76a92e1d49815",
                                   "type": "switch",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "b7fe5d925d8e97e6",
                                   "name": "part2",
                                   "property": "$random()\t",
                                   "propertyType": "jsonata",
                                   "rules": [
                                       {
                                           "t": "lt",
                                           "v": "0.5",
                                           "vt": "num"
                                       },
                                       {
                                           "t": "gte",
                                           "v": "0.5",
                                           "vt": "num"
                                       }
                                   ],
                                   "checkall": "true",
                                   "repair": false,
                                   "outputs": 2,
                                   "x": 630,
                                   "y": 2060,
                                   "wires": [
                                       [
                                           "610c1cd0aa01c457"
                                       ],
                                       [
                                           "edf0b36304b14ced"
                                       ]
                                   ]
                               },
                               {
                                   "id": "610c1cd0aa01c457",
                                   "type": "change",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "b7fe5d925d8e97e6",
                                   "name": "Ergebnis Ok",
                                   "rules": [
                                       {
                                           "t": "set",
                                           "p": "payload",
                                           "pt": "msg",
                                           "to": "[{\"id\":\"109\",\"name\":\"Kontakt\",\"state\":\"closed\"},{\"id\":\"110\",\"name\":\"BW Fen. R.\",\"state\":\"closed\"}]",
                                           "tot": "json"
                                       },
                                       {
                                           "t": "set",
                                           "p": "topic",
                                           "pt": "msg",
                                           "to": "part2",
                                           "tot": "str"
                                       },
                                       {
                                           "t": "set",
                                           "p": "status",
                                           "pt": "msg",
                                           "to": "{\"fill\":\"green\",\"shape\":\"dot\",\"text\":\"OK\"}",
                                           "tot": "json"
                                       }
                                   ],
                                   "action": "",
                                   "property": "",
                                   "from": "",
                                   "to": "",
                                   "reg": false,
                                   "x": 830,
                                   "y": 2040,
                                   "wires": [
                                       [
                                           "77406c09f2b4935f"
                                       ]
                                   ]
                               },
                               {
                                   "id": "edf0b36304b14ced",
                                   "type": "change",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "b7fe5d925d8e97e6",
                                   "name": "Ergebnis Nicht Ok",
                                   "rules": [
                                       {
                                           "t": "set",
                                           "p": "payload",
                                           "pt": "msg",
                                           "to": "[{\"id\":\"109\",\"name\":\"Kontakt\",\"state\":\"closed\"}]",
                                           "tot": "json"
                                       },
                                       {
                                           "t": "set",
                                           "p": "topic",
                                           "pt": "msg",
                                           "to": "part2",
                                           "tot": "str"
                                       },
                                       {
                                           "t": "set",
                                           "p": "status",
                                           "pt": "msg",
                                           "to": "{\"fill\":\"red\",\"shape\":\"dot\",\"text\":\"Error\"}",
                                           "tot": "json"
                                       }
                                   ],
                                   "action": "",
                                   "property": "",
                                   "from": "",
                                   "to": "",
                                   "reg": false,
                                   "x": 810,
                                   "y": 2080,
                                   "wires": [
                                       [
                                           "77406c09f2b4935f"
                                       ]
                                   ]
                               },
                               {
                                   "id": "77406c09f2b4935f",
                                   "type": "function",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "b7fe5d925d8e97e6",
                                   "name": "Simuliere Secvest Command - Partition 2",
                                   "func": "var newMsg;\nnode.status(msg.status);\nnewMsg = {topic:msg.topic, payload:msg.payload}\nreturn msg;",
                                   "outputs": 1,
                                   "noerr": 0,
                                   "initialize": "",
                                   "finalize": "",
                                   "libs": [],
                                   "x": 1120,
                                   "y": 2060,
                                   "wires": [
                                       [
                                           "de3b72e71c80a313"
                                       ]
                                   ]
                               },
                               {
                                   "id": "b291f001e92e6035",
                                   "type": "switch",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "b7fe5d925d8e97e6",
                                   "name": "part3",
                                   "property": "$random()\t",
                                   "propertyType": "jsonata",
                                   "rules": [
                                       {
                                           "t": "lt",
                                           "v": "0.5",
                                           "vt": "num"
                                       },
                                       {
                                           "t": "gte",
                                           "v": "0.5",
                                           "vt": "num"
                                       }
                                   ],
                                   "checkall": "true",
                                   "repair": false,
                                   "outputs": 2,
                                   "x": 630,
                                   "y": 2160,
                                   "wires": [
                                       [
                                           "94e0553e3cd9b288"
                                       ],
                                       [
                                           "27712704a9ab0b48"
                                       ]
                                   ]
                               },
                               {
                                   "id": "94e0553e3cd9b288",
                                   "type": "change",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "b7fe5d925d8e97e6",
                                   "name": "Ergebnis Ok",
                                   "rules": [
                                       {
                                           "t": "set",
                                           "p": "payload",
                                           "pt": "msg",
                                           "to": "[{\"id\":\"109\",\"name\":\"Kontakt\",\"state\":\"closed\"},{\"id\":\"110\",\"name\":\"BW Fen. R.\",\"state\":\"closed\"}]",
                                           "tot": "json"
                                       },
                                       {
                                           "t": "set",
                                           "p": "topic",
                                           "pt": "msg",
                                           "to": "part3",
                                           "tot": "str"
                                       },
                                       {
                                           "t": "set",
                                           "p": "status",
                                           "pt": "msg",
                                           "to": "{\"fill\":\"green\",\"shape\":\"dot\",\"text\":\"OK\"}",
                                           "tot": "json"
                                       }
                                   ],
                                   "action": "",
                                   "property": "",
                                   "from": "",
                                   "to": "",
                                   "reg": false,
                                   "x": 830,
                                   "y": 2140,
                                   "wires": [
                                       [
                                           "a36d2b0336d314d5"
                                       ]
                                   ]
                               },
                               {
                                   "id": "27712704a9ab0b48",
                                   "type": "change",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "b7fe5d925d8e97e6",
                                   "name": "Ergebnis Nicht Ok",
                                   "rules": [
                                       {
                                           "t": "set",
                                           "p": "payload",
                                           "pt": "msg",
                                           "to": "[{\"id\":\"109\",\"name\":\"Kontakt\",\"state\":\"closed\"}]",
                                           "tot": "json"
                                       },
                                       {
                                           "t": "set",
                                           "p": "topic",
                                           "pt": "msg",
                                           "to": "part3",
                                           "tot": "str"
                                       },
                                       {
                                           "t": "set",
                                           "p": "status",
                                           "pt": "msg",
                                           "to": "{\"fill\":\"red\",\"shape\":\"dot\",\"text\":\"Error\"}",
                                           "tot": "json"
                                       }
                                   ],
                                   "action": "",
                                   "property": "",
                                   "from": "",
                                   "to": "",
                                   "reg": false,
                                   "x": 810,
                                   "y": 2180,
                                   "wires": [
                                       [
                                           "a36d2b0336d314d5"
                                       ]
                                   ]
                               },
                               {
                                   "id": "a36d2b0336d314d5",
                                   "type": "function",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "b7fe5d925d8e97e6",
                                   "name": "Simuliere Secvest Command - Partition 3",
                                   "func": "var newMsg;\nnode.status(msg.status);\nnewMsg = {topic:msg.topic, payload:msg.payload}\nreturn msg;",
                                   "outputs": 1,
                                   "noerr": 0,
                                   "initialize": "",
                                   "finalize": "",
                                   "libs": [],
                                   "x": 1120,
                                   "y": 2160,
                                   "wires": [
                                       [
                                           "de3b72e71c80a313"
                                       ]
                                   ]
                               },
                               {
                                   "id": "fd85b9e702df0f23",
                                   "type": "switch",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "b7fe5d925d8e97e6",
                                   "name": "part4",
                                   "property": "$random()\t",
                                   "propertyType": "jsonata",
                                   "rules": [
                                       {
                                           "t": "lt",
                                           "v": "0.5",
                                           "vt": "num"
                                       },
                                       {
                                           "t": "gte",
                                           "v": "0.5",
                                           "vt": "num"
                                       }
                                   ],
                                   "checkall": "true",
                                   "repair": false,
                                   "outputs": 2,
                                   "x": 630,
                                   "y": 2260,
                                   "wires": [
                                       [
                                           "b3e5ed6bd910648d"
                                       ],
                                       [
                                           "d6c566a7f673e2bf"
                                       ]
                                   ]
                               },
                               {
                                   "id": "b3e5ed6bd910648d",
                                   "type": "change",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "b7fe5d925d8e97e6",
                                   "name": "Ergebnis Ok",
                                   "rules": [
                                       {
                                           "t": "set",
                                           "p": "payload",
                                           "pt": "msg",
                                           "to": "[{\"id\":\"109\",\"name\":\"Kontakt\",\"state\":\"closed\"},{\"id\":\"110\",\"name\":\"BW Fen. R.\",\"state\":\"closed\"}]",
                                           "tot": "json"
                                       },
                                       {
                                           "t": "set",
                                           "p": "topic",
                                           "pt": "msg",
                                           "to": "part4",
                                           "tot": "str"
                                       },
                                       {
                                           "t": "set",
                                           "p": "status",
                                           "pt": "msg",
                                           "to": "{\"fill\":\"green\",\"shape\":\"dot\",\"text\":\"OK\"}",
                                           "tot": "json"
                                       }
                                   ],
                                   "action": "",
                                   "property": "",
                                   "from": "",
                                   "to": "",
                                   "reg": false,
                                   "x": 830,
                                   "y": 2240,
                                   "wires": [
                                       [
                                           "dca5caeebd3fa237"
                                       ]
                                   ]
                               },
                               {
                                   "id": "d6c566a7f673e2bf",
                                   "type": "change",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "b7fe5d925d8e97e6",
                                   "name": "Ergebnis Nicht Ok",
                                   "rules": [
                                       {
                                           "t": "set",
                                           "p": "payload",
                                           "pt": "msg",
                                           "to": "[{\"id\":\"109\",\"name\":\"Kontakt\",\"state\":\"closed\"}]",
                                           "tot": "json"
                                       },
                                       {
                                           "t": "set",
                                           "p": "topic",
                                           "pt": "msg",
                                           "to": "part4",
                                           "tot": "str"
                                       },
                                       {
                                           "t": "set",
                                           "p": "status",
                                           "pt": "msg",
                                           "to": "{\"fill\":\"red\",\"shape\":\"dot\",\"text\":\"Error\"}",
                                           "tot": "json"
                                       }
                                   ],
                                   "action": "",
                                   "property": "",
                                   "from": "",
                                   "to": "",
                                   "reg": false,
                                   "x": 810,
                                   "y": 2280,
                                   "wires": [
                                       [
                                           "dca5caeebd3fa237"
                                       ]
                                   ]
                               },
                               {
                                   "id": "dca5caeebd3fa237",
                                   "type": "function",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "b7fe5d925d8e97e6",
                                   "name": "Simuliere Secvest Command - Partition 4",
                                   "func": "var newMsg;\nnode.status(msg.status);\nnewMsg = {topic:msg.topic, payload:msg.payload}\nreturn msg;",
                                   "outputs": 1,
                                   "noerr": 0,
                                   "initialize": "",
                                   "finalize": "",
                                   "libs": [],
                                   "x": 1120,
                                   "y": 2260,
                                   "wires": [
                                       [
                                           "de3b72e71c80a313"
                                       ]
                                   ]
                               },
                               {
                                   "id": "6203be293dd53946",
                                   "type": "change",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "b7fe5d925d8e97e6",
                                   "name": "",
                                   "rules": [
                                       {
                                           "t": "set",
                                           "p": "next",
                                           "pt": "msg",
                                           "to": "$exists($flowContext(\"Secvest.nextPart\")) ? $flowContext(\"Secvest.nextPart\") : 1\t\t",
                                           "tot": "jsonata"
                                       }
                                   ],
                                   "action": "",
                                   "property": "",
                                   "from": "",
                                   "to": "",
                                   "reg": false,
                                   "x": 220,
                                   "y": 2100,
                                   "wires": [
                                       [
                                           "77ed707586880c2f"
                                       ]
                                   ]
                               },
                               {
                                   "id": "77ed707586880c2f",
                                   "type": "switch",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "b7fe5d925d8e97e6",
                                   "name": "",
                                   "property": "next",
                                   "propertyType": "msg",
                                   "rules": [
                                       {
                                           "t": "eq",
                                           "v": "1",
                                           "vt": "num"
                                       },
                                       {
                                           "t": "eq",
                                           "v": "2",
                                           "vt": "num"
                                       },
                                       {
                                           "t": "eq",
                                           "v": "3",
                                           "vt": "num"
                                       },
                                       {
                                           "t": "eq",
                                           "v": "4",
                                           "vt": "num"
                                       }
                                   ],
                                   "checkall": "true",
                                   "repair": false,
                                   "outputs": 4,
                                   "x": 430,
                                   "y": 2100,
                                   "wires": [
                                       [
                                           "678dc9ba9d8c785f"
                                       ],
                                       [
                                           "50b76a92e1d49815"
                                       ],
                                       [
                                           "b291f001e92e6035"
                                       ],
                                       [
                                           "fd85b9e702df0f23"
                                       ]
                                   ]
                               },
                               {
                                   "id": "0261bc0c575a8179",
                                   "type": "link in",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "b7fe5d925d8e97e6",
                                   "name": "queryPartition",
                                   "links": [],
                                   "x": 95,
                                   "y": 2100,
                                   "wires": [
                                       [
                                           "6203be293dd53946"
                                       ]
                                   ]
                               },
                               {
                                   "id": "c867ec0ddf91ddf0",
                                   "type": "link out",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "b7fe5d925d8e97e6",
                                   "name": "queryResponse",
                                   "mode": "return",
                                   "links": [],
                                   "x": 1625,
                                   "y": 2100,
                                   "wires": []
                               },
                               {
                                   "id": "bf53714046156c85",
                                   "type": "change",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "b7fe5d925d8e97e6",
                                   "name": "",
                                   "rules": [
                                       {
                                           "t": "delete",
                                           "p": "status",
                                           "pt": "msg"
                                       }
                                   ],
                                   "action": "",
                                   "property": "",
                                   "from": "",
                                   "to": "",
                                   "reg": false,
                                   "x": 1490,
                                   "y": 2100,
                                   "wires": [
                                       [
                                           "c867ec0ddf91ddf0"
                                       ]
                                   ]
                               },
                               {
                                   "id": "de3b72e71c80a313",
                                   "type": "junction",
                                   "z": "517cd16e4d7e6ae4",
                                   "g": "b7fe5d925d8e97e6",
                                   "x": 1360,
                                   "y": 2100,
                                   "wires": [
                                       [
                                           "bf53714046156c85"
                                       ]
                                   ]
                               }
                            ]
                            

                            Vorerst ist das Thema aber für mich damit erst mal abgeschlossen.

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

                              @mickym

                              Wow, danke.
                              Ich bin grad unterwegs, deshalb kann ich das nicht so schnell durchtesten...

                              Wenn ich nachher zuhause bin, schau ich mir Deinen Flow mal an und versuche den zu verstehen.

                              Wahnsinn, vielen Dank für deine Arbeit!

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

                                @hackypaddy Wie gesagt, wenn Du das mit der payload und den Einzelabrufen in einer Node machen kannst, dann hätte ich mir diese Arbeit sparen können.

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

                                  @mickym

                                  Ne das geht ja nicht, also in einer Node.

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

                                    @hackypaddy Lt. Beschreibung muss das aber gehen.

                                    H 2 Replies Last reply Reply Quote 0
                                    • H
                                      HackyPaddy @mickym last edited by

                                      @mickym

                                      ich bekomm da nichts raus.
                                      Hab mir gerade mal Dein Konstrukt angeschaut (auf dem Handy). Meine Herren, mir raucht der Kopf. Ich setz mich da nachher mal ran und versuch das alles irgendwie zu verstehen.

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

                                        @mickym

                                        Ich hab jetzt 3 Stunden probiert, und es funktioniert nicht. Und dann fiel es mir wie Schuppen von den Augen, als ich die Beschreibung nochmal genau durchgelesen hab...

                                        Du hast den Command Baustein gemeint. Ja, diesen kannst per payload steuern und dort auch die einzelnen Partitionen abgeben. Aber diesen Baustein nutze ich nicht. Mit diesem Baustein steuert man die Anlage (scharf, unscharf, teilscharf).

                                        Ich nutze nur den Status-Baustein. Dieser ließt die einzelnen Partitionen aus, gibt dann die Zonen aus und dort den Status (auf / zu).

                                        Deshalb hat das vorhin auch nicht funktioniert.

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

                                          @hackypaddy Ok dann kannst Du Dir ja meinen Flow im Genauen anschauen. Kurzfristig kannst Du die Nodes ja hintereinanderschalten und ggf. einfach noch eine delay Node dazwischen machen - wenn Dir meine Lösung zu kompliziert ist.

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

                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          929
                                          Online

                                          31.7k
                                          Users

                                          79.7k
                                          Topics

                                          1.3m
                                          Posts

                                          node-red
                                          2
                                          46
                                          2076
                                          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