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 @mickym last edited by

      @mickym Also bei Lichtschalter betätigen tut sich nichts

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

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

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

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

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

            @aphofis
            Screenshot 2024-08-22 220421.png

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

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

              @aphofis Nein der Trigger bleibt aktiv - es soll ja erst nach der letzten Betätigung des Schalters der BWM aktiviert werden egal wie der Schalter steht. Aber wenn Du es anders haben willst, dann mach es halt selbst anders. Du weißt ja wie es funktioniert. Der Trigger hat ja mit dem Schalten der Lampe nichts zu tun - das wird ja sofort durchgereicht. Wenn Du es anders haben willst, dann versuch das bitte mal selbst.

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

                ich verstehe nicht warum das nicht geht.
                hab schon einige debug nodes angehängt aber einen Fehler kann ich nicht finden.
                egal ob true oder false initialisierung Licht an aus am schalter es bleibt bei 30 min Timer

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

                  @mickym Ne es bleibt nicht der 2 min timer aktiv immer nur der 30 min timer
                  der soll doch aber nur aktiv sein wenn schalter betätigt. BWM funktioniert ja normal

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

                    @aphofis Der trigger arbeitet doch unabhängig vom Schalter das siehst Du doch. Das ist doch parallel. Wenn Du es anders haben willst, dann mach es anders.

                    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 Ne es bleibt nicht der 2 min timer aktiv immer nur der 30 min timer
                      der soll doch aber nur aktiv sein wenn schalter betätigt. BWM funktioniert ja normal

                      Wie soll denn der 30 min timer aktiviert werden, wenn nicht durch den Schalter???? (ausser du betätigst die Inject Nodes) Du siehst doch an dem blauen Quadrat, dass der Schalter altiv ist. Schau Dir den Kontext an! - Du solltest doch nun sehen, wie alles zusammenspielt.

                      16100220-6771-45bd-a782-30e22d6ea298-image.png

                      Solange das Quadrat bei dem Trigger hängt, ist der Kontext Schalter.Bad auf true und der switch blockiert den BWM. Das ist doch nicht so schwer zu verstehen. Wenn du es anders haben willst, dann ändere es oder sei Dir über Deine Logik klar.

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

                        @mickym Fehler gefunden war in der Iobroker In node ein falscher Datenpunkt.
                        Woher der alte Bad Lichtschalter vom Sonoff her kommt keine Ahnung.
                        Ich wollte es ja nur verstehen, wenn man den Physischen schalter betätigt soll doch das klein viereck weg gehen und licht bleibt aus bis entweder BWM was erkennt oder man wieder den Schalter physisch betätigt oder verstehe ich das blaue viereck falsch.

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

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

                          Ich wollte es ja nur verstehen, wenn man den Physischen schalter betätigt soll doch das klein viereck weg gehen und licht bleibt aus bis entweder BWM was erkennt oder man wieder den Schalter physisch betätigt oder verstehe ich das blaue viereck falsch.

                          Nein der Trigger (das Quadrat) bleibt 30 Min nach der letzten Schalterbetätigung aktiv egal ob aus- oder eingeschaltet wird. Du willst doch den BWM blockieren - ansonsten wenn Du beides haben willst, dann kannst Dir alles sparen, da der BWM irgendwann selbst false liefert - da brauchst nicht auch noch selbst ausschalten. Deswegen überlege Dir lieber die Logik vorher, anstatt einfach einen Flow anzufangen.

                          Ich habe bei sämtliche Automatik deaktiviert, wenn ich das Licht einschalte und beim Ausschalten ist der BWM aktiv. Wie gesagt, Du machst Dir das Leben nur selbst schwer, aber das MUSST DU alleine umsetzen. Du weißt wie das nun funktioniert.

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

                            die erste node setze Flow.Schalter.Bad stand auf true habe ich auf false gesetzt.
                            Zum testen hab ich den Timer für physischen Schalter auf 10 sek gesetzt.
                            wird dann auch ausgeschaltet. Balues viereck verschwindet aber dann geht nach kurzer Zeit das licht wieder an ohne BWM aktivität oder ohne Schalter betätigen.
                            Wo setze ich jetzt an um den Fehler zu finden !?

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

                              ne erste node setze Flow.Schalter.Bad wieder aud false gesetzt ist ja richtig so aber wieso geht das Licht alleine ohne irgend ein zutun alleine 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:

                                aber dann geht nach kurzer Zeit das licht wieder an ohne BWM aktivität

                                Woher willst Du das denn wissen? - Der BWM kann doch mehrfach senden. Du hast 2 Trigger:

                                1. Den BWM
                                2. Den Schalter

                                Du machst direkt eine Debug Node dran und eine von beiden wird wohl triggern.

                                Aphofis 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:

                                  ne erste node setze Flow.Schalter.Bad wieder aud false gesetzt ist ja richtig so aber wieso geht das Licht alleine ohne irgend ein zutun alleine an.

                                  Na vielleicht sendet der BWM was - wie gesagt - wenn beide trigger nichts senden, dann gibts vielleicht noch ein Blockly oder sonst was - aber wenn ein Flow nicht getriggert wird, dann schaltet er auch nicht.

                                  Sprich wenn das Licht angeht, musst Du prüfen ob NodeRed oder was anderes schaltet.

                                  Mach die Schaltung wieder so, wie sie vorgestern war und dann fang ab da nochmal an. Du kannst auch den Trigger mit den 30 Minuten nur machen, wenn Du einschaltest , aber dann mach halt 2 Äste indem Du mit einem Switch das ganze aufteilst. Aber wie gesagt, dass sollte vom Prinzip doch alles kein Problem mehr sein.

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

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

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

                                    aber dann geht nach kurzer Zeit das licht wieder an ohne BWM aktivität

                                    Woher willst Du das denn wissen? - Der BWM kann doch mehrfach senden. Du hast 2 Trigger:

                                    1. Den BWM
                                    2. Den Schalter

                                    Du machst direkt eine Debug Node dran und eine von beiden wird wohl triggern.

                                    Das hat geholfen.
                                    der zweite BWM sendet "1" deaktiviert.
                                    warum zB steht bei der Node nur Lichtschalter Bad als Topic.
                                    und nicht der Lichtschalter als Datenpunkt !?
                                    Screenshot 2024-08-22 223414.png

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

                                      @aphofis Keine Ahnung - im topic steht immer der Pfad zum Datenpunkt. Im namen der Name. Das topic beschreibt in der Regel woher oder was für ein Wert die payload ist.

                                      Prüfe halt alle Nodes - dass der richtige Datenpunkt dahinter steckt.

                                      1 Reply Last reply Reply Quote 0
                                      • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.0k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

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