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. 2 Bewegungsmelder (Aqara) sollen einen Lampe schalten

    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

    2 Bewegungsmelder (Aqara) sollen einen Lampe schalten

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

      @aphofis Ich habe nicht gesagt, dass Du ein Variable setzen sollst, sondern die Nachrichten filtern sollst. Und ich habe glaube ich switch Node gesagt, dass man mit dieser Bedingungen abprüft und Nachrichten filtert.

      Ausserdem finde ich die Verwendung Deiner link Nodes leicht unübersichtlich - aber wie Du willst.

      Ausserdem sagte ich das BEIDES in EINEM Flow sein muss.

      Sorry - aber sonst funktioniert das nicht ......

      Ausserdem machst Du selbst dauernd irgendwas dazu - was sollen denn 2 Alexa Nodes an verschiedenen Stellen - aber das werde ich nicht weiter kommentieren.

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

        @mickym
        nur wie stelle ich die Switch Node jetzt ein. Ich weiß es escht nicht wie man jetzt Schlter Bad abgreift wenn der false ist wird trigger Bewegung weiter verarbeitet bzw wenn Schalter Bad true ist geht nichts weiter zum Bewegungs Trigger durch

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

          @aphofis 1, Es MUSS alles in einem Flow sein!!!
          2. Du prüfst die Kontextvariable in der Switch Node einfach auf false ab.

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

            @mickym also so ?
            Screenshot 2024-08-21 221813.png

            [
                {
                    "id": "2e295f1c879e6af4",
                    "type": "tab",
                    "label": "Bad_Motion",
                    "disabled": false,
                    "info": "",
                    "env": []
                },
                {
                    "id": "3c4eead45d639099",
                    "type": "junction",
                    "z": "2e295f1c879e6af4",
                    "x": 920,
                    "y": 70,
                    "wires": [
                        [
                            "8abca0bad942f182",
                            "fc25cbeee0cad617"
                        ]
                    ]
                },
                {
                    "id": "536b62b8d18c6cf0",
                    "type": "junction",
                    "z": "2e295f1c879e6af4",
                    "x": 270,
                    "y": 70,
                    "wires": [
                        [
                            "3c4eead45d639099"
                        ]
                    ]
                },
                {
                    "id": "f2e7288278a6661f",
                    "type": "junction",
                    "z": "2e295f1c879e6af4",
                    "x": 280,
                    "y": 160,
                    "wires": [
                        [
                            "7b323a4ddca3e7c1"
                        ]
                    ]
                },
                {
                    "id": "269ad011754f07ad",
                    "type": "junction",
                    "z": "2e295f1c879e6af4",
                    "x": 280,
                    "y": 270,
                    "wires": [
                        [
                            "7b323a4ddca3e7c1"
                        ]
                    ]
                },
                {
                    "id": "8ba39a421f5c3317",
                    "type": "junction",
                    "z": "2e295f1c879e6af4",
                    "x": 230,
                    "y": 450,
                    "wires": [
                        [
                            "6e55b108db47eaed",
                            "2b793d273b25a2f7"
                        ]
                    ]
                },
                {
                    "id": "4c349095bd25378c",
                    "type": "ioBroker get",
                    "z": "2e295f1c879e6af4",
                    "name": "Reinigung Status",
                    "topic": "mihome-vacuum.1.info.state",
                    "attrname": "roborock",
                    "payloadType": "value",
                    "errOnInvalidState": "nothing",
                    "x": 600,
                    "y": 370,
                    "wires": [
                        [
                            "a95d63f2785aa847"
                        ]
                    ]
                },
                {
                    "id": "4b318acc0eab7b1b",
                    "type": "ioBroker in",
                    "z": "2e295f1c879e6af4",
                    "name": "Bad Motion 1",
                    "attrname": "payload",
                    "topic": "hue.0.Bad_Motion_Sensor.presence",
                    "payloadType": "value",
                    "onlyack": "",
                    "func": "all",
                    "gap": "",
                    "fireOnStart": "false",
                    "outFormat": "MQTT",
                    "x": 130,
                    "y": 160,
                    "wires": [
                        [
                            "f2e7288278a6661f"
                        ]
                    ]
                },
                {
                    "id": "9dd1e1bc2bca9ade",
                    "type": "ioBroker out",
                    "z": "2e295f1c879e6af4",
                    "name": "Bad Decke",
                    "topic": "tuya.0.bf78f027e5e33c3d76xrfe.1",
                    "ack": "false",
                    "autoCreate": "false",
                    "stateName": "",
                    "role": "",
                    "payloadType": "",
                    "readonly": "",
                    "stateUnit": "",
                    "stateMin": "",
                    "stateMax": "",
                    "x": 1020,
                    "y": 320,
                    "wires": []
                },
                {
                    "id": "d0ddca612599b43c",
                    "type": "debug",
                    "z": "2e295f1c879e6af4",
                    "name": "Bad Licht",
                    "active": false,
                    "tosidebar": true,
                    "console": false,
                    "tostatus": false,
                    "complete": "payload",
                    "targetType": "msg",
                    "statusVal": "",
                    "statusType": "auto",
                    "x": 1010,
                    "y": 370,
                    "wires": []
                },
                {
                    "id": "66e5680c9143f38f",
                    "type": "switch",
                    "z": "2e295f1c879e6af4",
                    "name": "Bewegung erkannt?",
                    "property": "payload",
                    "propertyType": "msg",
                    "rules": [
                        {
                            "t": "true"
                        },
                        {
                            "t": "false"
                        }
                    ],
                    "checkall": "true",
                    "repair": false,
                    "outputs": 2,
                    "x": 830,
                    "y": 210,
                    "wires": [
                        [
                            "122117be9b2af524"
                        ],
                        [
                            "154396f8caa9bc54"
                        ]
                    ]
                },
                {
                    "id": "a95d63f2785aa847",
                    "type": "switch",
                    "z": "2e295f1c879e6af4",
                    "name": "Robi nicht Status 5",
                    "property": "roborock",
                    "propertyType": "msg",
                    "rules": [
                        {
                            "t": "neq",
                            "v": "5",
                            "vt": "num"
                        }
                    ],
                    "checkall": "true",
                    "repair": false,
                    "outputs": 1,
                    "x": 800,
                    "y": 370,
                    "wires": [
                        [
                            "d0ddca612599b43c",
                            "9dd1e1bc2bca9ade"
                        ]
                    ]
                },
                {
                    "id": "2cbb19c25bdbf55d",
                    "type": "trigger",
                    "z": "2e295f1c879e6af4",
                    "name": "1 min. warten bevor false",
                    "op1": "true",
                    "op2": "false",
                    "op1type": "bool",
                    "op2type": "bool",
                    "duration": "10",
                    "extend": true,
                    "overrideDelay": false,
                    "units": "s",
                    "reset": "true",
                    "bytopic": "all",
                    "topic": "topic",
                    "outputs": 1,
                    "x": 780,
                    "y": 320,
                    "wires": [
                        [
                            "d0ddca612599b43c",
                            "9dd1e1bc2bca9ade"
                        ]
                    ]
                },
                {
                    "id": "3d16cb434aa22482",
                    "type": "ioBroker get",
                    "z": "2e295f1c879e6af4",
                    "name": "Bad licht an Alexa",
                    "topic": "alexa2.0.Echo-Devices.G0913L06031202PA.Routines.d2b8b4a7-0faf-444d-be14-0e90a1db9e1e",
                    "attrname": "Alexa",
                    "payloadType": "value",
                    "errOnInvalidState": "nothing",
                    "x": 110,
                    "y": 270,
                    "wires": [
                        [
                            "269ad011754f07ad"
                        ]
                    ]
                },
                {
                    "id": "fc25cbeee0cad617",
                    "type": "ioBroker out",
                    "z": "2e295f1c879e6af4",
                    "name": "Bad Decke",
                    "topic": "sonoff.0.bad_deckenlampe.POWER",
                    "ack": "false",
                    "autoCreate": "false",
                    "stateName": "",
                    "role": "",
                    "payloadType": "",
                    "readonly": "",
                    "stateUnit": "",
                    "stateMin": "",
                    "stateMax": "",
                    "x": 1020,
                    "y": 90,
                    "wires": []
                },
                {
                    "id": "4961b7defde8b1ea",
                    "type": "ioBroker in",
                    "z": "2e295f1c879e6af4",
                    "name": "Schalter Digital",
                    "attrname": "payload",
                    "topic": "0_userdata.0.Test_Schalter",
                    "payloadType": "value",
                    "onlyack": "",
                    "func": "all",
                    "gap": "",
                    "fireOnStart": "false",
                    "outFormat": "MQTT",
                    "x": 120,
                    "y": 40,
                    "wires": [
                        [
                            "536b62b8d18c6cf0"
                        ]
                    ]
                },
                {
                    "id": "8abca0bad942f182",
                    "type": "debug",
                    "z": "2e295f1c879e6af4",
                    "name": "Bad Licht Alexa",
                    "active": false,
                    "tosidebar": true,
                    "console": false,
                    "tostatus": false,
                    "complete": "payload",
                    "targetType": "msg",
                    "statusVal": "",
                    "statusType": "auto",
                    "x": 1030,
                    "y": 50,
                    "wires": []
                },
                {
                    "id": "323cb6465fa717e5",
                    "type": "ioBroker in",
                    "z": "2e295f1c879e6af4",
                    "name": "Bad Motion 2",
                    "attrname": "payload",
                    "topic": "tuya.0.bf15a2489964bff33bavvv.1",
                    "payloadType": "value",
                    "onlyack": "",
                    "func": "all",
                    "gap": "",
                    "fireOnStart": "false",
                    "outFormat": "MQTT",
                    "x": 130,
                    "y": 210,
                    "wires": [
                        [
                            "9bdfabd4b2e4a214"
                        ]
                    ]
                },
                {
                    "id": "1050671f0db85c92",
                    "type": "ioBroker in",
                    "z": "2e295f1c879e6af4",
                    "name": "Alexa Bad Licht an",
                    "attrname": "payload",
                    "topic": "alexa2.0.Echo-Devices.G0913L06031202PA.Routines.d2b8b4a7-0faf-444d-be14-0e90a1db9e1e",
                    "payloadType": "value",
                    "onlyack": "",
                    "func": "all",
                    "gap": "",
                    "fireOnStart": "false",
                    "outFormat": "MQTT",
                    "x": 110,
                    "y": 100,
                    "wires": [
                        [
                            "536b62b8d18c6cf0"
                        ]
                    ]
                },
                {
                    "id": "9bdfabd4b2e4a214",
                    "type": "change",
                    "z": "2e295f1c879e6af4",
                    "name": "wechsel",
                    "rules": [
                        {
                            "t": "change",
                            "p": "payload",
                            "pt": "msg",
                            "from": "1",
                            "fromt": "str",
                            "to": "true",
                            "tot": "str"
                        },
                        {
                            "t": "change",
                            "p": "payload",
                            "pt": "msg",
                            "from": "0",
                            "fromt": "str",
                            "to": "false",
                            "tot": "str"
                        }
                    ],
                    "action": "",
                    "property": "",
                    "from": "",
                    "to": "",
                    "reg": false,
                    "x": 290,
                    "y": 210,
                    "wires": [
                        [
                            "7b323a4ddca3e7c1"
                        ]
                    ]
                },
                {
                    "id": "122117be9b2af524",
                    "type": "link out",
                    "z": "2e295f1c879e6af4",
                    "name": "link out 3",
                    "mode": "link",
                    "links": [
                        "12526f836b7135a5",
                        "2f09309457a74553"
                    ],
                    "x": 965,
                    "y": 190,
                    "wires": []
                },
                {
                    "id": "2f09309457a74553",
                    "type": "link in",
                    "z": "2e295f1c879e6af4",
                    "name": "link in 3",
                    "links": [
                        "122117be9b2af524",
                        "154396f8caa9bc54"
                    ],
                    "x": 635,
                    "y": 320,
                    "wires": [
                        [
                            "2cbb19c25bdbf55d"
                        ]
                    ]
                },
                {
                    "id": "12526f836b7135a5",
                    "type": "link in",
                    "z": "2e295f1c879e6af4",
                    "name": "link in 4",
                    "links": [
                        "122117be9b2af524",
                        "154396f8caa9bc54"
                    ],
                    "x": 475,
                    "y": 370,
                    "wires": [
                        [
                            "4c349095bd25378c"
                        ]
                    ]
                },
                {
                    "id": "154396f8caa9bc54",
                    "type": "link out",
                    "z": "2e295f1c879e6af4",
                    "name": "link out 4",
                    "mode": "link",
                    "links": [
                        "2f09309457a74553",
                        "12526f836b7135a5"
                    ],
                    "x": 965,
                    "y": 230,
                    "wires": []
                },
                {
                    "id": "7b323a4ddca3e7c1",
                    "type": "switch",
                    "z": "2e295f1c879e6af4",
                    "name": "",
                    "property": "payload",
                    "propertyType": "msg",
                    "rules": [
                        {
                            "t": "eq",
                            "v": "Schalter.Bad",
                            "vt": "str"
                        }
                    ],
                    "checkall": "true",
                    "repair": false,
                    "outputs": 1,
                    "x": 510,
                    "y": 210,
                    "wires": [
                        [
                            "66e5680c9143f38f"
                        ]
                    ]
                },
                {
                    "id": "825a34e2e6145b1c",
                    "type": "ioBroker in",
                    "z": "2e295f1c879e6af4",
                    "name": "",
                    "attrname": "payload",
                    "topic": "Lichtschalter Bad",
                    "payloadType": "object",
                    "onlyack": "",
                    "func": "all",
                    "gap": "",
                    "fireOnStart": "false",
                    "outFormat": "MQTT",
                    "x": 100,
                    "y": 450,
                    "wires": [
                        [
                            "8ba39a421f5c3317"
                        ]
                    ]
                },
                {
                    "id": "2b793d273b25a2f7",
                    "type": "ioBroker out",
                    "z": "2e295f1c879e6af4",
                    "name": "Bad Decke",
                    "topic": "tuya.0.bf78f027e5e33c3d76xrfe.1",
                    "ack": "false",
                    "autoCreate": "false",
                    "stateName": "",
                    "role": "",
                    "payloadType": "",
                    "readonly": "",
                    "stateUnit": "",
                    "stateMin": "",
                    "stateMax": "",
                    "x": 1040,
                    "y": 450,
                    "wires": []
                },
                {
                    "id": "50172abc4513c6cf",
                    "type": "debug",
                    "z": "2e295f1c879e6af4",
                    "name": "Bad Decke",
                    "active": true,
                    "tosidebar": true,
                    "console": false,
                    "tostatus": false,
                    "complete": "payload",
                    "targetType": "msg",
                    "statusVal": "",
                    "statusType": "auto",
                    "x": 1010,
                    "y": 500,
                    "wires": []
                },
                {
                    "id": "6e55b108db47eaed",
                    "type": "change",
                    "z": "2e295f1c879e6af4",
                    "name": "",
                    "rules": [
                        {
                            "t": "set",
                            "p": "Schalter.Bad",
                            "pt": "flow",
                            "to": "true",
                            "tot": "bool"
                        }
                    ],
                    "action": "",
                    "property": "",
                    "from": "",
                    "to": "",
                    "reg": false,
                    "x": 370,
                    "y": 490,
                    "wires": [
                        [
                            "4faf1ed0bf7c1af3"
                        ]
                    ]
                },
                {
                    "id": "4faf1ed0bf7c1af3",
                    "type": "trigger",
                    "z": "2e295f1c879e6af4",
                    "name": "",
                    "op1": "",
                    "op2": "false",
                    "op1type": "nul",
                    "op2type": "bool",
                    "duration": "10",
                    "extend": true,
                    "overrideDelay": false,
                    "units": "s",
                    "reset": "",
                    "bytopic": "all",
                    "topic": "topic",
                    "outputs": 1,
                    "x": 590,
                    "y": 490,
                    "wires": [
                        [
                            "f65257011e0b574c"
                        ]
                    ]
                },
                {
                    "id": "f65257011e0b574c",
                    "type": "change",
                    "z": "2e295f1c879e6af4",
                    "name": "",
                    "rules": [
                        {
                            "t": "set",
                            "p": "Schalter.Bad",
                            "pt": "flow",
                            "to": "false",
                            "tot": "bool"
                        }
                    ],
                    "action": "",
                    "property": "",
                    "from": "",
                    "to": "",
                    "reg": false,
                    "x": 790,
                    "y": 490,
                    "wires": [
                        [
                            "50172abc4513c6cf",
                            "2b793d273b25a2f7"
                        ]
                    ]
                },
                {
                    "id": "d4d742934b195768",
                    "type": "inject",
                    "z": "2e295f1c879e6af4",
                    "name": "Aus",
                    "props": [
                        {
                            "p": "payload"
                        },
                        {
                            "p": "topic",
                            "vt": "str"
                        }
                    ],
                    "repeat": "",
                    "crontab": "",
                    "once": false,
                    "onceDelay": 0.1,
                    "topic": "",
                    "payload": "false",
                    "payloadType": "bool",
                    "x": 120,
                    "y": 370,
                    "wires": [
                        [
                            "8ba39a421f5c3317"
                        ]
                    ]
                },
                {
                    "id": "34a6d988e012a62b",
                    "type": "inject",
                    "z": "2e295f1c879e6af4",
                    "name": "An",
                    "props": [
                        {
                            "p": "payload"
                        },
                        {
                            "p": "topic",
                            "vt": "str"
                        }
                    ],
                    "repeat": "",
                    "crontab": "",
                    "once": false,
                    "onceDelay": 0.1,
                    "topic": "",
                    "payload": "true",
                    "payloadType": "bool",
                    "x": 120,
                    "y": 410,
                    "wires": [
                        [
                            "8ba39a421f5c3317"
                        ]
                    ]
                }
            ]
            

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

              @aphofis Die switch Node ist zwar an der richtigen Stelle, aber Du prüfst doch nicht die Kontextvariable Schalter.Bad auf false ab.

              79657ed1-c40c-49fa-bcfb-e963f520a297-image.png

              Du fragst ob die Nachrichteneigenschaft payload auf einen String "Schalter.Bad" ab, der wird von den Bewegungsmeldern SICHER nicht geliefert. In diesem Fall blockiert die switch Node ALLE Nachrichten.
              Also nicht die Nachrichteneigenschaft payload überprüfen, sondern die Flowvariable Schalter.Bad

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

                @mickym so
                Screenshot 2024-08-21 222359.png

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

                  @aphofis sagte in 2 Bewegungsmelder (Aqara) sollen einen Lampe schalten:

                  @mickym so
                  Screenshot 2024-08-21 222359.png

                  Ja Du sollst aber nicht auf true, sondern auf false abprüfen. Du möchtest ja, dass die Nachrichten der Bewegungsmelder DANN durchgelassen werden, wenn der Schalter NICHT aktiv ist.
                  Hab ich glaub aber nun mind. 4 mal in den letzten Posts geschrieben.

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

                    @mickym ja so langsam verstehe ich das

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

                      Aber ich muss Feierabend machen, mir fallen schon die augen zu. war ein langer Tag.
                      Vielen Dank für deine Hilfe.
                      Wenn der Flow so funktioniert, können wir Heute erstmal einen Break machen.

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

                        @aphofis Ja - wir sind ja eh fertig. Mehr gibts in meinen Augen nicht zu tun.

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

                          @mickym OK Prima
                          und Danke

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

                            @aphofis sagte in 2 Bewegungsmelder (Aqara) sollen einen Lampe schalten:

                            @mickym OK Prima
                            und Danke

                            Die Flowvariable musst initialisieren, wenn Du den gesamten Flow bzw. NodeRed neu startest.

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

                              @mickym
                              das heisst was
                              Weil noch geht das licht immer nach 2 min. Bewegung aus.

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

                                @aphofis sagte in 2 Bewegungsmelder (Aqara) sollen einen Lampe schalten:

                                @mickym
                                das heisst was

                                b5fa7c30-2de7-4331-a906-5c0167b35a7c-image.png

                                Einmalig nach dem Node-Red gestartet wurde über eine Inject-Node die Flowvariable Schalter.Bad auf false setzen.

                                [
                                   {
                                       "id": "89dc4ff1007ac71d",
                                       "type": "inject",
                                       "z": "95d5d241e51360cd",
                                       "name": "",
                                       "props": [
                                           {
                                               "p": "payload"
                                           }
                                       ],
                                       "repeat": "",
                                       "crontab": "",
                                       "once": true,
                                       "onceDelay": 0.1,
                                       "topic": "",
                                       "payload": "false",
                                       "payloadType": "bool",
                                       "x": 350,
                                       "y": 1660,
                                       "wires": [
                                           [
                                               "7238145e880c3472"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "7238145e880c3472",
                                       "type": "change",
                                       "z": "95d5d241e51360cd",
                                       "name": "",
                                       "rules": [
                                           {
                                               "t": "set",
                                               "p": "Schalter.Bad",
                                               "pt": "flow",
                                               "to": "false",
                                               "tot": "bool"
                                           }
                                       ],
                                       "action": "",
                                       "property": "",
                                       "from": "",
                                       "to": "",
                                       "reg": false,
                                       "x": 550,
                                       "y": 1660,
                                       "wires": [
                                           []
                                       ]
                                   }
                                ]
                                

                                Weil noch geht das licht immer nach 2 min. Bewegung aus.

                                Na auf Fehlersuche musst Du selbst gehen. Dann mach eine Debug Node hinter Deine Switch Node.
                                Wenn die Schalter.Bad Variable auf true ist, dann sollte nichts durchkommen. Ggf. über eine Inject Node bzw. über den Schalter simulieren und den Kontext prüfen. Fehlersuche musst Du leider alleine betreiben.

                                Grundsätzlich kannst Du ja so einen Switch - ob der richtig filtert auch alleine prüfen, in dem Du Dir einen kleinen Testflow bastelst und mal die Variable auf true und mal auf false setzt:

                                db41cda0-1292-4dd6-aeb0-60729509955d-image.png

                                [
                                   {
                                       "id": "e87a827d28e70510",
                                       "type": "inject",
                                       "z": "95d5d241e51360cd",
                                       "name": "Test",
                                       "props": [
                                           {
                                               "p": "payload"
                                           }
                                       ],
                                       "repeat": "",
                                       "crontab": "",
                                       "once": false,
                                       "onceDelay": 0.1,
                                       "topic": "",
                                       "payload": "Testnachricht",
                                       "payloadType": "str",
                                       "x": 350,
                                       "y": 1820,
                                       "wires": [
                                           [
                                               "9d948843920ee33a"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "9d948843920ee33a",
                                       "type": "switch",
                                       "z": "95d5d241e51360cd",
                                       "name": "",
                                       "property": "Schalter.Bad",
                                       "propertyType": "flow",
                                       "rules": [
                                           {
                                               "t": "false"
                                           }
                                       ],
                                       "checkall": "true",
                                       "repair": false,
                                       "outputs": 1,
                                       "x": 490,
                                       "y": 1820,
                                       "wires": [
                                           [
                                               "99f14be7d03a378b"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "038ffeeb65c24042",
                                       "type": "inject",
                                       "z": "95d5d241e51360cd",
                                       "name": "",
                                       "props": [
                                           {
                                               "p": "payload"
                                           },
                                           {
                                               "p": "topic",
                                               "vt": "str"
                                           }
                                       ],
                                       "repeat": "",
                                       "crontab": "",
                                       "once": false,
                                       "onceDelay": 0.1,
                                       "topic": "",
                                       "payload": "true",
                                       "payloadType": "bool",
                                       "x": 350,
                                       "y": 1680,
                                       "wires": [
                                           [
                                               "6a701a0ddc9134ff"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "99f14be7d03a378b",
                                       "type": "debug",
                                       "z": "95d5d241e51360cd",
                                       "name": "Wenn Schalter.Bad = false",
                                       "active": true,
                                       "tosidebar": true,
                                       "console": false,
                                       "tostatus": false,
                                       "complete": "payload",
                                       "targetType": "msg",
                                       "statusVal": "",
                                       "statusType": "auto",
                                       "x": 720,
                                       "y": 1820,
                                       "wires": []
                                   },
                                   {
                                       "id": "643b86ca80c69a9f",
                                       "type": "inject",
                                       "z": "95d5d241e51360cd",
                                       "name": "",
                                       "props": [
                                           {
                                               "p": "payload"
                                           },
                                           {
                                               "p": "topic",
                                               "vt": "str"
                                           }
                                       ],
                                       "repeat": "",
                                       "crontab": "",
                                       "once": false,
                                       "onceDelay": 0.1,
                                       "topic": "",
                                       "payload": "false",
                                       "payloadType": "bool",
                                       "x": 350,
                                       "y": 1720,
                                       "wires": [
                                           [
                                               "6a701a0ddc9134ff"
                                           ]
                                       ]
                                   },
                                   {
                                       "id": "6a701a0ddc9134ff",
                                       "type": "change",
                                       "z": "95d5d241e51360cd",
                                       "name": "",
                                       "rules": [
                                           {
                                               "t": "set",
                                               "p": "Schalter.Bad",
                                               "pt": "flow",
                                               "to": "payload",
                                               "tot": "msg"
                                           }
                                       ],
                                       "action": "",
                                       "property": "",
                                       "from": "",
                                       "to": "",
                                       "reg": false,
                                       "x": 550,
                                       "y": 1700,
                                       "wires": [
                                           []
                                       ]
                                   }
                                ]
                                

                                Jetzt lass ich Dich aber mal alleine - vielleicht hast Du ja noch einen Flow oder ein Blockly parallel laufen. Jedenfalls siehst Du an dem Testflow, wie so ein Filter arbeitet und nicht mehr oder weniger hast Du ja an Deinem Bewegungsmelderflow dran.

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

                                  @mickym
                                  also mit das heißt was, meinte ich wie initialisiert man die flowvariable.
                                  Hast du mir ja nun gesendet. Muss diese irgendwo verknüpft werden !?
                                  Hatte die initialisierung an die erste switch node gehängt und dann einmal ausgelöst. Wenn ich dann den Lichtschalter betätige startet der 15 min node nicht.
                                  Fehlersuche ist eine Sache, wenn man weiß wo man suchen soll.

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

                                    @aphofis Due initialisierung bleibt so getrennt wie ich gepostet habr. Die Fehlersuche bleibt bei Dir - ich habe Dir ja einen Flow gepostet wo Du die Blockierung der switch Node testen kannst. Der Rest liegt bei dir.

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

                                      @mickym Also bei Lichtschalter betätigen tut sich nichts

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

                                        @aphofis Na ich kann Dir da nicht helfen - entweder hast Du kein command verwendet - aber ich weiß nicht was bei einer 1:1 Verbindung schief gehen soll.

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

                                          @mickym Ich weiß das auch nicht und wenn man den Lichtschalter ausschaltet bleibt der Zeit Trigger mit halbe std so stehen also aktiv der soll doch deaktiviert werden.

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

                                            @aphofis
                                            Screenshot 2024-08-22 220421.png

                                            [
                                                {
                                                    "id": "2e295f1c879e6af4",
                                                    "type": "tab",
                                                    "label": "Bad_Motion",
                                                    "disabled": false,
                                                    "info": "",
                                                    "env": []
                                                },
                                                {
                                                    "id": "3c4eead45d639099",
                                                    "type": "junction",
                                                    "z": "2e295f1c879e6af4",
                                                    "x": 920,
                                                    "y": 70,
                                                    "wires": [
                                                        [
                                                            "8abca0bad942f182",
                                                            "fc25cbeee0cad617"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "536b62b8d18c6cf0",
                                                    "type": "junction",
                                                    "z": "2e295f1c879e6af4",
                                                    "x": 270,
                                                    "y": 70,
                                                    "wires": [
                                                        [
                                                            "3c4eead45d639099"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "f2e7288278a6661f",
                                                    "type": "junction",
                                                    "z": "2e295f1c879e6af4",
                                                    "x": 280,
                                                    "y": 160,
                                                    "wires": [
                                                        [
                                                            "7b323a4ddca3e7c1"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "269ad011754f07ad",
                                                    "type": "junction",
                                                    "z": "2e295f1c879e6af4",
                                                    "x": 280,
                                                    "y": 270,
                                                    "wires": [
                                                        [
                                                            "7b323a4ddca3e7c1"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "8ba39a421f5c3317",
                                                    "type": "junction",
                                                    "z": "2e295f1c879e6af4",
                                                    "x": 220,
                                                    "y": 410,
                                                    "wires": [
                                                        [
                                                            "6e55b108db47eaed",
                                                            "2b793d273b25a2f7"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "4c349095bd25378c",
                                                    "type": "ioBroker get",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "Reinigung Status",
                                                    "topic": "mihome-vacuum.1.info.state",
                                                    "attrname": "roborock",
                                                    "payloadType": "value",
                                                    "errOnInvalidState": "nothing",
                                                    "x": 600,
                                                    "y": 370,
                                                    "wires": [
                                                        [
                                                            "a95d63f2785aa847"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "4b318acc0eab7b1b",
                                                    "type": "ioBroker in",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "Bad Motion 1",
                                                    "attrname": "payload",
                                                    "topic": "hue.0.Bad_Motion_Sensor.presence",
                                                    "payloadType": "value",
                                                    "onlyack": "",
                                                    "func": "all",
                                                    "gap": "",
                                                    "fireOnStart": "false",
                                                    "outFormat": "MQTT",
                                                    "x": 130,
                                                    "y": 160,
                                                    "wires": [
                                                        [
                                                            "f2e7288278a6661f"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "9dd1e1bc2bca9ade",
                                                    "type": "ioBroker out",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "Bad Decke",
                                                    "topic": "tuya.0.bf78f027e5e33c3d76xrfe.1",
                                                    "ack": "false",
                                                    "autoCreate": "false",
                                                    "stateName": "",
                                                    "role": "",
                                                    "payloadType": "",
                                                    "readonly": "",
                                                    "stateUnit": "",
                                                    "stateMin": "",
                                                    "stateMax": "",
                                                    "x": 1020,
                                                    "y": 320,
                                                    "wires": []
                                                },
                                                {
                                                    "id": "d0ddca612599b43c",
                                                    "type": "debug",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "Bad Licht",
                                                    "active": false,
                                                    "tosidebar": true,
                                                    "console": false,
                                                    "tostatus": false,
                                                    "complete": "payload",
                                                    "targetType": "msg",
                                                    "statusVal": "",
                                                    "statusType": "auto",
                                                    "x": 1010,
                                                    "y": 370,
                                                    "wires": []
                                                },
                                                {
                                                    "id": "66e5680c9143f38f",
                                                    "type": "switch",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "Bewegung erkannt?",
                                                    "property": "payload",
                                                    "propertyType": "msg",
                                                    "rules": [
                                                        {
                                                            "t": "true"
                                                        },
                                                        {
                                                            "t": "false"
                                                        }
                                                    ],
                                                    "checkall": "true",
                                                    "repair": false,
                                                    "outputs": 2,
                                                    "x": 830,
                                                    "y": 210,
                                                    "wires": [
                                                        [
                                                            "122117be9b2af524",
                                                            "8d84f8a4c6a6a059"
                                                        ],
                                                        [
                                                            "154396f8caa9bc54",
                                                            "ee6ded06a7207f74"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "a95d63f2785aa847",
                                                    "type": "switch",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "Robi nicht Status 5",
                                                    "property": "roborock",
                                                    "propertyType": "msg",
                                                    "rules": [
                                                        {
                                                            "t": "neq",
                                                            "v": "5",
                                                            "vt": "num"
                                                        }
                                                    ],
                                                    "checkall": "true",
                                                    "repair": false,
                                                    "outputs": 1,
                                                    "x": 800,
                                                    "y": 370,
                                                    "wires": [
                                                        [
                                                            "d0ddca612599b43c",
                                                            "9dd1e1bc2bca9ade"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "2cbb19c25bdbf55d",
                                                    "type": "trigger",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "2 min. warten bevor false",
                                                    "op1": "true",
                                                    "op2": "false",
                                                    "op1type": "bool",
                                                    "op2type": "bool",
                                                    "duration": "2",
                                                    "extend": true,
                                                    "overrideDelay": false,
                                                    "units": "min",
                                                    "reset": "true",
                                                    "bytopic": "all",
                                                    "topic": "topic",
                                                    "outputs": 1,
                                                    "x": 780,
                                                    "y": 320,
                                                    "wires": [
                                                        [
                                                            "d0ddca612599b43c",
                                                            "9dd1e1bc2bca9ade"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "3d16cb434aa22482",
                                                    "type": "ioBroker get",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "Bad licht an Alexa",
                                                    "topic": "alexa2.0.Echo-Devices.G0913L06031202PA.Routines.d2b8b4a7-0faf-444d-be14-0e90a1db9e1e",
                                                    "attrname": "Alexa",
                                                    "payloadType": "object",
                                                    "errOnInvalidState": "nothing",
                                                    "x": 110,
                                                    "y": 270,
                                                    "wires": [
                                                        [
                                                            "269ad011754f07ad"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "fc25cbeee0cad617",
                                                    "type": "ioBroker out",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "Bad Decke",
                                                    "topic": "sonoff.0.bad_deckenlampe.POWER",
                                                    "ack": "false",
                                                    "autoCreate": "false",
                                                    "stateName": "",
                                                    "role": "",
                                                    "payloadType": "",
                                                    "readonly": "",
                                                    "stateUnit": "",
                                                    "stateMin": "",
                                                    "stateMax": "",
                                                    "x": 1020,
                                                    "y": 90,
                                                    "wires": []
                                                },
                                                {
                                                    "id": "4961b7defde8b1ea",
                                                    "type": "ioBroker in",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "Schalter Digital",
                                                    "attrname": "payload",
                                                    "topic": "0_userdata.0.Test_Schalter",
                                                    "payloadType": "value",
                                                    "onlyack": "",
                                                    "func": "all",
                                                    "gap": "",
                                                    "fireOnStart": "false",
                                                    "outFormat": "MQTT",
                                                    "x": 120,
                                                    "y": 40,
                                                    "wires": [
                                                        [
                                                            "536b62b8d18c6cf0"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "8abca0bad942f182",
                                                    "type": "debug",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "Bad Licht Alexa",
                                                    "active": false,
                                                    "tosidebar": true,
                                                    "console": false,
                                                    "tostatus": false,
                                                    "complete": "payload",
                                                    "targetType": "msg",
                                                    "statusVal": "",
                                                    "statusType": "auto",
                                                    "x": 1030,
                                                    "y": 50,
                                                    "wires": []
                                                },
                                                {
                                                    "id": "323cb6465fa717e5",
                                                    "type": "ioBroker in",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "Bad Motion 2",
                                                    "attrname": "payload",
                                                    "topic": "tuya.0.bf15a2489964bff33bavvv.1",
                                                    "payloadType": "value",
                                                    "onlyack": "",
                                                    "func": "all",
                                                    "gap": "",
                                                    "fireOnStart": "false",
                                                    "outFormat": "MQTT",
                                                    "x": 130,
                                                    "y": 210,
                                                    "wires": [
                                                        [
                                                            "9bdfabd4b2e4a214"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "1050671f0db85c92",
                                                    "type": "ioBroker in",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "Alexa Bad Licht an",
                                                    "attrname": "payload",
                                                    "topic": "alexa2.0.Echo-Devices.G0913L06031202PA.Routines.d2b8b4a7-0faf-444d-be14-0e90a1db9e1e",
                                                    "payloadType": "value",
                                                    "onlyack": "",
                                                    "func": "all",
                                                    "gap": "",
                                                    "fireOnStart": "false",
                                                    "outFormat": "MQTT",
                                                    "x": 110,
                                                    "y": 100,
                                                    "wires": [
                                                        [
                                                            "536b62b8d18c6cf0"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "9bdfabd4b2e4a214",
                                                    "type": "change",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "wechsel",
                                                    "rules": [
                                                        {
                                                            "t": "change",
                                                            "p": "payload",
                                                            "pt": "msg",
                                                            "from": "1",
                                                            "fromt": "str",
                                                            "to": "true",
                                                            "tot": "str"
                                                        },
                                                        {
                                                            "t": "change",
                                                            "p": "payload",
                                                            "pt": "msg",
                                                            "from": "0",
                                                            "fromt": "str",
                                                            "to": "false",
                                                            "tot": "str"
                                                        }
                                                    ],
                                                    "action": "",
                                                    "property": "",
                                                    "from": "",
                                                    "to": "",
                                                    "reg": false,
                                                    "x": 290,
                                                    "y": 210,
                                                    "wires": [
                                                        [
                                                            "7b323a4ddca3e7c1"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "122117be9b2af524",
                                                    "type": "link out",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "link out 3",
                                                    "mode": "link",
                                                    "links": [
                                                        "12526f836b7135a5",
                                                        "2f09309457a74553"
                                                    ],
                                                    "x": 965,
                                                    "y": 190,
                                                    "wires": []
                                                },
                                                {
                                                    "id": "2f09309457a74553",
                                                    "type": "link in",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "link in 3",
                                                    "links": [
                                                        "122117be9b2af524",
                                                        "154396f8caa9bc54"
                                                    ],
                                                    "x": 635,
                                                    "y": 320,
                                                    "wires": [
                                                        [
                                                            "2cbb19c25bdbf55d"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "12526f836b7135a5",
                                                    "type": "link in",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "link in 4",
                                                    "links": [
                                                        "122117be9b2af524",
                                                        "154396f8caa9bc54"
                                                    ],
                                                    "x": 475,
                                                    "y": 370,
                                                    "wires": [
                                                        [
                                                            "4c349095bd25378c"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "154396f8caa9bc54",
                                                    "type": "link out",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "link out 4",
                                                    "mode": "link",
                                                    "links": [
                                                        "2f09309457a74553",
                                                        "12526f836b7135a5"
                                                    ],
                                                    "x": 965,
                                                    "y": 230,
                                                    "wires": []
                                                },
                                                {
                                                    "id": "7b323a4ddca3e7c1",
                                                    "type": "switch",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "",
                                                    "property": "Schalter.Bad",
                                                    "propertyType": "flow",
                                                    "rules": [
                                                        {
                                                            "t": "false"
                                                        }
                                                    ],
                                                    "checkall": "true",
                                                    "repair": false,
                                                    "outputs": 1,
                                                    "x": 570,
                                                    "y": 210,
                                                    "wires": [
                                                        [
                                                            "66e5680c9143f38f"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "825a34e2e6145b1c",
                                                    "type": "ioBroker in",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "",
                                                    "attrname": "payload",
                                                    "topic": "Lichtschalter Bad",
                                                    "payloadType": "object",
                                                    "onlyack": "",
                                                    "func": "all",
                                                    "gap": "",
                                                    "fireOnStart": "false",
                                                    "outFormat": "MQTT",
                                                    "x": 90,
                                                    "y": 410,
                                                    "wires": [
                                                        [
                                                            "8ba39a421f5c3317"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "2b793d273b25a2f7",
                                                    "type": "ioBroker out",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "Bad Decke",
                                                    "topic": "tuya.0.bf78f027e5e33c3d76xrfe.1",
                                                    "ack": "false",
                                                    "autoCreate": "false",
                                                    "stateName": "",
                                                    "role": "",
                                                    "payloadType": "",
                                                    "readonly": "",
                                                    "stateUnit": "",
                                                    "stateMin": "",
                                                    "stateMax": "",
                                                    "x": 1020,
                                                    "y": 410,
                                                    "wires": []
                                                },
                                                {
                                                    "id": "50172abc4513c6cf",
                                                    "type": "debug",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "Bad Decke",
                                                    "active": true,
                                                    "tosidebar": true,
                                                    "console": false,
                                                    "tostatus": false,
                                                    "complete": "payload",
                                                    "targetType": "msg",
                                                    "statusVal": "",
                                                    "statusType": "auto",
                                                    "x": 1020,
                                                    "y": 460,
                                                    "wires": []
                                                },
                                                {
                                                    "id": "6e55b108db47eaed",
                                                    "type": "change",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "",
                                                    "rules": [
                                                        {
                                                            "t": "set",
                                                            "p": "Schalter.Bad",
                                                            "pt": "flow",
                                                            "to": "true",
                                                            "tot": "bool"
                                                        }
                                                    ],
                                                    "action": "",
                                                    "property": "",
                                                    "from": "",
                                                    "to": "",
                                                    "reg": false,
                                                    "x": 360,
                                                    "y": 450,
                                                    "wires": [
                                                        [
                                                            "4faf1ed0bf7c1af3",
                                                            "459460393409f607"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "4faf1ed0bf7c1af3",
                                                    "type": "trigger",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "30 min.",
                                                    "op1": "",
                                                    "op2": "false",
                                                    "op1type": "nul",
                                                    "op2type": "bool",
                                                    "duration": "30",
                                                    "extend": true,
                                                    "overrideDelay": false,
                                                    "units": "min",
                                                    "reset": "",
                                                    "bytopic": "all",
                                                    "topic": "topic",
                                                    "outputs": 1,
                                                    "x": 570,
                                                    "y": 450,
                                                    "wires": [
                                                        [
                                                            "f65257011e0b574c"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "f65257011e0b574c",
                                                    "type": "change",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "",
                                                    "rules": [
                                                        {
                                                            "t": "set",
                                                            "p": "Schalter.Bad",
                                                            "pt": "flow",
                                                            "to": "false",
                                                            "tot": "bool"
                                                        }
                                                    ],
                                                    "action": "",
                                                    "property": "",
                                                    "from": "",
                                                    "to": "",
                                                    "reg": false,
                                                    "x": 780,
                                                    "y": 450,
                                                    "wires": [
                                                        [
                                                            "50172abc4513c6cf",
                                                            "2b793d273b25a2f7"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "d4d742934b195768",
                                                    "type": "inject",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "Aus",
                                                    "props": [
                                                        {
                                                            "p": "payload"
                                                        },
                                                        {
                                                            "p": "topic",
                                                            "vt": "str"
                                                        }
                                                    ],
                                                    "repeat": "",
                                                    "crontab": "",
                                                    "once": false,
                                                    "onceDelay": 0.1,
                                                    "topic": "",
                                                    "payload": "false",
                                                    "payloadType": "bool",
                                                    "x": 110,
                                                    "y": 330,
                                                    "wires": [
                                                        [
                                                            "8ba39a421f5c3317"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "34a6d988e012a62b",
                                                    "type": "inject",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "An",
                                                    "props": [
                                                        {
                                                            "p": "payload"
                                                        },
                                                        {
                                                            "p": "topic",
                                                            "vt": "str"
                                                        }
                                                    ],
                                                    "repeat": "",
                                                    "crontab": "",
                                                    "once": false,
                                                    "onceDelay": 0.1,
                                                    "topic": "",
                                                    "payload": "true",
                                                    "payloadType": "bool",
                                                    "x": 110,
                                                    "y": 370,
                                                    "wires": [
                                                        [
                                                            "8ba39a421f5c3317"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "e87a827d28e70510",
                                                    "type": "inject",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "Test",
                                                    "props": [
                                                        {
                                                            "p": "payload"
                                                        }
                                                    ],
                                                    "repeat": "",
                                                    "crontab": "",
                                                    "once": false,
                                                    "onceDelay": 0.1,
                                                    "topic": "",
                                                    "payload": "Testnachricht",
                                                    "payloadType": "str",
                                                    "x": 100,
                                                    "y": 690,
                                                    "wires": [
                                                        [
                                                            "9d948843920ee33a"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "9d948843920ee33a",
                                                    "type": "switch",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "",
                                                    "property": "Schalter.Bad",
                                                    "propertyType": "flow",
                                                    "rules": [
                                                        {
                                                            "t": "false"
                                                        }
                                                    ],
                                                    "checkall": "true",
                                                    "repair": false,
                                                    "outputs": 1,
                                                    "x": 240,
                                                    "y": 690,
                                                    "wires": [
                                                        [
                                                            "99f14be7d03a378b"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "038ffeeb65c24042",
                                                    "type": "inject",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "",
                                                    "props": [
                                                        {
                                                            "p": "payload"
                                                        },
                                                        {
                                                            "p": "topic",
                                                            "vt": "str"
                                                        }
                                                    ],
                                                    "repeat": "",
                                                    "crontab": "",
                                                    "once": false,
                                                    "onceDelay": 0.1,
                                                    "topic": "",
                                                    "payload": "true",
                                                    "payloadType": "bool",
                                                    "x": 100,
                                                    "y": 550,
                                                    "wires": [
                                                        [
                                                            "6a701a0ddc9134ff"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "99f14be7d03a378b",
                                                    "type": "debug",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "Wenn Schalter.Bad = false",
                                                    "active": true,
                                                    "tosidebar": true,
                                                    "console": false,
                                                    "tostatus": false,
                                                    "complete": "payload",
                                                    "targetType": "msg",
                                                    "statusVal": "",
                                                    "statusType": "auto",
                                                    "x": 470,
                                                    "y": 690,
                                                    "wires": []
                                                },
                                                {
                                                    "id": "643b86ca80c69a9f",
                                                    "type": "inject",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "",
                                                    "props": [
                                                        {
                                                            "p": "payload"
                                                        },
                                                        {
                                                            "p": "topic",
                                                            "vt": "str"
                                                        }
                                                    ],
                                                    "repeat": "",
                                                    "crontab": "",
                                                    "once": false,
                                                    "onceDelay": 0.1,
                                                    "topic": "",
                                                    "payload": "false",
                                                    "payloadType": "bool",
                                                    "x": 100,
                                                    "y": 590,
                                                    "wires": [
                                                        [
                                                            "6a701a0ddc9134ff"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "6a701a0ddc9134ff",
                                                    "type": "change",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "",
                                                    "rules": [
                                                        {
                                                            "t": "set",
                                                            "p": "Schalter.Bad",
                                                            "pt": "flow",
                                                            "to": "payload",
                                                            "tot": "msg"
                                                        }
                                                    ],
                                                    "action": "",
                                                    "property": "",
                                                    "from": "",
                                                    "to": "",
                                                    "reg": false,
                                                    "x": 300,
                                                    "y": 570,
                                                    "wires": [
                                                        [
                                                            "c2a0db80f3f9efba"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "c2a0db80f3f9efba",
                                                    "type": "debug",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "debug 2",
                                                    "active": true,
                                                    "tosidebar": true,
                                                    "console": false,
                                                    "tostatus": false,
                                                    "complete": "false",
                                                    "statusVal": "",
                                                    "statusType": "auto",
                                                    "x": 540,
                                                    "y": 570,
                                                    "wires": []
                                                },
                                                {
                                                    "id": "459460393409f607",
                                                    "type": "debug",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "debug 3",
                                                    "active": true,
                                                    "tosidebar": true,
                                                    "console": false,
                                                    "tostatus": false,
                                                    "complete": "false",
                                                    "statusVal": "",
                                                    "statusType": "auto",
                                                    "x": 560,
                                                    "y": 500,
                                                    "wires": []
                                                },
                                                {
                                                    "id": "8d84f8a4c6a6a059",
                                                    "type": "debug",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "true bewegung",
                                                    "active": true,
                                                    "tosidebar": true,
                                                    "console": false,
                                                    "tostatus": false,
                                                    "complete": "payload",
                                                    "targetType": "msg",
                                                    "statusVal": "",
                                                    "statusType": "auto",
                                                    "x": 1130,
                                                    "y": 180,
                                                    "wires": []
                                                },
                                                {
                                                    "id": "ee6ded06a7207f74",
                                                    "type": "debug",
                                                    "z": "2e295f1c879e6af4",
                                                    "name": "false bewegung",
                                                    "active": true,
                                                    "tosidebar": true,
                                                    "console": false,
                                                    "tostatus": false,
                                                    "complete": "payload",
                                                    "targetType": "msg",
                                                    "statusVal": "",
                                                    "statusType": "auto",
                                                    "x": 1130,
                                                    "y": 250,
                                                    "wires": []
                                                }
                                            ]
                                            

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            464
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            216
                                            15506
                                            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