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.
    • 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
                            • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.1k
                                            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