Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Node-Red
  5. 2 Bewegungsmelder (Aqara) sollen einen Lampe schalten

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    6
    1
    222

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    8
    1
    219

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    893

2 Bewegungsmelder (Aqara) sollen einen Lampe schalten

Scheduled Pinned Locked Moved Node-Red
216 Posts 3 Posters 23.2k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • mickymM mickym

    @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.

    AphofisA Offline
    AphofisA Offline
    Aphofis
    wrote on last edited by
    #173

    @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

    mickymM AphofisA 2 Replies Last reply
    0
    • AphofisA Aphofis

      @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

      mickymM Offline
      mickymM Offline
      mickym
      Most Active
      wrote on last edited by mickym
      #174

      @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.

      Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

      1 Reply Last reply
      0
      • AphofisA Aphofis

        @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

        AphofisA Offline
        AphofisA Offline
        Aphofis
        wrote on last edited by
        #175

        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

        mickymM 1 Reply Last reply
        0
        • AphofisA Aphofis

          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

          mickymM Offline
          mickymM Offline
          mickym
          Most Active
          wrote on last edited by
          #176

          @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.

          Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

          AphofisA 1 Reply Last reply
          0
          • mickymM mickym

            @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.

            AphofisA Offline
            AphofisA Offline
            Aphofis
            wrote on last edited by
            #177

            @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

            mickymM 1 Reply Last reply
            0
            • AphofisA Aphofis

              @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

              mickymM Offline
              mickymM Offline
              mickym
              Most Active
              wrote on last edited by
              #178

              @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.

              Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

              AphofisA 1 Reply Last reply
              0
              • mickymM mickym

                @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.

                AphofisA Offline
                AphofisA Offline
                Aphofis
                wrote on last edited by
                #179

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

                mickymM 1 Reply Last reply
                0
                • AphofisA Aphofis

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

                  mickymM Offline
                  mickymM Offline
                  mickym
                  Most Active
                  wrote on last edited by mickym
                  #180

                  @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.

                  Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

                  AphofisA 1 Reply Last reply
                  0
                  • mickymM 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.

                    AphofisA Offline
                    AphofisA Offline
                    Aphofis
                    wrote on last edited by
                    #181

                    @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.

                    AphofisA 1 Reply Last reply
                    0
                    • AphofisA Aphofis

                      @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.

                      AphofisA Offline
                      AphofisA Offline
                      Aphofis
                      wrote on last edited by
                      #182

                      Ich sage mal Gute Nacht!

                      mickymM 1 Reply Last reply
                      0
                      • AphofisA Aphofis

                        Ich sage mal Gute Nacht!

                        mickymM Offline
                        mickymM Offline
                        mickym
                        Most Active
                        wrote on last edited by
                        #183

                        @aphofis Ja dann schlaf mal gut

                        Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

                        1 Reply Last reply
                        0
                        • AphofisA Offline
                          AphofisA Offline
                          Aphofis
                          wrote on last edited by Aphofis
                          #184

                          @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
                          0
                          • AphofisA Offline
                            AphofisA Offline
                            Aphofis
                            wrote on last edited by Aphofis
                            #185

                            @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.

                            mickymM 1 Reply Last reply
                            0
                            • AphofisA 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.

                              mickymM Offline
                              mickymM Offline
                              mickym
                              Most Active
                              wrote on last edited by
                              #186

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

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

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

                              Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

                              1 Reply Last reply
                              1
                              • AphofisA Offline
                                AphofisA Offline
                                Aphofis
                                wrote on last edited by Aphofis
                                #187

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

                                mickymM 1 Reply Last reply
                                0
                                • AphofisA Aphofis

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

                                  mickymM Offline
                                  mickymM Offline
                                  mickym
                                  Most Active
                                  wrote on last edited by
                                  #188

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

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

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

                                  Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

                                  AphofisA 1 Reply Last reply
                                  1
                                  • mickymM mickym

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

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

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

                                    AphofisA Offline
                                    AphofisA Offline
                                    Aphofis
                                    wrote on last edited by
                                    #189

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

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

                                    mickymM 1 Reply Last reply
                                    0
                                    • AphofisA Aphofis

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

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

                                      mickymM Offline
                                      mickymM Offline
                                      mickym
                                      Most Active
                                      wrote on last edited by
                                      #190

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

                                      Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

                                      AphofisA 1 Reply Last reply
                                      0
                                      • mickymM mickym

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

                                        AphofisA Offline
                                        AphofisA Offline
                                        Aphofis
                                        wrote on last edited by
                                        #191

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

                                        mickymM 1 Reply Last reply
                                        0
                                        • AphofisA Aphofis

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

                                          mickymM Offline
                                          mickymM Offline
                                          mickym
                                          Most Active
                                          wrote on last edited by
                                          #192

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

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

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

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

                                          Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

                                          AphofisA 1 Reply Last reply
                                          1

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          424

                                          Online

                                          32.8k

                                          Users

                                          82.8k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe