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. Simple Steuerung true/false offen/geschlossen

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Simple Steuerung true/false offen/geschlossen

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

      @aphofis

      Nur mit dem Atribute: fenster_wz: wird nun der datenpunkt nicht mehr geschaltet !?

      Ja - weil die iobroker-Out Node - wenn Du die Hilfe anschaust nur die payload schreibt

      8268cf62-396d-4909-b84b-3bf34ad55e11-image.png

      Du kannst also nicht machen was Du willst, sondern musst Dich schon an das halten, was die Nodes in ihrer Hilfe vorgeben. Und wie gesagt die payload ist der Standard, die die Nutzdaten enthält. Wenn man andere Eigenschaften nutzt, dann meist um die in einem Nachrichtenobjekt während des Flows zu beschreiben, aber meist nicht für Aus- und Eingaben.

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

        @mickym ok

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

          @aphofis Du kannnst aber wenn Du eine Nachrichteneigenschaft fenster_wz hast, diese in die payload verschieben.(wenn Du nicht zu Beginn alles in der payload Eigenschaft verarbeitest) Du brauchst also nur eine Regel in Deiner Change Node einfügen.

          Das kannst Du ja zur Übung mal ausprobieren.

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

            @mickym
            Meinst du so !?
            Nur wie verarbeite ich das neue payload bzw bringe es dazu eine command ausgabe zu machen
            Screenshot 2025-03-04 192657.png

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

              @aphofis Nein - iobroker kann nur eine payload schreiben. Steht doch in der Hilfe.

              Und ich weiß auch nicht, was Du wieder für neue Eigenschaften machst. Du hattest doch fenster_wz gehabt.

              Die Regeln werden von oben nach unten in einer Change Node abgearbeitet. Also wirst Du als letztes die Eigenschaft fenster_wz in payload verschieben.

              Was soll den payload_fwz wieder - davon hatten wir doch NIE gesprochen. Bleib einfach immer bei dem was wir hier besprechen und erfinde nicht plötzlich wieder neue Nachrichteneigenschaften.

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

                @mickym Icha dachte ist genau ander rum ok also abarbeitung von oben nach unten

                Screenshot 2025-03-04 193253.png
                Screenshot 2025-03-04 193445.png

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

                  @aphofis Na das ist doch wieder verkehrt. Nun machst du aus einer payload - fenster_wz - das kann aber eine iobroker Out nicht schreiben.

                  Also in der Regel nimmst Du nur eine payload - aber vorher hattest Du ja in der iobroker-IN node fenster_wz ausproi biert.

                  Wie Du siehst - gibt es nun in deinem Nachrichtenobjekt keine payload mehr sondern nur noch fenster_wz.

                  Also letztlich solltest Du verstanden haben, wie es funktioniert. - Ansonsten macht es keinen Sinn, wenn Du Dinge änderst ohne dass ich das gesagt habe.

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

                    @mickym dann verstehe ich es nicht

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

                      @aphofis Was verstehst Du nicht?

                      Also die iobroker-Out Node schreibt nur eine payload.

                      In der iobroker-In Node spezifizierst Du unter welchem Attribut ein Wert eingelesen wird.

                      Die Regeln in einer Change Node werden von oben nach unten abgearbeitet.

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

                        @mickym also so korrekt !?

                        [
                            {
                                "id": "989d9879651c9725",
                                "type": "ioBroker in",
                                "z": "403774f919fb638c",
                                "name": "",
                                "attrname": "fenster_wz",
                                "topic": "alexa2.0.History.answerText",
                                "payloadType": "value",
                                "onlyack": "",
                                "func": "all",
                                "gap": "",
                                "fireOnStart": "false",
                                "outFormat": "MQTT",
                                "x": 140,
                                "y": 320,
                                "wires": [
                                    [
                                        "0a809a663c37b826"
                                    ]
                                ]
                            },
                            {
                                "id": "583b02925b31d661",
                                "type": "debug",
                                "z": "403774f919fb638c",
                                "name": "Ausgabe",
                                "active": true,
                                "tosidebar": true,
                                "console": false,
                                "tostatus": false,
                                "complete": "true",
                                "targetType": "full",
                                "statusVal": "",
                                "statusType": "auto",
                                "x": 580,
                                "y": 300,
                                "wires": []
                            },
                            {
                                "id": "0a809a663c37b826",
                                "type": "change",
                                "z": "403774f919fb638c",
                                "name": "",
                                "rules": [
                                    {
                                        "t": "change",
                                        "p": "fenster_wz",
                                        "pt": "msg",
                                        "from": "Wohnzimmer Fenster,, wurde,, geöffnet",
                                        "fromt": "str",
                                        "to": "true",
                                        "tot": "bool"
                                    },
                                    {
                                        "t": "change",
                                        "p": "fenster_wz",
                                        "pt": "msg",
                                        "from": "Wohnzimmerfenster wurde geschlossen",
                                        "fromt": "str",
                                        "to": "false",
                                        "tot": "bool"
                                    },
                                    {
                                        "t": "move",
                                        "p": "fenster_wz",
                                        "pt": "msg",
                                        "to": "payload",
                                        "tot": "msg"
                                    }
                                ],
                                "action": "",
                                "property": "",
                                "from": "",
                                "to": "",
                                "reg": false,
                                "x": 390,
                                "y": 320,
                                "wires": [
                                    [
                                        "583b02925b31d661",
                                        "30700a1f1af11019"
                                    ]
                                ]
                            },
                            {
                                "id": "30700a1f1af11019",
                                "type": "ioBroker out",
                                "z": "403774f919fb638c",
                                "name": "Fenster WZ",
                                "topic": "0_userdata.0.GordonX-Home.0.fenster-sensor-wz",
                                "ack": "false",
                                "autoCreate": "false",
                                "stateName": "",
                                "role": "",
                                "payloadType": "",
                                "readonly": "",
                                "stateUnit": "",
                                "stateMin": "",
                                "stateMax": "",
                                "x": 590,
                                "y": 340,
                                "wires": []
                            }
                        ]
                        


                        Screenshot 2025-03-04 194113.pngScreenshot 2025-03-04 194237.png

                        Ich denke das hab ich jetzt verstanden

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

                          @aphofis Ja - so würde es funktionieren, wenn Du mit der iobroker In Node es in eine andere Eigenschaft (also fenster_wz) einliest.

                          Aber in der Regel wirst Du ja alles bei payload belassen. - Aber es geht ja darum dass Du das Prinzip mit den Nachrichteneigenschaften verstehst.

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

                            @mickym genau und das denke ich habe ich verstanden

                            Aphofis 1 Reply Last reply Reply Quote 0
                            • Aphofis
                              Aphofis @Aphofis last edited by

                              nur was ich noch nicht verstehe, das die anderen sensoren in der node ein anderes attribute haben aber in deren zustand trotzdem innerhalb der node der wert aus alexa2/0/History/answerText eingetragen wird also fenster sensor wz wurde geschlossen zb normal sollen die ja gar nicht darauf reagieren. hmmm

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

                                @aphofis sagte in Simple Steuerung true/false offen/geschlossen:

                                nur was ich noch nicht verstehe, das die anderen sensoren in der node ein anderes attribute haben aber in deren zustand trotzdem innerhalb der node der wert aus alexa2/0/History/answerText eingetragen wird also fenster sensor wz wurde geschlossen zb normal sollen die ja gar nicht darauf reagieren. hmmm

                                Und ich habe diesen Satz überhaupt nicht verstanden - vielleicht kannst Du ihn nochmal anders erklären.

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

                                  @mickym Was sind denn andere Sensoren in der Node? und wieso haben die ein anderes Attribut?

                                  1 Reply Last reply Reply Quote 0
                                  • Aphofis
                                    Aphofis @Aphofis last edited by

                                    also ich muss mich erstmal abmelden. muss noch duschen !
                                    habe heute wieder etwas gelernt.
                                    Muss nur noch paar schaltpläne welzen muss morgen zwei schiebetüren an GLT, EMA und BMA aufschalten und da muss ich mich noch etwas belesen. Ist zwar simpler kram ist aber von den sensor befestigungen von anlagen typ zu anlagen typ unterschiedlich.
                                    Danke dir schon mal und man könnte ja morgen weiter machen.

                                    Aphofis 1 Reply Last reply Reply Quote 0
                                    • Aphofis
                                      Aphofis @Aphofis last edited by Aphofis

                                      das wären die anderen:
                                      Screenshot 2025-03-04 195359.png

                                      [
                                          {
                                              "id": "55c6088dfea007c5",
                                              "type": "tab",
                                              "label": "Flow 2",
                                              "disabled": false,
                                              "info": "",
                                              "env": []
                                          },
                                          {
                                              "id": "044e4776a918b4dd",
                                              "type": "ioBroker in",
                                              "z": "55c6088dfea007c5",
                                              "name": "",
                                              "attrname": "fenster_kueche",
                                              "topic": "alexa2.0.History.answerText",
                                              "payloadType": "value",
                                              "onlyack": "",
                                              "func": "all",
                                              "gap": "",
                                              "fireOnStart": "false",
                                              "outFormat": "MQTT",
                                              "x": 260,
                                              "y": 180,
                                              "wires": [
                                                  [
                                                      "918be1111d3e5712"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "918be1111d3e5712",
                                              "type": "change",
                                              "z": "55c6088dfea007c5",
                                              "name": "",
                                              "rules": [
                                                  {
                                                      "t": "change",
                                                      "p": "payload",
                                                      "pt": "msg",
                                                      "from": "fenster küche wurde geöffnet",
                                                      "fromt": "str",
                                                      "to": "true",
                                                      "tot": "bool"
                                                  },
                                                  {
                                                      "t": "change",
                                                      "p": "payload",
                                                      "pt": "msg",
                                                      "from": "fenster küche wurde geschlossen",
                                                      "fromt": "str",
                                                      "to": "false",
                                                      "tot": "bool"
                                                  },
                                                  {
                                                      "t": "set",
                                                      "p": "fenster_kueche",
                                                      "pt": "msg",
                                                      "to": "payload",
                                                      "tot": "msg"
                                                  }
                                              ],
                                              "action": "",
                                              "property": "",
                                              "from": "",
                                              "to": "",
                                              "reg": false,
                                              "x": 490,
                                              "y": 180,
                                              "wires": [
                                                  [
                                                      "800e97df64d87e25",
                                                      "934bab665a1cb42e"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "800e97df64d87e25",
                                              "type": "ioBroker out",
                                              "z": "55c6088dfea007c5",
                                              "name": "Fenster Küche",
                                              "topic": "0_userdata.0.GordonX-Home.0.fenster-sensor-küche",
                                              "ack": "false",
                                              "autoCreate": "false",
                                              "stateName": "",
                                              "role": "",
                                              "payloadType": "",
                                              "readonly": "",
                                              "stateUnit": "",
                                              "stateMin": "",
                                              "stateMax": "",
                                              "x": 720,
                                              "y": 180,
                                              "wires": []
                                          },
                                          {
                                              "id": "7796f218ad150460",
                                              "type": "ioBroker in",
                                              "z": "55c6088dfea007c5",
                                              "name": "",
                                              "attrname": "fenster_buero",
                                              "topic": "alexa2.0.History.answerText",
                                              "payloadType": "value",
                                              "onlyack": "",
                                              "func": "all",
                                              "gap": "",
                                              "fireOnStart": "false",
                                              "outFormat": "MQTT",
                                              "x": 260,
                                              "y": 320,
                                              "wires": [
                                                  [
                                                      "3ed9453c15ca6be1"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "3ed9453c15ca6be1",
                                              "type": "change",
                                              "z": "55c6088dfea007c5",
                                              "name": "",
                                              "rules": [
                                                  {
                                                      "t": "change",
                                                      "p": "fenster_buero",
                                                      "pt": "msg",
                                                      "from": "büro fenster wurde geöffnet",
                                                      "fromt": "str",
                                                      "to": "true",
                                                      "tot": "bool"
                                                  },
                                                  {
                                                      "t": "change",
                                                      "p": "fenster_buero",
                                                      "pt": "msg",
                                                      "from": "fenster sensor büro wurde geschlossen",
                                                      "fromt": "str",
                                                      "to": "false",
                                                      "tot": "bool"
                                                  },
                                                  {
                                                      "t": "set",
                                                      "p": "fenster_buero",
                                                      "pt": "msg",
                                                      "to": "payload",
                                                      "tot": "msg"
                                                  }
                                              ],
                                              "action": "",
                                              "property": "",
                                              "from": "",
                                              "to": "",
                                              "reg": false,
                                              "x": 490,
                                              "y": 320,
                                              "wires": [
                                                  [
                                                      "7a9421922bed7d97"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "7a9421922bed7d97",
                                              "type": "ioBroker out",
                                              "z": "55c6088dfea007c5",
                                              "name": "Fenster Büro",
                                              "topic": "0_userdata.0.GordonX-Home.0.fenster-sensor-büro",
                                              "ack": "false",
                                              "autoCreate": "false",
                                              "stateName": "",
                                              "role": "",
                                              "payloadType": "",
                                              "readonly": "",
                                              "stateUnit": "",
                                              "stateMin": "",
                                              "stateMax": "",
                                              "x": 710,
                                              "y": 320,
                                              "wires": []
                                          },
                                          {
                                              "id": "8d71936646378267",
                                              "type": "ioBroker in",
                                              "z": "55c6088dfea007c5",
                                              "name": "",
                                              "attrname": "fenster_schlafz",
                                              "topic": "alexa2.0.History.answerText",
                                              "payloadType": "value",
                                              "onlyack": "",
                                              "func": "all",
                                              "gap": "",
                                              "fireOnStart": "false",
                                              "outFormat": "MQTT",
                                              "x": 260,
                                              "y": 440,
                                              "wires": [
                                                  [
                                                      "8ba6d78da7dd412a"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "8ba6d78da7dd412a",
                                              "type": "change",
                                              "z": "55c6088dfea007c5",
                                              "name": "",
                                              "rules": [
                                                  {
                                                      "t": "change",
                                                      "p": "fenster_schlafz",
                                                      "pt": "msg",
                                                      "from": "schlafzimmer fenster wurde geöffnet",
                                                      "fromt": "str",
                                                      "to": "true",
                                                      "tot": "bool"
                                                  },
                                                  {
                                                      "t": "change",
                                                      "p": "fenster_schlafz",
                                                      "pt": "msg",
                                                      "from": "schlafzimmer fenster wurde geschlossen",
                                                      "fromt": "str",
                                                      "to": "false",
                                                      "tot": "bool"
                                                  },
                                                  {
                                                      "t": "set",
                                                      "p": "fenster_schlafz",
                                                      "pt": "msg",
                                                      "to": "payload",
                                                      "tot": "msg"
                                                  }
                                              ],
                                              "action": "",
                                              "property": "",
                                              "from": "",
                                              "to": "",
                                              "reg": false,
                                              "x": 490,
                                              "y": 440,
                                              "wires": [
                                                  [
                                                      "2f90d602bda3575e"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "2f90d602bda3575e",
                                              "type": "ioBroker out",
                                              "z": "55c6088dfea007c5",
                                              "name": "Fenster Schlafz",
                                              "topic": "0_userdata.0.GordonX-Home.0.fenster-sensor-schlafz",
                                              "ack": "false",
                                              "autoCreate": "false",
                                              "stateName": "",
                                              "role": "",
                                              "payloadType": "",
                                              "readonly": "",
                                              "stateUnit": "",
                                              "stateMin": "",
                                              "stateMax": "",
                                              "x": 720,
                                              "y": 440,
                                              "wires": []
                                          },
                                          {
                                              "id": "0fb2440f5e5b9be9",
                                              "type": "ioBroker in",
                                              "z": "55c6088dfea007c5",
                                              "name": "",
                                              "attrname": "tuer_wz",
                                              "topic": "alexa2.0.History.answerText",
                                              "payloadType": "value",
                                              "onlyack": "",
                                              "func": "all",
                                              "gap": "",
                                              "fireOnStart": "false",
                                              "outFormat": "MQTT",
                                              "x": 260,
                                              "y": 580,
                                              "wires": [
                                                  [
                                                      "b563556596e10823"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "b563556596e10823",
                                              "type": "change",
                                              "z": "55c6088dfea007c5",
                                              "name": "",
                                              "rules": [
                                                  {
                                                      "t": "change",
                                                      "p": "tuer_wz",
                                                      "pt": "msg",
                                                      "from": "tür wohnzimmer wurde geöffnet",
                                                      "fromt": "str",
                                                      "to": "true",
                                                      "tot": "bool"
                                                  },
                                                  {
                                                      "t": "change",
                                                      "p": "tuer_wz",
                                                      "pt": "msg",
                                                      "from": "tür wohnzimmer wurde geschlossen",
                                                      "fromt": "str",
                                                      "to": "false",
                                                      "tot": "bool"
                                                  },
                                                  {
                                                      "t": "set",
                                                      "p": "tuer_wz",
                                                      "pt": "msg",
                                                      "to": "payload",
                                                      "tot": "msg"
                                                  }
                                              ],
                                              "action": "",
                                              "property": "",
                                              "from": "",
                                              "to": "",
                                              "reg": false,
                                              "x": 490,
                                              "y": 580,
                                              "wires": [
                                                  [
                                                      "de842256f488dd2b"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "de842256f488dd2b",
                                              "type": "ioBroker out",
                                              "z": "55c6088dfea007c5",
                                              "name": "Tür WZ",
                                              "topic": "0_userdata.0.GordonX-Home.0.tür-sensor-wz",
                                              "ack": "false",
                                              "autoCreate": "false",
                                              "stateName": "",
                                              "role": "",
                                              "payloadType": "",
                                              "readonly": "",
                                              "stateUnit": "",
                                              "stateMin": "",
                                              "stateMax": "",
                                              "x": 700,
                                              "y": 580,
                                              "wires": []
                                          },
                                          {
                                              "id": "934bab665a1cb42e",
                                              "type": "debug",
                                              "z": "55c6088dfea007c5",
                                              "name": "Ausgabe",
                                              "active": true,
                                              "tosidebar": true,
                                              "console": false,
                                              "tostatus": false,
                                              "complete": "true",
                                              "targetType": "full",
                                              "statusVal": "",
                                              "statusType": "auto",
                                              "x": 700,
                                              "y": 140,
                                              "wires": []
                                          }
                                      ]
                                      

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

                                        @aphofis Du liest 4 mal den gleichen Datenpunkt aus. Das kann man so machen, man kann das aber auch anders machen.

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

                                          @mickym
                                          Wäre es so möglich !?
                                          Screenshot 2025-03-05 202255.png

                                          [
                                              {
                                                  "id": "403774f919fb638c",
                                                  "type": "tab",
                                                  "label": "Fenster & Tür Sensoren",
                                                  "disabled": false,
                                                  "info": "",
                                                  "env": []
                                              },
                                              {
                                                  "id": "583b02925b31d661",
                                                  "type": "debug",
                                                  "z": "403774f919fb638c",
                                                  "name": "Ausgabe Fenster Wz",
                                                  "active": true,
                                                  "tosidebar": true,
                                                  "console": false,
                                                  "tostatus": false,
                                                  "complete": "true",
                                                  "targetType": "full",
                                                  "statusVal": "",
                                                  "statusType": "auto",
                                                  "x": 740,
                                                  "y": 320,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "0a809a663c37b826",
                                                  "type": "change",
                                                  "z": "403774f919fb638c",
                                                  "name": "",
                                                  "rules": [
                                                      {
                                                          "t": "change",
                                                          "p": "fenster_wz",
                                                          "pt": "msg",
                                                          "from": "Wohnzimmer Fenster,, wurde,, geöffnet",
                                                          "fromt": "str",
                                                          "to": "true",
                                                          "tot": "bool"
                                                      },
                                                      {
                                                          "t": "change",
                                                          "p": "fenster_wz",
                                                          "pt": "msg",
                                                          "from": "Wohnzimmerfenster wurde geschlossen",
                                                          "fromt": "str",
                                                          "to": "false",
                                                          "tot": "bool"
                                                      },
                                                      {
                                                          "t": "move",
                                                          "p": "fenster_wz",
                                                          "pt": "msg",
                                                          "to": "payload",
                                                          "tot": "msg"
                                                      }
                                                  ],
                                                  "action": "",
                                                  "property": "",
                                                  "from": "",
                                                  "to": "",
                                                  "reg": false,
                                                  "x": 490,
                                                  "y": 340,
                                                  "wires": [
                                                      [
                                                          "583b02925b31d661",
                                                          "30700a1f1af11019"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "30700a1f1af11019",
                                                  "type": "ioBroker out",
                                                  "z": "403774f919fb638c",
                                                  "name": "Fenster WZ",
                                                  "topic": "0_userdata.0.GordonX-Home.0.fenster-sensor-wz",
                                                  "ack": "false",
                                                  "autoCreate": "false",
                                                  "stateName": "",
                                                  "role": "",
                                                  "payloadType": "",
                                                  "readonly": "",
                                                  "stateUnit": "",
                                                  "stateMin": "",
                                                  "stateMax": "",
                                                  "x": 710,
                                                  "y": 360,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "a04e704da4f58ac3",
                                                  "type": "ioBroker in",
                                                  "z": "403774f919fb638c",
                                                  "name": "",
                                                  "attrname": "fenster_kueche",
                                                  "topic": "alexa2.0.History.answerText",
                                                  "payloadType": "value",
                                                  "onlyack": "",
                                                  "func": "all",
                                                  "gap": "",
                                                  "fireOnStart": "false",
                                                  "outFormat": "MQTT",
                                                  "x": 180,
                                                  "y": 540,
                                                  "wires": [
                                                      [
                                                          "b13c2d067e849deb",
                                                          "dc5cf4f07eb8edc9",
                                                          "0de159c4387539cc",
                                                          "c8e42d6ae7a6a496",
                                                          "0a809a663c37b826"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "b13c2d067e849deb",
                                                  "type": "change",
                                                  "z": "403774f919fb638c",
                                                  "name": "",
                                                  "rules": [
                                                      {
                                                          "t": "change",
                                                          "p": "payload",
                                                          "pt": "msg",
                                                          "from": "fenster küche wurde geöffnet",
                                                          "fromt": "str",
                                                          "to": "true",
                                                          "tot": "bool"
                                                      },
                                                      {
                                                          "t": "change",
                                                          "p": "payload",
                                                          "pt": "msg",
                                                          "from": "fenster küche wurde geschlossen",
                                                          "fromt": "str",
                                                          "to": "false",
                                                          "tot": "bool"
                                                      },
                                                      {
                                                          "t": "set",
                                                          "p": "fenster_kueche",
                                                          "pt": "msg",
                                                          "to": "payload",
                                                          "tot": "msg"
                                                      }
                                                  ],
                                                  "action": "",
                                                  "property": "",
                                                  "from": "",
                                                  "to": "",
                                                  "reg": false,
                                                  "x": 490,
                                                  "y": 460,
                                                  "wires": [
                                                      [
                                                          "a7aa1fb5298bd29c",
                                                          "55130b9c537c5f05"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "a7aa1fb5298bd29c",
                                                  "type": "ioBroker out",
                                                  "z": "403774f919fb638c",
                                                  "name": "Fenster Küche",
                                                  "topic": "0_userdata.0.GordonX-Home.0.fenster-sensor-küche",
                                                  "ack": "false",
                                                  "autoCreate": "false",
                                                  "stateName": "",
                                                  "role": "",
                                                  "payloadType": "",
                                                  "readonly": "",
                                                  "stateUnit": "",
                                                  "stateMin": "",
                                                  "stateMax": "",
                                                  "x": 720,
                                                  "y": 480,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "dc5cf4f07eb8edc9",
                                                  "type": "change",
                                                  "z": "403774f919fb638c",
                                                  "name": "",
                                                  "rules": [
                                                      {
                                                          "t": "change",
                                                          "p": "fenster_buero",
                                                          "pt": "msg",
                                                          "from": "büro fenster wurde geöffnet",
                                                          "fromt": "str",
                                                          "to": "true",
                                                          "tot": "bool"
                                                      },
                                                      {
                                                          "t": "change",
                                                          "p": "fenster_buero",
                                                          "pt": "msg",
                                                          "from": "fenster sensor büro wurde geschlossen",
                                                          "fromt": "str",
                                                          "to": "false",
                                                          "tot": "bool"
                                                      },
                                                      {
                                                          "t": "set",
                                                          "p": "fenster_buero",
                                                          "pt": "msg",
                                                          "to": "payload",
                                                          "tot": "msg"
                                                      }
                                                  ],
                                                  "action": "",
                                                  "property": "",
                                                  "from": "",
                                                  "to": "",
                                                  "reg": false,
                                                  "x": 490,
                                                  "y": 540,
                                                  "wires": [
                                                      [
                                                          "ea407daf57ae3231",
                                                          "ba9eec8450b3fd98"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "ea407daf57ae3231",
                                                  "type": "ioBroker out",
                                                  "z": "403774f919fb638c",
                                                  "name": "Fenster Büro",
                                                  "topic": "0_userdata.0.GordonX-Home.0.fenster-sensor-büro",
                                                  "ack": "false",
                                                  "autoCreate": "false",
                                                  "stateName": "",
                                                  "role": "",
                                                  "payloadType": "",
                                                  "readonly": "",
                                                  "stateUnit": "",
                                                  "stateMin": "",
                                                  "stateMax": "",
                                                  "x": 710,
                                                  "y": 580,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "0de159c4387539cc",
                                                  "type": "change",
                                                  "z": "403774f919fb638c",
                                                  "name": "",
                                                  "rules": [
                                                      {
                                                          "t": "change",
                                                          "p": "fenster_schlafz",
                                                          "pt": "msg",
                                                          "from": "schlafzimmer fenster wurde geöffnet",
                                                          "fromt": "str",
                                                          "to": "true",
                                                          "tot": "bool"
                                                      },
                                                      {
                                                          "t": "change",
                                                          "p": "fenster_schlafz",
                                                          "pt": "msg",
                                                          "from": "schlafzimmer fenster wurde geschlossen",
                                                          "fromt": "str",
                                                          "to": "false",
                                                          "tot": "bool"
                                                      },
                                                      {
                                                          "t": "set",
                                                          "p": "fenster_schlafz",
                                                          "pt": "msg",
                                                          "to": "payload",
                                                          "tot": "msg"
                                                      }
                                                  ],
                                                  "action": "",
                                                  "property": "",
                                                  "from": "",
                                                  "to": "",
                                                  "reg": false,
                                                  "x": 490,
                                                  "y": 660,
                                                  "wires": [
                                                      [
                                                          "0ba5165605c97935",
                                                          "bdf36b2de16500eb"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "0ba5165605c97935",
                                                  "type": "ioBroker out",
                                                  "z": "403774f919fb638c",
                                                  "name": "Fenster Schlafz",
                                                  "topic": "0_userdata.0.GordonX-Home.0.fenster-sensor-schlafz",
                                                  "ack": "false",
                                                  "autoCreate": "false",
                                                  "stateName": "",
                                                  "role": "",
                                                  "payloadType": "",
                                                  "readonly": "",
                                                  "stateUnit": "",
                                                  "stateMin": "",
                                                  "stateMax": "",
                                                  "x": 720,
                                                  "y": 680,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "c8e42d6ae7a6a496",
                                                  "type": "change",
                                                  "z": "403774f919fb638c",
                                                  "name": "",
                                                  "rules": [
                                                      {
                                                          "t": "change",
                                                          "p": "tuer_wz",
                                                          "pt": "msg",
                                                          "from": "tür wohnzimmer wurde geöffnet",
                                                          "fromt": "str",
                                                          "to": "true",
                                                          "tot": "bool"
                                                      },
                                                      {
                                                          "t": "change",
                                                          "p": "tuer_wz",
                                                          "pt": "msg",
                                                          "from": "tür wohnzimmer wurde geschlossen",
                                                          "fromt": "str",
                                                          "to": "false",
                                                          "tot": "bool"
                                                      },
                                                      {
                                                          "t": "set",
                                                          "p": "tuer_wz",
                                                          "pt": "msg",
                                                          "to": "payload",
                                                          "tot": "msg"
                                                      }
                                                  ],
                                                  "action": "",
                                                  "property": "",
                                                  "from": "",
                                                  "to": "",
                                                  "reg": false,
                                                  "x": 490,
                                                  "y": 780,
                                                  "wires": [
                                                      [
                                                          "7b6776a1a67d1974",
                                                          "98a8e0b1bf54230d"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "7b6776a1a67d1974",
                                                  "type": "ioBroker out",
                                                  "z": "403774f919fb638c",
                                                  "name": "Tür WZ",
                                                  "topic": "0_userdata.0.GordonX-Home.0.tür-sensor-wz",
                                                  "ack": "false",
                                                  "autoCreate": "false",
                                                  "stateName": "",
                                                  "role": "",
                                                  "payloadType": "",
                                                  "readonly": "",
                                                  "stateUnit": "",
                                                  "stateMin": "",
                                                  "stateMax": "",
                                                  "x": 700,
                                                  "y": 780,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "55130b9c537c5f05",
                                                  "type": "debug",
                                                  "z": "403774f919fb638c",
                                                  "name": "Ausgabe Fenster Küche",
                                                  "active": true,
                                                  "tosidebar": true,
                                                  "console": false,
                                                  "tostatus": false,
                                                  "complete": "true",
                                                  "targetType": "full",
                                                  "statusVal": "",
                                                  "statusType": "auto",
                                                  "x": 750,
                                                  "y": 440,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "ba9eec8450b3fd98",
                                                  "type": "debug",
                                                  "z": "403774f919fb638c",
                                                  "name": "Ausgabe Fenster Büro",
                                                  "active": true,
                                                  "tosidebar": true,
                                                  "console": false,
                                                  "tostatus": false,
                                                  "complete": "true",
                                                  "targetType": "full",
                                                  "statusVal": "",
                                                  "statusType": "auto",
                                                  "x": 740,
                                                  "y": 540,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "bdf36b2de16500eb",
                                                  "type": "debug",
                                                  "z": "403774f919fb638c",
                                                  "name": "Ausgabe Fenster Schlafz.",
                                                  "active": true,
                                                  "tosidebar": true,
                                                  "console": false,
                                                  "tostatus": false,
                                                  "complete": "true",
                                                  "targetType": "full",
                                                  "statusVal": "",
                                                  "statusType": "auto",
                                                  "x": 750,
                                                  "y": 640,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "98a8e0b1bf54230d",
                                                  "type": "debug",
                                                  "z": "403774f919fb638c",
                                                  "name": "Ausgabe Tür Wz",
                                                  "active": true,
                                                  "tosidebar": true,
                                                  "console": false,
                                                  "tostatus": false,
                                                  "complete": "true",
                                                  "targetType": "full",
                                                  "statusVal": "",
                                                  "statusType": "auto",
                                                  "x": 730,
                                                  "y": 740,
                                                  "wires": []
                                              }
                                          ]
                                          

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

                                            @aphofis Im Prinzip schon - aber so halt nicht - schau halt mal in welches Attribut Du den Wert ausliest.
                                            Wenn Du das nicht beantworten kannst, dann lass Dir halt wieder das ganze Nachrichtenpbjekt ausgeben.
                                            Geh halt Schritt für Schritt vor.

                                            Also in welches Attribut liest Du den Wert ein?

                                            Außerdem verwirrst Du ja Dein Ziel schau halt was in den Debug Nodes rauskommt.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            485
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            51
                                            1610
                                            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