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 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
      • Aphofis
        Aphofis last edited by Aphofis

        @mickym Achso Attribute ist ja nur fenster_kueche ne das ja etwas zu wenig.
        wie mache ich das denn das alle attribute gelesen und weiter gegeben werden

        Kann man das so machen !? fehlt aber anscheinend etwas attribute wird irgendwo nicht weiter verarbeitet.
        Screenshot 2025-03-06 172645.png

        [
            {
                "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": 1120,
                "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": 870,
                "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": 1090,
                "y": 340,
                "wires": []
            },
            {
                "id": "a04e704da4f58ac3",
                "type": "ioBroker in",
                "z": "403774f919fb638c",
                "name": "",
                "attrname": "payload",
                "topic": "alexa2.0.History.answerText",
                "payloadType": "value",
                "onlyack": "",
                "func": "all",
                "gap": "",
                "fireOnStart": "false",
                "outFormat": "MQTT",
                "x": 240,
                "y": 540,
                "wires": [
                    [
                        "45dc365807d87963"
                    ]
                ]
            },
            {
                "id": "b13c2d067e849deb",
                "type": "change",
                "z": "403774f919fb638c",
                "name": "",
                "rules": [
                    {
                        "t": "change",
                        "p": "fenster_kueche",
                        "pt": "msg",
                        "from": "fenster küche wurde geöffnet",
                        "fromt": "str",
                        "to": "true",
                        "tot": "bool"
                    },
                    {
                        "t": "change",
                        "p": "fenster_kueche",
                        "pt": "msg",
                        "from": "fenster küche wurde geschlossen",
                        "fromt": "str",
                        "to": "false",
                        "tot": "bool"
                    },
                    {
                        "t": "move",
                        "p": "fenster_kueche",
                        "pt": "msg",
                        "to": "payload",
                        "tot": "msg"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 870,
                "y": 420,
                "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": 1100,
                "y": 440,
                "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": "move",
                        "p": "fenster_buero",
                        "pt": "msg",
                        "to": "payload",
                        "tot": "msg"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 870,
                "y": 500,
                "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": 1090,
                "y": 540,
                "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": "move",
                        "p": "fenster_schlafz",
                        "pt": "msg",
                        "to": "payload",
                        "tot": "msg"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 870,
                "y": 620,
                "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": 1100,
                "y": 640,
                "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": "move",
                        "p": "tuer_wz",
                        "pt": "msg",
                        "to": "payload",
                        "tot": "msg"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 870,
                "y": 740,
                "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": 1080,
                "y": 740,
                "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": 1130,
                "y": 400,
                "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": 1120,
                "y": 500,
                "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": 1130,
                "y": 600,
                "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": 1110,
                "y": 700,
                "wires": []
            },
            {
                "id": "45dc365807d87963",
                "type": "switch",
                "z": "403774f919fb638c",
                "name": "",
                "property": "payload",
                "propertyType": "msg",
                "rules": [
                    {
                        "t": "eq",
                        "v": "fenster_wz",
                        "vt": "str"
                    },
                    {
                        "t": "eq",
                        "v": "fenster_kueche",
                        "vt": "str"
                    },
                    {
                        "t": "eq",
                        "v": "fenster_buero",
                        "vt": "str"
                    },
                    {
                        "t": "eq",
                        "v": "fenster_schlafz",
                        "vt": "str"
                    },
                    {
                        "t": "eq",
                        "v": "tuer_wz",
                        "vt": "str"
                    }
                ],
                "checkall": "true",
                "repair": false,
                "outputs": 5,
                "x": 490,
                "y": 540,
                "wires": [
                    [
                        "0a809a663c37b826"
                    ],
                    [
                        "b13c2d067e849deb"
                    ],
                    [
                        "dc5cf4f07eb8edc9"
                    ],
                    [
                        "0de159c4387539cc"
                    ],
                    [
                        "c8e42d6ae7a6a496"
                    ]
                ]
            }
        ]
        

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

          @aphofis Wenn Du alles bei payload belassen hättest, dann hättest Du doch vorerst kein Problem - allerdings schau Dir halt mal an, was in den Debugnodes rauskommt - ich glaube nicht, dass da nur true/false rauskommt.

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

            @mickym Irgendwie klappt das nicht!
            alle geräte sollen ja nur true/false melden und nicht alle auf alles reagieren und Fenster Bad ist ein Sonoff Gerät das muss auf 0/1 reagieren
            Screenshot 2025-03-07 165438.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": 820,
                    "y": 200,
                    "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": 570,
                    "y": 220,
                    "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": 790,
                    "y": 240,
                    "wires": []
                },
                {
                    "id": "a04e704da4f58ac3",
                    "type": "ioBroker in",
                    "z": "403774f919fb638c",
                    "name": "",
                    "attrname": "payload",
                    "topic": "alexa2.0.History.answerText",
                    "payloadType": "value",
                    "onlyack": "",
                    "func": "all",
                    "gap": "",
                    "fireOnStart": "false",
                    "outFormat": "MQTT",
                    "x": 200,
                    "y": 440,
                    "wires": [
                        [
                            "e14f45b233f41bf6",
                            "0a809a663c37b826",
                            "b13c2d067e849deb",
                            "dc5cf4f07eb8edc9",
                            "0de159c4387539cc",
                            "c8e42d6ae7a6a496",
                            "5c4c4ecbf153b3de"
                        ]
                    ]
                },
                {
                    "id": "b13c2d067e849deb",
                    "type": "change",
                    "z": "403774f919fb638c",
                    "name": "",
                    "rules": [
                        {
                            "t": "change",
                            "p": "fenster_kueche",
                            "pt": "msg",
                            "from": "fenster küche wurde geöffnet",
                            "fromt": "str",
                            "to": "true",
                            "tot": "bool"
                        },
                        {
                            "t": "change",
                            "p": "fenster_kueche",
                            "pt": "msg",
                            "from": "fenster küche wurde geschlossen",
                            "fromt": "str",
                            "to": "false",
                            "tot": "bool"
                        },
                        {
                            "t": "move",
                            "p": "fenster_kueche",
                            "pt": "msg",
                            "to": "payload",
                            "tot": "msg"
                        }
                    ],
                    "action": "",
                    "property": "",
                    "from": "",
                    "to": "",
                    "reg": false,
                    "x": 570,
                    "y": 340,
                    "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": 800,
                    "y": 340,
                    "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": "move",
                            "p": "fenster_buero",
                            "pt": "msg",
                            "to": "payload",
                            "tot": "msg"
                        }
                    ],
                    "action": "",
                    "property": "",
                    "from": "",
                    "to": "",
                    "reg": false,
                    "x": 570,
                    "y": 400,
                    "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": 790,
                    "y": 440,
                    "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": "move",
                            "p": "fenster_schlafz",
                            "pt": "msg",
                            "to": "payload",
                            "tot": "msg"
                        }
                    ],
                    "action": "",
                    "property": "",
                    "from": "",
                    "to": "",
                    "reg": false,
                    "x": 570,
                    "y": 520,
                    "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": 800,
                    "y": 540,
                    "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": "move",
                            "p": "tuer_wz",
                            "pt": "msg",
                            "to": "payload",
                            "tot": "msg"
                        }
                    ],
                    "action": "",
                    "property": "",
                    "from": "",
                    "to": "",
                    "reg": false,
                    "x": 570,
                    "y": 640,
                    "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": 780,
                    "y": 640,
                    "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": 830,
                    "y": 300,
                    "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": 820,
                    "y": 400,
                    "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": 830,
                    "y": 500,
                    "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": 810,
                    "y": 600,
                    "wires": []
                },
                {
                    "id": "5c4c4ecbf153b3de",
                    "type": "change",
                    "z": "403774f919fb638c",
                    "name": "",
                    "rules": [
                        {
                            "t": "change",
                            "p": "fenster_bad",
                            "pt": "msg",
                            "from": "fenster Bad wurde geöffnet",
                            "fromt": "str",
                            "to": "1",
                            "tot": "str"
                        },
                        {
                            "t": "change",
                            "p": "fenster_bad",
                            "pt": "msg",
                            "from": "fenster Bad wurde geschlossen",
                            "fromt": "str",
                            "to": "0",
                            "tot": "str"
                        },
                        {
                            "t": "move",
                            "p": "fenster_bad",
                            "pt": "msg",
                            "to": "payload",
                            "tot": "msg"
                        }
                    ],
                    "action": "",
                    "property": "",
                    "from": "",
                    "to": "",
                    "reg": false,
                    "x": 570,
                    "y": 720,
                    "wires": [
                        [
                            "f94f4d4e2195fd4e",
                            "5f208caa0596d609"
                        ]
                    ]
                },
                {
                    "id": "f94f4d4e2195fd4e",
                    "type": "ioBroker out",
                    "z": "403774f919fb638c",
                    "name": "Fenster Bad",
                    "topic": "ham.0.Fenster-Bad.Contact-Sensor.Contact-Sensor-State",
                    "ack": "false",
                    "autoCreate": "false",
                    "stateName": "",
                    "role": "",
                    "payloadType": "",
                    "readonly": "",
                    "stateUnit": "",
                    "stateMin": "",
                    "stateMax": "",
                    "x": 790,
                    "y": 740,
                    "wires": []
                },
                {
                    "id": "5f208caa0596d609",
                    "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": 810,
                    "y": 700,
                    "wires": []
                },
                {
                    "id": "e14f45b233f41bf6",
                    "type": "debug",
                    "z": "403774f919fb638c",
                    "name": "debug 4",
                    "active": true,
                    "tosidebar": true,
                    "console": false,
                    "tostatus": false,
                    "complete": "false",
                    "statusVal": "",
                    "statusType": "auto",
                    "x": 540,
                    "y": 160,
                    "wires": []
                }
            ]
            

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

              @aphofis ja wenn nicht jede Node auf alles reagieren soll, dann darfst du die Nachrichten nicht einfach vervielfältigen, sondern musst diese über Bedingungen an verschiedene Ausgänge einer Switch Node schicken

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

                @mickym Wie erstelle ich denn diese bedingungen !?

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

                  @aphofis Na wie ich geschrieben habe. Mit einer switch Node. Oben steht die Eigenschaft, die Du überprüfen willst und dann definierst Du die Regeln - welcher Ausgang genommen wird.

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

                    @mickym Ich tausche die Tuya Sensoren einfach gegen Sonoff Fenster Kontakte die reagieren in wenigen ms und sind zuverlässig. Es ist mir einfach zu kompliziert über eine alexa routine zu arbeiten.
                    es sind einfach zu viele störfaktoren in der Geschichte.

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

                      @aphofis Ja mach wie Du denkst. Es geht nicht nur um das Ergebnis, sondern dass Du was gelernt hättest. Aber ich denke wir lassen das in Zukunft. Es gibt ja noch eine Menge anderer Leute, die Dir ggf. helfen können.

                      Also viel Glück und Erfolg.

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

                        @mickym
                        Ich verstehe manche dinge nicht!
                        Ich würde es gerne umsetzen doch ich verliere manchmal den Faden um so komplexer es wird.
                        Hat jetzt nix mit dieser steuerung zu Tun! Es hat nur keinen sinn eine Steuerung weiter zu bilden, wenn die aktoren nicht korrekt reagieren und macht dann auch keinen spaß. Hatte mir einen Fenster Tür Kontakt von Sonoff gekauft und die reagieren sehr schnell. man kann die schaltung damit weiter führen.

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        902
                        Online

                        31.9k
                        Users

                        80.2k
                        Topics

                        1.3m
                        Posts

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