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

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    2 Bewegungsmelder (Aqara) sollen einen Lampe schalten

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

      aber wie gesagt habe überall debug nodes hinter das licht geht nach kurzer Zeit wieder von alleine an es kommt nichts im debug und keine timer werden eingeschaltet. und im Tuya Gerät hab ich standard switch mode ist off

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

        @aphofis Dann kappe einfach das Kabel zu den iobroker out Nodes - wenn dann noch ein Licht angeht, dann ist es nicht NOdeRed oder ein anderer Flow.

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

          @mickym so habe die In node jetzt so eingestellt.
          Jetzt bleibt die Lampe aus bis BWM ode Lcihtschaltet aktiviert wird.
          Sind die einstellungen OK so !?
          Screenshot 2024-08-22 224331.png

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

            @aphofis

            Ja das ist schon OK - das hätte bedeutet, dass der Schalter mehrfach den Datenpunkt aktualisiert hat und insofern getriggert hat. (Hättest Du aber an einem Debug Node sehen müssen, wenn Du diesen direkt an die iobroker IN Node klemmst. Nun filtert die Node, dass nur noch Wertänderungen durchkommen. Das ist OK - aber wie gesagt, dass müsstest Du an einer Debug Node erkennen müssen, die direkt an der iobroker-IN Node klemmt.

            Also das ist OK - weil nun halt nur noch Wertänderungen triggern.

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

              @mickym an die In Node habe ich natürlich keine Debug gehängt.

              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 an die In Node habe ich natürlich keine Debug gehängt.

                Ja das ist aber wichtig, um zu erkennen, ob der Datenpunkt Dauerfeuer gibt. Aber nun hast Du ja auf Wertänderungen gefiltert. Das ist OK - und wie gesagt, dass hängt halt von der Hardware ab.

                Wenn man mit der Fehlersuche beginnt, beginnt man immer ganz vorne am Trigger und arbeitet sich dann nach hinten und schaut, ob das erwartete Ergebnis kommt oder die Nachrichten verschluckt werden.

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

                  @mickym für die Zukunft, fange ich vorne an.
                  War noch ein Fehler, hatte den kompletten Flow kopiert für die Küche und eine out node stand noch auf das Tuya Gerät vom Badlichtschalter. Dann kann das auch nicht laufen. War also ein fehler meinerseits.

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

                    Ich sage mal Gute Nacht!

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

                      @aphofis Ja dann schlaf mal gut

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

                        @mickym Danke war etwas kurze Nacht.
                        Irgendwas ist falsch ! Ich finde nur leider den Fehler nicht.
                        Screenshot 2024-08-23 203831.png

                        Screenshot 2024-08-23 203849.png

                        Screenshot 2024-08-23 204030.png

                        [
                            {
                                "id": "bdb8569551b07cea",
                                "type": "tab",
                                "label": "Küche Motion",
                                "disabled": true,
                                "info": "",
                                "env": []
                            },
                            {
                                "id": "bca6cf9871919f25",
                                "type": "junction",
                                "z": "bdb8569551b07cea",
                                "x": 870,
                                "y": 90,
                                "wires": [
                                    [
                                        "db31d57bf0340f42",
                                        "735244c31aebf3c3",
                                        "65b2f06bdc6d6a99",
                                        "41f2cab540ed205d"
                                    ]
                                ]
                            },
                            {
                                "id": "35c7b6145d426c75",
                                "type": "junction",
                                "z": "bdb8569551b07cea",
                                "x": 260,
                                "y": 90,
                                "wires": [
                                    [
                                        "bca6cf9871919f25"
                                    ]
                                ]
                            },
                            {
                                "id": "e51c551cbaef2add",
                                "type": "junction",
                                "z": "bdb8569551b07cea",
                                "x": 190,
                                "y": 580,
                                "wires": [
                                    [
                                        "4547deb06e3089c8",
                                        "bde4428b16ac37d8"
                                    ]
                                ]
                            },
                            {
                                "id": "bde4428b16ac37d8",
                                "type": "junction",
                                "z": "bdb8569551b07cea",
                                "x": 870,
                                "y": 580,
                                "wires": [
                                    [
                                        "0e39b42e28d9c4b2",
                                        "7b02a1107aeafc13",
                                        "c24747a342fcf6a5",
                                        "7132ea29c42ebd7f"
                                    ]
                                ]
                            },
                            {
                                "id": "94462e1d2bd6f11c",
                                "type": "junction",
                                "z": "bdb8569551b07cea",
                                "x": 880,
                                "y": 280,
                                "wires": [
                                    [
                                        "b62a640fe697beeb",
                                        "7c8261495d0c6d03",
                                        "78eb18795197f387",
                                        "2e260dca909fb769"
                                    ]
                                ]
                            },
                            {
                                "id": "1eb7ecedcffa3d29",
                                "type": "junction",
                                "z": "bdb8569551b07cea",
                                "x": 880,
                                "y": 320,
                                "wires": [
                                    [
                                        "2e260dca909fb769",
                                        "78eb18795197f387",
                                        "7c8261495d0c6d03",
                                        "b62a640fe697beeb"
                                    ]
                                ]
                            },
                            {
                                "id": "41f2cab540ed205d",
                                "type": "ioBroker out",
                                "z": "bdb8569551b07cea",
                                "name": "Küche Unters. links",
                                "topic": "hue.0.Küche_Unterschr_Links.on",
                                "ack": "false",
                                "autoCreate": "false",
                                "stateName": "",
                                "role": "",
                                "payloadType": "",
                                "readonly": "",
                                "stateUnit": "",
                                "stateMin": "",
                                "stateMax": "",
                                "x": 1030,
                                "y": 20,
                                "wires": []
                            },
                            {
                                "id": "65b2f06bdc6d6a99",
                                "type": "ioBroker out",
                                "z": "bdb8569551b07cea",
                                "name": "Küche Unters. rechts",
                                "topic": "sonoff.0.kueche_unterschrank_rechts.POWER",
                                "ack": "false",
                                "autoCreate": "false",
                                "stateName": "",
                                "role": "",
                                "payloadType": "",
                                "readonly": "",
                                "stateUnit": "",
                                "stateMin": "",
                                "stateMax": "",
                                "x": 1040,
                                "y": 70,
                                "wires": []
                            },
                            {
                                "id": "735244c31aebf3c3",
                                "type": "ioBroker out",
                                "z": "bdb8569551b07cea",
                                "name": "Küche Decke",
                                "topic": "tuya.0.bfa31f81841589e9aerhgk.1",
                                "ack": "false",
                                "autoCreate": "false",
                                "stateName": "",
                                "role": "",
                                "payloadType": "",
                                "readonly": "",
                                "stateUnit": "",
                                "stateMin": "",
                                "stateMax": "",
                                "x": 1010,
                                "y": 120,
                                "wires": []
                            },
                            {
                                "id": "db31d57bf0340f42",
                                "type": "debug",
                                "z": "bdb8569551b07cea",
                                "name": "Küche Decke Alexa",
                                "active": false,
                                "tosidebar": true,
                                "console": false,
                                "tostatus": false,
                                "complete": "payload",
                                "targetType": "msg",
                                "statusVal": "",
                                "statusType": "auto",
                                "x": 1030,
                                "y": 170,
                                "wires": []
                            },
                            {
                                "id": "da3fde9e0c9736b6",
                                "type": "ioBroker get",
                                "z": "bdb8569551b07cea",
                                "name": "Reinigung Status",
                                "topic": "mihome-vacuum.1.info.state",
                                "attrname": "roborock",
                                "payloadType": "value",
                                "errOnInvalidState": "nothing",
                                "x": 570,
                                "y": 320,
                                "wires": [
                                    [
                                        "afd835ed44895975"
                                    ]
                                ]
                            },
                            {
                                "id": "7647b5aa74f8d105",
                                "type": "ioBroker in",
                                "z": "bdb8569551b07cea",
                                "name": "Küche Motion",
                                "attrname": "payload",
                                "topic": "hue.0.Küche_Motion_Sensor.presence",
                                "payloadType": "value",
                                "onlyack": "",
                                "func": "all",
                                "gap": "",
                                "fireOnStart": "false",
                                "outFormat": "MQTT",
                                "x": 150,
                                "y": 180,
                                "wires": [
                                    [
                                        "8f7b11ac83f34587"
                                    ]
                                ]
                            },
                            {
                                "id": "0fc9800b73f04220",
                                "type": "switch",
                                "z": "bdb8569551b07cea",
                                "name": "Bewegung erkannt?",
                                "property": "payload",
                                "propertyType": "msg",
                                "rules": [
                                    {
                                        "t": "true"
                                    },
                                    {
                                        "t": "false"
                                    }
                                ],
                                "checkall": "true",
                                "repair": false,
                                "outputs": 2,
                                "x": 490,
                                "y": 180,
                                "wires": [
                                    [
                                        "4252c4b0bb26b245"
                                    ],
                                    [
                                        "b5a1ea7e80072ef6"
                                    ]
                                ]
                            },
                            {
                                "id": "afd835ed44895975",
                                "type": "switch",
                                "z": "bdb8569551b07cea",
                                "name": "Robi nicht Status 5",
                                "property": "roborock",
                                "propertyType": "msg",
                                "rules": [
                                    {
                                        "t": "neq",
                                        "v": "5",
                                        "vt": "num"
                                    }
                                ],
                                "checkall": "true",
                                "repair": false,
                                "outputs": 1,
                                "x": 770,
                                "y": 320,
                                "wires": [
                                    [
                                        "1eb7ecedcffa3d29"
                                    ]
                                ]
                            },
                            {
                                "id": "f4a99c65ee36014d",
                                "type": "trigger",
                                "z": "bdb8569551b07cea",
                                "name": "2 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": 750,
                                "y": 280,
                                "wires": [
                                    [
                                        "94462e1d2bd6f11c"
                                    ]
                                ]
                            },
                            {
                                "id": "22c3cf1f0ee2df96",
                                "type": "ioBroker in",
                                "z": "bdb8569551b07cea",
                                "name": "Schalter Digital",
                                "attrname": "payload",
                                "topic": "tuya.0.bfa31f81841589e9aerhgk.1",
                                "payloadType": "value",
                                "onlyack": "",
                                "func": "all",
                                "gap": "",
                                "fireOnStart": "false",
                                "outFormat": "MQTT",
                                "x": 140,
                                "y": 60,
                                "wires": [
                                    [
                                        "35c7b6145d426c75"
                                    ]
                                ]
                            },
                            {
                                "id": "d3d6a34b6f224fa3",
                                "type": "ioBroker in",
                                "z": "bdb8569551b07cea",
                                "name": "Alexa Küche Licht an",
                                "attrname": "payload",
                                "topic": "alexa2.0.Echo-Devices.G0913L06031202PA.Routines.b3634834-802f-48e1-b1b2-6e460623c7f3",
                                "payloadType": "value",
                                "onlyack": "",
                                "func": "all",
                                "gap": "",
                                "fireOnStart": "false",
                                "outFormat": "MQTT",
                                "x": 120,
                                "y": 120,
                                "wires": [
                                    [
                                        "35c7b6145d426c75"
                                    ]
                                ]
                            },
                            {
                                "id": "4252c4b0bb26b245",
                                "type": "link out",
                                "z": "bdb8569551b07cea",
                                "name": "link out 5",
                                "mode": "link",
                                "links": [
                                    "49203dd9fe66cdc6",
                                    "e4af16cdcb5efadf"
                                ],
                                "x": 635,
                                "y": 160,
                                "wires": []
                            },
                            {
                                "id": "e4af16cdcb5efadf",
                                "type": "link in",
                                "z": "bdb8569551b07cea",
                                "name": "link in 5",
                                "links": [
                                    "4252c4b0bb26b245",
                                    "b5a1ea7e80072ef6"
                                ],
                                "x": 605,
                                "y": 280,
                                "wires": [
                                    [
                                        "f4a99c65ee36014d"
                                    ]
                                ]
                            },
                            {
                                "id": "49203dd9fe66cdc6",
                                "type": "link in",
                                "z": "bdb8569551b07cea",
                                "name": "link in 6",
                                "links": [
                                    "4252c4b0bb26b245",
                                    "b5a1ea7e80072ef6"
                                ],
                                "x": 445,
                                "y": 320,
                                "wires": [
                                    [
                                        "da3fde9e0c9736b6"
                                    ]
                                ]
                            },
                            {
                                "id": "b5a1ea7e80072ef6",
                                "type": "link out",
                                "z": "bdb8569551b07cea",
                                "name": "link out 6",
                                "mode": "link",
                                "links": [
                                    "e4af16cdcb5efadf",
                                    "49203dd9fe66cdc6"
                                ],
                                "x": 635,
                                "y": 200,
                                "wires": []
                            },
                            {
                                "id": "8f7b11ac83f34587",
                                "type": "switch",
                                "z": "bdb8569551b07cea",
                                "name": "",
                                "property": "Schalter.Kueche",
                                "propertyType": "flow",
                                "rules": [
                                    {
                                        "t": "false"
                                    }
                                ],
                                "checkall": "true",
                                "repair": false,
                                "outputs": 1,
                                "x": 320,
                                "y": 180,
                                "wires": [
                                    [
                                        "0fc9800b73f04220"
                                    ]
                                ]
                            },
                            {
                                "id": "4547deb06e3089c8",
                                "type": "change",
                                "z": "bdb8569551b07cea",
                                "name": "Küche true",
                                "rules": [
                                    {
                                        "t": "set",
                                        "p": "Schalter.Kueche",
                                        "pt": "flow",
                                        "to": "true",
                                        "tot": "bool"
                                    }
                                ],
                                "action": "",
                                "property": "",
                                "from": "",
                                "to": "",
                                "reg": false,
                                "x": 360,
                                "y": 610,
                                "wires": [
                                    [
                                        "9feb2c5809b9329a"
                                    ]
                                ]
                            },
                            {
                                "id": "9feb2c5809b9329a",
                                "type": "trigger",
                                "z": "bdb8569551b07cea",
                                "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": 520,
                                "y": 610,
                                "wires": [
                                    [
                                        "1ab54ef2e7d8f8f9"
                                    ]
                                ]
                            },
                            {
                                "id": "1ab54ef2e7d8f8f9",
                                "type": "change",
                                "z": "bdb8569551b07cea",
                                "name": "",
                                "rules": [
                                    {
                                        "t": "set",
                                        "p": "Schalter.Kueche",
                                        "pt": "flow",
                                        "to": "false",
                                        "tot": "bool"
                                    }
                                ],
                                "action": "",
                                "property": "",
                                "from": "",
                                "to": "",
                                "reg": false,
                                "x": 730,
                                "y": 610,
                                "wires": [
                                    [
                                        "bde4428b16ac37d8"
                                    ]
                                ]
                            },
                            {
                                "id": "068209292b2d6e74",
                                "type": "inject",
                                "z": "bdb8569551b07cea",
                                "name": "",
                                "props": [
                                    {
                                        "p": "payload"
                                    },
                                    {
                                        "p": "topic",
                                        "vt": "str"
                                    }
                                ],
                                "repeat": "",
                                "crontab": "",
                                "once": false,
                                "onceDelay": 0.1,
                                "topic": "",
                                "payload": "false",
                                "payloadType": "bool",
                                "x": 710,
                                "y": 50,
                                "wires": [
                                    [
                                        "bca6cf9871919f25"
                                    ]
                                ]
                            },
                            {
                                "id": "81f4495b75d3375b",
                                "type": "inject",
                                "z": "bdb8569551b07cea",
                                "name": "",
                                "props": [
                                    {
                                        "p": "payload"
                                    },
                                    {
                                        "p": "topic",
                                        "vt": "str"
                                    }
                                ],
                                "repeat": "",
                                "crontab": "",
                                "once": false,
                                "onceDelay": 0.1,
                                "topic": "",
                                "payload": "true",
                                "payloadType": "bool",
                                "x": 710,
                                "y": 120,
                                "wires": [
                                    [
                                        "bca6cf9871919f25"
                                    ]
                                ]
                            },
                            {
                                "id": "780b6913d8225714",
                                "type": "inject",
                                "z": "bdb8569551b07cea",
                                "name": "",
                                "props": [
                                    {
                                        "p": "payload"
                                    },
                                    {
                                        "p": "topic",
                                        "vt": "str"
                                    }
                                ],
                                "repeat": "",
                                "crontab": "",
                                "once": false,
                                "onceDelay": 0.1,
                                "topic": "",
                                "payload": "true",
                                "payloadType": "bool",
                                "x": 90,
                                "y": 530,
                                "wires": [
                                    [
                                        "e51c551cbaef2add"
                                    ]
                                ]
                            },
                            {
                                "id": "d6b7e12a314ea547",
                                "type": "inject",
                                "z": "bdb8569551b07cea",
                                "name": "",
                                "props": [
                                    {
                                        "p": "payload"
                                    },
                                    {
                                        "p": "topic",
                                        "vt": "str"
                                    }
                                ],
                                "repeat": "",
                                "crontab": "",
                                "once": false,
                                "onceDelay": 0.1,
                                "topic": "",
                                "payload": "false",
                                "payloadType": "bool",
                                "x": 90,
                                "y": 630,
                                "wires": [
                                    [
                                        "e51c551cbaef2add"
                                    ]
                                ]
                            },
                            {
                                "id": "cbfef8605cda1ae4",
                                "type": "ioBroker in",
                                "z": "bdb8569551b07cea",
                                "name": "Küche",
                                "attrname": "payload",
                                "topic": "tuya.0.bfa31f81841589e9aerhgk.1",
                                "payloadType": "value",
                                "onlyack": "",
                                "func": "rbe",
                                "gap": "",
                                "fireOnStart": "false",
                                "outFormat": "MQTT",
                                "x": 90,
                                "y": 580,
                                "wires": [
                                    [
                                        "e51c551cbaef2add"
                                    ]
                                ]
                            },
                            {
                                "id": "0e39b42e28d9c4b2",
                                "type": "ioBroker out",
                                "z": "bdb8569551b07cea",
                                "name": "Küche Unters. links",
                                "topic": "hue.0.Küche_Unterschr_Links.on",
                                "ack": "false",
                                "autoCreate": "false",
                                "stateName": "",
                                "role": "",
                                "payloadType": "",
                                "readonly": "",
                                "stateUnit": "",
                                "stateMin": "",
                                "stateMax": "",
                                "x": 1030,
                                "y": 510,
                                "wires": []
                            },
                            {
                                "id": "7b02a1107aeafc13",
                                "type": "ioBroker out",
                                "z": "bdb8569551b07cea",
                                "name": "Küche Unters. rechts",
                                "topic": "sonoff.0.kueche_unterschrank_rechts.POWER",
                                "ack": "false",
                                "autoCreate": "false",
                                "stateName": "",
                                "role": "",
                                "payloadType": "",
                                "readonly": "",
                                "stateUnit": "",
                                "stateMin": "",
                                "stateMax": "",
                                "x": 1040,
                                "y": 560,
                                "wires": []
                            },
                            {
                                "id": "c24747a342fcf6a5",
                                "type": "ioBroker out",
                                "z": "bdb8569551b07cea",
                                "name": "Küche Decke",
                                "topic": "tuya.0.bfa31f81841589e9aerhgk.1",
                                "ack": "false",
                                "autoCreate": "false",
                                "stateName": "",
                                "role": "",
                                "payloadType": "",
                                "readonly": "",
                                "stateUnit": "",
                                "stateMin": "",
                                "stateMax": "",
                                "x": 1010,
                                "y": 610,
                                "wires": []
                            },
                            {
                                "id": "7132ea29c42ebd7f",
                                "type": "debug",
                                "z": "bdb8569551b07cea",
                                "name": "Küche Decke Alexa",
                                "active": false,
                                "tosidebar": true,
                                "console": false,
                                "tostatus": false,
                                "complete": "payload",
                                "targetType": "msg",
                                "statusVal": "",
                                "statusType": "auto",
                                "x": 1030,
                                "y": 660,
                                "wires": []
                            },
                            {
                                "id": "b62a640fe697beeb",
                                "type": "ioBroker out",
                                "z": "bdb8569551b07cea",
                                "name": "Küche Unters. links",
                                "topic": "hue.0.Küche_Unterschr_Links.on",
                                "ack": "false",
                                "autoCreate": "false",
                                "stateName": "",
                                "role": "",
                                "payloadType": "",
                                "readonly": "",
                                "stateUnit": "",
                                "stateMin": "",
                                "stateMax": "",
                                "x": 1030,
                                "y": 220,
                                "wires": []
                            },
                            {
                                "id": "7c8261495d0c6d03",
                                "type": "ioBroker out",
                                "z": "bdb8569551b07cea",
                                "name": "Küche Unters. rechts",
                                "topic": "sonoff.0.kueche_unterschrank_rechts.POWER",
                                "ack": "false",
                                "autoCreate": "false",
                                "stateName": "",
                                "role": "",
                                "payloadType": "",
                                "readonly": "",
                                "stateUnit": "",
                                "stateMin": "",
                                "stateMax": "",
                                "x": 1040,
                                "y": 270,
                                "wires": []
                            },
                            {
                                "id": "78eb18795197f387",
                                "type": "ioBroker out",
                                "z": "bdb8569551b07cea",
                                "name": "Küche Decke",
                                "topic": "tuya.0.bfa31f81841589e9aerhgk.1",
                                "ack": "false",
                                "autoCreate": "false",
                                "stateName": "",
                                "role": "",
                                "payloadType": "",
                                "readonly": "",
                                "stateUnit": "",
                                "stateMin": "",
                                "stateMax": "",
                                "x": 1010,
                                "y": 320,
                                "wires": []
                            },
                            {
                                "id": "2e260dca909fb769",
                                "type": "debug",
                                "z": "bdb8569551b07cea",
                                "name": "Küche Decke Alexa",
                                "active": false,
                                "tosidebar": true,
                                "console": false,
                                "tostatus": false,
                                "complete": "payload",
                                "targetType": "msg",
                                "statusVal": "",
                                "statusType": "auto",
                                "x": 1030,
                                "y": 370,
                                "wires": []
                            }
                        ]
                        

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

                          @mickym Fehler gefunden warum da so ein wirrwarr war. Ist sogar kompletter Iobroker stehen geblieben.
                          Schaltung läuft jetzt prima. Nur wenn durch den BWM wieder bewegung ist, bleibt das Licht nicht nicht an. Gibt es da eine Funktion um das zu realisieren !?

                          Screenshot 2024-08-24 101551.png

                          [
                              {
                                  "id": "f40fbc4eb5ac4f7a",
                                  "type": "tab",
                                  "label": "Flow 1",
                                  "disabled": false,
                                  "info": "",
                                  "env": []
                              },
                              {
                                  "id": "08699ecfd70dac2b",
                                  "type": "junction",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "x": 870,
                                  "y": 380,
                                  "wires": [
                                      [
                                          "272c68c48b983a80",
                                          "bc55ed0b25fe4b53",
                                          "206e333fba3e9345",
                                          "fde5bfcbe527b1e3"
                                      ]
                                  ]
                              },
                              {
                                  "id": "46a4e1c8d54791e4",
                                  "type": "junction",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "x": 870,
                                  "y": 430,
                                  "wires": [
                                      [
                                          "fde5bfcbe527b1e3",
                                          "206e333fba3e9345",
                                          "bc55ed0b25fe4b53",
                                          "272c68c48b983a80"
                                      ]
                                  ]
                              },
                              {
                                  "id": "63524b08cb45c082",
                                  "type": "junction",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "x": 200,
                                  "y": 620,
                                  "wires": [
                                      [
                                          "bbe47e797e5bd352",
                                          "8dbccd4f1d2e0ecb"
                                      ]
                                  ]
                              },
                              {
                                  "id": "8dbccd4f1d2e0ecb",
                                  "type": "junction",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "x": 880,
                                  "y": 620,
                                  "wires": [
                                      [
                                          "41b9b7b005fa10ac",
                                          "f02fa0a2b26d552d",
                                          "e217fc94bf0d9975",
                                          "2e321d0e71773ba9"
                                      ]
                                  ]
                              },
                              {
                                  "id": "c4e6460f4f7c8f66",
                                  "type": "junction",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "x": 520,
                                  "y": 130,
                                  "wires": [
                                      [
                                          "f79f0e9e71834a0c"
                                      ]
                                  ]
                              },
                              {
                                  "id": "fa53ed196e913e9c",
                                  "type": "junction",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "x": 520,
                                  "y": 180,
                                  "wires": [
                                      [
                                          "0e407ef78ff6390a"
                                      ]
                                  ]
                              },
                              {
                                  "id": "9108a39567622628",
                                  "type": "ioBroker in",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "Küche",
                                  "attrname": "payload",
                                  "topic": "tuya.0.bfa31f81841589e9aerhgk.1",
                                  "payloadType": "value",
                                  "onlyack": "",
                                  "func": "rbe",
                                  "gap": "",
                                  "fireOnStart": "false",
                                  "outFormat": "MQTT",
                                  "x": 100,
                                  "y": 160,
                                  "wires": [
                                      [
                                          "e021122ea39cc1ae"
                                      ]
                                  ]
                              },
                              {
                                  "id": "f79f0e9e71834a0c",
                                  "type": "debug",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "Küche manuell",
                                  "active": true,
                                  "tosidebar": true,
                                  "console": false,
                                  "tostatus": false,
                                  "complete": "payload",
                                  "targetType": "msg",
                                  "statusVal": "",
                                  "statusType": "auto",
                                  "x": 1040,
                                  "y": 130,
                                  "wires": []
                              },
                              {
                                  "id": "e8e8081d727ee5cd",
                                  "type": "function",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "true",
                                  "func": "true\nreturn msg;",
                                  "outputs": 1,
                                  "timeout": 0,
                                  "noerr": 0,
                                  "initialize": "",
                                  "finalize": "",
                                  "libs": [],
                                  "x": 420,
                                  "y": 130,
                                  "wires": [
                                      [
                                          "c4e6460f4f7c8f66",
                                          "fa53ed196e913e9c"
                                      ]
                                  ]
                              },
                              {
                                  "id": "975e6dc6d439cdd9",
                                  "type": "function",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "false",
                                  "func": "false\nreturn msg;",
                                  "outputs": 1,
                                  "timeout": 0,
                                  "noerr": 0,
                                  "initialize": "",
                                  "finalize": "",
                                  "libs": [],
                                  "x": 420,
                                  "y": 180,
                                  "wires": [
                                      [
                                          "c4e6460f4f7c8f66",
                                          "fa53ed196e913e9c"
                                      ]
                                  ]
                              },
                              {
                                  "id": "e021122ea39cc1ae",
                                  "type": "switch",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "An/Aus",
                                  "property": "payload",
                                  "propertyType": "msg",
                                  "rules": [
                                      {
                                          "t": "true"
                                      },
                                      {
                                          "t": "false"
                                      }
                                  ],
                                  "checkall": "true",
                                  "repair": false,
                                  "outputs": 2,
                                  "x": 270,
                                  "y": 160,
                                  "wires": [
                                      [
                                          "e8e8081d727ee5cd"
                                      ],
                                      [
                                          "975e6dc6d439cdd9"
                                      ]
                                  ]
                              },
                              {
                                  "id": "e9b338134fd47b01",
                                  "type": "inject",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "true",
                                  "props": [
                                      {
                                          "p": "payload"
                                      },
                                      {
                                          "p": "topic",
                                          "vt": "str"
                                      }
                                  ],
                                  "repeat": "",
                                  "crontab": "",
                                  "once": false,
                                  "onceDelay": 0.1,
                                  "topic": "",
                                  "payload": "true",
                                  "payloadType": "bool",
                                  "x": 100,
                                  "y": 120,
                                  "wires": [
                                      [
                                          "e021122ea39cc1ae"
                                      ]
                                  ]
                              },
                              {
                                  "id": "9eba54f2d3f608ae",
                                  "type": "inject",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "false",
                                  "props": [
                                      {
                                          "p": "payload"
                                      },
                                      {
                                          "p": "topic",
                                          "vt": "str"
                                      }
                                  ],
                                  "repeat": "",
                                  "crontab": "",
                                  "once": false,
                                  "onceDelay": 0.1,
                                  "topic": "",
                                  "payload": "false",
                                  "payloadType": "bool",
                                  "x": 100,
                                  "y": 210,
                                  "wires": [
                                      [
                                          "e021122ea39cc1ae"
                                      ]
                                  ]
                              },
                              {
                                  "id": "51bf3002fa7d360f",
                                  "type": "ioBroker get",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "Status",
                                  "topic": "mihome-vacuum.1.info.state",
                                  "attrname": "roborock",
                                  "payloadType": "value",
                                  "errOnInvalidState": "nothing",
                                  "x": 570,
                                  "y": 430,
                                  "wires": [
                                      [
                                          "c477284196deb6ad"
                                      ]
                                  ]
                              },
                              {
                                  "id": "c477284196deb6ad",
                                  "type": "switch",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "Robi nicht 5",
                                  "property": "roborock",
                                  "propertyType": "msg",
                                  "rules": [
                                      {
                                          "t": "neq",
                                          "v": "5",
                                          "vt": "num"
                                      }
                                  ],
                                  "checkall": "true",
                                  "repair": false,
                                  "outputs": 1,
                                  "x": 710,
                                  "y": 430,
                                  "wires": [
                                      [
                                          "46a4e1c8d54791e4"
                                      ]
                                  ]
                              },
                              {
                                  "id": "1956453b80f029b4",
                                  "type": "trigger",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "2 min. warten bevor false",
                                  "op1": "",
                                  "op2": "false",
                                  "op1type": "nul",
                                  "op2type": "bool",
                                  "duration": "10",
                                  "extend": true,
                                  "overrideDelay": false,
                                  "units": "s",
                                  "reset": "",
                                  "bytopic": "all",
                                  "topic": "topic",
                                  "outputs": 1,
                                  "x": 630,
                                  "y": 380,
                                  "wires": [
                                      [
                                          "08699ecfd70dac2b"
                                      ]
                                  ]
                              },
                              {
                                  "id": "bc55ed0b25fe4b53",
                                  "type": "ioBroker out",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "Küche Unters. rechts",
                                  "topic": "alexa2.0.Smart-Home-Devices.44f9d510-3bd4-4120-9095-758e63529f91.powerState",
                                  "ack": "false",
                                  "autoCreate": "false",
                                  "stateName": "",
                                  "role": "",
                                  "payloadType": "",
                                  "readonly": "",
                                  "stateUnit": "",
                                  "stateMin": "",
                                  "stateMax": "",
                                  "x": 1060,
                                  "y": 370,
                                  "wires": []
                              },
                              {
                                  "id": "206e333fba3e9345",
                                  "type": "ioBroker out",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "Küche Decke",
                                  "topic": "tuya.0.bfa31f81841589e9aerhgk.1",
                                  "ack": "false",
                                  "autoCreate": "false",
                                  "stateName": "",
                                  "role": "",
                                  "payloadType": "",
                                  "readonly": "",
                                  "stateUnit": "",
                                  "stateMin": "",
                                  "stateMax": "",
                                  "x": 1030,
                                  "y": 420,
                                  "wires": []
                              },
                              {
                                  "id": "fde5bfcbe527b1e3",
                                  "type": "debug",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "Küche Decke Motion 2 min",
                                  "active": false,
                                  "tosidebar": true,
                                  "console": false,
                                  "tostatus": false,
                                  "complete": "payload",
                                  "targetType": "msg",
                                  "statusVal": "",
                                  "statusType": "auto",
                                  "x": 1080,
                                  "y": 470,
                                  "wires": []
                              },
                              {
                                  "id": "272c68c48b983a80",
                                  "type": "ioBroker out",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "Küche Unters. links",
                                  "topic": "hue.0.Küche_Unterschr_Links.on",
                                  "ack": "false",
                                  "autoCreate": "false",
                                  "stateName": "",
                                  "role": "",
                                  "payloadType": "",
                                  "readonly": "",
                                  "stateUnit": "",
                                  "stateMin": "",
                                  "stateMax": "",
                                  "x": 1050,
                                  "y": 320,
                                  "wires": []
                              },
                              {
                                  "id": "480e45050d828b39",
                                  "type": "ioBroker in",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "Küche Motion",
                                  "attrname": "payload",
                                  "topic": "hue.0.Küche_Motion_Sensor.presence",
                                  "payloadType": "value",
                                  "onlyack": "",
                                  "func": "all",
                                  "gap": "",
                                  "fireOnStart": "false",
                                  "outFormat": "MQTT",
                                  "x": 80,
                                  "y": 380,
                                  "wires": [
                                      [
                                          "f2c899d38e11b319"
                                      ]
                                  ]
                              },
                              {
                                  "id": "5d97adc7f4def0bb",
                                  "type": "switch",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "Bewegung ?",
                                  "property": "payload",
                                  "propertyType": "msg",
                                  "rules": [
                                      {
                                          "t": "true"
                                      }
                                  ],
                                  "checkall": "true",
                                  "repair": false,
                                  "outputs": 1,
                                  "x": 410,
                                  "y": 380,
                                  "wires": [
                                      [
                                          "51bf3002fa7d360f",
                                          "1956453b80f029b4"
                                      ]
                                  ]
                              },
                              {
                                  "id": "f2c899d38e11b319",
                                  "type": "switch",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "",
                                  "property": "Schalter.Kueche",
                                  "propertyType": "flow",
                                  "rules": [
                                      {
                                          "t": "false"
                                      }
                                  ],
                                  "checkall": "true",
                                  "repair": false,
                                  "outputs": 1,
                                  "x": 270,
                                  "y": 380,
                                  "wires": [
                                      [
                                          "5d97adc7f4def0bb"
                                      ]
                                  ]
                              },
                              {
                                  "id": "df6942f6ca51163c",
                                  "type": "inject",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "",
                                  "props": [
                                      {
                                          "p": "payload"
                                      },
                                      {
                                          "p": "topic",
                                          "vt": "str"
                                      }
                                  ],
                                  "repeat": "",
                                  "crontab": "",
                                  "once": false,
                                  "onceDelay": 0.1,
                                  "topic": "",
                                  "payload": "true",
                                  "payloadType": "bool",
                                  "x": 100,
                                  "y": 430,
                                  "wires": [
                                      [
                                          "f2c899d38e11b319"
                                      ]
                                  ]
                              },
                              {
                                  "id": "2d6a29e527eb678c",
                                  "type": "inject",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "",
                                  "props": [
                                      {
                                          "p": "payload"
                                      },
                                      {
                                          "p": "topic",
                                          "vt": "str"
                                      }
                                  ],
                                  "repeat": "",
                                  "crontab": "",
                                  "once": false,
                                  "onceDelay": 0.1,
                                  "topic": "",
                                  "payload": "false",
                                  "payloadType": "bool",
                                  "x": 100,
                                  "y": 330,
                                  "wires": [
                                      [
                                          "f2c899d38e11b319"
                                      ]
                                  ]
                              },
                              {
                                  "id": "bbe47e797e5bd352",
                                  "type": "change",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "Küche true",
                                  "rules": [
                                      {
                                          "t": "set",
                                          "p": "Schalter.Kueche",
                                          "pt": "flow",
                                          "to": "true",
                                          "tot": "bool"
                                      }
                                  ],
                                  "action": "",
                                  "property": "",
                                  "from": "",
                                  "to": "",
                                  "reg": false,
                                  "x": 300,
                                  "y": 650,
                                  "wires": [
                                      [
                                          "4d88bc3dbe17d4a0"
                                      ]
                                  ]
                              },
                              {
                                  "id": "4d88bc3dbe17d4a0",
                                  "type": "trigger",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "30 min.",
                                  "op1": "",
                                  "op2": "false",
                                  "op1type": "nul",
                                  "op2type": "bool",
                                  "duration": "20",
                                  "extend": false,
                                  "overrideDelay": false,
                                  "units": "s",
                                  "reset": "",
                                  "bytopic": "all",
                                  "topic": "topic",
                                  "outputs": 1,
                                  "x": 450,
                                  "y": 650,
                                  "wires": [
                                      [
                                          "0be12e6bd4e8e8b0"
                                      ]
                                  ]
                              },
                              {
                                  "id": "0be12e6bd4e8e8b0",
                                  "type": "change",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "",
                                  "rules": [
                                      {
                                          "t": "set",
                                          "p": "Schalter.Kueche",
                                          "pt": "flow",
                                          "to": "false",
                                          "tot": "bool"
                                      }
                                  ],
                                  "action": "",
                                  "property": "",
                                  "from": "",
                                  "to": "",
                                  "reg": false,
                                  "x": 650,
                                  "y": 650,
                                  "wires": [
                                      [
                                          "8dbccd4f1d2e0ecb"
                                      ]
                                  ]
                              },
                              {
                                  "id": "bc31192270462750",
                                  "type": "inject",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "",
                                  "props": [
                                      {
                                          "p": "payload"
                                      },
                                      {
                                          "p": "topic",
                                          "vt": "str"
                                      }
                                  ],
                                  "repeat": "",
                                  "crontab": "",
                                  "once": false,
                                  "onceDelay": 0.1,
                                  "topic": "",
                                  "payload": "true",
                                  "payloadType": "bool",
                                  "x": 100,
                                  "y": 570,
                                  "wires": [
                                      [
                                          "63524b08cb45c082"
                                      ]
                                  ]
                              },
                              {
                                  "id": "e081bb71ad5f804e",
                                  "type": "inject",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "",
                                  "props": [
                                      {
                                          "p": "payload"
                                      },
                                      {
                                          "p": "topic",
                                          "vt": "str"
                                      }
                                  ],
                                  "repeat": "",
                                  "crontab": "",
                                  "once": false,
                                  "onceDelay": 0.1,
                                  "topic": "",
                                  "payload": "false",
                                  "payloadType": "bool",
                                  "x": 100,
                                  "y": 670,
                                  "wires": [
                                      [
                                          "63524b08cb45c082"
                                      ]
                                  ]
                              },
                              {
                                  "id": "f0e98b2901027f4e",
                                  "type": "ioBroker in",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "Küche",
                                  "attrname": "payload",
                                  "topic": "tuya.0.bfa31f81841589e9aerhgk.1",
                                  "payloadType": "value",
                                  "onlyack": "",
                                  "func": "rbe",
                                  "gap": "",
                                  "fireOnStart": "false",
                                  "outFormat": "MQTT",
                                  "x": 100,
                                  "y": 620,
                                  "wires": [
                                      [
                                          "63524b08cb45c082"
                                      ]
                                  ]
                              },
                              {
                                  "id": "41b9b7b005fa10ac",
                                  "type": "ioBroker out",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "Küche Unters. links",
                                  "topic": "hue.0.Küche_Unterschr_Links.on",
                                  "ack": "false",
                                  "autoCreate": "false",
                                  "stateName": "",
                                  "role": "",
                                  "payloadType": "",
                                  "readonly": "",
                                  "stateUnit": "",
                                  "stateMin": "",
                                  "stateMax": "",
                                  "x": 1050,
                                  "y": 550,
                                  "wires": []
                              },
                              {
                                  "id": "f02fa0a2b26d552d",
                                  "type": "ioBroker out",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "Küche Unters. rechts",
                                  "topic": "sonoff.0.kueche_unterschrank_rechts.POWER",
                                  "ack": "false",
                                  "autoCreate": "false",
                                  "stateName": "",
                                  "role": "",
                                  "payloadType": "",
                                  "readonly": "",
                                  "stateUnit": "",
                                  "stateMin": "",
                                  "stateMax": "",
                                  "x": 1060,
                                  "y": 600,
                                  "wires": []
                              },
                              {
                                  "id": "e217fc94bf0d9975",
                                  "type": "ioBroker out",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "Küche Decke",
                                  "topic": "tuya.0.bfa31f81841589e9aerhgk.1",
                                  "ack": "false",
                                  "autoCreate": "false",
                                  "stateName": "",
                                  "role": "",
                                  "payloadType": "",
                                  "readonly": "",
                                  "stateUnit": "",
                                  "stateMin": "",
                                  "stateMax": "",
                                  "x": 1030,
                                  "y": 650,
                                  "wires": []
                              },
                              {
                                  "id": "2e321d0e71773ba9",
                                  "type": "debug",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "Küche Decke Motion 30 min",
                                  "active": false,
                                  "tosidebar": true,
                                  "console": false,
                                  "tostatus": false,
                                  "complete": "payload",
                                  "targetType": "msg",
                                  "statusVal": "",
                                  "statusType": "auto",
                                  "x": 1080,
                                  "y": 700,
                                  "wires": []
                              },
                              {
                                  "id": "0e407ef78ff6390a",
                                  "type": "ioBroker out",
                                  "z": "f40fbc4eb5ac4f7a",
                                  "name": "Küche Decke",
                                  "topic": "tuya.0.bfa31f81841589e9aerhgk.1",
                                  "ack": "false",
                                  "autoCreate": "false",
                                  "stateName": "",
                                  "role": "",
                                  "payloadType": "",
                                  "readonly": "",
                                  "stateUnit": "",
                                  "stateMin": "",
                                  "stateMax": "",
                                  "x": 1030,
                                  "y": 180,
                                  "wires": []
                              }
                          ]
                          


                          Also bei Bewegung schaltet Licht an und bleibt für eingestellte Zeit an.
                          Wenn Roboter Sauger aktiv ist bleibt auch bei BWM Licht aus.
                          Wenn man Lichtschalter betätigt, bleibt Licht für eingestellte Zeit an.
                          ISt der Roboter Sauger beim laden in der Station Funktioniert der BWM wieder.
                          Den Lichtschalter kann man immer benutzen und bleibt auch beim Reinigen des roboters für eingestellte Zeit an.

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

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

                            Nur wenn durch den BWM wieder bewegung ist, bleibt das Licht nicht nicht an.

                            Na dann schau halt ob die Zeitspanne in der Trigger Node verlängert wird, wenn erneut true gemeldet wird und du auch in der iobroker-in Node nicht filterst, dass nur Wertänderungen durchkommen.

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

                              @mickym
                              Ich sagte ja fehler hab ich gefunden.
                              Die Steuerung läuft
                              Bis auf das wenn man den Schalter betätigt und in der BWM läuft geht die Timeout Node auch an und Licht schaltet nach 2 min ab als ob die node bwm nicht aussen vor ist sondern immer funktioniert

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

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

                                Bis auf das wenn man den Schalter betätigt und in der BWM läuft geht die Timeout Node auch an und Licht schaltet nach 2 min ab als ob die node bwm nicht aussen vor ist sondern immer funktioniert

                                Dann könnte es daran liegen, dass wenn der Schalter eingeschaltet wird, kurz vorher aber noch der BWM getriggert hat (z. Bsp. weil der Schalter in dem entsprechenden Raum ist) und in der Triggernode schon der Timer läuft. Dann würde ich vom Schalter noch ein msg.reset = true in die Triggernode schicken.

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

                                  @mickym
                                  Hab den letzten Fehler gefunden.
                                  Falsche Verknüpfung, jetzt gehts.
                                  Screenshot 2024-08-24 163342.png

                                  [
                                      {
                                          "id": "4b4d3c488cba7f6d",
                                          "type": "ioBroker in",
                                          "z": "fca95f262626d456",
                                          "name": "Bad",
                                          "attrname": "payload",
                                          "topic": "tuya.0.bf78f027e5e33c3d76xrfe.1",
                                          "payloadType": "value",
                                          "onlyack": "",
                                          "func": "rbe",
                                          "gap": "",
                                          "fireOnStart": "false",
                                          "outFormat": "MQTT",
                                          "x": 100,
                                          "y": 110,
                                          "wires": [
                                              [
                                                  "f7904135afcd7501"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "d17d88371ee4100c",
                                          "type": "inject",
                                          "z": "fca95f262626d456",
                                          "name": "true",
                                          "props": [
                                              {
                                                  "p": "payload"
                                              },
                                              {
                                                  "p": "topic",
                                                  "vt": "str"
                                              }
                                          ],
                                          "repeat": "",
                                          "crontab": "",
                                          "once": false,
                                          "onceDelay": 0.1,
                                          "topic": "",
                                          "payload": "true",
                                          "payloadType": "bool",
                                          "x": 100,
                                          "y": 30,
                                          "wires": [
                                              [
                                                  "3e03352303deb36c"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "2e62c8d3e0cd270e",
                                          "type": "inject",
                                          "z": "fca95f262626d456",
                                          "name": "false",
                                          "props": [
                                              {
                                                  "p": "payload"
                                              },
                                              {
                                                  "p": "topic",
                                                  "vt": "str"
                                              }
                                          ],
                                          "repeat": "",
                                          "crontab": "",
                                          "once": false,
                                          "onceDelay": 0.1,
                                          "topic": "",
                                          "payload": "false",
                                          "payloadType": "bool",
                                          "x": 100,
                                          "y": 70,
                                          "wires": [
                                              [
                                                  "3e03352303deb36c"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "c0df8f07016b31ef",
                                          "type": "change",
                                          "z": "fca95f262626d456",
                                          "name": "Bad true",
                                          "rules": [
                                              {
                                                  "t": "set",
                                                  "p": "Schalter.Bad",
                                                  "pt": "flow",
                                                  "to": "true",
                                                  "tot": "bool"
                                              }
                                          ],
                                          "action": "",
                                          "property": "",
                                          "from": "",
                                          "to": "",
                                          "reg": false,
                                          "x": 270,
                                          "y": 260,
                                          "wires": [
                                              [
                                                  "48c854225a9cd423"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "48c854225a9cd423",
                                          "type": "trigger",
                                          "z": "fca95f262626d456",
                                          "name": "45 min.",
                                          "op1": "",
                                          "op2": "false",
                                          "op1type": "nul",
                                          "op2type": "bool",
                                          "duration": "30",
                                          "extend": true,
                                          "overrideDelay": false,
                                          "units": "s",
                                          "reset": "Schalter.Kueche",
                                          "bytopic": "all",
                                          "topic": "topic",
                                          "outputs": 1,
                                          "x": 570,
                                          "y": 260,
                                          "wires": [
                                              [
                                                  "a10f3834831b9f4e"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "a10f3834831b9f4e",
                                          "type": "change",
                                          "z": "fca95f262626d456",
                                          "name": "",
                                          "rules": [
                                              {
                                                  "t": "set",
                                                  "p": "Schalter.Bad",
                                                  "pt": "flow",
                                                  "to": "false",
                                                  "tot": "bool"
                                              }
                                          ],
                                          "action": "",
                                          "property": "",
                                          "from": "",
                                          "to": "",
                                          "reg": false,
                                          "x": 770,
                                          "y": 260,
                                          "wires": [
                                              [
                                                  "c98811d9c189fbc3"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "89a3ef92e12849c4",
                                          "type": "ioBroker in",
                                          "z": "fca95f262626d456",
                                          "name": "Bad",
                                          "attrname": "payload",
                                          "topic": "tuya.0.bf78f027e5e33c3d76xrfe.1",
                                          "payloadType": "value",
                                          "onlyack": "",
                                          "func": "rbe",
                                          "gap": "",
                                          "fireOnStart": "false",
                                          "outFormat": "MQTT",
                                          "x": 100,
                                          "y": 230,
                                          "wires": [
                                              [
                                                  "025de60d703a7295"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "99b44662062bb3d4",
                                          "type": "ioBroker get",
                                          "z": "fca95f262626d456",
                                          "name": "Status",
                                          "topic": "mihome-vacuum.1.info.state",
                                          "attrname": "roborock",
                                          "payloadType": "value",
                                          "errOnInvalidState": "nothing",
                                          "x": 610,
                                          "y": 190,
                                          "wires": [
                                              [
                                                  "8564fb0dcfe06fd9"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "8564fb0dcfe06fd9",
                                          "type": "switch",
                                          "z": "fca95f262626d456",
                                          "name": "Robi nicht 5",
                                          "property": "roborock",
                                          "propertyType": "msg",
                                          "rules": [
                                              {
                                                  "t": "neq",
                                                  "v": "5",
                                                  "vt": "num"
                                              }
                                          ],
                                          "checkall": "true",
                                          "repair": false,
                                          "outputs": 1,
                                          "x": 750,
                                          "y": 190,
                                          "wires": [
                                              [
                                                  "349701d013e20e48"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "5f5b8902de2a2a06",
                                          "type": "trigger",
                                          "z": "fca95f262626d456",
                                          "name": "3 min. warten bevor false",
                                          "op1": "",
                                          "op2": "false",
                                          "op1type": "nul",
                                          "op2type": "bool",
                                          "duration": "10",
                                          "extend": true,
                                          "overrideDelay": false,
                                          "units": "s",
                                          "reset": "reset",
                                          "bytopic": "all",
                                          "topic": "topic",
                                          "outputs": 1,
                                          "x": 670,
                                          "y": 140,
                                          "wires": [
                                              [
                                                  "b887a87f23e7655c"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "b84d05e01c05f457",
                                          "type": "switch",
                                          "z": "fca95f262626d456",
                                          "name": "Bewegung ?",
                                          "property": "payload",
                                          "propertyType": "msg",
                                          "rules": [
                                              {
                                                  "t": "true"
                                              }
                                          ],
                                          "checkall": "true",
                                          "repair": false,
                                          "outputs": 1,
                                          "x": 430,
                                          "y": 190,
                                          "wires": [
                                              [
                                                  "99b44662062bb3d4",
                                                  "5f5b8902de2a2a06"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "5f18694a523d8c75",
                                          "type": "switch",
                                          "z": "fca95f262626d456",
                                          "name": "",
                                          "property": "Schalter.Bad",
                                          "propertyType": "flow",
                                          "rules": [
                                              {
                                                  "t": "false"
                                              }
                                          ],
                                          "checkall": "true",
                                          "repair": false,
                                          "outputs": 1,
                                          "x": 280,
                                          "y": 190,
                                          "wires": [
                                              [
                                                  "b84d05e01c05f457"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "3d3a0961165b53df",
                                          "type": "ioBroker out",
                                          "z": "fca95f262626d456",
                                          "name": "Bad Decke",
                                          "topic": "tuya.0.bf78f027e5e33c3d76xrfe.1",
                                          "ack": "false",
                                          "autoCreate": "false",
                                          "stateName": "",
                                          "role": "",
                                          "payloadType": "",
                                          "readonly": "",
                                          "stateUnit": "",
                                          "stateMin": "",
                                          "stateMax": "",
                                          "x": 1030,
                                          "y": 80,
                                          "wires": []
                                      },
                                      {
                                          "id": "071e0d5fd2c962e6",
                                          "type": "ioBroker out",
                                          "z": "fca95f262626d456",
                                          "name": "Bad Decke",
                                          "topic": "tuya.0.bf78f027e5e33c3d76xrfe.1",
                                          "ack": "false",
                                          "autoCreate": "false",
                                          "stateName": "",
                                          "role": "",
                                          "payloadType": "",
                                          "readonly": "",
                                          "stateUnit": "",
                                          "stateMin": "",
                                          "stateMax": "",
                                          "x": 1030,
                                          "y": 160,
                                          "wires": []
                                      },
                                      {
                                          "id": "979db36b18112eba",
                                          "type": "ioBroker out",
                                          "z": "fca95f262626d456",
                                          "name": "Bad Decke",
                                          "topic": "tuya.0.bf78f027e5e33c3d76xrfe.1",
                                          "ack": "false",
                                          "autoCreate": "false",
                                          "stateName": "",
                                          "role": "",
                                          "payloadType": "",
                                          "readonly": "",
                                          "stateUnit": "",
                                          "stateMin": "",
                                          "stateMax": "",
                                          "x": 1030,
                                          "y": 230,
                                          "wires": []
                                      },
                                      {
                                          "id": "a1b151d314e59c17",
                                          "type": "inject",
                                          "z": "fca95f262626d456",
                                          "name": "",
                                          "props": [
                                              {
                                                  "p": "payload"
                                              },
                                              {
                                                  "p": "topic",
                                                  "vt": "str"
                                              }
                                          ],
                                          "repeat": "",
                                          "crontab": "",
                                          "once": false,
                                          "onceDelay": 0.1,
                                          "topic": "",
                                          "payload": "true",
                                          "payloadType": "bool",
                                          "x": 100,
                                          "y": 190,
                                          "wires": [
                                              [
                                                  "5f18694a523d8c75"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "025de60d703a7295",
                                          "type": "junction",
                                          "z": "fca95f262626d456",
                                          "x": 190,
                                          "y": 230,
                                          "wires": [
                                              [
                                                  "c0df8f07016b31ef",
                                                  "c98811d9c189fbc3",
                                                  "5f18694a523d8c75"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "c98811d9c189fbc3",
                                          "type": "junction",
                                          "z": "fca95f262626d456",
                                          "x": 930,
                                          "y": 230,
                                          "wires": [
                                              [
                                                  "979db36b18112eba"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "e1b95b792ae78696",
                                          "type": "junction",
                                          "z": "fca95f262626d456",
                                          "x": 920,
                                          "y": 50,
                                          "wires": [
                                              [
                                                  "3d3a0961165b53df"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "b887a87f23e7655c",
                                          "type": "junction",
                                          "z": "fca95f262626d456",
                                          "x": 930,
                                          "y": 140,
                                          "wires": [
                                              [
                                                  "071e0d5fd2c962e6"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "349701d013e20e48",
                                          "type": "junction",
                                          "z": "fca95f262626d456",
                                          "x": 930,
                                          "y": 190,
                                          "wires": [
                                              [
                                                  "071e0d5fd2c962e6"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "f7904135afcd7501",
                                          "type": "junction",
                                          "z": "fca95f262626d456",
                                          "x": 920,
                                          "y": 110,
                                          "wires": [
                                              [
                                                  "3d3a0961165b53df"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "3e03352303deb36c",
                                          "type": "junction",
                                          "z": "fca95f262626d456",
                                          "x": 180,
                                          "y": 50,
                                          "wires": [
                                              [
                                                  "e1b95b792ae78696"
                                              ]
                                          ]
                                      }
                                  ]
                                  

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

                                    @aphofis Na das macht keinen Sinn, aber musst Du wissen.

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

                                      @mickym Ne klappt auch nicht wirklich!
                                      Ein Inject Node ist auch nicht das selbe wie ein echter BWM

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

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

                                        @mickym Ne klappt auch nicht wirklich!
                                        Ein Inject Node ist auch nicht das selbe wie ein echter BWM

                                        Ein Inject Node macht das, was der iobroker-In Node auch macht. Eine Nachricht erzeugen, die auf die Reise geschickt wird. Ich habe Dir ja meine Vermutung in dem unteren Post geschildert. Aber das was Du da machst entbehrt halt jeder Logik.

                                        Entweder lässt man den BWM ausschalten oder den Trigger. Wie gesagt, unten habe ich Dir ja die Lösung insoweit aufgeschrieben, wenn der BWM kurz vor dem Betätigen des Schalters triggert (also innerhalb der 3 Minuten).

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

                                          So funktioniert alles wie es soll.
                                          Screenshot 2024-08-25 190857.png

                                          [
                                              {
                                                  "id": "bbe47e797e5bd352",
                                                  "type": "change",
                                                  "z": "f40fbc4eb5ac4f7a",
                                                  "name": "Küche true",
                                                  "rules": [
                                                      {
                                                          "t": "set",
                                                          "p": "Schalter.Kueche",
                                                          "pt": "flow",
                                                          "to": "true",
                                                          "tot": "bool"
                                                      }
                                                  ],
                                                  "action": "",
                                                  "property": "",
                                                  "from": "",
                                                  "to": "",
                                                  "reg": false,
                                                  "x": 410,
                                                  "y": 440,
                                                  "wires": [
                                                      [
                                                          "4d88bc3dbe17d4a0"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "4d88bc3dbe17d4a0",
                                                  "type": "trigger",
                                                  "z": "f40fbc4eb5ac4f7a",
                                                  "name": "45 min.",
                                                  "op1": "",
                                                  "op2": "false",
                                                  "op1type": "nul",
                                                  "op2type": "bool",
                                                  "duration": "45",
                                                  "extend": false,
                                                  "overrideDelay": false,
                                                  "units": "min",
                                                  "reset": "Schalter.Kueche",
                                                  "bytopic": "all",
                                                  "topic": "topic",
                                                  "outputs": 1,
                                                  "x": 560,
                                                  "y": 440,
                                                  "wires": [
                                                      [
                                                          "0be12e6bd4e8e8b0"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "0be12e6bd4e8e8b0",
                                                  "type": "change",
                                                  "z": "f40fbc4eb5ac4f7a",
                                                  "name": "",
                                                  "rules": [
                                                      {
                                                          "t": "set",
                                                          "p": "Schalter.Kueche",
                                                          "pt": "flow",
                                                          "to": "false",
                                                          "tot": "bool"
                                                      }
                                                  ],
                                                  "action": "",
                                                  "property": "",
                                                  "from": "",
                                                  "to": "",
                                                  "reg": false,
                                                  "x": 760,
                                                  "y": 440,
                                                  "wires": [
                                                      [
                                                          "8dbccd4f1d2e0ecb"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "bc31192270462750",
                                                  "type": "inject",
                                                  "z": "f40fbc4eb5ac4f7a",
                                                  "name": "",
                                                  "props": [
                                                      {
                                                          "p": "payload"
                                                      },
                                                      {
                                                          "p": "topic",
                                                          "vt": "str"
                                                      }
                                                  ],
                                                  "repeat": "",
                                                  "crontab": "",
                                                  "once": false,
                                                  "onceDelay": 0.1,
                                                  "topic": "payload",
                                                  "payload": "true",
                                                  "payloadType": "bool",
                                                  "x": 100,
                                                  "y": 490,
                                                  "wires": [
                                                      [
                                                          "b4d58094fea6da65"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "e081bb71ad5f804e",
                                                  "type": "inject",
                                                  "z": "f40fbc4eb5ac4f7a",
                                                  "name": "",
                                                  "props": [
                                                      {
                                                          "p": "payload"
                                                      },
                                                      {
                                                          "p": "topic",
                                                          "vt": "str"
                                                      }
                                                  ],
                                                  "repeat": "",
                                                  "crontab": "",
                                                  "once": false,
                                                  "onceDelay": 0.1,
                                                  "topic": "payload",
                                                  "payload": "false",
                                                  "payloadType": "bool",
                                                  "x": 100,
                                                  "y": 540,
                                                  "wires": [
                                                      [
                                                          "b4d58094fea6da65"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "f0e98b2901027f4e",
                                                  "type": "ioBroker in",
                                                  "z": "f40fbc4eb5ac4f7a",
                                                  "name": "Küche",
                                                  "attrname": "payload",
                                                  "topic": "tuya.0.bfa31f81841589e9aerhgk.1",
                                                  "payloadType": "value",
                                                  "onlyack": "",
                                                  "func": "rbe",
                                                  "gap": "",
                                                  "fireOnStart": "false",
                                                  "outFormat": "MQTT",
                                                  "x": 100,
                                                  "y": 440,
                                                  "wires": [
                                                      [
                                                          "63524b08cb45c082"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "da7126dab2db34ac",
                                                  "type": "ioBroker get",
                                                  "z": "f40fbc4eb5ac4f7a",
                                                  "name": "Status",
                                                  "topic": "mihome-vacuum.1.info.state",
                                                  "attrname": "roborock",
                                                  "payloadType": "value",
                                                  "errOnInvalidState": "nothing",
                                                  "x": 660,
                                                  "y": 310,
                                                  "wires": [
                                                      [
                                                          "cfd8c9bf0c7f6348"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "cfd8c9bf0c7f6348",
                                                  "type": "switch",
                                                  "z": "f40fbc4eb5ac4f7a",
                                                  "name": "Robi nicht 5",
                                                  "property": "roborock",
                                                  "propertyType": "msg",
                                                  "rules": [
                                                      {
                                                          "t": "neq",
                                                          "v": "5",
                                                          "vt": "num"
                                                      }
                                                  ],
                                                  "checkall": "true",
                                                  "repair": false,
                                                  "outputs": 1,
                                                  "x": 800,
                                                  "y": 310,
                                                  "wires": [
                                                      [
                                                          "cc199f24c2162a7f"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "3dc8e25bc8ecd68c",
                                                  "type": "trigger",
                                                  "z": "f40fbc4eb5ac4f7a",
                                                  "name": "2 min. warten",
                                                  "op1": "",
                                                  "op2": "false",
                                                  "op1type": "nul",
                                                  "op2type": "bool",
                                                  "duration": "2",
                                                  "extend": true,
                                                  "overrideDelay": false,
                                                  "units": "min",
                                                  "reset": "",
                                                  "bytopic": "all",
                                                  "topic": "topic",
                                                  "outputs": 1,
                                                  "x": 690,
                                                  "y": 260,
                                                  "wires": [
                                                      [
                                                          "ae24e45f243802bf"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "57de54256f54f3d4",
                                                  "type": "ioBroker in",
                                                  "z": "f40fbc4eb5ac4f7a",
                                                  "name": "Küche Motion",
                                                  "attrname": "payload",
                                                  "topic": "hue.0.Küche_Motion_Sensor.presence",
                                                  "payloadType": "value",
                                                  "onlyack": "update",
                                                  "func": "all",
                                                  "gap": "",
                                                  "fireOnStart": "true",
                                                  "outFormat": "MQTT",
                                                  "x": 100,
                                                  "y": 270,
                                                  "wires": [
                                                      [
                                                          "33cf5d23a026b4a3"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "ae8811169c3918eb",
                                                  "type": "switch",
                                                  "z": "f40fbc4eb5ac4f7a",
                                                  "name": "Bewegung ?",
                                                  "property": "payload",
                                                  "propertyType": "msg",
                                                  "rules": [
                                                      {
                                                          "t": "true"
                                                      }
                                                  ],
                                                  "checkall": "true",
                                                  "repair": false,
                                                  "outputs": 1,
                                                  "x": 440,
                                                  "y": 290,
                                                  "wires": [
                                                      [
                                                          "da7126dab2db34ac",
                                                          "3dc8e25bc8ecd68c"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "37235a98bb0b252e",
                                                  "type": "switch",
                                                  "z": "f40fbc4eb5ac4f7a",
                                                  "name": "",
                                                  "property": "Schalter.Kueche",
                                                  "propertyType": "flow",
                                                  "rules": [
                                                      {
                                                          "t": "false"
                                                      }
                                                  ],
                                                  "checkall": "true",
                                                  "repair": false,
                                                  "outputs": 1,
                                                  "x": 290,
                                                  "y": 290,
                                                  "wires": [
                                                      [
                                                          "ae8811169c3918eb"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "29956a1191d5a375",
                                                  "type": "inject",
                                                  "z": "f40fbc4eb5ac4f7a",
                                                  "name": "",
                                                  "props": [
                                                      {
                                                          "p": "payload"
                                                      },
                                                      {
                                                          "p": "topic",
                                                          "vt": "str"
                                                      }
                                                  ],
                                                  "repeat": "",
                                                  "crontab": "",
                                                  "once": false,
                                                  "onceDelay": 0.1,
                                                  "topic": "payload",
                                                  "payload": "true",
                                                  "payloadType": "bool",
                                                  "x": 100,
                                                  "y": 320,
                                                  "wires": [
                                                      [
                                                          "33cf5d23a026b4a3"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "c01b7af31e635058",
                                                  "type": "ioBroker out",
                                                  "z": "f40fbc4eb5ac4f7a",
                                                  "name": "Küche Unters. rechts",
                                                  "topic": "sonoff.0.kueche_unterschrank_rechts.POWER",
                                                  "ack": "false",
                                                  "autoCreate": "false",
                                                  "stateName": "",
                                                  "role": "",
                                                  "payloadType": "",
                                                  "readonly": "",
                                                  "stateUnit": "",
                                                  "stateMin": "",
                                                  "stateMax": "",
                                                  "x": 1090,
                                                  "y": 290,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "e265b3e669cabbed",
                                                  "type": "ioBroker out",
                                                  "z": "f40fbc4eb5ac4f7a",
                                                  "name": "Küche Decke",
                                                  "topic": "tuya.0.bfa31f81841589e9aerhgk.1",
                                                  "ack": "false",
                                                  "autoCreate": "false",
                                                  "stateName": "",
                                                  "role": "",
                                                  "payloadType": "",
                                                  "readonly": "",
                                                  "stateUnit": "",
                                                  "stateMin": "",
                                                  "stateMax": "",
                                                  "x": 1060,
                                                  "y": 340,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "79b702de70404090",
                                                  "type": "ioBroker out",
                                                  "z": "f40fbc4eb5ac4f7a",
                                                  "name": "Küche Unters. links",
                                                  "topic": "hue.0.Küche_Unterschr_Links.on",
                                                  "ack": "false",
                                                  "autoCreate": "false",
                                                  "stateName": "",
                                                  "role": "",
                                                  "payloadType": "",
                                                  "readonly": "",
                                                  "stateUnit": "",
                                                  "stateMin": "",
                                                  "stateMax": "",
                                                  "x": 1080,
                                                  "y": 240,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "36517556eea614c2",
                                                  "type": "ioBroker out",
                                                  "z": "f40fbc4eb5ac4f7a",
                                                  "name": "Küche Unters. rechts",
                                                  "topic": "sonoff.0.kueche_unterschrank_rechts.POWER",
                                                  "ack": "false",
                                                  "autoCreate": "false",
                                                  "stateName": "",
                                                  "role": "",
                                                  "payloadType": "",
                                                  "readonly": "",
                                                  "stateUnit": "",
                                                  "stateMin": "",
                                                  "stateMax": "",
                                                  "x": 1090,
                                                  "y": 440,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "7bbc1e6a458c30a4",
                                                  "type": "ioBroker out",
                                                  "z": "f40fbc4eb5ac4f7a",
                                                  "name": "Küche Decke",
                                                  "topic": "tuya.0.bfa31f81841589e9aerhgk.1",
                                                  "ack": "false",
                                                  "autoCreate": "false",
                                                  "stateName": "",
                                                  "role": "",
                                                  "payloadType": "",
                                                  "readonly": "",
                                                  "stateUnit": "",
                                                  "stateMin": "",
                                                  "stateMax": "",
                                                  "x": 1060,
                                                  "y": 490,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "e2635897a5b4a26d",
                                                  "type": "ioBroker out",
                                                  "z": "f40fbc4eb5ac4f7a",
                                                  "name": "Küche Unters. links",
                                                  "topic": "hue.0.Küche_Unterschr_Links.on",
                                                  "ack": "false",
                                                  "autoCreate": "false",
                                                  "stateName": "",
                                                  "role": "",
                                                  "payloadType": "",
                                                  "readonly": "",
                                                  "stateUnit": "",
                                                  "stateMin": "",
                                                  "stateMax": "",
                                                  "x": 1080,
                                                  "y": 390,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "63524b08cb45c082",
                                                  "type": "junction",
                                                  "z": "f40fbc4eb5ac4f7a",
                                                  "x": 310,
                                                  "y": 440,
                                                  "wires": [
                                                      [
                                                          "bbe47e797e5bd352"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "8dbccd4f1d2e0ecb",
                                                  "type": "junction",
                                                  "z": "f40fbc4eb5ac4f7a",
                                                  "x": 940,
                                                  "y": 440,
                                                  "wires": [
                                                      [
                                                          "36517556eea614c2",
                                                          "e2635897a5b4a26d",
                                                          "7bbc1e6a458c30a4"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "b4d58094fea6da65",
                                                  "type": "junction",
                                                  "z": "f40fbc4eb5ac4f7a",
                                                  "x": 260,
                                                  "y": 490,
                                                  "wires": [
                                                      [
                                                          "63524b08cb45c082"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "ae24e45f243802bf",
                                                  "type": "junction",
                                                  "z": "f40fbc4eb5ac4f7a",
                                                  "x": 920,
                                                  "y": 260,
                                                  "wires": [
                                                      [
                                                          "c01b7af31e635058",
                                                          "79b702de70404090",
                                                          "e265b3e669cabbed"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "cc199f24c2162a7f",
                                                  "type": "junction",
                                                  "z": "f40fbc4eb5ac4f7a",
                                                  "x": 920,
                                                  "y": 310,
                                                  "wires": [
                                                      [
                                                          "c01b7af31e635058",
                                                          "79b702de70404090",
                                                          "e265b3e669cabbed"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "33cf5d23a026b4a3",
                                                  "type": "junction",
                                                  "z": "f40fbc4eb5ac4f7a",
                                                  "x": 210,
                                                  "y": 290,
                                                  "wires": [
                                                      [
                                                          "37235a98bb0b252e"
                                                      ]
                                                  ]
                                              }
                                          ]
                                          

                                          Wenn BWM Signal hat geht licht für 2 min an. wenn roboter sauger nihct beim laden ist. bleibt BWM inaktiv.
                                          Schaltet man den Lichtschalter geht nur der 45 min trigger an. auch wenn man in den BWM läuft bleibt 2 min trigger inaktiv. Ist der 45 min trigger abgelaufen geht der BWM ganz normal wieder außer natürlich der Roboter ist unterwegs.
                                          Für meine Zwecke ist das alles was ich wollte.

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

                                            @aphofis Ich habe Dir doch gesagt, wie es geht. Geh halt nochmal auf den Flow zurück, den Du gehabt hast und resette die Trigger Node.

                                            eee18e5f-2f3b-4256-afee-0974f71b82de-image.png

                                            Sowas ist doch NUR Unsinn, sorry - aber da verstehst Du einfach nichts. Was macht ein switch für einen Sinn, wenn Du mit einem Kabel den switch ad absurdum führst und mit einer 2. Nachricht den switch umgehen kannst.

                                            AUch das letzte funktioniert nicht wie es soll, weil Du mit dem Schalter nicht ausschalten kannst.
                                            c25e5e77-a6a3-4356-bf44-02d06cde5508-image.png
                                            Warum analysierst Du nicht, wie ich es gesagt habe. So wie es jetzt ist, kannst Du mt dem Schalter nicht ausschalten. Die Ursache, dass trotzdem Du den Schalter betätigt hast, liegt daran, dass wahrscheinlich der BWM bereits getriggert hat. Und das musst Du halt über einen msg.reset verhindern.

                                            Anonsten mische ich mich aber nicht mehr ein, wenn Du zufrieden bist. Jedenfalls wirst Du so mit dem Schalter das Licht nicht mehr ausschalten kannst und das Licht IMMER 45 min brennen, falls Du den Schalter betätigst.

                                            Geh auf diesen Flow zurück: https://forum.iobroker.net/post/1194557
                                            Und anschliessend setzt Du mit msg.reset die trigger Node des BWM zurück, wenn der Schalter betätigt wird. Wobei das obere Käse ist.

                                            7cbf5798-aa8f-430f-b66e-232c9630d4c7-image.png

                                            Nee das ist ja auch verkehrt - du hast den Flow so verhunagelt. Du hast ja die beiden Äste auch verändert. Das ist echt schwierig, wenn Du einfach darauf los machst ohne halt den Nachrichtenflow nachzuvollziehen und warum was wie gemacht wurde.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            782
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

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