Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Node-Red
  5. HUE Bewegungsmelder Roborock integr.

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    14
    1
    202

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    576

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    1.8k

HUE Bewegungsmelder Roborock integr.

Geplant Angeheftet Gesperrt Verschoben Node-Red
34 Beiträge 2 Kommentatoren 2.6k Aufrufe 2 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • AphofisA Offline
    AphofisA Offline
    Aphofis
    schrieb am zuletzt editiert von Aphofis
    #1

    Ich habe da mal eine Frage, vielleicht kann mir einer helfen.
    Ich habe einen Roborock Staubsauger und würde gerne meine HUE Bewegungsmelder nutzen.
    Die Steuerung soll wenn der Roboter nicht in der Station (5) ist funktionieren
    Das bei Bewegung für 3 min das Licht an bleibt und bei wiederbewegung weitere 3 min eingeschaltet bleibt und wenn der Küchen HUE Lichtschalter mit dem Wert 1000 betätigt wird soll der Bewegungsmelder nicht gehen und das Licht nach 45 min ausgeschaltet werden.
    Ich weiß leider nicht genau wie man das macht. zB Motion: true wie kann man den wert abgreifen und benutzen !?
    und nebenbei, wie kann man die werte auslesen und benutzen die in der Seitenleiste stehen.
    Meinst du, du kannst dir das mal angucken und mir vielleicht helfen !?
    @peterfido

    Screenshot 2025-06-11 193435.png

    P 1 Antwort Letzte Antwort
    0
    • AphofisA Aphofis

      Ich habe da mal eine Frage, vielleicht kann mir einer helfen.
      Ich habe einen Roborock Staubsauger und würde gerne meine HUE Bewegungsmelder nutzen.
      Die Steuerung soll wenn der Roboter nicht in der Station (5) ist funktionieren
      Das bei Bewegung für 3 min das Licht an bleibt und bei wiederbewegung weitere 3 min eingeschaltet bleibt und wenn der Küchen HUE Lichtschalter mit dem Wert 1000 betätigt wird soll der Bewegungsmelder nicht gehen und das Licht nach 45 min ausgeschaltet werden.
      Ich weiß leider nicht genau wie man das macht. zB Motion: true wie kann man den wert abgreifen und benutzen !?
      und nebenbei, wie kann man die werte auslesen und benutzen die in der Seitenleiste stehen.
      Meinst du, du kannst dir das mal angucken und mir vielleicht helfen !?
      @peterfido

      Screenshot 2025-06-11 193435.png

      P Offline
      P Offline
      peterfido
      schrieb am zuletzt editiert von peterfido
      #2

      @aphofis Das sollte dann unter msg.payload.motion liegen.

      Edit: Die Infos aus der Seitenleiste lassen sich nach dem Markieren mit der Maus nutzen. Ich meine die Zwischenablage sollte da nutzbar sein. Ich bin derzeit nur am Tablet unterwegs und habe da keine Maus und co.

      Gruß

      Peterfido


      Proxmox auf Intel NUC12WSHi5
      ioBroker: Debian (VM)
      CCU: Debmatic (VM)
      Influx: Debian (VM)
      Grafana: Debian (VM)
      eBus: Debian (VM)
      Zigbee: Debian (VM) mit zigbee2mqtt

      AphofisA 1 Antwort Letzte Antwort
      0
      • P peterfido

        @aphofis Das sollte dann unter msg.payload.motion liegen.

        Edit: Die Infos aus der Seitenleiste lassen sich nach dem Markieren mit der Maus nutzen. Ich meine die Zwischenablage sollte da nutzbar sein. Ich bin derzeit nur am Tablet unterwegs und habe da keine Maus und co.

        AphofisA Offline
        AphofisA Offline
        Aphofis
        schrieb am zuletzt editiert von
        #3

        @peterfido
        Na wenn Zeit ist! Ich habe das da nicht eilig! Bin ja dankbar für jede Hilfe.

        P 1 Antwort Letzte Antwort
        0
        • AphofisA Aphofis

          @peterfido
          Na wenn Zeit ist! Ich habe das da nicht eilig! Bin ja dankbar für jede Hilfe.

          P Offline
          P Offline
          peterfido
          schrieb am zuletzt editiert von
          #4

          @aphofis Wie es gehen sollte, habe ich ja geschrieben. Einfach probieren. Auch mit dem msg.payload.motion.

          Gruß

          Peterfido


          Proxmox auf Intel NUC12WSHi5
          ioBroker: Debian (VM)
          CCU: Debmatic (VM)
          Influx: Debian (VM)
          Grafana: Debian (VM)
          eBus: Debian (VM)
          Zigbee: Debian (VM) mit zigbee2mqtt

          AphofisA 1 Antwort Letzte Antwort
          0
          • P peterfido

            @aphofis Wie es gehen sollte, habe ich ja geschrieben. Einfach probieren. Auch mit dem msg.payload.motion.

            AphofisA Offline
            AphofisA Offline
            Aphofis
            schrieb am zuletzt editiert von
            #5

            @peterfido
            msg.payload.motion habe ich schon rum gespielt.
            Bin aber nicht weiter gekommen.
            und wie es von statten geht, das die bewegungsmelder bei roboter status 5 deaktiviert sind weiß ich auch nicht.

            P 1 Antwort Letzte Antwort
            0
            • AphofisA Aphofis

              @peterfido
              msg.payload.motion habe ich schon rum gespielt.
              Bin aber nicht weiter gekommen.
              und wie es von statten geht, das die bewegungsmelder bei roboter status 5 deaktiviert sind weiß ich auch nicht.

              P Offline
              P Offline
              peterfido
              schrieb am zuletzt editiert von peterfido
              #6

              @aphofis Ich habe keinen Hue Bewegungsmelder.

              Mein Entwurf mit 3 und 45 Sekunden:
              ad928652-064a-4668-a8eb-5e37d1881ce0-image.png

              [
                  {
                      "id": "a42b83181f07f8d0",
                      "type": "tab",
                      "label": "Flow 8",
                      "disabled": false,
                      "info": "",
                      "env": []
                  },
                  {
                      "id": "1c8c0acba7c2bff2",
                      "type": "inject",
                      "z": "a42b83181f07f8d0",
                      "name": "Bewegung",
                      "props": [
                          {
                              "p": "payload.motion",
                              "v": "true",
                              "vt": "bool"
                          },
                          {
                              "p": "topic",
                              "vt": "str"
                          }
                      ],
                      "repeat": "",
                      "crontab": "",
                      "once": false,
                      "onceDelay": 0.1,
                      "topic": "",
                      "x": 100,
                      "y": 60,
                      "wires": [
                          [
                              "8bf1e5067a6f0ad2",
                              "6adb99e531920623"
                          ]
                      ]
                  },
                  {
                      "id": "d1f2c8393ea7f683",
                      "type": "debug",
                      "z": "a42b83181f07f8d0",
                      "name": "debug 3",
                      "active": true,
                      "tosidebar": true,
                      "console": false,
                      "tostatus": false,
                      "complete": "payload",
                      "targetType": "msg",
                      "statusVal": "",
                      "statusType": "auto",
                      "x": 1100,
                      "y": 60,
                      "wires": []
                  },
                  {
                      "id": "8bf1e5067a6f0ad2",
                      "type": "delay",
                      "z": "a42b83181f07f8d0",
                      "name": "",
                      "pauseType": "delay",
                      "timeout": "1",
                      "timeoutUnits": "seconds",
                      "rate": "1",
                      "nbRateUnits": "1",
                      "rateUnits": "second",
                      "randomFirst": "1",
                      "randomLast": "5",
                      "randomUnits": "seconds",
                      "drop": false,
                      "allowrate": false,
                      "outputs": 1,
                      "x": 120,
                      "y": 120,
                      "wires": [
                          [
                              "a9f9b30b4f8999d0"
                          ]
                      ]
                  },
                  {
                      "id": "a9f9b30b4f8999d0",
                      "type": "change",
                      "z": "a42b83181f07f8d0",
                      "name": "",
                      "rules": [
                          {
                              "t": "set",
                              "p": "payload.motion",
                              "pt": "msg",
                              "to": "false",
                              "tot": "bool"
                          }
                      ],
                      "action": "",
                      "property": "",
                      "from": "",
                      "to": "",
                      "reg": false,
                      "x": 160,
                      "y": 180,
                      "wires": [
                          [
                              "6adb99e531920623"
                          ]
                      ]
                  },
                  {
                      "id": "7a509a8587332f14",
                      "type": "switch",
                      "z": "a42b83181f07f8d0",
                      "name": "",
                      "property": "payload",
                      "propertyType": "msg",
                      "rules": [
                          {
                              "t": "true"
                          },
                          {
                              "t": "false"
                          }
                      ],
                      "checkall": "true",
                      "repair": false,
                      "outputs": 2,
                      "x": 650,
                      "y": 60,
                      "wires": [
                          [
                              "c1952bc66da5a348"
                          ],
                          []
                      ]
                  },
                  {
                      "id": "c1952bc66da5a348",
                      "type": "timeouttrigger",
                      "z": "a42b83181f07f8d0",
                      "OnTimeoutType": "bool",
                      "OnTimeoutVal": "false",
                      "duration": "3",
                      "units": "s",
                      "passthrough": true,
                      "sendTimeoutValue": "once",
                      "interval": "",
                      "IntervalUnits": "s",
                      "name": "",
                      "x": 790,
                      "y": 40,
                      "wires": [
                          [
                              "4d146d05efbc5d35"
                          ]
                      ]
                  },
                  {
                      "id": "6adb99e531920623",
                      "type": "change",
                      "z": "a42b83181f07f8d0",
                      "name": "",
                      "rules": [
                          {
                              "t": "set",
                              "p": "payload",
                              "pt": "msg",
                              "to": "payload.motion",
                              "tot": "msg"
                          }
                      ],
                      "action": "",
                      "property": "",
                      "from": "",
                      "to": "",
                      "reg": false,
                      "x": 490,
                      "y": 60,
                      "wires": [
                          [
                              "7a509a8587332f14"
                          ]
                      ]
                  },
                  {
                      "id": "9f83e7917ef2d8e2",
                      "type": "comment",
                      "z": "a42b83181f07f8d0",
                      "name": "Bewegungsmelder",
                      "info": "",
                      "x": 190,
                      "y": 20,
                      "wires": []
                  },
                  {
                      "id": "302a07cea50da337",
                      "type": "timeouttrigger",
                      "z": "a42b83181f07f8d0",
                      "OnTimeoutType": "bool",
                      "OnTimeoutVal": "false",
                      "duration": "45",
                      "units": "s",
                      "passthrough": true,
                      "sendTimeoutValue": "once",
                      "interval": "",
                      "IntervalUnits": "s",
                      "name": "",
                      "x": 810,
                      "y": 180,
                      "wires": [
                          [
                              "2871643160dfcc7c",
                              "550905a564f09176"
                          ]
                      ]
                  },
                  {
                      "id": "0762e0ad3da83f0d",
                      "type": "inject",
                      "z": "a42b83181f07f8d0",
                      "name": "",
                      "props": [
                          {
                              "p": "payload"
                          },
                          {
                              "p": "topic",
                              "vt": "str"
                          }
                      ],
                      "repeat": "",
                      "crontab": "",
                      "once": false,
                      "onceDelay": 0.1,
                      "topic": "",
                      "payload": "1000",
                      "payloadType": "num",
                      "x": 90,
                      "y": 340,
                      "wires": [
                          [
                              "d1051390faa881a3"
                          ]
                      ]
                  },
                  {
                      "id": "bd795708de32c118",
                      "type": "change",
                      "z": "a42b83181f07f8d0",
                      "name": "",
                      "rules": [
                          {
                              "t": "set",
                              "p": "payload",
                              "pt": "msg",
                              "to": "true",
                              "tot": "bool"
                          }
                      ],
                      "action": "",
                      "property": "",
                      "from": "",
                      "to": "",
                      "reg": false,
                      "x": 630,
                      "y": 180,
                      "wires": [
                          [
                              "302a07cea50da337"
                          ]
                      ]
                  },
                  {
                      "id": "d1051390faa881a3",
                      "type": "switch",
                      "z": "a42b83181f07f8d0",
                      "name": "",
                      "property": "payload",
                      "propertyType": "msg",
                      "rules": [
                          {
                              "t": "eq",
                              "v": "1000",
                              "vt": "num"
                          },
                          {
                              "t": "eq",
                              "v": "",
                              "vt": "num"
                          }
                      ],
                      "checkall": "true",
                      "repair": false,
                      "outputs": 2,
                      "x": 470,
                      "y": 260,
                      "wires": [
                          [
                              "bd795708de32c118",
                              "32b9213c2fe970b0"
                          ],
                          []
                      ]
                  },
                  {
                      "id": "4d146d05efbc5d35",
                      "type": "switch",
                      "z": "a42b83181f07f8d0",
                      "name": "",
                      "property": "stopp",
                      "propertyType": "flow",
                      "rules": [
                          {
                              "t": "false"
                          }
                      ],
                      "checkall": "true",
                      "repair": false,
                      "outputs": 1,
                      "x": 930,
                      "y": 40,
                      "wires": [
                          [
                              "550905a564f09176"
                          ]
                      ]
                  },
                  {
                      "id": "32b9213c2fe970b0",
                      "type": "change",
                      "z": "a42b83181f07f8d0",
                      "name": "",
                      "rules": [
                          {
                              "t": "set",
                              "p": "stopp",
                              "pt": "flow",
                              "to": "true",
                              "tot": "bool"
                          }
                      ],
                      "action": "",
                      "property": "",
                      "from": "",
                      "to": "",
                      "reg": false,
                      "x": 720,
                      "y": 260,
                      "wires": [
                          []
                      ]
                  },
                  {
                      "id": "0439088d7ec73749",
                      "type": "change",
                      "z": "a42b83181f07f8d0",
                      "name": "",
                      "rules": [
                          {
                              "t": "set",
                              "p": "stopp",
                              "pt": "flow",
                              "to": "false",
                              "tot": "bool"
                          }
                      ],
                      "action": "",
                      "property": "",
                      "from": "",
                      "to": "",
                      "reg": false,
                      "x": 1080,
                      "y": 260,
                      "wires": [
                          []
                      ]
                  },
                  {
                      "id": "2871643160dfcc7c",
                      "type": "switch",
                      "z": "a42b83181f07f8d0",
                      "name": "",
                      "property": "payload",
                      "propertyType": "msg",
                      "rules": [
                          {
                              "t": "eq",
                              "v": "1000",
                              "vt": "num"
                          },
                          {
                              "t": "eq",
                              "v": "",
                              "vt": "num"
                          }
                      ],
                      "checkall": "true",
                      "repair": false,
                      "outputs": 2,
                      "x": 910,
                      "y": 260,
                      "wires": [
                          [],
                          [
                              "0439088d7ec73749"
                          ]
                      ]
                  },
                  {
                      "id": "550905a564f09176",
                      "type": "function",
                      "z": "a42b83181f07f8d0",
                      "name": "Ausgabe",
                      "func": "node.status({ text: msg.payload });\n\nreturn msg;",
                      "outputs": 1,
                      "timeout": 0,
                      "noerr": 0,
                      "initialize": "// Der Code hier wird ausgeführt,\n// wenn der Node gestartet wird\nflow.set(\"stopp\", false);",
                      "finalize": "",
                      "libs": [],
                      "x": 1080,
                      "y": 140,
                      "wires": [
                          [
                              "d1f2c8393ea7f683"
                          ]
                      ]
                  }
              ]
              

              Beachte auch in der Funktion den Reiter Start, welcher die Variable stopp initialisiert.

              Gruß

              Peterfido


              Proxmox auf Intel NUC12WSHi5
              ioBroker: Debian (VM)
              CCU: Debmatic (VM)
              Influx: Debian (VM)
              Grafana: Debian (VM)
              eBus: Debian (VM)
              Zigbee: Debian (VM) mit zigbee2mqtt

              AphofisA 1 Antwort Letzte Antwort
              0
              • P peterfido

                @aphofis Ich habe keinen Hue Bewegungsmelder.

                Mein Entwurf mit 3 und 45 Sekunden:
                ad928652-064a-4668-a8eb-5e37d1881ce0-image.png

                [
                    {
                        "id": "a42b83181f07f8d0",
                        "type": "tab",
                        "label": "Flow 8",
                        "disabled": false,
                        "info": "",
                        "env": []
                    },
                    {
                        "id": "1c8c0acba7c2bff2",
                        "type": "inject",
                        "z": "a42b83181f07f8d0",
                        "name": "Bewegung",
                        "props": [
                            {
                                "p": "payload.motion",
                                "v": "true",
                                "vt": "bool"
                            },
                            {
                                "p": "topic",
                                "vt": "str"
                            }
                        ],
                        "repeat": "",
                        "crontab": "",
                        "once": false,
                        "onceDelay": 0.1,
                        "topic": "",
                        "x": 100,
                        "y": 60,
                        "wires": [
                            [
                                "8bf1e5067a6f0ad2",
                                "6adb99e531920623"
                            ]
                        ]
                    },
                    {
                        "id": "d1f2c8393ea7f683",
                        "type": "debug",
                        "z": "a42b83181f07f8d0",
                        "name": "debug 3",
                        "active": true,
                        "tosidebar": true,
                        "console": false,
                        "tostatus": false,
                        "complete": "payload",
                        "targetType": "msg",
                        "statusVal": "",
                        "statusType": "auto",
                        "x": 1100,
                        "y": 60,
                        "wires": []
                    },
                    {
                        "id": "8bf1e5067a6f0ad2",
                        "type": "delay",
                        "z": "a42b83181f07f8d0",
                        "name": "",
                        "pauseType": "delay",
                        "timeout": "1",
                        "timeoutUnits": "seconds",
                        "rate": "1",
                        "nbRateUnits": "1",
                        "rateUnits": "second",
                        "randomFirst": "1",
                        "randomLast": "5",
                        "randomUnits": "seconds",
                        "drop": false,
                        "allowrate": false,
                        "outputs": 1,
                        "x": 120,
                        "y": 120,
                        "wires": [
                            [
                                "a9f9b30b4f8999d0"
                            ]
                        ]
                    },
                    {
                        "id": "a9f9b30b4f8999d0",
                        "type": "change",
                        "z": "a42b83181f07f8d0",
                        "name": "",
                        "rules": [
                            {
                                "t": "set",
                                "p": "payload.motion",
                                "pt": "msg",
                                "to": "false",
                                "tot": "bool"
                            }
                        ],
                        "action": "",
                        "property": "",
                        "from": "",
                        "to": "",
                        "reg": false,
                        "x": 160,
                        "y": 180,
                        "wires": [
                            [
                                "6adb99e531920623"
                            ]
                        ]
                    },
                    {
                        "id": "7a509a8587332f14",
                        "type": "switch",
                        "z": "a42b83181f07f8d0",
                        "name": "",
                        "property": "payload",
                        "propertyType": "msg",
                        "rules": [
                            {
                                "t": "true"
                            },
                            {
                                "t": "false"
                            }
                        ],
                        "checkall": "true",
                        "repair": false,
                        "outputs": 2,
                        "x": 650,
                        "y": 60,
                        "wires": [
                            [
                                "c1952bc66da5a348"
                            ],
                            []
                        ]
                    },
                    {
                        "id": "c1952bc66da5a348",
                        "type": "timeouttrigger",
                        "z": "a42b83181f07f8d0",
                        "OnTimeoutType": "bool",
                        "OnTimeoutVal": "false",
                        "duration": "3",
                        "units": "s",
                        "passthrough": true,
                        "sendTimeoutValue": "once",
                        "interval": "",
                        "IntervalUnits": "s",
                        "name": "",
                        "x": 790,
                        "y": 40,
                        "wires": [
                            [
                                "4d146d05efbc5d35"
                            ]
                        ]
                    },
                    {
                        "id": "6adb99e531920623",
                        "type": "change",
                        "z": "a42b83181f07f8d0",
                        "name": "",
                        "rules": [
                            {
                                "t": "set",
                                "p": "payload",
                                "pt": "msg",
                                "to": "payload.motion",
                                "tot": "msg"
                            }
                        ],
                        "action": "",
                        "property": "",
                        "from": "",
                        "to": "",
                        "reg": false,
                        "x": 490,
                        "y": 60,
                        "wires": [
                            [
                                "7a509a8587332f14"
                            ]
                        ]
                    },
                    {
                        "id": "9f83e7917ef2d8e2",
                        "type": "comment",
                        "z": "a42b83181f07f8d0",
                        "name": "Bewegungsmelder",
                        "info": "",
                        "x": 190,
                        "y": 20,
                        "wires": []
                    },
                    {
                        "id": "302a07cea50da337",
                        "type": "timeouttrigger",
                        "z": "a42b83181f07f8d0",
                        "OnTimeoutType": "bool",
                        "OnTimeoutVal": "false",
                        "duration": "45",
                        "units": "s",
                        "passthrough": true,
                        "sendTimeoutValue": "once",
                        "interval": "",
                        "IntervalUnits": "s",
                        "name": "",
                        "x": 810,
                        "y": 180,
                        "wires": [
                            [
                                "2871643160dfcc7c",
                                "550905a564f09176"
                            ]
                        ]
                    },
                    {
                        "id": "0762e0ad3da83f0d",
                        "type": "inject",
                        "z": "a42b83181f07f8d0",
                        "name": "",
                        "props": [
                            {
                                "p": "payload"
                            },
                            {
                                "p": "topic",
                                "vt": "str"
                            }
                        ],
                        "repeat": "",
                        "crontab": "",
                        "once": false,
                        "onceDelay": 0.1,
                        "topic": "",
                        "payload": "1000",
                        "payloadType": "num",
                        "x": 90,
                        "y": 340,
                        "wires": [
                            [
                                "d1051390faa881a3"
                            ]
                        ]
                    },
                    {
                        "id": "bd795708de32c118",
                        "type": "change",
                        "z": "a42b83181f07f8d0",
                        "name": "",
                        "rules": [
                            {
                                "t": "set",
                                "p": "payload",
                                "pt": "msg",
                                "to": "true",
                                "tot": "bool"
                            }
                        ],
                        "action": "",
                        "property": "",
                        "from": "",
                        "to": "",
                        "reg": false,
                        "x": 630,
                        "y": 180,
                        "wires": [
                            [
                                "302a07cea50da337"
                            ]
                        ]
                    },
                    {
                        "id": "d1051390faa881a3",
                        "type": "switch",
                        "z": "a42b83181f07f8d0",
                        "name": "",
                        "property": "payload",
                        "propertyType": "msg",
                        "rules": [
                            {
                                "t": "eq",
                                "v": "1000",
                                "vt": "num"
                            },
                            {
                                "t": "eq",
                                "v": "",
                                "vt": "num"
                            }
                        ],
                        "checkall": "true",
                        "repair": false,
                        "outputs": 2,
                        "x": 470,
                        "y": 260,
                        "wires": [
                            [
                                "bd795708de32c118",
                                "32b9213c2fe970b0"
                            ],
                            []
                        ]
                    },
                    {
                        "id": "4d146d05efbc5d35",
                        "type": "switch",
                        "z": "a42b83181f07f8d0",
                        "name": "",
                        "property": "stopp",
                        "propertyType": "flow",
                        "rules": [
                            {
                                "t": "false"
                            }
                        ],
                        "checkall": "true",
                        "repair": false,
                        "outputs": 1,
                        "x": 930,
                        "y": 40,
                        "wires": [
                            [
                                "550905a564f09176"
                            ]
                        ]
                    },
                    {
                        "id": "32b9213c2fe970b0",
                        "type": "change",
                        "z": "a42b83181f07f8d0",
                        "name": "",
                        "rules": [
                            {
                                "t": "set",
                                "p": "stopp",
                                "pt": "flow",
                                "to": "true",
                                "tot": "bool"
                            }
                        ],
                        "action": "",
                        "property": "",
                        "from": "",
                        "to": "",
                        "reg": false,
                        "x": 720,
                        "y": 260,
                        "wires": [
                            []
                        ]
                    },
                    {
                        "id": "0439088d7ec73749",
                        "type": "change",
                        "z": "a42b83181f07f8d0",
                        "name": "",
                        "rules": [
                            {
                                "t": "set",
                                "p": "stopp",
                                "pt": "flow",
                                "to": "false",
                                "tot": "bool"
                            }
                        ],
                        "action": "",
                        "property": "",
                        "from": "",
                        "to": "",
                        "reg": false,
                        "x": 1080,
                        "y": 260,
                        "wires": [
                            []
                        ]
                    },
                    {
                        "id": "2871643160dfcc7c",
                        "type": "switch",
                        "z": "a42b83181f07f8d0",
                        "name": "",
                        "property": "payload",
                        "propertyType": "msg",
                        "rules": [
                            {
                                "t": "eq",
                                "v": "1000",
                                "vt": "num"
                            },
                            {
                                "t": "eq",
                                "v": "",
                                "vt": "num"
                            }
                        ],
                        "checkall": "true",
                        "repair": false,
                        "outputs": 2,
                        "x": 910,
                        "y": 260,
                        "wires": [
                            [],
                            [
                                "0439088d7ec73749"
                            ]
                        ]
                    },
                    {
                        "id": "550905a564f09176",
                        "type": "function",
                        "z": "a42b83181f07f8d0",
                        "name": "Ausgabe",
                        "func": "node.status({ text: msg.payload });\n\nreturn msg;",
                        "outputs": 1,
                        "timeout": 0,
                        "noerr": 0,
                        "initialize": "// Der Code hier wird ausgeführt,\n// wenn der Node gestartet wird\nflow.set(\"stopp\", false);",
                        "finalize": "",
                        "libs": [],
                        "x": 1080,
                        "y": 140,
                        "wires": [
                            [
                                "d1f2c8393ea7f683"
                            ]
                        ]
                    }
                ]
                

                Beachte auch in der Funktion den Reiter Start, welcher die Variable stopp initialisiert.

                AphofisA Offline
                AphofisA Offline
                Aphofis
                schrieb am zuletzt editiert von
                #7

                @peterfido
                Verstehe ich noch nicht ganz wie wird die iob in node eingestellt, wo kommt der Roboter Sauger ins spiel und wie meinst du das mit beachte stop reiter !?

                [
                    {
                        "id": "8efbfa2bed5bc563",
                        "type": "inject",
                        "z": "4a7d49c9cec64387",
                        "name": "Bewegung",
                        "props": [
                            {
                                "p": "payload.motion",
                                "v": "true",
                                "vt": "bool"
                            },
                            {
                                "p": "topic",
                                "vt": "str"
                            }
                        ],
                        "repeat": "",
                        "crontab": "",
                        "once": false,
                        "onceDelay": 0.1,
                        "topic": "",
                        "x": 120,
                        "y": 720,
                        "wires": [
                            [
                                "5e77b709b7c1eae0",
                                "bfe42f33cfa9774d"
                            ]
                        ]
                    },
                    {
                        "id": "393f87f05ba89b4d",
                        "type": "debug",
                        "z": "4a7d49c9cec64387",
                        "name": "debug 17",
                        "active": true,
                        "tosidebar": true,
                        "console": false,
                        "tostatus": false,
                        "complete": "payload",
                        "targetType": "msg",
                        "statusVal": "",
                        "statusType": "auto",
                        "x": 1340,
                        "y": 720,
                        "wires": []
                    },
                    {
                        "id": "140ae0a74c608f65",
                        "type": "delay",
                        "z": "4a7d49c9cec64387",
                        "name": "verzög.1s",
                        "pauseType": "delay",
                        "timeout": "1",
                        "timeoutUnits": "seconds",
                        "rate": "1",
                        "nbRateUnits": "1",
                        "rateUnits": "second",
                        "randomFirst": "1",
                        "randomLast": "5",
                        "randomUnits": "seconds",
                        "drop": false,
                        "allowrate": false,
                        "outputs": 1,
                        "x": 380,
                        "y": 660,
                        "wires": [
                            [
                                "43a8260bfdf05214"
                            ]
                        ]
                    },
                    {
                        "id": "43a8260bfdf05214",
                        "type": "change",
                        "z": "4a7d49c9cec64387",
                        "name": "motion",
                        "rules": [
                            {
                                "t": "set",
                                "p": "payload.motion",
                                "pt": "msg",
                                "to": "false",
                                "tot": "bool"
                            }
                        ],
                        "action": "",
                        "property": "",
                        "from": "",
                        "to": "",
                        "reg": false,
                        "x": 510,
                        "y": 660,
                        "wires": [
                            [
                                "04fa302c2270ca4f"
                            ]
                        ]
                    },
                    {
                        "id": "f5d7178472b12544",
                        "type": "switch",
                        "z": "4a7d49c9cec64387",
                        "name": "",
                        "property": "payload",
                        "propertyType": "msg",
                        "rules": [
                            {
                                "t": "true"
                            },
                            {
                                "t": "false"
                            }
                        ],
                        "checkall": "true",
                        "repair": false,
                        "outputs": 2,
                        "x": 770,
                        "y": 660,
                        "wires": [
                            [
                                "91e7c6e9005453c1"
                            ],
                            []
                        ]
                    },
                    {
                        "id": "04fa302c2270ca4f",
                        "type": "change",
                        "z": "4a7d49c9cec64387",
                        "name": "motion",
                        "rules": [
                            {
                                "t": "set",
                                "p": "payload",
                                "pt": "msg",
                                "to": "payload.motion",
                                "tot": "msg"
                            }
                        ],
                        "action": "",
                        "property": "",
                        "from": "",
                        "to": "",
                        "reg": false,
                        "x": 650,
                        "y": 660,
                        "wires": [
                            [
                                "f5d7178472b12544"
                            ]
                        ]
                    },
                    {
                        "id": "d72b588f5ad0c3d1",
                        "type": "inject",
                        "z": "4a7d49c9cec64387",
                        "name": "",
                        "props": [
                            {
                                "p": "payload"
                            },
                            {
                                "p": "topic",
                                "vt": "str"
                            }
                        ],
                        "repeat": "",
                        "crontab": "",
                        "once": false,
                        "onceDelay": 0.1,
                        "topic": "",
                        "payload": "1000",
                        "payloadType": "num",
                        "x": 370,
                        "y": 760,
                        "wires": [
                            [
                                "28b5fec6c9de7785"
                            ]
                        ]
                    },
                    {
                        "id": "acb34561a25cb81b",
                        "type": "change",
                        "z": "4a7d49c9cec64387",
                        "name": "",
                        "rules": [
                            {
                                "t": "set",
                                "p": "payload",
                                "pt": "msg",
                                "to": "true",
                                "tot": "bool"
                            }
                        ],
                        "action": "",
                        "property": "",
                        "from": "",
                        "to": "",
                        "reg": false,
                        "x": 710,
                        "y": 720,
                        "wires": [
                            [
                                "d2ebd9fe89d68291"
                            ]
                        ]
                    },
                    {
                        "id": "28b5fec6c9de7785",
                        "type": "switch",
                        "z": "4a7d49c9cec64387",
                        "name": "",
                        "property": "payload",
                        "propertyType": "msg",
                        "rules": [
                            {
                                "t": "eq",
                                "v": "1000",
                                "vt": "num"
                            },
                            {
                                "t": "eq",
                                "v": "",
                                "vt": "num"
                            }
                        ],
                        "checkall": "true",
                        "repair": false,
                        "outputs": 2,
                        "x": 510,
                        "y": 760,
                        "wires": [
                            [
                                "acb34561a25cb81b",
                                "98aed8cf2a3130df"
                            ],
                            []
                        ]
                    },
                    {
                        "id": "932f55c48b111395",
                        "type": "switch",
                        "z": "4a7d49c9cec64387",
                        "name": "",
                        "property": "stopp",
                        "propertyType": "flow",
                        "rules": [
                            {
                                "t": "false"
                            }
                        ],
                        "checkall": "true",
                        "repair": false,
                        "outputs": 1,
                        "x": 1010,
                        "y": 640,
                        "wires": [
                            [
                                "8a764bd3f71768b8"
                            ]
                        ]
                    },
                    {
                        "id": "98aed8cf2a3130df",
                        "type": "change",
                        "z": "4a7d49c9cec64387",
                        "name": "",
                        "rules": [
                            {
                                "t": "set",
                                "p": "stopp",
                                "pt": "flow",
                                "to": "true",
                                "tot": "bool"
                            }
                        ],
                        "action": "",
                        "property": "",
                        "from": "",
                        "to": "",
                        "reg": false,
                        "x": 700,
                        "y": 780,
                        "wires": [
                            []
                        ]
                    },
                    {
                        "id": "7a91b9011434fb39",
                        "type": "change",
                        "z": "4a7d49c9cec64387",
                        "name": "",
                        "rules": [
                            {
                                "t": "set",
                                "p": "stopp",
                                "pt": "flow",
                                "to": "false",
                                "tot": "bool"
                            }
                        ],
                        "action": "",
                        "property": "",
                        "from": "",
                        "to": "",
                        "reg": false,
                        "x": 1220,
                        "y": 780,
                        "wires": [
                            [
                                "25337f528e5f609e"
                            ]
                        ]
                    },
                    {
                        "id": "924f5324f130bca6",
                        "type": "switch",
                        "z": "4a7d49c9cec64387",
                        "name": "",
                        "property": "payload",
                        "propertyType": "msg",
                        "rules": [
                            {
                                "t": "eq",
                                "v": "1000",
                                "vt": "num"
                            },
                            {
                                "t": "eq",
                                "v": "",
                                "vt": "num"
                            }
                        ],
                        "checkall": "true",
                        "repair": false,
                        "outputs": 2,
                        "x": 1070,
                        "y": 760,
                        "wires": [
                            [],
                            [
                                "7a91b9011434fb39"
                            ]
                        ]
                    },
                    {
                        "id": "8a764bd3f71768b8",
                        "type": "function",
                        "z": "4a7d49c9cec64387",
                        "name": "Ausgabe",
                        "func": "node.status({ text: msg.payload });\n\nreturn msg;",
                        "outputs": 1,
                        "timeout": 0,
                        "noerr": 0,
                        "initialize": "// Der Code hier wird ausgeführt,\n// wenn der Node gestartet wird\nflow.set(\"stopp\", false);",
                        "finalize": "",
                        "libs": [],
                        "x": 1180,
                        "y": 720,
                        "wires": [
                            [
                                "393f87f05ba89b4d"
                            ]
                        ]
                    },
                    {
                        "id": "91e7c6e9005453c1",
                        "type": "timeouttrigger",
                        "z": "4a7d49c9cec64387",
                        "OnTimeoutType": "bool",
                        "OnTimeoutVal": "false",
                        "duration": "3",
                        "units": "s",
                        "passthrough": true,
                        "sendTimeoutValue": "once",
                        "interval": "",
                        "IntervalUnits": "s",
                        "name": "",
                        "x": 890,
                        "y": 640,
                        "wires": [
                            [
                                "932f55c48b111395"
                            ]
                        ]
                    },
                    {
                        "id": "d2ebd9fe89d68291",
                        "type": "timeouttrigger",
                        "z": "4a7d49c9cec64387",
                        "OnTimeoutType": "bool",
                        "OnTimeoutVal": "false",
                        "duration": "10",
                        "units": "s",
                        "passthrough": true,
                        "sendTimeoutValue": "once",
                        "interval": "",
                        "IntervalUnits": "s",
                        "name": "",
                        "x": 910,
                        "y": 720,
                        "wires": [
                            [
                                "924f5324f130bca6",
                                "8a764bd3f71768b8"
                            ]
                        ]
                    },
                    {
                        "id": "d2ef36de8a84d716",
                        "type": "ioBroker in",
                        "z": "4a7d49c9cec64387",
                        "name": "KüMo",
                        "attrname": "payload",
                        "topic": "hue.0.Hue_GordonX.Küche_Motion_Sensor.presence",
                        "payloadType": "value",
                        "onlyack": "",
                        "func": "rbe",
                        "gap": "",
                        "fireOnStart": "false",
                        "outFormat": "MQTT",
                        "x": 130,
                        "y": 660,
                        "wires": [
                            [
                                "5e77b709b7c1eae0",
                                "bfe42f33cfa9774d"
                            ]
                        ]
                    },
                    {
                        "id": "25337f528e5f609e",
                        "type": "debug",
                        "z": "4a7d49c9cec64387",
                        "name": "debug 6",
                        "active": true,
                        "tosidebar": true,
                        "console": false,
                        "tostatus": false,
                        "complete": "false",
                        "statusVal": "",
                        "statusType": "auto",
                        "x": 1380,
                        "y": 780,
                        "wires": []
                    },
                    {
                        "id": "c68f00f118b7b37e",
                        "type": "debug",
                        "z": "4a7d49c9cec64387",
                        "name": "debug 19",
                        "active": true,
                        "tosidebar": true,
                        "console": false,
                        "tostatus": false,
                        "complete": "false",
                        "statusVal": "",
                        "statusType": "auto",
                        "x": 380,
                        "y": 620,
                        "wires": []
                    },
                    {
                        "id": "5e77b709b7c1eae0",
                        "type": "junction",
                        "z": "4a7d49c9cec64387",
                        "x": 280,
                        "y": 720,
                        "wires": [
                            [
                                "a779e45d3967bfb9"
                            ]
                        ]
                    },
                    {
                        "id": "a779e45d3967bfb9",
                        "type": "junction",
                        "z": "4a7d49c9cec64387",
                        "x": 540,
                        "y": 720,
                        "wires": [
                            [
                                "04fa302c2270ca4f"
                            ]
                        ]
                    },
                    {
                        "id": "bfe42f33cfa9774d",
                        "type": "junction",
                        "z": "4a7d49c9cec64387",
                        "x": 280,
                        "y": 660,
                        "wires": [
                            [
                                "c68f00f118b7b37e",
                                "140ae0a74c608f65"
                            ]
                        ]
                    }
                ]
                


                Screenshot 2025-06-13 222011.png

                P 1 Antwort Letzte Antwort
                0
                • AphofisA Aphofis

                  @peterfido
                  Verstehe ich noch nicht ganz wie wird die iob in node eingestellt, wo kommt der Roboter Sauger ins spiel und wie meinst du das mit beachte stop reiter !?

                  [
                      {
                          "id": "8efbfa2bed5bc563",
                          "type": "inject",
                          "z": "4a7d49c9cec64387",
                          "name": "Bewegung",
                          "props": [
                              {
                                  "p": "payload.motion",
                                  "v": "true",
                                  "vt": "bool"
                              },
                              {
                                  "p": "topic",
                                  "vt": "str"
                              }
                          ],
                          "repeat": "",
                          "crontab": "",
                          "once": false,
                          "onceDelay": 0.1,
                          "topic": "",
                          "x": 120,
                          "y": 720,
                          "wires": [
                              [
                                  "5e77b709b7c1eae0",
                                  "bfe42f33cfa9774d"
                              ]
                          ]
                      },
                      {
                          "id": "393f87f05ba89b4d",
                          "type": "debug",
                          "z": "4a7d49c9cec64387",
                          "name": "debug 17",
                          "active": true,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "payload",
                          "targetType": "msg",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 1340,
                          "y": 720,
                          "wires": []
                      },
                      {
                          "id": "140ae0a74c608f65",
                          "type": "delay",
                          "z": "4a7d49c9cec64387",
                          "name": "verzög.1s",
                          "pauseType": "delay",
                          "timeout": "1",
                          "timeoutUnits": "seconds",
                          "rate": "1",
                          "nbRateUnits": "1",
                          "rateUnits": "second",
                          "randomFirst": "1",
                          "randomLast": "5",
                          "randomUnits": "seconds",
                          "drop": false,
                          "allowrate": false,
                          "outputs": 1,
                          "x": 380,
                          "y": 660,
                          "wires": [
                              [
                                  "43a8260bfdf05214"
                              ]
                          ]
                      },
                      {
                          "id": "43a8260bfdf05214",
                          "type": "change",
                          "z": "4a7d49c9cec64387",
                          "name": "motion",
                          "rules": [
                              {
                                  "t": "set",
                                  "p": "payload.motion",
                                  "pt": "msg",
                                  "to": "false",
                                  "tot": "bool"
                              }
                          ],
                          "action": "",
                          "property": "",
                          "from": "",
                          "to": "",
                          "reg": false,
                          "x": 510,
                          "y": 660,
                          "wires": [
                              [
                                  "04fa302c2270ca4f"
                              ]
                          ]
                      },
                      {
                          "id": "f5d7178472b12544",
                          "type": "switch",
                          "z": "4a7d49c9cec64387",
                          "name": "",
                          "property": "payload",
                          "propertyType": "msg",
                          "rules": [
                              {
                                  "t": "true"
                              },
                              {
                                  "t": "false"
                              }
                          ],
                          "checkall": "true",
                          "repair": false,
                          "outputs": 2,
                          "x": 770,
                          "y": 660,
                          "wires": [
                              [
                                  "91e7c6e9005453c1"
                              ],
                              []
                          ]
                      },
                      {
                          "id": "04fa302c2270ca4f",
                          "type": "change",
                          "z": "4a7d49c9cec64387",
                          "name": "motion",
                          "rules": [
                              {
                                  "t": "set",
                                  "p": "payload",
                                  "pt": "msg",
                                  "to": "payload.motion",
                                  "tot": "msg"
                              }
                          ],
                          "action": "",
                          "property": "",
                          "from": "",
                          "to": "",
                          "reg": false,
                          "x": 650,
                          "y": 660,
                          "wires": [
                              [
                                  "f5d7178472b12544"
                              ]
                          ]
                      },
                      {
                          "id": "d72b588f5ad0c3d1",
                          "type": "inject",
                          "z": "4a7d49c9cec64387",
                          "name": "",
                          "props": [
                              {
                                  "p": "payload"
                              },
                              {
                                  "p": "topic",
                                  "vt": "str"
                              }
                          ],
                          "repeat": "",
                          "crontab": "",
                          "once": false,
                          "onceDelay": 0.1,
                          "topic": "",
                          "payload": "1000",
                          "payloadType": "num",
                          "x": 370,
                          "y": 760,
                          "wires": [
                              [
                                  "28b5fec6c9de7785"
                              ]
                          ]
                      },
                      {
                          "id": "acb34561a25cb81b",
                          "type": "change",
                          "z": "4a7d49c9cec64387",
                          "name": "",
                          "rules": [
                              {
                                  "t": "set",
                                  "p": "payload",
                                  "pt": "msg",
                                  "to": "true",
                                  "tot": "bool"
                              }
                          ],
                          "action": "",
                          "property": "",
                          "from": "",
                          "to": "",
                          "reg": false,
                          "x": 710,
                          "y": 720,
                          "wires": [
                              [
                                  "d2ebd9fe89d68291"
                              ]
                          ]
                      },
                      {
                          "id": "28b5fec6c9de7785",
                          "type": "switch",
                          "z": "4a7d49c9cec64387",
                          "name": "",
                          "property": "payload",
                          "propertyType": "msg",
                          "rules": [
                              {
                                  "t": "eq",
                                  "v": "1000",
                                  "vt": "num"
                              },
                              {
                                  "t": "eq",
                                  "v": "",
                                  "vt": "num"
                              }
                          ],
                          "checkall": "true",
                          "repair": false,
                          "outputs": 2,
                          "x": 510,
                          "y": 760,
                          "wires": [
                              [
                                  "acb34561a25cb81b",
                                  "98aed8cf2a3130df"
                              ],
                              []
                          ]
                      },
                      {
                          "id": "932f55c48b111395",
                          "type": "switch",
                          "z": "4a7d49c9cec64387",
                          "name": "",
                          "property": "stopp",
                          "propertyType": "flow",
                          "rules": [
                              {
                                  "t": "false"
                              }
                          ],
                          "checkall": "true",
                          "repair": false,
                          "outputs": 1,
                          "x": 1010,
                          "y": 640,
                          "wires": [
                              [
                                  "8a764bd3f71768b8"
                              ]
                          ]
                      },
                      {
                          "id": "98aed8cf2a3130df",
                          "type": "change",
                          "z": "4a7d49c9cec64387",
                          "name": "",
                          "rules": [
                              {
                                  "t": "set",
                                  "p": "stopp",
                                  "pt": "flow",
                                  "to": "true",
                                  "tot": "bool"
                              }
                          ],
                          "action": "",
                          "property": "",
                          "from": "",
                          "to": "",
                          "reg": false,
                          "x": 700,
                          "y": 780,
                          "wires": [
                              []
                          ]
                      },
                      {
                          "id": "7a91b9011434fb39",
                          "type": "change",
                          "z": "4a7d49c9cec64387",
                          "name": "",
                          "rules": [
                              {
                                  "t": "set",
                                  "p": "stopp",
                                  "pt": "flow",
                                  "to": "false",
                                  "tot": "bool"
                              }
                          ],
                          "action": "",
                          "property": "",
                          "from": "",
                          "to": "",
                          "reg": false,
                          "x": 1220,
                          "y": 780,
                          "wires": [
                              [
                                  "25337f528e5f609e"
                              ]
                          ]
                      },
                      {
                          "id": "924f5324f130bca6",
                          "type": "switch",
                          "z": "4a7d49c9cec64387",
                          "name": "",
                          "property": "payload",
                          "propertyType": "msg",
                          "rules": [
                              {
                                  "t": "eq",
                                  "v": "1000",
                                  "vt": "num"
                              },
                              {
                                  "t": "eq",
                                  "v": "",
                                  "vt": "num"
                              }
                          ],
                          "checkall": "true",
                          "repair": false,
                          "outputs": 2,
                          "x": 1070,
                          "y": 760,
                          "wires": [
                              [],
                              [
                                  "7a91b9011434fb39"
                              ]
                          ]
                      },
                      {
                          "id": "8a764bd3f71768b8",
                          "type": "function",
                          "z": "4a7d49c9cec64387",
                          "name": "Ausgabe",
                          "func": "node.status({ text: msg.payload });\n\nreturn msg;",
                          "outputs": 1,
                          "timeout": 0,
                          "noerr": 0,
                          "initialize": "// Der Code hier wird ausgeführt,\n// wenn der Node gestartet wird\nflow.set(\"stopp\", false);",
                          "finalize": "",
                          "libs": [],
                          "x": 1180,
                          "y": 720,
                          "wires": [
                              [
                                  "393f87f05ba89b4d"
                              ]
                          ]
                      },
                      {
                          "id": "91e7c6e9005453c1",
                          "type": "timeouttrigger",
                          "z": "4a7d49c9cec64387",
                          "OnTimeoutType": "bool",
                          "OnTimeoutVal": "false",
                          "duration": "3",
                          "units": "s",
                          "passthrough": true,
                          "sendTimeoutValue": "once",
                          "interval": "",
                          "IntervalUnits": "s",
                          "name": "",
                          "x": 890,
                          "y": 640,
                          "wires": [
                              [
                                  "932f55c48b111395"
                              ]
                          ]
                      },
                      {
                          "id": "d2ebd9fe89d68291",
                          "type": "timeouttrigger",
                          "z": "4a7d49c9cec64387",
                          "OnTimeoutType": "bool",
                          "OnTimeoutVal": "false",
                          "duration": "10",
                          "units": "s",
                          "passthrough": true,
                          "sendTimeoutValue": "once",
                          "interval": "",
                          "IntervalUnits": "s",
                          "name": "",
                          "x": 910,
                          "y": 720,
                          "wires": [
                              [
                                  "924f5324f130bca6",
                                  "8a764bd3f71768b8"
                              ]
                          ]
                      },
                      {
                          "id": "d2ef36de8a84d716",
                          "type": "ioBroker in",
                          "z": "4a7d49c9cec64387",
                          "name": "KüMo",
                          "attrname": "payload",
                          "topic": "hue.0.Hue_GordonX.Küche_Motion_Sensor.presence",
                          "payloadType": "value",
                          "onlyack": "",
                          "func": "rbe",
                          "gap": "",
                          "fireOnStart": "false",
                          "outFormat": "MQTT",
                          "x": 130,
                          "y": 660,
                          "wires": [
                              [
                                  "5e77b709b7c1eae0",
                                  "bfe42f33cfa9774d"
                              ]
                          ]
                      },
                      {
                          "id": "25337f528e5f609e",
                          "type": "debug",
                          "z": "4a7d49c9cec64387",
                          "name": "debug 6",
                          "active": true,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "false",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 1380,
                          "y": 780,
                          "wires": []
                      },
                      {
                          "id": "c68f00f118b7b37e",
                          "type": "debug",
                          "z": "4a7d49c9cec64387",
                          "name": "debug 19",
                          "active": true,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "false",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 380,
                          "y": 620,
                          "wires": []
                      },
                      {
                          "id": "5e77b709b7c1eae0",
                          "type": "junction",
                          "z": "4a7d49c9cec64387",
                          "x": 280,
                          "y": 720,
                          "wires": [
                              [
                                  "a779e45d3967bfb9"
                              ]
                          ]
                      },
                      {
                          "id": "a779e45d3967bfb9",
                          "type": "junction",
                          "z": "4a7d49c9cec64387",
                          "x": 540,
                          "y": 720,
                          "wires": [
                              [
                                  "04fa302c2270ca4f"
                              ]
                          ]
                      },
                      {
                          "id": "bfe42f33cfa9774d",
                          "type": "junction",
                          "z": "4a7d49c9cec64387",
                          "x": 280,
                          "y": 660,
                          "wires": [
                              [
                                  "c68f00f118b7b37e",
                                  "140ae0a74c608f65"
                              ]
                          ]
                      }
                  ]
                  


                  Screenshot 2025-06-13 222011.png

                  P Offline
                  P Offline
                  peterfido
                  schrieb am zuletzt editiert von
                  #8

                  @aphofis In den Funktionen gibt es mehrere Reiter / Tabs. Da drin kann man andere Skripte für Start und Stopp des Flows anlegen. Z.B. Variablen für den Flow anlegen. Den Roboter habe ich nicht berücksichtigt. Das ist nur ein Grundgerüst, um einen Weg zu zeigen, wie man es machen könnte.

                  Gruß

                  Peterfido


                  Proxmox auf Intel NUC12WSHi5
                  ioBroker: Debian (VM)
                  CCU: Debmatic (VM)
                  Influx: Debian (VM)
                  Grafana: Debian (VM)
                  eBus: Debian (VM)
                  Zigbee: Debian (VM) mit zigbee2mqtt

                  AphofisA 1 Antwort Letzte Antwort
                  0
                  • P peterfido

                    @aphofis In den Funktionen gibt es mehrere Reiter / Tabs. Da drin kann man andere Skripte für Start und Stopp des Flows anlegen. Z.B. Variablen für den Flow anlegen. Den Roboter habe ich nicht berücksichtigt. Das ist nur ein Grundgerüst, um einen Weg zu zeigen, wie man es machen könnte.

                    AphofisA Offline
                    AphofisA Offline
                    Aphofis
                    schrieb am zuletzt editiert von Aphofis
                    #9

                    @peterfido
                    Wenn der Bewegungsmelder auslöst, passiert das
                    Screenshot 2025-06-14 130649.png
                    Die Steuerung wird nicht ausgelöst.
                    Egal wie ich die Attribute von der In Node benenne reagiert die steuerung nicht.
                    motion, payload.motion oder nur payload kommt nichts bei raus.
                    Ich weiß nicht wie ich den BM In Node einstellen soll.

                    P 1 Antwort Letzte Antwort
                    0
                    • AphofisA Aphofis

                      @peterfido
                      Wenn der Bewegungsmelder auslöst, passiert das
                      Screenshot 2025-06-14 130649.png
                      Die Steuerung wird nicht ausgelöst.
                      Egal wie ich die Attribute von der In Node benenne reagiert die steuerung nicht.
                      motion, payload.motion oder nur payload kommt nichts bei raus.
                      Ich weiß nicht wie ich den BM In Node einstellen soll.

                      P Offline
                      P Offline
                      peterfido
                      schrieb am zuletzt editiert von
                      #10

                      @aphofis Der genaue Pfad wird in die Zwischenablage kopiert, wenn du da drauf klickst.

                      Screenshot_20250614_131512_Chrome.jpg

                      Gruß

                      Peterfido


                      Proxmox auf Intel NUC12WSHi5
                      ioBroker: Debian (VM)
                      CCU: Debmatic (VM)
                      Influx: Debian (VM)
                      Grafana: Debian (VM)
                      eBus: Debian (VM)
                      Zigbee: Debian (VM) mit zigbee2mqtt

                      AphofisA 1 Antwort Letzte Antwort
                      0
                      • P peterfido

                        @aphofis Der genaue Pfad wird in die Zwischenablage kopiert, wenn du da drauf klickst.

                        Screenshot_20250614_131512_Chrome.jpg

                        AphofisA Offline
                        AphofisA Offline
                        Aphofis
                        schrieb am zuletzt editiert von
                        #11

                        @peterfido
                        Da kommt nur payload bei raus.
                        Der BM kommt nicht über motion/false Node hinweg.

                        [
                            {
                                "id": "4a7d49c9cec64387",
                                "type": "tab",
                                "label": "Flow 1",
                                "disabled": false,
                                "info": "",
                                "env": []
                            },
                            {
                                "id": "5e77b709b7c1eae0",
                                "type": "junction",
                                "z": "4a7d49c9cec64387",
                                "x": 220,
                                "y": 160,
                                "wires": [
                                    [
                                        "a779e45d3967bfb9"
                                    ]
                                ]
                            },
                            {
                                "id": "a779e45d3967bfb9",
                                "type": "junction",
                                "z": "4a7d49c9cec64387",
                                "x": 520,
                                "y": 160,
                                "wires": [
                                    [
                                        "04fa302c2270ca4f"
                                    ]
                                ]
                            },
                            {
                                "id": "bfe42f33cfa9774d",
                                "type": "junction",
                                "z": "4a7d49c9cec64387",
                                "x": 220,
                                "y": 100,
                                "wires": [
                                    [
                                        "140ae0a74c608f65"
                                    ]
                                ]
                            },
                            {
                                "id": "78e2ddead9cc1d0a",
                                "type": "junction",
                                "z": "4a7d49c9cec64387",
                                "x": 500,
                                "y": 180,
                                "wires": [
                                    [
                                        "acb34561a25cb81b",
                                        "98aed8cf2a3130df"
                                    ]
                                ]
                            },
                            {
                                "id": "8efbfa2bed5bc563",
                                "type": "inject",
                                "z": "4a7d49c9cec64387",
                                "name": "Bewegung",
                                "props": [
                                    {
                                        "p": "payload.motion",
                                        "v": "true",
                                        "vt": "bool"
                                    },
                                    {
                                        "p": "topic",
                                        "vt": "str"
                                    }
                                ],
                                "repeat": "",
                                "crontab": "",
                                "once": false,
                                "onceDelay": 0.1,
                                "topic": "",
                                "x": 80,
                                "y": 160,
                                "wires": [
                                    [
                                        "5e77b709b7c1eae0",
                                        "bfe42f33cfa9774d",
                                        "d7459276dc5863d1"
                                    ]
                                ]
                            },
                            {
                                "id": "393f87f05ba89b4d",
                                "type": "debug",
                                "z": "4a7d49c9cec64387",
                                "name": "debug 17",
                                "active": true,
                                "tosidebar": true,
                                "console": false,
                                "tostatus": false,
                                "complete": "payload",
                                "targetType": "msg",
                                "statusVal": "",
                                "statusType": "auto",
                                "x": 1320,
                                "y": 120,
                                "wires": []
                            },
                            {
                                "id": "140ae0a74c608f65",
                                "type": "delay",
                                "z": "4a7d49c9cec64387",
                                "name": "verzög.1s",
                                "pauseType": "delay",
                                "timeout": "1",
                                "timeoutUnits": "seconds",
                                "rate": "1",
                                "nbRateUnits": "1",
                                "rateUnits": "second",
                                "randomFirst": "1",
                                "randomLast": "5",
                                "randomUnits": "seconds",
                                "drop": false,
                                "allowrate": false,
                                "outputs": 1,
                                "x": 340,
                                "y": 100,
                                "wires": [
                                    [
                                        "43a8260bfdf05214"
                                    ]
                                ]
                            },
                            {
                                "id": "43a8260bfdf05214",
                                "type": "change",
                                "z": "4a7d49c9cec64387",
                                "name": "motion/false",
                                "rules": [
                                    {
                                        "t": "set",
                                        "p": "payload.motion",
                                        "pt": "msg",
                                        "to": "false",
                                        "tot": "bool"
                                    }
                                ],
                                "action": "",
                                "property": "",
                                "from": "",
                                "to": "",
                                "reg": false,
                                "x": 490,
                                "y": 100,
                                "wires": [
                                    [
                                        "04fa302c2270ca4f"
                                    ]
                                ]
                            },
                            {
                                "id": "f5d7178472b12544",
                                "type": "switch",
                                "z": "4a7d49c9cec64387",
                                "name": "",
                                "property": "payload",
                                "propertyType": "msg",
                                "rules": [
                                    {
                                        "t": "true"
                                    },
                                    {
                                        "t": "false"
                                    }
                                ],
                                "checkall": "true",
                                "repair": false,
                                "outputs": 2,
                                "x": 830,
                                "y": 100,
                                "wires": [
                                    [
                                        "91e7c6e9005453c1"
                                    ],
                                    []
                                ]
                            },
                            {
                                "id": "04fa302c2270ca4f",
                                "type": "change",
                                "z": "4a7d49c9cec64387",
                                "name": "motion/payload",
                                "rules": [
                                    {
                                        "t": "set",
                                        "p": "payload",
                                        "pt": "msg",
                                        "to": "payload.motion",
                                        "tot": "msg"
                                    }
                                ],
                                "action": "",
                                "property": "",
                                "from": "",
                                "to": "",
                                "reg": false,
                                "x": 680,
                                "y": 100,
                                "wires": [
                                    [
                                        "f5d7178472b12544"
                                    ]
                                ]
                            },
                            {
                                "id": "464744eb1eb6f4bf",
                                "type": "comment",
                                "z": "4a7d49c9cec64387",
                                "name": "Bewegungsmelder",
                                "info": "",
                                "x": 90,
                                "y": 20,
                                "wires": []
                            },
                            {
                                "id": "d72b588f5ad0c3d1",
                                "type": "inject",
                                "z": "4a7d49c9cec64387",
                                "name": "",
                                "props": [
                                    {
                                        "p": "payload"
                                    },
                                    {
                                        "p": "topic",
                                        "vt": "str"
                                    }
                                ],
                                "repeat": "",
                                "crontab": "",
                                "once": false,
                                "onceDelay": 0.1,
                                "topic": "",
                                "payload": "1000",
                                "payloadType": "num",
                                "x": 290,
                                "y": 200,
                                "wires": [
                                    [
                                        "28b5fec6c9de7785"
                                    ]
                                ]
                            },
                            {
                                "id": "acb34561a25cb81b",
                                "type": "change",
                                "z": "4a7d49c9cec64387",
                                "name": "",
                                "rules": [
                                    {
                                        "t": "set",
                                        "p": "payload",
                                        "pt": "msg",
                                        "to": "true",
                                        "tot": "bool"
                                    }
                                ],
                                "action": "",
                                "property": "",
                                "from": "",
                                "to": "",
                                "reg": false,
                                "x": 630,
                                "y": 180,
                                "wires": [
                                    [
                                        "d2ebd9fe89d68291"
                                    ]
                                ]
                            },
                            {
                                "id": "28b5fec6c9de7785",
                                "type": "switch",
                                "z": "4a7d49c9cec64387",
                                "name": "1000",
                                "property": "payload",
                                "propertyType": "msg",
                                "rules": [
                                    {
                                        "t": "eq",
                                        "v": "1000",
                                        "vt": "num"
                                    },
                                    {
                                        "t": "eq",
                                        "v": "",
                                        "vt": "num"
                                    }
                                ],
                                "checkall": "true",
                                "repair": false,
                                "outputs": 2,
                                "x": 410,
                                "y": 200,
                                "wires": [
                                    [
                                        "78e2ddead9cc1d0a"
                                    ],
                                    []
                                ]
                            },
                            {
                                "id": "932f55c48b111395",
                                "type": "switch",
                                "z": "4a7d49c9cec64387",
                                "name": "",
                                "property": "stopp",
                                "propertyType": "flow",
                                "rules": [
                                    {
                                        "t": "false"
                                    }
                                ],
                                "checkall": "true",
                                "repair": false,
                                "outputs": 1,
                                "x": 1070,
                                "y": 80,
                                "wires": [
                                    [
                                        "8a764bd3f71768b8"
                                    ]
                                ]
                            },
                            {
                                "id": "98aed8cf2a3130df",
                                "type": "change",
                                "z": "4a7d49c9cec64387",
                                "name": "",
                                "rules": [
                                    {
                                        "t": "set",
                                        "p": "stopp",
                                        "pt": "flow",
                                        "to": "true",
                                        "tot": "bool"
                                    }
                                ],
                                "action": "",
                                "property": "",
                                "from": "",
                                "to": "",
                                "reg": false,
                                "x": 620,
                                "y": 240,
                                "wires": [
                                    [
                                        "5858f0f89909dff4"
                                    ]
                                ]
                            },
                            {
                                "id": "7a91b9011434fb39",
                                "type": "change",
                                "z": "4a7d49c9cec64387",
                                "name": "",
                                "rules": [
                                    {
                                        "t": "set",
                                        "p": "stopp",
                                        "pt": "flow",
                                        "to": "false",
                                        "tot": "bool"
                                    }
                                ],
                                "action": "",
                                "property": "",
                                "from": "",
                                "to": "",
                                "reg": false,
                                "x": 1080,
                                "y": 240,
                                "wires": [
                                    [
                                        "25337f528e5f609e"
                                    ]
                                ]
                            },
                            {
                                "id": "924f5324f130bca6",
                                "type": "switch",
                                "z": "4a7d49c9cec64387",
                                "name": "",
                                "property": "payload",
                                "propertyType": "msg",
                                "rules": [
                                    {
                                        "t": "eq",
                                        "v": "1000",
                                        "vt": "num"
                                    },
                                    {
                                        "t": "eq",
                                        "v": "",
                                        "vt": "num"
                                    }
                                ],
                                "checkall": "true",
                                "repair": false,
                                "outputs": 2,
                                "x": 930,
                                "y": 220,
                                "wires": [
                                    [],
                                    [
                                        "7a91b9011434fb39"
                                    ]
                                ]
                            },
                            {
                                "id": "8a764bd3f71768b8",
                                "type": "function",
                                "z": "4a7d49c9cec64387",
                                "name": "Ausgabe",
                                "func": "node.status({ text: msg.payload });\n\nreturn msg;",
                                "outputs": 1,
                                "timeout": 0,
                                "noerr": 0,
                                "initialize": "// Der Code hier wird ausgeführt,\n// wenn der Node gestartet wird\nflow.set(\"stopp\", false);",
                                "finalize": "",
                                "libs": [],
                                "x": 1180,
                                "y": 180,
                                "wires": [
                                    [
                                        "393f87f05ba89b4d",
                                        "06974459414825ae"
                                    ]
                                ]
                            },
                            {
                                "id": "91e7c6e9005453c1",
                                "type": "timeouttrigger",
                                "z": "4a7d49c9cec64387",
                                "OnTimeoutType": "bool",
                                "OnTimeoutVal": "false",
                                "duration": "3",
                                "units": "s",
                                "passthrough": true,
                                "sendTimeoutValue": "once",
                                "interval": "",
                                "IntervalUnits": "s",
                                "name": "",
                                "x": 950,
                                "y": 80,
                                "wires": [
                                    [
                                        "932f55c48b111395"
                                    ]
                                ]
                            },
                            {
                                "id": "d2ebd9fe89d68291",
                                "type": "timeouttrigger",
                                "z": "4a7d49c9cec64387",
                                "OnTimeoutType": "bool",
                                "OnTimeoutVal": "false",
                                "duration": "10",
                                "units": "s",
                                "passthrough": true,
                                "sendTimeoutValue": "once",
                                "interval": "",
                                "IntervalUnits": "s",
                                "name": "",
                                "x": 790,
                                "y": 180,
                                "wires": [
                                    [
                                        "924f5324f130bca6",
                                        "8a764bd3f71768b8"
                                    ]
                                ]
                            },
                            {
                                "id": "d2ef36de8a84d716",
                                "type": "ioBroker in",
                                "z": "4a7d49c9cec64387",
                                "name": "KüMo",
                                "attrname": "payload",
                                "topic": "hue.0.Hue_GordonX.Küche_Motion_Sensor.presence",
                                "payloadType": "value",
                                "onlyack": "",
                                "func": "rbe",
                                "gap": "",
                                "fireOnStart": "false",
                                "outFormat": "MQTT",
                                "x": 50,
                                "y": 100,
                                "wires": [
                                    [
                                        "5e77b709b7c1eae0",
                                        "bfe42f33cfa9774d"
                                    ]
                                ]
                            },
                            {
                                "id": "25337f528e5f609e",
                                "type": "debug",
                                "z": "4a7d49c9cec64387",
                                "name": "debug 6",
                                "active": true,
                                "tosidebar": true,
                                "console": false,
                                "tostatus": false,
                                "complete": "false",
                                "statusVal": "",
                                "statusType": "auto",
                                "x": 1320,
                                "y": 300,
                                "wires": []
                            },
                            {
                                "id": "06974459414825ae",
                                "type": "ioBroker out",
                                "z": "4a7d49c9cec64387",
                                "name": "Test Lampe",
                                "topic": "0_userdata.0.GordonX-Home.0.Test_Gerät",
                                "ack": "false",
                                "autoCreate": "false",
                                "stateName": "",
                                "role": "",
                                "payloadType": "",
                                "readonly": "",
                                "stateUnit": "",
                                "stateMin": "",
                                "stateMax": "",
                                "x": 1330,
                                "y": 240,
                                "wires": []
                            },
                            {
                                "id": "3aa4ad0593121ea0",
                                "type": "ioBroker in",
                                "z": "4a7d49c9cec64387",
                                "name": "Schalter Küche",
                                "attrname": "payload",
                                "topic": "hue.0.Hue_GordonX.Küche_Schalter.buttonevent",
                                "payloadType": "value",
                                "onlyack": "",
                                "func": "all",
                                "gap": "",
                                "fireOnStart": "false",
                                "outFormat": "MQTT",
                                "x": 260,
                                "y": 240,
                                "wires": [
                                    [
                                        "28b5fec6c9de7785"
                                    ]
                                ]
                            },
                            {
                                "id": "5858f0f89909dff4",
                                "type": "debug",
                                "z": "4a7d49c9cec64387",
                                "name": "debug 18",
                                "active": true,
                                "tosidebar": true,
                                "console": false,
                                "tostatus": false,
                                "complete": "false",
                                "statusVal": "",
                                "statusType": "auto",
                                "x": 780,
                                "y": 240,
                                "wires": []
                            },
                            {
                                "id": "8de4ca9f0f0e9d4d",
                                "type": "debug",
                                "z": "4a7d49c9cec64387",
                                "name": "debug 3",
                                "active": true,
                                "tosidebar": true,
                                "console": false,
                                "tostatus": false,
                                "complete": "false",
                                "statusVal": "",
                                "statusType": "auto",
                                "x": 740,
                                "y": 300,
                                "wires": []
                            },
                            {
                                "id": "a87f289d766e582a",
                                "type": "change",
                                "z": "4a7d49c9cec64387",
                                "name": "",
                                "rules": [
                                    {
                                        "t": "change",
                                        "p": "payload",
                                        "pt": "msg",
                                        "from": "5",
                                        "fromt": "str",
                                        "to": "true",
                                        "tot": "bool"
                                    }
                                ],
                                "action": "",
                                "property": "",
                                "from": "",
                                "to": "",
                                "reg": false,
                                "x": 560,
                                "y": 300,
                                "wires": [
                                    [
                                        "8de4ca9f0f0e9d4d"
                                    ]
                                ]
                            },
                            {
                                "id": "ac9990dcafb0f297",
                                "type": "switch",
                                "z": "4a7d49c9cec64387",
                                "name": "Status5",
                                "property": "payload",
                                "propertyType": "msg",
                                "rules": [
                                    {
                                        "t": "neq",
                                        "v": "5",
                                        "vt": "str"
                                    }
                                ],
                                "checkall": "true",
                                "repair": false,
                                "outputs": 1,
                                "x": 380,
                                "y": 300,
                                "wires": [
                                    [
                                        "a87f289d766e582a"
                                    ]
                                ]
                            },
                            {
                                "id": "d7459276dc5863d1",
                                "type": "ioBroker get",
                                "z": "4a7d49c9cec64387",
                                "name": "Status",
                                "topic": "0_userdata.0.GordonX-Home.0.Test_Status_Robi",
                                "attrname": "payload",
                                "payloadType": "value",
                                "errOnInvalidState": "nothing",
                                "x": 230,
                                "y": 300,
                                "wires": [
                                    [
                                        "ac9990dcafb0f297"
                                    ]
                                ]
                            }
                        ]
                        

                        Screenshot 2025-06-14 131958.png

                        P 1 Antwort Letzte Antwort
                        0
                        • AphofisA Aphofis

                          @peterfido
                          Da kommt nur payload bei raus.
                          Der BM kommt nicht über motion/false Node hinweg.

                          [
                              {
                                  "id": "4a7d49c9cec64387",
                                  "type": "tab",
                                  "label": "Flow 1",
                                  "disabled": false,
                                  "info": "",
                                  "env": []
                              },
                              {
                                  "id": "5e77b709b7c1eae0",
                                  "type": "junction",
                                  "z": "4a7d49c9cec64387",
                                  "x": 220,
                                  "y": 160,
                                  "wires": [
                                      [
                                          "a779e45d3967bfb9"
                                      ]
                                  ]
                              },
                              {
                                  "id": "a779e45d3967bfb9",
                                  "type": "junction",
                                  "z": "4a7d49c9cec64387",
                                  "x": 520,
                                  "y": 160,
                                  "wires": [
                                      [
                                          "04fa302c2270ca4f"
                                      ]
                                  ]
                              },
                              {
                                  "id": "bfe42f33cfa9774d",
                                  "type": "junction",
                                  "z": "4a7d49c9cec64387",
                                  "x": 220,
                                  "y": 100,
                                  "wires": [
                                      [
                                          "140ae0a74c608f65"
                                      ]
                                  ]
                              },
                              {
                                  "id": "78e2ddead9cc1d0a",
                                  "type": "junction",
                                  "z": "4a7d49c9cec64387",
                                  "x": 500,
                                  "y": 180,
                                  "wires": [
                                      [
                                          "acb34561a25cb81b",
                                          "98aed8cf2a3130df"
                                      ]
                                  ]
                              },
                              {
                                  "id": "8efbfa2bed5bc563",
                                  "type": "inject",
                                  "z": "4a7d49c9cec64387",
                                  "name": "Bewegung",
                                  "props": [
                                      {
                                          "p": "payload.motion",
                                          "v": "true",
                                          "vt": "bool"
                                      },
                                      {
                                          "p": "topic",
                                          "vt": "str"
                                      }
                                  ],
                                  "repeat": "",
                                  "crontab": "",
                                  "once": false,
                                  "onceDelay": 0.1,
                                  "topic": "",
                                  "x": 80,
                                  "y": 160,
                                  "wires": [
                                      [
                                          "5e77b709b7c1eae0",
                                          "bfe42f33cfa9774d",
                                          "d7459276dc5863d1"
                                      ]
                                  ]
                              },
                              {
                                  "id": "393f87f05ba89b4d",
                                  "type": "debug",
                                  "z": "4a7d49c9cec64387",
                                  "name": "debug 17",
                                  "active": true,
                                  "tosidebar": true,
                                  "console": false,
                                  "tostatus": false,
                                  "complete": "payload",
                                  "targetType": "msg",
                                  "statusVal": "",
                                  "statusType": "auto",
                                  "x": 1320,
                                  "y": 120,
                                  "wires": []
                              },
                              {
                                  "id": "140ae0a74c608f65",
                                  "type": "delay",
                                  "z": "4a7d49c9cec64387",
                                  "name": "verzög.1s",
                                  "pauseType": "delay",
                                  "timeout": "1",
                                  "timeoutUnits": "seconds",
                                  "rate": "1",
                                  "nbRateUnits": "1",
                                  "rateUnits": "second",
                                  "randomFirst": "1",
                                  "randomLast": "5",
                                  "randomUnits": "seconds",
                                  "drop": false,
                                  "allowrate": false,
                                  "outputs": 1,
                                  "x": 340,
                                  "y": 100,
                                  "wires": [
                                      [
                                          "43a8260bfdf05214"
                                      ]
                                  ]
                              },
                              {
                                  "id": "43a8260bfdf05214",
                                  "type": "change",
                                  "z": "4a7d49c9cec64387",
                                  "name": "motion/false",
                                  "rules": [
                                      {
                                          "t": "set",
                                          "p": "payload.motion",
                                          "pt": "msg",
                                          "to": "false",
                                          "tot": "bool"
                                      }
                                  ],
                                  "action": "",
                                  "property": "",
                                  "from": "",
                                  "to": "",
                                  "reg": false,
                                  "x": 490,
                                  "y": 100,
                                  "wires": [
                                      [
                                          "04fa302c2270ca4f"
                                      ]
                                  ]
                              },
                              {
                                  "id": "f5d7178472b12544",
                                  "type": "switch",
                                  "z": "4a7d49c9cec64387",
                                  "name": "",
                                  "property": "payload",
                                  "propertyType": "msg",
                                  "rules": [
                                      {
                                          "t": "true"
                                      },
                                      {
                                          "t": "false"
                                      }
                                  ],
                                  "checkall": "true",
                                  "repair": false,
                                  "outputs": 2,
                                  "x": 830,
                                  "y": 100,
                                  "wires": [
                                      [
                                          "91e7c6e9005453c1"
                                      ],
                                      []
                                  ]
                              },
                              {
                                  "id": "04fa302c2270ca4f",
                                  "type": "change",
                                  "z": "4a7d49c9cec64387",
                                  "name": "motion/payload",
                                  "rules": [
                                      {
                                          "t": "set",
                                          "p": "payload",
                                          "pt": "msg",
                                          "to": "payload.motion",
                                          "tot": "msg"
                                      }
                                  ],
                                  "action": "",
                                  "property": "",
                                  "from": "",
                                  "to": "",
                                  "reg": false,
                                  "x": 680,
                                  "y": 100,
                                  "wires": [
                                      [
                                          "f5d7178472b12544"
                                      ]
                                  ]
                              },
                              {
                                  "id": "464744eb1eb6f4bf",
                                  "type": "comment",
                                  "z": "4a7d49c9cec64387",
                                  "name": "Bewegungsmelder",
                                  "info": "",
                                  "x": 90,
                                  "y": 20,
                                  "wires": []
                              },
                              {
                                  "id": "d72b588f5ad0c3d1",
                                  "type": "inject",
                                  "z": "4a7d49c9cec64387",
                                  "name": "",
                                  "props": [
                                      {
                                          "p": "payload"
                                      },
                                      {
                                          "p": "topic",
                                          "vt": "str"
                                      }
                                  ],
                                  "repeat": "",
                                  "crontab": "",
                                  "once": false,
                                  "onceDelay": 0.1,
                                  "topic": "",
                                  "payload": "1000",
                                  "payloadType": "num",
                                  "x": 290,
                                  "y": 200,
                                  "wires": [
                                      [
                                          "28b5fec6c9de7785"
                                      ]
                                  ]
                              },
                              {
                                  "id": "acb34561a25cb81b",
                                  "type": "change",
                                  "z": "4a7d49c9cec64387",
                                  "name": "",
                                  "rules": [
                                      {
                                          "t": "set",
                                          "p": "payload",
                                          "pt": "msg",
                                          "to": "true",
                                          "tot": "bool"
                                      }
                                  ],
                                  "action": "",
                                  "property": "",
                                  "from": "",
                                  "to": "",
                                  "reg": false,
                                  "x": 630,
                                  "y": 180,
                                  "wires": [
                                      [
                                          "d2ebd9fe89d68291"
                                      ]
                                  ]
                              },
                              {
                                  "id": "28b5fec6c9de7785",
                                  "type": "switch",
                                  "z": "4a7d49c9cec64387",
                                  "name": "1000",
                                  "property": "payload",
                                  "propertyType": "msg",
                                  "rules": [
                                      {
                                          "t": "eq",
                                          "v": "1000",
                                          "vt": "num"
                                      },
                                      {
                                          "t": "eq",
                                          "v": "",
                                          "vt": "num"
                                      }
                                  ],
                                  "checkall": "true",
                                  "repair": false,
                                  "outputs": 2,
                                  "x": 410,
                                  "y": 200,
                                  "wires": [
                                      [
                                          "78e2ddead9cc1d0a"
                                      ],
                                      []
                                  ]
                              },
                              {
                                  "id": "932f55c48b111395",
                                  "type": "switch",
                                  "z": "4a7d49c9cec64387",
                                  "name": "",
                                  "property": "stopp",
                                  "propertyType": "flow",
                                  "rules": [
                                      {
                                          "t": "false"
                                      }
                                  ],
                                  "checkall": "true",
                                  "repair": false,
                                  "outputs": 1,
                                  "x": 1070,
                                  "y": 80,
                                  "wires": [
                                      [
                                          "8a764bd3f71768b8"
                                      ]
                                  ]
                              },
                              {
                                  "id": "98aed8cf2a3130df",
                                  "type": "change",
                                  "z": "4a7d49c9cec64387",
                                  "name": "",
                                  "rules": [
                                      {
                                          "t": "set",
                                          "p": "stopp",
                                          "pt": "flow",
                                          "to": "true",
                                          "tot": "bool"
                                      }
                                  ],
                                  "action": "",
                                  "property": "",
                                  "from": "",
                                  "to": "",
                                  "reg": false,
                                  "x": 620,
                                  "y": 240,
                                  "wires": [
                                      [
                                          "5858f0f89909dff4"
                                      ]
                                  ]
                              },
                              {
                                  "id": "7a91b9011434fb39",
                                  "type": "change",
                                  "z": "4a7d49c9cec64387",
                                  "name": "",
                                  "rules": [
                                      {
                                          "t": "set",
                                          "p": "stopp",
                                          "pt": "flow",
                                          "to": "false",
                                          "tot": "bool"
                                      }
                                  ],
                                  "action": "",
                                  "property": "",
                                  "from": "",
                                  "to": "",
                                  "reg": false,
                                  "x": 1080,
                                  "y": 240,
                                  "wires": [
                                      [
                                          "25337f528e5f609e"
                                      ]
                                  ]
                              },
                              {
                                  "id": "924f5324f130bca6",
                                  "type": "switch",
                                  "z": "4a7d49c9cec64387",
                                  "name": "",
                                  "property": "payload",
                                  "propertyType": "msg",
                                  "rules": [
                                      {
                                          "t": "eq",
                                          "v": "1000",
                                          "vt": "num"
                                      },
                                      {
                                          "t": "eq",
                                          "v": "",
                                          "vt": "num"
                                      }
                                  ],
                                  "checkall": "true",
                                  "repair": false,
                                  "outputs": 2,
                                  "x": 930,
                                  "y": 220,
                                  "wires": [
                                      [],
                                      [
                                          "7a91b9011434fb39"
                                      ]
                                  ]
                              },
                              {
                                  "id": "8a764bd3f71768b8",
                                  "type": "function",
                                  "z": "4a7d49c9cec64387",
                                  "name": "Ausgabe",
                                  "func": "node.status({ text: msg.payload });\n\nreturn msg;",
                                  "outputs": 1,
                                  "timeout": 0,
                                  "noerr": 0,
                                  "initialize": "// Der Code hier wird ausgeführt,\n// wenn der Node gestartet wird\nflow.set(\"stopp\", false);",
                                  "finalize": "",
                                  "libs": [],
                                  "x": 1180,
                                  "y": 180,
                                  "wires": [
                                      [
                                          "393f87f05ba89b4d",
                                          "06974459414825ae"
                                      ]
                                  ]
                              },
                              {
                                  "id": "91e7c6e9005453c1",
                                  "type": "timeouttrigger",
                                  "z": "4a7d49c9cec64387",
                                  "OnTimeoutType": "bool",
                                  "OnTimeoutVal": "false",
                                  "duration": "3",
                                  "units": "s",
                                  "passthrough": true,
                                  "sendTimeoutValue": "once",
                                  "interval": "",
                                  "IntervalUnits": "s",
                                  "name": "",
                                  "x": 950,
                                  "y": 80,
                                  "wires": [
                                      [
                                          "932f55c48b111395"
                                      ]
                                  ]
                              },
                              {
                                  "id": "d2ebd9fe89d68291",
                                  "type": "timeouttrigger",
                                  "z": "4a7d49c9cec64387",
                                  "OnTimeoutType": "bool",
                                  "OnTimeoutVal": "false",
                                  "duration": "10",
                                  "units": "s",
                                  "passthrough": true,
                                  "sendTimeoutValue": "once",
                                  "interval": "",
                                  "IntervalUnits": "s",
                                  "name": "",
                                  "x": 790,
                                  "y": 180,
                                  "wires": [
                                      [
                                          "924f5324f130bca6",
                                          "8a764bd3f71768b8"
                                      ]
                                  ]
                              },
                              {
                                  "id": "d2ef36de8a84d716",
                                  "type": "ioBroker in",
                                  "z": "4a7d49c9cec64387",
                                  "name": "KüMo",
                                  "attrname": "payload",
                                  "topic": "hue.0.Hue_GordonX.Küche_Motion_Sensor.presence",
                                  "payloadType": "value",
                                  "onlyack": "",
                                  "func": "rbe",
                                  "gap": "",
                                  "fireOnStart": "false",
                                  "outFormat": "MQTT",
                                  "x": 50,
                                  "y": 100,
                                  "wires": [
                                      [
                                          "5e77b709b7c1eae0",
                                          "bfe42f33cfa9774d"
                                      ]
                                  ]
                              },
                              {
                                  "id": "25337f528e5f609e",
                                  "type": "debug",
                                  "z": "4a7d49c9cec64387",
                                  "name": "debug 6",
                                  "active": true,
                                  "tosidebar": true,
                                  "console": false,
                                  "tostatus": false,
                                  "complete": "false",
                                  "statusVal": "",
                                  "statusType": "auto",
                                  "x": 1320,
                                  "y": 300,
                                  "wires": []
                              },
                              {
                                  "id": "06974459414825ae",
                                  "type": "ioBroker out",
                                  "z": "4a7d49c9cec64387",
                                  "name": "Test Lampe",
                                  "topic": "0_userdata.0.GordonX-Home.0.Test_Gerät",
                                  "ack": "false",
                                  "autoCreate": "false",
                                  "stateName": "",
                                  "role": "",
                                  "payloadType": "",
                                  "readonly": "",
                                  "stateUnit": "",
                                  "stateMin": "",
                                  "stateMax": "",
                                  "x": 1330,
                                  "y": 240,
                                  "wires": []
                              },
                              {
                                  "id": "3aa4ad0593121ea0",
                                  "type": "ioBroker in",
                                  "z": "4a7d49c9cec64387",
                                  "name": "Schalter Küche",
                                  "attrname": "payload",
                                  "topic": "hue.0.Hue_GordonX.Küche_Schalter.buttonevent",
                                  "payloadType": "value",
                                  "onlyack": "",
                                  "func": "all",
                                  "gap": "",
                                  "fireOnStart": "false",
                                  "outFormat": "MQTT",
                                  "x": 260,
                                  "y": 240,
                                  "wires": [
                                      [
                                          "28b5fec6c9de7785"
                                      ]
                                  ]
                              },
                              {
                                  "id": "5858f0f89909dff4",
                                  "type": "debug",
                                  "z": "4a7d49c9cec64387",
                                  "name": "debug 18",
                                  "active": true,
                                  "tosidebar": true,
                                  "console": false,
                                  "tostatus": false,
                                  "complete": "false",
                                  "statusVal": "",
                                  "statusType": "auto",
                                  "x": 780,
                                  "y": 240,
                                  "wires": []
                              },
                              {
                                  "id": "8de4ca9f0f0e9d4d",
                                  "type": "debug",
                                  "z": "4a7d49c9cec64387",
                                  "name": "debug 3",
                                  "active": true,
                                  "tosidebar": true,
                                  "console": false,
                                  "tostatus": false,
                                  "complete": "false",
                                  "statusVal": "",
                                  "statusType": "auto",
                                  "x": 740,
                                  "y": 300,
                                  "wires": []
                              },
                              {
                                  "id": "a87f289d766e582a",
                                  "type": "change",
                                  "z": "4a7d49c9cec64387",
                                  "name": "",
                                  "rules": [
                                      {
                                          "t": "change",
                                          "p": "payload",
                                          "pt": "msg",
                                          "from": "5",
                                          "fromt": "str",
                                          "to": "true",
                                          "tot": "bool"
                                      }
                                  ],
                                  "action": "",
                                  "property": "",
                                  "from": "",
                                  "to": "",
                                  "reg": false,
                                  "x": 560,
                                  "y": 300,
                                  "wires": [
                                      [
                                          "8de4ca9f0f0e9d4d"
                                      ]
                                  ]
                              },
                              {
                                  "id": "ac9990dcafb0f297",
                                  "type": "switch",
                                  "z": "4a7d49c9cec64387",
                                  "name": "Status5",
                                  "property": "payload",
                                  "propertyType": "msg",
                                  "rules": [
                                      {
                                          "t": "neq",
                                          "v": "5",
                                          "vt": "str"
                                      }
                                  ],
                                  "checkall": "true",
                                  "repair": false,
                                  "outputs": 1,
                                  "x": 380,
                                  "y": 300,
                                  "wires": [
                                      [
                                          "a87f289d766e582a"
                                      ]
                                  ]
                              },
                              {
                                  "id": "d7459276dc5863d1",
                                  "type": "ioBroker get",
                                  "z": "4a7d49c9cec64387",
                                  "name": "Status",
                                  "topic": "0_userdata.0.GordonX-Home.0.Test_Status_Robi",
                                  "attrname": "payload",
                                  "payloadType": "value",
                                  "errOnInvalidState": "nothing",
                                  "x": 230,
                                  "y": 300,
                                  "wires": [
                                      [
                                          "ac9990dcafb0f297"
                                      ]
                                  ]
                              }
                          ]
                          

                          Screenshot 2025-06-14 131958.png

                          P Offline
                          P Offline
                          peterfido
                          schrieb am zuletzt editiert von
                          #12

                          @aphofis Ich gehe von Deinem Flow aus dem ersten Post aus. Den Wert aus "Motion" dann direkt ins Payload schieben und den Rest von meinem Entwurf damit füttern.

                          Ich habe da nur versucht, den Hue Bewegungsmelder, bzw. dessen Ausgabe, nachzubauen. Ich habe da keinen, um das zuverlässig nachzubauen.

                          Mein Beispiel läuft autark und blockiert den Bewegungsmelder eine Zeit lang, wenn die 1000 auf dem zweiten Pfad eintrudelt. In meinem Beispiel wird die Flow-Variable "stopp" dafür genutzt.

                          Robi und Hue Bewegungungsmelder sind von dir zu ergänzen. Für den Robi könntest du z.B. eine zweite Flow-Variable nutzen.

                          Gruß

                          Peterfido


                          Proxmox auf Intel NUC12WSHi5
                          ioBroker: Debian (VM)
                          CCU: Debmatic (VM)
                          Influx: Debian (VM)
                          Grafana: Debian (VM)
                          eBus: Debian (VM)
                          Zigbee: Debian (VM) mit zigbee2mqtt

                          1 Antwort Letzte Antwort
                          0
                          • AphofisA Offline
                            AphofisA Offline
                            Aphofis
                            schrieb am zuletzt editiert von Aphofis
                            #13

                            @peterfido sagte in HUE Bewegungsmelder Roborock integr.:

                            ispiel wird die Flow-Variable "stopp" da

                            Dazu fehlt mir wohl das wissen wie man das zusammen schustert.
                            Ich weiß nicht wie man die Inject node durch eine Iobroker In Node ersetzt.
                            Da anscheinend der true zustand der Inject und der Iob In node unteerschiedlich ist.
                            und wo man nun den Sauger dran hängt verstehe ich auch nicht.
                            Die wege sind mir noch nicht klar. Auch wenn ich überall eine Debug node dran hänge, verstehe ich den Weg noch nicht.
                            Habe die Original Hue Node vom BM genommen dort kommt ja motion: ergebnis raus
                            damit funktioniert es. nur wo ich nun den Roboter dran hänge das die Steuerung
                            dann nur per Schalter ausgelöst werden kann und der BM bei nicht Roboter Status 5 deaktiviert ist.

                            P 1 Antwort Letzte Antwort
                            0
                            • AphofisA Aphofis

                              @peterfido sagte in HUE Bewegungsmelder Roborock integr.:

                              ispiel wird die Flow-Variable "stopp" da

                              Dazu fehlt mir wohl das wissen wie man das zusammen schustert.
                              Ich weiß nicht wie man die Inject node durch eine Iobroker In Node ersetzt.
                              Da anscheinend der true zustand der Inject und der Iob In node unteerschiedlich ist.
                              und wo man nun den Sauger dran hängt verstehe ich auch nicht.
                              Die wege sind mir noch nicht klar. Auch wenn ich überall eine Debug node dran hänge, verstehe ich den Weg noch nicht.
                              Habe die Original Hue Node vom BM genommen dort kommt ja motion: ergebnis raus
                              damit funktioniert es. nur wo ich nun den Roboter dran hänge das die Steuerung
                              dann nur per Schalter ausgelöst werden kann und der BM bei nicht Roboter Status 5 deaktiviert ist.

                              P Offline
                              P Offline
                              peterfido
                              schrieb am zuletzt editiert von peterfido
                              #14

                              @aphofis Einfach stattdessen, bzw. zum Testen von Werten, parallel.
                              Screenshot_20250614_145021_Chrome.jpg

                              Einfach bissel probieren. Ich selbst sitze auf der Terrasse mit einem Tablet und gucke bissel durchs Forum.

                              Der Robi schickt seinen Status, diesen in einer Flow Variable, welche idealerweise in einer Functionsnode unter Start initialisiert wird, speichern. (Status 5 = BWM true, sonst false). Inwieweit die 1000 mit dem Robi konkurrieren, bzw. welcher da gewinnt, ist mir nicht ganz klar.

                              Meine Ausgabe-Function zeigt nur true, wenn die Lampe an ist, und false, wenn die aus ist. Da kann auch stattdessen eine ioBroker Out Node dran, parallel oder dahinter.

                              Gruß

                              Peterfido


                              Proxmox auf Intel NUC12WSHi5
                              ioBroker: Debian (VM)
                              CCU: Debmatic (VM)
                              Influx: Debian (VM)
                              Grafana: Debian (VM)
                              eBus: Debian (VM)
                              Zigbee: Debian (VM) mit zigbee2mqtt

                              1 Antwort Letzte Antwort
                              0
                              • AphofisA Offline
                                AphofisA Offline
                                Aphofis
                                schrieb am zuletzt editiert von Aphofis
                                #15

                                @peterfido sagte in HUE Bewegungsmelder Roborock integr.:

                                alerweise in einer Func

                                Wo ist den start !?
                                Hatte ja jetzt die BWM Node von Hue eingebaut nur wo der Roboter dran gehängt wird verstehe ich noch nicht.
                                Bin momentan so weit:

                                [
                                    {
                                        "id": "4a7d49c9cec64387",
                                        "type": "tab",
                                        "label": "Flow 1",
                                        "disabled": false,
                                        "info": "",
                                        "env": []
                                    },
                                    {
                                        "id": "5e77b709b7c1eae0",
                                        "type": "junction",
                                        "z": "4a7d49c9cec64387",
                                        "x": 340,
                                        "y": 240,
                                        "wires": [
                                            [
                                                "a779e45d3967bfb9"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "a779e45d3967bfb9",
                                        "type": "junction",
                                        "z": "4a7d49c9cec64387",
                                        "x": 640,
                                        "y": 240,
                                        "wires": [
                                            [
                                                "04fa302c2270ca4f"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "bfe42f33cfa9774d",
                                        "type": "junction",
                                        "z": "4a7d49c9cec64387",
                                        "x": 340,
                                        "y": 180,
                                        "wires": [
                                            [
                                                "140ae0a74c608f65"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "78e2ddead9cc1d0a",
                                        "type": "junction",
                                        "z": "4a7d49c9cec64387",
                                        "x": 300,
                                        "y": 320,
                                        "wires": [
                                            [
                                                "acb34561a25cb81b",
                                                "98aed8cf2a3130df"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "f2b50ddf46615123",
                                        "type": "junction",
                                        "z": "4a7d49c9cec64387",
                                        "x": 940,
                                        "y": 280,
                                        "wires": [
                                            [
                                                "8a764bd3f71768b8"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "e83d1232da36de00",
                                        "type": "junction",
                                        "z": "4a7d49c9cec64387",
                                        "x": 640,
                                        "y": 280,
                                        "wires": [
                                            [
                                                "f2b50ddf46615123"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "8efbfa2bed5bc563",
                                        "type": "inject",
                                        "z": "4a7d49c9cec64387",
                                        "name": "Bewegung",
                                        "props": [
                                            {
                                                "p": "payload.motion",
                                                "v": "true",
                                                "vt": "bool"
                                            },
                                            {
                                                "p": "topic",
                                                "vt": "str"
                                            }
                                        ],
                                        "repeat": "",
                                        "crontab": "",
                                        "once": false,
                                        "onceDelay": 0.1,
                                        "topic": "",
                                        "x": 180,
                                        "y": 240,
                                        "wires": [
                                            [
                                                "5e77b709b7c1eae0",
                                                "bfe42f33cfa9774d"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "393f87f05ba89b4d",
                                        "type": "debug",
                                        "z": "4a7d49c9cec64387",
                                        "name": "Ausgabe",
                                        "active": true,
                                        "tosidebar": true,
                                        "console": false,
                                        "tostatus": false,
                                        "complete": "payload",
                                        "targetType": "msg",
                                        "statusVal": "",
                                        "statusType": "auto",
                                        "x": 1220,
                                        "y": 40,
                                        "wires": []
                                    },
                                    {
                                        "id": "140ae0a74c608f65",
                                        "type": "delay",
                                        "z": "4a7d49c9cec64387",
                                        "name": "verzög.1s",
                                        "pauseType": "delay",
                                        "timeout": "1",
                                        "timeoutUnits": "seconds",
                                        "rate": "1",
                                        "nbRateUnits": "1",
                                        "rateUnits": "second",
                                        "randomFirst": "1",
                                        "randomLast": "5",
                                        "randomUnits": "seconds",
                                        "drop": false,
                                        "allowrate": false,
                                        "outputs": 1,
                                        "x": 420,
                                        "y": 180,
                                        "wires": [
                                            [
                                                "43a8260bfdf05214"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "43a8260bfdf05214",
                                        "type": "change",
                                        "z": "4a7d49c9cec64387",
                                        "name": "motion/false",
                                        "rules": [
                                            {
                                                "t": "set",
                                                "p": "payload.motion",
                                                "pt": "msg",
                                                "to": "false",
                                                "tot": "bool"
                                            }
                                        ],
                                        "action": "",
                                        "property": "",
                                        "from": "",
                                        "to": "",
                                        "reg": false,
                                        "x": 570,
                                        "y": 180,
                                        "wires": [
                                            [
                                                "04fa302c2270ca4f"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "f5d7178472b12544",
                                        "type": "switch",
                                        "z": "4a7d49c9cec64387",
                                        "name": "",
                                        "property": "payload",
                                        "propertyType": "msg",
                                        "rules": [
                                            {
                                                "t": "true"
                                            },
                                            {
                                                "t": "false"
                                            }
                                        ],
                                        "checkall": "true",
                                        "repair": false,
                                        "outputs": 2,
                                        "x": 670,
                                        "y": 100,
                                        "wires": [
                                            [
                                                "91e7c6e9005453c1"
                                            ],
                                            []
                                        ]
                                    },
                                    {
                                        "id": "04fa302c2270ca4f",
                                        "type": "change",
                                        "z": "4a7d49c9cec64387",
                                        "name": "motion/payload",
                                        "rules": [
                                            {
                                                "t": "set",
                                                "p": "payload",
                                                "pt": "msg",
                                                "to": "payload.motion",
                                                "tot": "msg"
                                            }
                                        ],
                                        "action": "",
                                        "property": "",
                                        "from": "",
                                        "to": "",
                                        "reg": false,
                                        "x": 780,
                                        "y": 180,
                                        "wires": [
                                            [
                                                "f5d7178472b12544"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "464744eb1eb6f4bf",
                                        "type": "comment",
                                        "z": "4a7d49c9cec64387",
                                        "name": "Bewegungsmelder",
                                        "info": "",
                                        "x": 110,
                                        "y": 20,
                                        "wires": []
                                    },
                                    {
                                        "id": "d72b588f5ad0c3d1",
                                        "type": "inject",
                                        "z": "4a7d49c9cec64387",
                                        "name": "",
                                        "props": [
                                            {
                                                "p": "payload"
                                            },
                                            {
                                                "p": "topic",
                                                "vt": "str"
                                            }
                                        ],
                                        "repeat": "",
                                        "crontab": "",
                                        "once": false,
                                        "onceDelay": 0.1,
                                        "topic": "",
                                        "payload": "1000",
                                        "payloadType": "num",
                                        "x": 110,
                                        "y": 320,
                                        "wires": [
                                            [
                                                "28b5fec6c9de7785"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "acb34561a25cb81b",
                                        "type": "change",
                                        "z": "4a7d49c9cec64387",
                                        "name": "payload/true",
                                        "rules": [
                                            {
                                                "t": "set",
                                                "p": "payload",
                                                "pt": "msg",
                                                "to": "true",
                                                "tot": "bool"
                                            }
                                        ],
                                        "action": "",
                                        "property": "",
                                        "from": "",
                                        "to": "",
                                        "reg": false,
                                        "x": 410,
                                        "y": 320,
                                        "wires": [
                                            [
                                                "d2ebd9fe89d68291"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "28b5fec6c9de7785",
                                        "type": "switch",
                                        "z": "4a7d49c9cec64387",
                                        "name": "1000",
                                        "property": "payload",
                                        "propertyType": "msg",
                                        "rules": [
                                            {
                                                "t": "eq",
                                                "v": "1000",
                                                "vt": "num"
                                            },
                                            {
                                                "t": "eq",
                                                "v": "",
                                                "vt": "num"
                                            }
                                        ],
                                        "checkall": "true",
                                        "repair": false,
                                        "outputs": 2,
                                        "x": 230,
                                        "y": 340,
                                        "wires": [
                                            [
                                                "78e2ddead9cc1d0a"
                                            ],
                                            []
                                        ]
                                    },
                                    {
                                        "id": "932f55c48b111395",
                                        "type": "switch",
                                        "z": "4a7d49c9cec64387",
                                        "name": "",
                                        "property": "stopp",
                                        "propertyType": "flow",
                                        "rules": [
                                            {
                                                "t": "false"
                                            }
                                        ],
                                        "checkall": "true",
                                        "repair": false,
                                        "outputs": 1,
                                        "x": 910,
                                        "y": 80,
                                        "wires": [
                                            [
                                                "8a764bd3f71768b8"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "98aed8cf2a3130df",
                                        "type": "change",
                                        "z": "4a7d49c9cec64387",
                                        "name": "payload/stop",
                                        "rules": [
                                            {
                                                "t": "set",
                                                "p": "stopp",
                                                "pt": "flow",
                                                "to": "true",
                                                "tot": "bool"
                                            }
                                        ],
                                        "action": "",
                                        "property": "",
                                        "from": "",
                                        "to": "",
                                        "reg": false,
                                        "x": 410,
                                        "y": 360,
                                        "wires": [
                                            []
                                        ]
                                    },
                                    {
                                        "id": "7a91b9011434fb39",
                                        "type": "change",
                                        "z": "4a7d49c9cec64387",
                                        "name": "payload/stop",
                                        "rules": [
                                            {
                                                "t": "set",
                                                "p": "stopp",
                                                "pt": "flow",
                                                "to": "false",
                                                "tot": "bool"
                                            }
                                        ],
                                        "action": "",
                                        "property": "",
                                        "from": "",
                                        "to": "",
                                        "reg": false,
                                        "x": 830,
                                        "y": 320,
                                        "wires": [
                                            [
                                                "25337f528e5f609e"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "924f5324f130bca6",
                                        "type": "switch",
                                        "z": "4a7d49c9cec64387",
                                        "name": "",
                                        "property": "payload",
                                        "propertyType": "msg",
                                        "rules": [
                                            {
                                                "t": "eq",
                                                "v": "1000",
                                                "vt": "num"
                                            }
                                        ],
                                        "checkall": "true",
                                        "repair": false,
                                        "outputs": 1,
                                        "x": 690,
                                        "y": 320,
                                        "wires": [
                                            [
                                                "7a91b9011434fb39"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "8a764bd3f71768b8",
                                        "type": "function",
                                        "z": "4a7d49c9cec64387",
                                        "name": "Ausgabe",
                                        "func": "node.status({ text: msg.payload });\n\nreturn msg;",
                                        "outputs": 1,
                                        "timeout": 0,
                                        "noerr": 0,
                                        "initialize": "// Der Code hier wird ausgeführt,\n// wenn der Node gestartet wird\nflow.set(\"stopp\", false);",
                                        "finalize": "",
                                        "libs": [],
                                        "x": 1080,
                                        "y": 60,
                                        "wires": [
                                            [
                                                "393f87f05ba89b4d",
                                                "06974459414825ae"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "91e7c6e9005453c1",
                                        "type": "timeouttrigger",
                                        "z": "4a7d49c9cec64387",
                                        "OnTimeoutType": "bool",
                                        "OnTimeoutVal": "false",
                                        "duration": "3",
                                        "units": "s",
                                        "passthrough": true,
                                        "sendTimeoutValue": "once",
                                        "interval": "",
                                        "IntervalUnits": "s",
                                        "name": "",
                                        "x": 790,
                                        "y": 80,
                                        "wires": [
                                            [
                                                "932f55c48b111395"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "d2ebd9fe89d68291",
                                        "type": "timeouttrigger",
                                        "z": "4a7d49c9cec64387",
                                        "OnTimeoutType": "bool",
                                        "OnTimeoutVal": "false",
                                        "duration": "10",
                                        "units": "s",
                                        "passthrough": true,
                                        "sendTimeoutValue": "once",
                                        "interval": "",
                                        "IntervalUnits": "s",
                                        "name": "",
                                        "x": 550,
                                        "y": 320,
                                        "wires": [
                                            [
                                                "924f5324f130bca6",
                                                "e83d1232da36de00"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "25337f528e5f609e",
                                        "type": "debug",
                                        "z": "4a7d49c9cec64387",
                                        "name": "Stop",
                                        "active": true,
                                        "tosidebar": true,
                                        "console": false,
                                        "tostatus": false,
                                        "complete": "payload",
                                        "targetType": "msg",
                                        "statusVal": "",
                                        "statusType": "auto",
                                        "x": 970,
                                        "y": 320,
                                        "wires": []
                                    },
                                    {
                                        "id": "06974459414825ae",
                                        "type": "ioBroker out",
                                        "z": "4a7d49c9cec64387",
                                        "name": "Test Lampe",
                                        "topic": "0_userdata.0.GordonX-Home.0.Test_Gerät",
                                        "ack": "false",
                                        "autoCreate": "false",
                                        "stateName": "",
                                        "role": "",
                                        "payloadType": "",
                                        "readonly": "",
                                        "stateUnit": "",
                                        "stateMin": "",
                                        "stateMax": "",
                                        "x": 1230,
                                        "y": 80,
                                        "wires": []
                                    },
                                    {
                                        "id": "3aa4ad0593121ea0",
                                        "type": "ioBroker in",
                                        "z": "4a7d49c9cec64387",
                                        "name": "Schalter Küche",
                                        "attrname": "payload",
                                        "topic": "hue.0.Hue_GordonX.Küche_Schalter.buttonevent",
                                        "payloadType": "value",
                                        "onlyack": "",
                                        "func": "all",
                                        "gap": "",
                                        "fireOnStart": "false",
                                        "outFormat": "MQTT",
                                        "x": 80,
                                        "y": 360,
                                        "wires": [
                                            [
                                                "28b5fec6c9de7785"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "8de4ca9f0f0e9d4d",
                                        "type": "debug",
                                        "z": "4a7d49c9cec64387",
                                        "name": "debug 3",
                                        "active": true,
                                        "tosidebar": true,
                                        "console": false,
                                        "tostatus": false,
                                        "complete": "false",
                                        "statusVal": "",
                                        "statusType": "auto",
                                        "x": 1040,
                                        "y": 420,
                                        "wires": []
                                    },
                                    {
                                        "id": "a87f289d766e582a",
                                        "type": "change",
                                        "z": "4a7d49c9cec64387",
                                        "name": "payload/5",
                                        "rules": [
                                            {
                                                "t": "change",
                                                "p": "payload",
                                                "pt": "msg",
                                                "from": "5",
                                                "fromt": "str",
                                                "to": "true",
                                                "tot": "bool"
                                            }
                                        ],
                                        "action": "",
                                        "property": "",
                                        "from": "",
                                        "to": "",
                                        "reg": false,
                                        "x": 880,
                                        "y": 420,
                                        "wires": [
                                            [
                                                "8de4ca9f0f0e9d4d"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "ac9990dcafb0f297",
                                        "type": "switch",
                                        "z": "4a7d49c9cec64387",
                                        "name": "Status nicht 5",
                                        "property": "payload",
                                        "propertyType": "msg",
                                        "rules": [
                                            {
                                                "t": "neq",
                                                "v": "5",
                                                "vt": "str"
                                            }
                                        ],
                                        "checkall": "true",
                                        "repair": false,
                                        "outputs": 1,
                                        "x": 720,
                                        "y": 420,
                                        "wires": [
                                            [
                                                "a87f289d766e582a"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "d7459276dc5863d1",
                                        "type": "ioBroker get",
                                        "z": "4a7d49c9cec64387",
                                        "name": "Status",
                                        "topic": "0_userdata.0.GordonX-Home.0.Test_Status_Robi",
                                        "attrname": "payload",
                                        "payloadType": "value",
                                        "errOnInvalidState": "nothing",
                                        "x": 530,
                                        "y": 420,
                                        "wires": [
                                            [
                                                "ac9990dcafb0f297"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "35902ac50003513b",
                                        "type": "hue-bridge-node",
                                        "z": "4a7d49c9cec64387",
                                        "name": "",
                                        "bridge": "cbd54dbabf6f65be",
                                        "autoupdates": true,
                                        "skipglobalevents": false,
                                        "initevents": false,
                                        "x": 110,
                                        "y": 60,
                                        "wires": [
                                            [
                                                "3d01a93e7177b0f4"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "3d01a93e7177b0f4",
                                        "type": "hue-motion",
                                        "z": "4a7d49c9cec64387",
                                        "name": "Küche Motion Sensor",
                                        "bridge": "cbd54dbabf6f65be",
                                        "sensorid": "7529c8d8-9f5c-451d-ba56-70cacda84564",
                                        "skipevents": false,
                                        "initevents": false,
                                        "x": 160,
                                        "y": 180,
                                        "wires": [
                                            [
                                                "bfe42f33cfa9774d",
                                                "5e77b709b7c1eae0"
                                            ]
                                        ]
                                    },
                                    {
                                        "id": "cbd54dbabf6f65be",
                                        "type": "hue-bridge",
                                        "name": "Hue GordonX",
                                        "bridge": "192.168.0.8",
                                        "key": "SlfyXwpcaEvRN0d1DU2JrrOlwrm9Debhhm9A4E-d",
                                        "worker": "10",
                                        "autoupdates": true,
                                        "disableupdates": false
                                    }
                                ]
                                

                                Screenshot 2025-06-14 151603.png
                                Da hast du es aber gemütlich.
                                Fehlt wohl nur noch ein Kaffee!

                                P 1 Antwort Letzte Antwort
                                0
                                • AphofisA Aphofis

                                  @peterfido sagte in HUE Bewegungsmelder Roborock integr.:

                                  alerweise in einer Func

                                  Wo ist den start !?
                                  Hatte ja jetzt die BWM Node von Hue eingebaut nur wo der Roboter dran gehängt wird verstehe ich noch nicht.
                                  Bin momentan so weit:

                                  [
                                      {
                                          "id": "4a7d49c9cec64387",
                                          "type": "tab",
                                          "label": "Flow 1",
                                          "disabled": false,
                                          "info": "",
                                          "env": []
                                      },
                                      {
                                          "id": "5e77b709b7c1eae0",
                                          "type": "junction",
                                          "z": "4a7d49c9cec64387",
                                          "x": 340,
                                          "y": 240,
                                          "wires": [
                                              [
                                                  "a779e45d3967bfb9"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "a779e45d3967bfb9",
                                          "type": "junction",
                                          "z": "4a7d49c9cec64387",
                                          "x": 640,
                                          "y": 240,
                                          "wires": [
                                              [
                                                  "04fa302c2270ca4f"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "bfe42f33cfa9774d",
                                          "type": "junction",
                                          "z": "4a7d49c9cec64387",
                                          "x": 340,
                                          "y": 180,
                                          "wires": [
                                              [
                                                  "140ae0a74c608f65"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "78e2ddead9cc1d0a",
                                          "type": "junction",
                                          "z": "4a7d49c9cec64387",
                                          "x": 300,
                                          "y": 320,
                                          "wires": [
                                              [
                                                  "acb34561a25cb81b",
                                                  "98aed8cf2a3130df"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "f2b50ddf46615123",
                                          "type": "junction",
                                          "z": "4a7d49c9cec64387",
                                          "x": 940,
                                          "y": 280,
                                          "wires": [
                                              [
                                                  "8a764bd3f71768b8"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "e83d1232da36de00",
                                          "type": "junction",
                                          "z": "4a7d49c9cec64387",
                                          "x": 640,
                                          "y": 280,
                                          "wires": [
                                              [
                                                  "f2b50ddf46615123"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "8efbfa2bed5bc563",
                                          "type": "inject",
                                          "z": "4a7d49c9cec64387",
                                          "name": "Bewegung",
                                          "props": [
                                              {
                                                  "p": "payload.motion",
                                                  "v": "true",
                                                  "vt": "bool"
                                              },
                                              {
                                                  "p": "topic",
                                                  "vt": "str"
                                              }
                                          ],
                                          "repeat": "",
                                          "crontab": "",
                                          "once": false,
                                          "onceDelay": 0.1,
                                          "topic": "",
                                          "x": 180,
                                          "y": 240,
                                          "wires": [
                                              [
                                                  "5e77b709b7c1eae0",
                                                  "bfe42f33cfa9774d"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "393f87f05ba89b4d",
                                          "type": "debug",
                                          "z": "4a7d49c9cec64387",
                                          "name": "Ausgabe",
                                          "active": true,
                                          "tosidebar": true,
                                          "console": false,
                                          "tostatus": false,
                                          "complete": "payload",
                                          "targetType": "msg",
                                          "statusVal": "",
                                          "statusType": "auto",
                                          "x": 1220,
                                          "y": 40,
                                          "wires": []
                                      },
                                      {
                                          "id": "140ae0a74c608f65",
                                          "type": "delay",
                                          "z": "4a7d49c9cec64387",
                                          "name": "verzög.1s",
                                          "pauseType": "delay",
                                          "timeout": "1",
                                          "timeoutUnits": "seconds",
                                          "rate": "1",
                                          "nbRateUnits": "1",
                                          "rateUnits": "second",
                                          "randomFirst": "1",
                                          "randomLast": "5",
                                          "randomUnits": "seconds",
                                          "drop": false,
                                          "allowrate": false,
                                          "outputs": 1,
                                          "x": 420,
                                          "y": 180,
                                          "wires": [
                                              [
                                                  "43a8260bfdf05214"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "43a8260bfdf05214",
                                          "type": "change",
                                          "z": "4a7d49c9cec64387",
                                          "name": "motion/false",
                                          "rules": [
                                              {
                                                  "t": "set",
                                                  "p": "payload.motion",
                                                  "pt": "msg",
                                                  "to": "false",
                                                  "tot": "bool"
                                              }
                                          ],
                                          "action": "",
                                          "property": "",
                                          "from": "",
                                          "to": "",
                                          "reg": false,
                                          "x": 570,
                                          "y": 180,
                                          "wires": [
                                              [
                                                  "04fa302c2270ca4f"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "f5d7178472b12544",
                                          "type": "switch",
                                          "z": "4a7d49c9cec64387",
                                          "name": "",
                                          "property": "payload",
                                          "propertyType": "msg",
                                          "rules": [
                                              {
                                                  "t": "true"
                                              },
                                              {
                                                  "t": "false"
                                              }
                                          ],
                                          "checkall": "true",
                                          "repair": false,
                                          "outputs": 2,
                                          "x": 670,
                                          "y": 100,
                                          "wires": [
                                              [
                                                  "91e7c6e9005453c1"
                                              ],
                                              []
                                          ]
                                      },
                                      {
                                          "id": "04fa302c2270ca4f",
                                          "type": "change",
                                          "z": "4a7d49c9cec64387",
                                          "name": "motion/payload",
                                          "rules": [
                                              {
                                                  "t": "set",
                                                  "p": "payload",
                                                  "pt": "msg",
                                                  "to": "payload.motion",
                                                  "tot": "msg"
                                              }
                                          ],
                                          "action": "",
                                          "property": "",
                                          "from": "",
                                          "to": "",
                                          "reg": false,
                                          "x": 780,
                                          "y": 180,
                                          "wires": [
                                              [
                                                  "f5d7178472b12544"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "464744eb1eb6f4bf",
                                          "type": "comment",
                                          "z": "4a7d49c9cec64387",
                                          "name": "Bewegungsmelder",
                                          "info": "",
                                          "x": 110,
                                          "y": 20,
                                          "wires": []
                                      },
                                      {
                                          "id": "d72b588f5ad0c3d1",
                                          "type": "inject",
                                          "z": "4a7d49c9cec64387",
                                          "name": "",
                                          "props": [
                                              {
                                                  "p": "payload"
                                              },
                                              {
                                                  "p": "topic",
                                                  "vt": "str"
                                              }
                                          ],
                                          "repeat": "",
                                          "crontab": "",
                                          "once": false,
                                          "onceDelay": 0.1,
                                          "topic": "",
                                          "payload": "1000",
                                          "payloadType": "num",
                                          "x": 110,
                                          "y": 320,
                                          "wires": [
                                              [
                                                  "28b5fec6c9de7785"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "acb34561a25cb81b",
                                          "type": "change",
                                          "z": "4a7d49c9cec64387",
                                          "name": "payload/true",
                                          "rules": [
                                              {
                                                  "t": "set",
                                                  "p": "payload",
                                                  "pt": "msg",
                                                  "to": "true",
                                                  "tot": "bool"
                                              }
                                          ],
                                          "action": "",
                                          "property": "",
                                          "from": "",
                                          "to": "",
                                          "reg": false,
                                          "x": 410,
                                          "y": 320,
                                          "wires": [
                                              [
                                                  "d2ebd9fe89d68291"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "28b5fec6c9de7785",
                                          "type": "switch",
                                          "z": "4a7d49c9cec64387",
                                          "name": "1000",
                                          "property": "payload",
                                          "propertyType": "msg",
                                          "rules": [
                                              {
                                                  "t": "eq",
                                                  "v": "1000",
                                                  "vt": "num"
                                              },
                                              {
                                                  "t": "eq",
                                                  "v": "",
                                                  "vt": "num"
                                              }
                                          ],
                                          "checkall": "true",
                                          "repair": false,
                                          "outputs": 2,
                                          "x": 230,
                                          "y": 340,
                                          "wires": [
                                              [
                                                  "78e2ddead9cc1d0a"
                                              ],
                                              []
                                          ]
                                      },
                                      {
                                          "id": "932f55c48b111395",
                                          "type": "switch",
                                          "z": "4a7d49c9cec64387",
                                          "name": "",
                                          "property": "stopp",
                                          "propertyType": "flow",
                                          "rules": [
                                              {
                                                  "t": "false"
                                              }
                                          ],
                                          "checkall": "true",
                                          "repair": false,
                                          "outputs": 1,
                                          "x": 910,
                                          "y": 80,
                                          "wires": [
                                              [
                                                  "8a764bd3f71768b8"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "98aed8cf2a3130df",
                                          "type": "change",
                                          "z": "4a7d49c9cec64387",
                                          "name": "payload/stop",
                                          "rules": [
                                              {
                                                  "t": "set",
                                                  "p": "stopp",
                                                  "pt": "flow",
                                                  "to": "true",
                                                  "tot": "bool"
                                              }
                                          ],
                                          "action": "",
                                          "property": "",
                                          "from": "",
                                          "to": "",
                                          "reg": false,
                                          "x": 410,
                                          "y": 360,
                                          "wires": [
                                              []
                                          ]
                                      },
                                      {
                                          "id": "7a91b9011434fb39",
                                          "type": "change",
                                          "z": "4a7d49c9cec64387",
                                          "name": "payload/stop",
                                          "rules": [
                                              {
                                                  "t": "set",
                                                  "p": "stopp",
                                                  "pt": "flow",
                                                  "to": "false",
                                                  "tot": "bool"
                                              }
                                          ],
                                          "action": "",
                                          "property": "",
                                          "from": "",
                                          "to": "",
                                          "reg": false,
                                          "x": 830,
                                          "y": 320,
                                          "wires": [
                                              [
                                                  "25337f528e5f609e"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "924f5324f130bca6",
                                          "type": "switch",
                                          "z": "4a7d49c9cec64387",
                                          "name": "",
                                          "property": "payload",
                                          "propertyType": "msg",
                                          "rules": [
                                              {
                                                  "t": "eq",
                                                  "v": "1000",
                                                  "vt": "num"
                                              }
                                          ],
                                          "checkall": "true",
                                          "repair": false,
                                          "outputs": 1,
                                          "x": 690,
                                          "y": 320,
                                          "wires": [
                                              [
                                                  "7a91b9011434fb39"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "8a764bd3f71768b8",
                                          "type": "function",
                                          "z": "4a7d49c9cec64387",
                                          "name": "Ausgabe",
                                          "func": "node.status({ text: msg.payload });\n\nreturn msg;",
                                          "outputs": 1,
                                          "timeout": 0,
                                          "noerr": 0,
                                          "initialize": "// Der Code hier wird ausgeführt,\n// wenn der Node gestartet wird\nflow.set(\"stopp\", false);",
                                          "finalize": "",
                                          "libs": [],
                                          "x": 1080,
                                          "y": 60,
                                          "wires": [
                                              [
                                                  "393f87f05ba89b4d",
                                                  "06974459414825ae"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "91e7c6e9005453c1",
                                          "type": "timeouttrigger",
                                          "z": "4a7d49c9cec64387",
                                          "OnTimeoutType": "bool",
                                          "OnTimeoutVal": "false",
                                          "duration": "3",
                                          "units": "s",
                                          "passthrough": true,
                                          "sendTimeoutValue": "once",
                                          "interval": "",
                                          "IntervalUnits": "s",
                                          "name": "",
                                          "x": 790,
                                          "y": 80,
                                          "wires": [
                                              [
                                                  "932f55c48b111395"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "d2ebd9fe89d68291",
                                          "type": "timeouttrigger",
                                          "z": "4a7d49c9cec64387",
                                          "OnTimeoutType": "bool",
                                          "OnTimeoutVal": "false",
                                          "duration": "10",
                                          "units": "s",
                                          "passthrough": true,
                                          "sendTimeoutValue": "once",
                                          "interval": "",
                                          "IntervalUnits": "s",
                                          "name": "",
                                          "x": 550,
                                          "y": 320,
                                          "wires": [
                                              [
                                                  "924f5324f130bca6",
                                                  "e83d1232da36de00"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "25337f528e5f609e",
                                          "type": "debug",
                                          "z": "4a7d49c9cec64387",
                                          "name": "Stop",
                                          "active": true,
                                          "tosidebar": true,
                                          "console": false,
                                          "tostatus": false,
                                          "complete": "payload",
                                          "targetType": "msg",
                                          "statusVal": "",
                                          "statusType": "auto",
                                          "x": 970,
                                          "y": 320,
                                          "wires": []
                                      },
                                      {
                                          "id": "06974459414825ae",
                                          "type": "ioBroker out",
                                          "z": "4a7d49c9cec64387",
                                          "name": "Test Lampe",
                                          "topic": "0_userdata.0.GordonX-Home.0.Test_Gerät",
                                          "ack": "false",
                                          "autoCreate": "false",
                                          "stateName": "",
                                          "role": "",
                                          "payloadType": "",
                                          "readonly": "",
                                          "stateUnit": "",
                                          "stateMin": "",
                                          "stateMax": "",
                                          "x": 1230,
                                          "y": 80,
                                          "wires": []
                                      },
                                      {
                                          "id": "3aa4ad0593121ea0",
                                          "type": "ioBroker in",
                                          "z": "4a7d49c9cec64387",
                                          "name": "Schalter Küche",
                                          "attrname": "payload",
                                          "topic": "hue.0.Hue_GordonX.Küche_Schalter.buttonevent",
                                          "payloadType": "value",
                                          "onlyack": "",
                                          "func": "all",
                                          "gap": "",
                                          "fireOnStart": "false",
                                          "outFormat": "MQTT",
                                          "x": 80,
                                          "y": 360,
                                          "wires": [
                                              [
                                                  "28b5fec6c9de7785"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "8de4ca9f0f0e9d4d",
                                          "type": "debug",
                                          "z": "4a7d49c9cec64387",
                                          "name": "debug 3",
                                          "active": true,
                                          "tosidebar": true,
                                          "console": false,
                                          "tostatus": false,
                                          "complete": "false",
                                          "statusVal": "",
                                          "statusType": "auto",
                                          "x": 1040,
                                          "y": 420,
                                          "wires": []
                                      },
                                      {
                                          "id": "a87f289d766e582a",
                                          "type": "change",
                                          "z": "4a7d49c9cec64387",
                                          "name": "payload/5",
                                          "rules": [
                                              {
                                                  "t": "change",
                                                  "p": "payload",
                                                  "pt": "msg",
                                                  "from": "5",
                                                  "fromt": "str",
                                                  "to": "true",
                                                  "tot": "bool"
                                              }
                                          ],
                                          "action": "",
                                          "property": "",
                                          "from": "",
                                          "to": "",
                                          "reg": false,
                                          "x": 880,
                                          "y": 420,
                                          "wires": [
                                              [
                                                  "8de4ca9f0f0e9d4d"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "ac9990dcafb0f297",
                                          "type": "switch",
                                          "z": "4a7d49c9cec64387",
                                          "name": "Status nicht 5",
                                          "property": "payload",
                                          "propertyType": "msg",
                                          "rules": [
                                              {
                                                  "t": "neq",
                                                  "v": "5",
                                                  "vt": "str"
                                              }
                                          ],
                                          "checkall": "true",
                                          "repair": false,
                                          "outputs": 1,
                                          "x": 720,
                                          "y": 420,
                                          "wires": [
                                              [
                                                  "a87f289d766e582a"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "d7459276dc5863d1",
                                          "type": "ioBroker get",
                                          "z": "4a7d49c9cec64387",
                                          "name": "Status",
                                          "topic": "0_userdata.0.GordonX-Home.0.Test_Status_Robi",
                                          "attrname": "payload",
                                          "payloadType": "value",
                                          "errOnInvalidState": "nothing",
                                          "x": 530,
                                          "y": 420,
                                          "wires": [
                                              [
                                                  "ac9990dcafb0f297"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "35902ac50003513b",
                                          "type": "hue-bridge-node",
                                          "z": "4a7d49c9cec64387",
                                          "name": "",
                                          "bridge": "cbd54dbabf6f65be",
                                          "autoupdates": true,
                                          "skipglobalevents": false,
                                          "initevents": false,
                                          "x": 110,
                                          "y": 60,
                                          "wires": [
                                              [
                                                  "3d01a93e7177b0f4"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "3d01a93e7177b0f4",
                                          "type": "hue-motion",
                                          "z": "4a7d49c9cec64387",
                                          "name": "Küche Motion Sensor",
                                          "bridge": "cbd54dbabf6f65be",
                                          "sensorid": "7529c8d8-9f5c-451d-ba56-70cacda84564",
                                          "skipevents": false,
                                          "initevents": false,
                                          "x": 160,
                                          "y": 180,
                                          "wires": [
                                              [
                                                  "bfe42f33cfa9774d",
                                                  "5e77b709b7c1eae0"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "cbd54dbabf6f65be",
                                          "type": "hue-bridge",
                                          "name": "Hue GordonX",
                                          "bridge": "192.168.0.8",
                                          "key": "SlfyXwpcaEvRN0d1DU2JrrOlwrm9Debhhm9A4E-d",
                                          "worker": "10",
                                          "autoupdates": true,
                                          "disableupdates": false
                                      }
                                  ]
                                  

                                  Screenshot 2025-06-14 151603.png
                                  Da hast du es aber gemütlich.
                                  Fehlt wohl nur noch ein Kaffee!

                                  P Offline
                                  P Offline
                                  peterfido
                                  schrieb am zuletzt editiert von peterfido
                                  #16

                                  @aphofis Probier mal das:

                                  [
                                      {
                                          "id": "a42b83181f07f8d0",
                                          "type": "tab",
                                          "label": "Flow 8",
                                          "disabled": false,
                                          "info": "",
                                          "env": []
                                      },
                                      {
                                          "id": "1c8c0acba7c2bff2",
                                          "type": "inject",
                                          "z": "a42b83181f07f8d0",
                                          "name": "Test Bewegung",
                                          "props": [
                                              {
                                                  "p": "payload.motion",
                                                  "v": "true",
                                                  "vt": "bool"
                                              },
                                              {
                                                  "p": "topic",
                                                  "vt": "str"
                                              }
                                          ],
                                          "repeat": "",
                                          "crontab": "",
                                          "once": false,
                                          "onceDelay": 0.1,
                                          "topic": "Bewegungsmelder",
                                          "x": 120,
                                          "y": 60,
                                          "wires": [
                                              [
                                                  "8bf1e5067a6f0ad2",
                                                  "b0410acfcad1b37e"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "d1f2c8393ea7f683",
                                          "type": "debug",
                                          "z": "a42b83181f07f8d0",
                                          "name": "debug 3",
                                          "active": true,
                                          "tosidebar": true,
                                          "console": false,
                                          "tostatus": false,
                                          "complete": "true",
                                          "targetType": "full",
                                          "statusVal": "",
                                          "statusType": "auto",
                                          "x": 1560,
                                          "y": 40,
                                          "wires": []
                                      },
                                      {
                                          "id": "8bf1e5067a6f0ad2",
                                          "type": "delay",
                                          "z": "a42b83181f07f8d0",
                                          "name": "",
                                          "pauseType": "delay",
                                          "timeout": "1",
                                          "timeoutUnits": "seconds",
                                          "rate": "1",
                                          "nbRateUnits": "1",
                                          "rateUnits": "second",
                                          "randomFirst": "1",
                                          "randomLast": "5",
                                          "randomUnits": "seconds",
                                          "drop": false,
                                          "allowrate": false,
                                          "outputs": 1,
                                          "x": 120,
                                          "y": 120,
                                          "wires": [
                                              [
                                                  "a9f9b30b4f8999d0"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "a9f9b30b4f8999d0",
                                          "type": "change",
                                          "z": "a42b83181f07f8d0",
                                          "name": "motion:false",
                                          "rules": [
                                              {
                                                  "t": "set",
                                                  "p": "payload.motion",
                                                  "pt": "msg",
                                                  "to": "false",
                                                  "tot": "bool"
                                              }
                                          ],
                                          "action": "",
                                          "property": "",
                                          "from": "",
                                          "to": "",
                                          "reg": false,
                                          "x": 170,
                                          "y": 160,
                                          "wires": [
                                              [
                                                  "b0410acfcad1b37e"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "7a509a8587332f14",
                                          "type": "switch",
                                          "z": "a42b83181f07f8d0",
                                          "name": "Schalter",
                                          "property": "stopp",
                                          "propertyType": "flow",
                                          "rules": [
                                              {
                                                  "t": "true"
                                              },
                                              {
                                                  "t": "false"
                                              }
                                          ],
                                          "checkall": "true",
                                          "repair": false,
                                          "outputs": 2,
                                          "x": 820,
                                          "y": 80,
                                          "wires": [
                                              [],
                                              [
                                                  "4d146d05efbc5d35"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "c1952bc66da5a348",
                                          "type": "timeouttrigger",
                                          "z": "a42b83181f07f8d0",
                                          "OnTimeoutType": "bool",
                                          "OnTimeoutVal": "false",
                                          "duration": "3",
                                          "units": "s",
                                          "passthrough": true,
                                          "sendTimeoutValue": "once",
                                          "interval": "",
                                          "IntervalUnits": "s",
                                          "name": "",
                                          "x": 1130,
                                          "y": 60,
                                          "wires": [
                                              [
                                                  "550905a564f09176"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "6adb99e531920623",
                                          "type": "change",
                                          "z": "a42b83181f07f8d0",
                                          "name": "Motion",
                                          "rules": [
                                              {
                                                  "t": "set",
                                                  "p": "payload",
                                                  "pt": "msg",
                                                  "to": "payload.motion",
                                                  "tot": "msg"
                                              }
                                          ],
                                          "action": "",
                                          "property": "",
                                          "from": "",
                                          "to": "",
                                          "reg": false,
                                          "x": 500,
                                          "y": 60,
                                          "wires": [
                                              [
                                                  "9f0c88dad82d8633"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "9f83e7917ef2d8e2",
                                          "type": "comment",
                                          "z": "a42b83181f07f8d0",
                                          "name": "<< Bewegungsmelder |||||||||||||| Simulator  Beginn>>",
                                          "info": "",
                                          "x": 220,
                                          "y": 20,
                                          "wires": []
                                      },
                                      {
                                          "id": "302a07cea50da337",
                                          "type": "timeouttrigger",
                                          "z": "a42b83181f07f8d0",
                                          "OnTimeoutType": "bool",
                                          "OnTimeoutVal": "false",
                                          "duration": "45",
                                          "units": "s",
                                          "passthrough": true,
                                          "sendTimeoutValue": "once",
                                          "interval": "",
                                          "IntervalUnits": "s",
                                          "name": "",
                                          "x": 710,
                                          "y": 180,
                                          "wires": [
                                              [
                                                  "2871643160dfcc7c",
                                                  "550905a564f09176"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "0762e0ad3da83f0d",
                                          "type": "inject",
                                          "z": "a42b83181f07f8d0",
                                          "name": "Test 1000",
                                          "props": [
                                              {
                                                  "p": "payload"
                                              },
                                              {
                                                  "p": "topic",
                                                  "vt": "str"
                                              }
                                          ],
                                          "repeat": "",
                                          "crontab": "",
                                          "once": false,
                                          "onceDelay": 0.1,
                                          "topic": "Schalter_1000",
                                          "payload": "1000",
                                          "payloadType": "num",
                                          "x": 120,
                                          "y": 280,
                                          "wires": [
                                              [
                                                  "d1051390faa881a3"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "bd795708de32c118",
                                          "type": "change",
                                          "z": "a42b83181f07f8d0",
                                          "name": "",
                                          "rules": [
                                              {
                                                  "t": "set",
                                                  "p": "payload",
                                                  "pt": "msg",
                                                  "to": "true",
                                                  "tot": "bool"
                                              }
                                          ],
                                          "action": "",
                                          "property": "",
                                          "from": "",
                                          "to": "",
                                          "reg": false,
                                          "x": 530,
                                          "y": 240,
                                          "wires": [
                                              [
                                                  "302a07cea50da337"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "d1051390faa881a3",
                                          "type": "switch",
                                          "z": "a42b83181f07f8d0",
                                          "name": "1000?",
                                          "property": "payload",
                                          "propertyType": "msg",
                                          "rules": [
                                              {
                                                  "t": "eq",
                                                  "v": "1000",
                                                  "vt": "num"
                                              },
                                              {
                                                  "t": "eq",
                                                  "v": "",
                                                  "vt": "num"
                                              }
                                          ],
                                          "checkall": "true",
                                          "repair": false,
                                          "outputs": 2,
                                          "x": 290,
                                          "y": 300,
                                          "wires": [
                                              [
                                                  "bd795708de32c118",
                                                  "32b9213c2fe970b0"
                                              ],
                                              []
                                          ]
                                      },
                                      {
                                          "id": "4d146d05efbc5d35",
                                          "type": "switch",
                                          "z": "a42b83181f07f8d0",
                                          "name": "Robi",
                                          "property": "BWM",
                                          "propertyType": "flow",
                                          "rules": [
                                              {
                                                  "t": "true"
                                              },
                                              {
                                                  "t": "false"
                                              }
                                          ],
                                          "checkall": "true",
                                          "repair": false,
                                          "outputs": 2,
                                          "x": 950,
                                          "y": 80,
                                          "wires": [
                                              [
                                                  "c1952bc66da5a348"
                                              ],
                                              []
                                          ]
                                      },
                                      {
                                          "id": "32b9213c2fe970b0",
                                          "type": "change",
                                          "z": "a42b83181f07f8d0",
                                          "name": "",
                                          "rules": [
                                              {
                                                  "t": "set",
                                                  "p": "stopp",
                                                  "pt": "flow",
                                                  "to": "true",
                                                  "tot": "bool"
                                              }
                                          ],
                                          "action": "",
                                          "property": "",
                                          "from": "",
                                          "to": "",
                                          "reg": false,
                                          "x": 520,
                                          "y": 280,
                                          "wires": [
                                              []
                                          ]
                                      },
                                      {
                                          "id": "0439088d7ec73749",
                                          "type": "change",
                                          "z": "a42b83181f07f8d0",
                                          "name": "llöscheflow.stopp",
                                          "rules": [
                                              {
                                                  "t": "set",
                                                  "p": "stopp",
                                                  "pt": "flow",
                                                  "to": "false",
                                                  "tot": "bool"
                                              }
                                          ],
                                          "action": "",
                                          "property": "",
                                          "from": "",
                                          "to": "",
                                          "reg": false,
                                          "x": 1030,
                                          "y": 260,
                                          "wires": [
                                              []
                                          ]
                                      },
                                      {
                                          "id": "2871643160dfcc7c",
                                          "type": "switch",
                                          "z": "a42b83181f07f8d0",
                                          "name": "",
                                          "property": "payload",
                                          "propertyType": "msg",
                                          "rules": [
                                              {
                                                  "t": "eq",
                                                  "v": "1000",
                                                  "vt": "num"
                                              },
                                              {
                                                  "t": "eq",
                                                  "v": "",
                                                  "vt": "num"
                                              }
                                          ],
                                          "checkall": "true",
                                          "repair": false,
                                          "outputs": 2,
                                          "x": 830,
                                          "y": 260,
                                          "wires": [
                                              [],
                                              [
                                                  "0439088d7ec73749"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "550905a564f09176",
                                          "type": "function",
                                          "z": "a42b83181f07f8d0",
                                          "name": "Variablen Ini + Ausgabe",
                                          "func": "node.status({ text: msg.payload });\n\nreturn msg;",
                                          "outputs": 1,
                                          "timeout": 0,
                                          "noerr": 0,
                                          "initialize": "// Der Code hier wird ausgeführt,\n// wenn der Node gestartet wird\nflow.set(\"stopp\", false);\nflow.set(\"BWM\", true);\n",
                                          "finalize": "",
                                          "libs": [],
                                          "x": 1330,
                                          "y": 120,
                                          "wires": [
                                              [
                                                  "d1f2c8393ea7f683",
                                                  "e2721e4056e942e3"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "d7bd1efc606cfcad",
                                          "type": "ioBroker in",
                                          "z": "a42b83181f07f8d0",
                                          "name": "ioB Robi",
                                          "attrname": "payload",
                                          "topic": "*",
                                          "payloadType": "value",
                                          "onlyack": "",
                                          "func": "all",
                                          "gap": "",
                                          "fireOnStart": "false",
                                          "outFormat": "MQTT",
                                          "x": 120,
                                          "y": 560,
                                          "wires": [
                                              [
                                                  "b2f36db79c165583"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "b0410acfcad1b37e",
                                          "type": "function",
                                          "z": "a42b83181f07f8d0",
                                          "name": "Ausgang BWM",
                                          "func": "\nreturn msg;",
                                          "outputs": 1,
                                          "timeout": 0,
                                          "noerr": 0,
                                          "initialize": "",
                                          "finalize": "",
                                          "libs": [],
                                          "x": 320,
                                          "y": 60,
                                          "wires": [
                                              [
                                                  "6adb99e531920623"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "e2721e4056e942e3",
                                          "type": "ioBroker out",
                                          "z": "a42b83181f07f8d0",
                                          "name": "ioBroker Lampe",
                                          "topic": "",
                                          "ack": "false",
                                          "autoCreate": "false",
                                          "stateName": "",
                                          "role": "",
                                          "payloadType": "",
                                          "readonly": "",
                                          "stateUnit": "",
                                          "stateMin": "",
                                          "stateMax": "",
                                          "x": 1640,
                                          "y": 160,
                                          "wires": []
                                      },
                                      {
                                          "id": "7cfd7f7fba2e2d7a",
                                          "type": "ioBroker in",
                                          "z": "a42b83181f07f8d0",
                                          "name": "ioB Schalter",
                                          "attrname": "payload",
                                          "topic": "*",
                                          "payloadType": "value",
                                          "onlyack": "",
                                          "func": "all",
                                          "gap": "",
                                          "fireOnStart": "false",
                                          "outFormat": "MQTT",
                                          "x": 110,
                                          "y": 340,
                                          "wires": [
                                              [
                                                  "d1051390faa881a3"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "91ef09f531fcc27b",
                                          "type": "inject",
                                          "z": "a42b83181f07f8d0",
                                          "name": "Test Robi = 5",
                                          "props": [
                                              {
                                                  "p": "payload"
                                              },
                                              {
                                                  "p": "topic",
                                                  "vt": "str"
                                              }
                                          ],
                                          "repeat": "",
                                          "crontab": "",
                                          "once": false,
                                          "onceDelay": 0.1,
                                          "topic": "",
                                          "payload": "5",
                                          "payloadType": "num",
                                          "x": 130,
                                          "y": 440,
                                          "wires": [
                                              [
                                                  "b2f36db79c165583"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "6db2cc2617ad5707",
                                          "type": "inject",
                                          "z": "a42b83181f07f8d0",
                                          "name": "Test Robi <> 5",
                                          "props": [
                                              {
                                                  "p": "payload"
                                              },
                                              {
                                                  "p": "topic",
                                                  "vt": "str"
                                              }
                                          ],
                                          "repeat": "",
                                          "crontab": "",
                                          "once": false,
                                          "onceDelay": 0.1,
                                          "topic": "",
                                          "payload": "6",
                                          "payloadType": "num",
                                          "x": 130,
                                          "y": 500,
                                          "wires": [
                                              [
                                                  "b2f36db79c165583"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "b2f36db79c165583",
                                          "type": "switch",
                                          "z": "a42b83181f07f8d0",
                                          "name": "",
                                          "property": "payload",
                                          "propertyType": "msg",
                                          "rules": [
                                              {
                                                  "t": "eq",
                                                  "v": "5",
                                                  "vt": "num"
                                              },
                                              {
                                                  "t": "neq",
                                                  "v": "5",
                                                  "vt": "num"
                                              }
                                          ],
                                          "checkall": "true",
                                          "repair": false,
                                          "outputs": 2,
                                          "x": 310,
                                          "y": 500,
                                          "wires": [
                                              [
                                                  "407e2e376c0ee370"
                                              ],
                                              [
                                                  "5061312f43733426"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "407e2e376c0ee370",
                                          "type": "change",
                                          "z": "a42b83181f07f8d0",
                                          "name": "setze Flow.BWM",
                                          "rules": [
                                              {
                                                  "t": "set",
                                                  "p": "BWM",
                                                  "pt": "flow",
                                                  "to": "true",
                                                  "tot": "bool"
                                              }
                                          ],
                                          "action": "",
                                          "property": "",
                                          "from": "",
                                          "to": "",
                                          "reg": false,
                                          "x": 500,
                                          "y": 460,
                                          "wires": [
                                              [
                                                  "0650a4ab7aec40a1"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "5061312f43733426",
                                          "type": "change",
                                          "z": "a42b83181f07f8d0",
                                          "name": "lösche Flow.BWM",
                                          "rules": [
                                              {
                                                  "t": "set",
                                                  "p": "BWM",
                                                  "pt": "flow",
                                                  "to": "false",
                                                  "tot": "bool"
                                              }
                                          ],
                                          "action": "",
                                          "property": "",
                                          "from": "",
                                          "to": "",
                                          "reg": false,
                                          "x": 490,
                                          "y": 520,
                                          "wires": [
                                              [
                                                  "0650a4ab7aec40a1"
                                              ]
                                          ]
                                      },
                                      {
                                          "id": "879b9060efcd163b",
                                          "type": "comment",
                                          "z": "a42b83181f07f8d0",
                                          "name": "evtl. gesperrt durch??",
                                          "info": "",
                                          "x": 880,
                                          "y": 40,
                                          "wires": []
                                      },
                                      {
                                          "id": "9f0c88dad82d8633",
                                          "type": "switch",
                                          "z": "a42b83181f07f8d0",
                                          "name": "nur true",
                                          "property": "payload",
                                          "propertyType": "msg",
                                          "rules": [
                                              {
                                                  "t": "true"
                                              },
                                              {
                                                  "t": "false"
                                              }
                                          ],
                                          "checkall": "true",
                                          "repair": false,
                                          "outputs": 2,
                                          "x": 640,
                                          "y": 80,
                                          "wires": [
                                              [
                                                  "7a509a8587332f14"
                                              ],
                                              []
                                          ]
                                      },
                                      {
                                          "id": "0650a4ab7aec40a1",
                                          "type": "debug",
                                          "z": "a42b83181f07f8d0",
                                          "name": "debug 4",
                                          "active": true,
                                          "tosidebar": true,
                                          "console": false,
                                          "tostatus": false,
                                          "complete": "true",
                                          "targetType": "full",
                                          "statusVal": "",
                                          "statusType": "auto",
                                          "x": 720,
                                          "y": 500,
                                          "wires": []
                                      },
                                      {
                                          "id": "f144b6f8b998c7f5",
                                          "type": "comment",
                                          "z": "a42b83181f07f8d0",
                                          "name": "<< Bewegungsmelder |||||||||||||| Simulator Ende >>",
                                          "info": "",
                                          "x": 220,
                                          "y": 220,
                                          "wires": []
                                      }
                                  ]
                                  

                                  Edit: Die Verzögerung von einer Sekunde hinter dem BWM braucht es nicht unbedingt. Die setzt nur meinen simulierten BWM zurück.

                                  Gruß

                                  Peterfido


                                  Proxmox auf Intel NUC12WSHi5
                                  ioBroker: Debian (VM)
                                  CCU: Debmatic (VM)
                                  Influx: Debian (VM)
                                  Grafana: Debian (VM)
                                  eBus: Debian (VM)
                                  Zigbee: Debian (VM) mit zigbee2mqtt

                                  AphofisA 1 Antwort Letzte Antwort
                                  0
                                  • P peterfido

                                    @aphofis Probier mal das:

                                    [
                                        {
                                            "id": "a42b83181f07f8d0",
                                            "type": "tab",
                                            "label": "Flow 8",
                                            "disabled": false,
                                            "info": "",
                                            "env": []
                                        },
                                        {
                                            "id": "1c8c0acba7c2bff2",
                                            "type": "inject",
                                            "z": "a42b83181f07f8d0",
                                            "name": "Test Bewegung",
                                            "props": [
                                                {
                                                    "p": "payload.motion",
                                                    "v": "true",
                                                    "vt": "bool"
                                                },
                                                {
                                                    "p": "topic",
                                                    "vt": "str"
                                                }
                                            ],
                                            "repeat": "",
                                            "crontab": "",
                                            "once": false,
                                            "onceDelay": 0.1,
                                            "topic": "Bewegungsmelder",
                                            "x": 120,
                                            "y": 60,
                                            "wires": [
                                                [
                                                    "8bf1e5067a6f0ad2",
                                                    "b0410acfcad1b37e"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "d1f2c8393ea7f683",
                                            "type": "debug",
                                            "z": "a42b83181f07f8d0",
                                            "name": "debug 3",
                                            "active": true,
                                            "tosidebar": true,
                                            "console": false,
                                            "tostatus": false,
                                            "complete": "true",
                                            "targetType": "full",
                                            "statusVal": "",
                                            "statusType": "auto",
                                            "x": 1560,
                                            "y": 40,
                                            "wires": []
                                        },
                                        {
                                            "id": "8bf1e5067a6f0ad2",
                                            "type": "delay",
                                            "z": "a42b83181f07f8d0",
                                            "name": "",
                                            "pauseType": "delay",
                                            "timeout": "1",
                                            "timeoutUnits": "seconds",
                                            "rate": "1",
                                            "nbRateUnits": "1",
                                            "rateUnits": "second",
                                            "randomFirst": "1",
                                            "randomLast": "5",
                                            "randomUnits": "seconds",
                                            "drop": false,
                                            "allowrate": false,
                                            "outputs": 1,
                                            "x": 120,
                                            "y": 120,
                                            "wires": [
                                                [
                                                    "a9f9b30b4f8999d0"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "a9f9b30b4f8999d0",
                                            "type": "change",
                                            "z": "a42b83181f07f8d0",
                                            "name": "motion:false",
                                            "rules": [
                                                {
                                                    "t": "set",
                                                    "p": "payload.motion",
                                                    "pt": "msg",
                                                    "to": "false",
                                                    "tot": "bool"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 170,
                                            "y": 160,
                                            "wires": [
                                                [
                                                    "b0410acfcad1b37e"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "7a509a8587332f14",
                                            "type": "switch",
                                            "z": "a42b83181f07f8d0",
                                            "name": "Schalter",
                                            "property": "stopp",
                                            "propertyType": "flow",
                                            "rules": [
                                                {
                                                    "t": "true"
                                                },
                                                {
                                                    "t": "false"
                                                }
                                            ],
                                            "checkall": "true",
                                            "repair": false,
                                            "outputs": 2,
                                            "x": 820,
                                            "y": 80,
                                            "wires": [
                                                [],
                                                [
                                                    "4d146d05efbc5d35"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "c1952bc66da5a348",
                                            "type": "timeouttrigger",
                                            "z": "a42b83181f07f8d0",
                                            "OnTimeoutType": "bool",
                                            "OnTimeoutVal": "false",
                                            "duration": "3",
                                            "units": "s",
                                            "passthrough": true,
                                            "sendTimeoutValue": "once",
                                            "interval": "",
                                            "IntervalUnits": "s",
                                            "name": "",
                                            "x": 1130,
                                            "y": 60,
                                            "wires": [
                                                [
                                                    "550905a564f09176"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "6adb99e531920623",
                                            "type": "change",
                                            "z": "a42b83181f07f8d0",
                                            "name": "Motion",
                                            "rules": [
                                                {
                                                    "t": "set",
                                                    "p": "payload",
                                                    "pt": "msg",
                                                    "to": "payload.motion",
                                                    "tot": "msg"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 500,
                                            "y": 60,
                                            "wires": [
                                                [
                                                    "9f0c88dad82d8633"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "9f83e7917ef2d8e2",
                                            "type": "comment",
                                            "z": "a42b83181f07f8d0",
                                            "name": "<< Bewegungsmelder |||||||||||||| Simulator  Beginn>>",
                                            "info": "",
                                            "x": 220,
                                            "y": 20,
                                            "wires": []
                                        },
                                        {
                                            "id": "302a07cea50da337",
                                            "type": "timeouttrigger",
                                            "z": "a42b83181f07f8d0",
                                            "OnTimeoutType": "bool",
                                            "OnTimeoutVal": "false",
                                            "duration": "45",
                                            "units": "s",
                                            "passthrough": true,
                                            "sendTimeoutValue": "once",
                                            "interval": "",
                                            "IntervalUnits": "s",
                                            "name": "",
                                            "x": 710,
                                            "y": 180,
                                            "wires": [
                                                [
                                                    "2871643160dfcc7c",
                                                    "550905a564f09176"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "0762e0ad3da83f0d",
                                            "type": "inject",
                                            "z": "a42b83181f07f8d0",
                                            "name": "Test 1000",
                                            "props": [
                                                {
                                                    "p": "payload"
                                                },
                                                {
                                                    "p": "topic",
                                                    "vt": "str"
                                                }
                                            ],
                                            "repeat": "",
                                            "crontab": "",
                                            "once": false,
                                            "onceDelay": 0.1,
                                            "topic": "Schalter_1000",
                                            "payload": "1000",
                                            "payloadType": "num",
                                            "x": 120,
                                            "y": 280,
                                            "wires": [
                                                [
                                                    "d1051390faa881a3"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "bd795708de32c118",
                                            "type": "change",
                                            "z": "a42b83181f07f8d0",
                                            "name": "",
                                            "rules": [
                                                {
                                                    "t": "set",
                                                    "p": "payload",
                                                    "pt": "msg",
                                                    "to": "true",
                                                    "tot": "bool"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 530,
                                            "y": 240,
                                            "wires": [
                                                [
                                                    "302a07cea50da337"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "d1051390faa881a3",
                                            "type": "switch",
                                            "z": "a42b83181f07f8d0",
                                            "name": "1000?",
                                            "property": "payload",
                                            "propertyType": "msg",
                                            "rules": [
                                                {
                                                    "t": "eq",
                                                    "v": "1000",
                                                    "vt": "num"
                                                },
                                                {
                                                    "t": "eq",
                                                    "v": "",
                                                    "vt": "num"
                                                }
                                            ],
                                            "checkall": "true",
                                            "repair": false,
                                            "outputs": 2,
                                            "x": 290,
                                            "y": 300,
                                            "wires": [
                                                [
                                                    "bd795708de32c118",
                                                    "32b9213c2fe970b0"
                                                ],
                                                []
                                            ]
                                        },
                                        {
                                            "id": "4d146d05efbc5d35",
                                            "type": "switch",
                                            "z": "a42b83181f07f8d0",
                                            "name": "Robi",
                                            "property": "BWM",
                                            "propertyType": "flow",
                                            "rules": [
                                                {
                                                    "t": "true"
                                                },
                                                {
                                                    "t": "false"
                                                }
                                            ],
                                            "checkall": "true",
                                            "repair": false,
                                            "outputs": 2,
                                            "x": 950,
                                            "y": 80,
                                            "wires": [
                                                [
                                                    "c1952bc66da5a348"
                                                ],
                                                []
                                            ]
                                        },
                                        {
                                            "id": "32b9213c2fe970b0",
                                            "type": "change",
                                            "z": "a42b83181f07f8d0",
                                            "name": "",
                                            "rules": [
                                                {
                                                    "t": "set",
                                                    "p": "stopp",
                                                    "pt": "flow",
                                                    "to": "true",
                                                    "tot": "bool"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 520,
                                            "y": 280,
                                            "wires": [
                                                []
                                            ]
                                        },
                                        {
                                            "id": "0439088d7ec73749",
                                            "type": "change",
                                            "z": "a42b83181f07f8d0",
                                            "name": "llöscheflow.stopp",
                                            "rules": [
                                                {
                                                    "t": "set",
                                                    "p": "stopp",
                                                    "pt": "flow",
                                                    "to": "false",
                                                    "tot": "bool"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 1030,
                                            "y": 260,
                                            "wires": [
                                                []
                                            ]
                                        },
                                        {
                                            "id": "2871643160dfcc7c",
                                            "type": "switch",
                                            "z": "a42b83181f07f8d0",
                                            "name": "",
                                            "property": "payload",
                                            "propertyType": "msg",
                                            "rules": [
                                                {
                                                    "t": "eq",
                                                    "v": "1000",
                                                    "vt": "num"
                                                },
                                                {
                                                    "t": "eq",
                                                    "v": "",
                                                    "vt": "num"
                                                }
                                            ],
                                            "checkall": "true",
                                            "repair": false,
                                            "outputs": 2,
                                            "x": 830,
                                            "y": 260,
                                            "wires": [
                                                [],
                                                [
                                                    "0439088d7ec73749"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "550905a564f09176",
                                            "type": "function",
                                            "z": "a42b83181f07f8d0",
                                            "name": "Variablen Ini + Ausgabe",
                                            "func": "node.status({ text: msg.payload });\n\nreturn msg;",
                                            "outputs": 1,
                                            "timeout": 0,
                                            "noerr": 0,
                                            "initialize": "// Der Code hier wird ausgeführt,\n// wenn der Node gestartet wird\nflow.set(\"stopp\", false);\nflow.set(\"BWM\", true);\n",
                                            "finalize": "",
                                            "libs": [],
                                            "x": 1330,
                                            "y": 120,
                                            "wires": [
                                                [
                                                    "d1f2c8393ea7f683",
                                                    "e2721e4056e942e3"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "d7bd1efc606cfcad",
                                            "type": "ioBroker in",
                                            "z": "a42b83181f07f8d0",
                                            "name": "ioB Robi",
                                            "attrname": "payload",
                                            "topic": "*",
                                            "payloadType": "value",
                                            "onlyack": "",
                                            "func": "all",
                                            "gap": "",
                                            "fireOnStart": "false",
                                            "outFormat": "MQTT",
                                            "x": 120,
                                            "y": 560,
                                            "wires": [
                                                [
                                                    "b2f36db79c165583"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "b0410acfcad1b37e",
                                            "type": "function",
                                            "z": "a42b83181f07f8d0",
                                            "name": "Ausgang BWM",
                                            "func": "\nreturn msg;",
                                            "outputs": 1,
                                            "timeout": 0,
                                            "noerr": 0,
                                            "initialize": "",
                                            "finalize": "",
                                            "libs": [],
                                            "x": 320,
                                            "y": 60,
                                            "wires": [
                                                [
                                                    "6adb99e531920623"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "e2721e4056e942e3",
                                            "type": "ioBroker out",
                                            "z": "a42b83181f07f8d0",
                                            "name": "ioBroker Lampe",
                                            "topic": "",
                                            "ack": "false",
                                            "autoCreate": "false",
                                            "stateName": "",
                                            "role": "",
                                            "payloadType": "",
                                            "readonly": "",
                                            "stateUnit": "",
                                            "stateMin": "",
                                            "stateMax": "",
                                            "x": 1640,
                                            "y": 160,
                                            "wires": []
                                        },
                                        {
                                            "id": "7cfd7f7fba2e2d7a",
                                            "type": "ioBroker in",
                                            "z": "a42b83181f07f8d0",
                                            "name": "ioB Schalter",
                                            "attrname": "payload",
                                            "topic": "*",
                                            "payloadType": "value",
                                            "onlyack": "",
                                            "func": "all",
                                            "gap": "",
                                            "fireOnStart": "false",
                                            "outFormat": "MQTT",
                                            "x": 110,
                                            "y": 340,
                                            "wires": [
                                                [
                                                    "d1051390faa881a3"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "91ef09f531fcc27b",
                                            "type": "inject",
                                            "z": "a42b83181f07f8d0",
                                            "name": "Test Robi = 5",
                                            "props": [
                                                {
                                                    "p": "payload"
                                                },
                                                {
                                                    "p": "topic",
                                                    "vt": "str"
                                                }
                                            ],
                                            "repeat": "",
                                            "crontab": "",
                                            "once": false,
                                            "onceDelay": 0.1,
                                            "topic": "",
                                            "payload": "5",
                                            "payloadType": "num",
                                            "x": 130,
                                            "y": 440,
                                            "wires": [
                                                [
                                                    "b2f36db79c165583"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "6db2cc2617ad5707",
                                            "type": "inject",
                                            "z": "a42b83181f07f8d0",
                                            "name": "Test Robi <> 5",
                                            "props": [
                                                {
                                                    "p": "payload"
                                                },
                                                {
                                                    "p": "topic",
                                                    "vt": "str"
                                                }
                                            ],
                                            "repeat": "",
                                            "crontab": "",
                                            "once": false,
                                            "onceDelay": 0.1,
                                            "topic": "",
                                            "payload": "6",
                                            "payloadType": "num",
                                            "x": 130,
                                            "y": 500,
                                            "wires": [
                                                [
                                                    "b2f36db79c165583"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "b2f36db79c165583",
                                            "type": "switch",
                                            "z": "a42b83181f07f8d0",
                                            "name": "",
                                            "property": "payload",
                                            "propertyType": "msg",
                                            "rules": [
                                                {
                                                    "t": "eq",
                                                    "v": "5",
                                                    "vt": "num"
                                                },
                                                {
                                                    "t": "neq",
                                                    "v": "5",
                                                    "vt": "num"
                                                }
                                            ],
                                            "checkall": "true",
                                            "repair": false,
                                            "outputs": 2,
                                            "x": 310,
                                            "y": 500,
                                            "wires": [
                                                [
                                                    "407e2e376c0ee370"
                                                ],
                                                [
                                                    "5061312f43733426"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "407e2e376c0ee370",
                                            "type": "change",
                                            "z": "a42b83181f07f8d0",
                                            "name": "setze Flow.BWM",
                                            "rules": [
                                                {
                                                    "t": "set",
                                                    "p": "BWM",
                                                    "pt": "flow",
                                                    "to": "true",
                                                    "tot": "bool"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 500,
                                            "y": 460,
                                            "wires": [
                                                [
                                                    "0650a4ab7aec40a1"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "5061312f43733426",
                                            "type": "change",
                                            "z": "a42b83181f07f8d0",
                                            "name": "lösche Flow.BWM",
                                            "rules": [
                                                {
                                                    "t": "set",
                                                    "p": "BWM",
                                                    "pt": "flow",
                                                    "to": "false",
                                                    "tot": "bool"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 490,
                                            "y": 520,
                                            "wires": [
                                                [
                                                    "0650a4ab7aec40a1"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "879b9060efcd163b",
                                            "type": "comment",
                                            "z": "a42b83181f07f8d0",
                                            "name": "evtl. gesperrt durch??",
                                            "info": "",
                                            "x": 880,
                                            "y": 40,
                                            "wires": []
                                        },
                                        {
                                            "id": "9f0c88dad82d8633",
                                            "type": "switch",
                                            "z": "a42b83181f07f8d0",
                                            "name": "nur true",
                                            "property": "payload",
                                            "propertyType": "msg",
                                            "rules": [
                                                {
                                                    "t": "true"
                                                },
                                                {
                                                    "t": "false"
                                                }
                                            ],
                                            "checkall": "true",
                                            "repair": false,
                                            "outputs": 2,
                                            "x": 640,
                                            "y": 80,
                                            "wires": [
                                                [
                                                    "7a509a8587332f14"
                                                ],
                                                []
                                            ]
                                        },
                                        {
                                            "id": "0650a4ab7aec40a1",
                                            "type": "debug",
                                            "z": "a42b83181f07f8d0",
                                            "name": "debug 4",
                                            "active": true,
                                            "tosidebar": true,
                                            "console": false,
                                            "tostatus": false,
                                            "complete": "true",
                                            "targetType": "full",
                                            "statusVal": "",
                                            "statusType": "auto",
                                            "x": 720,
                                            "y": 500,
                                            "wires": []
                                        },
                                        {
                                            "id": "f144b6f8b998c7f5",
                                            "type": "comment",
                                            "z": "a42b83181f07f8d0",
                                            "name": "<< Bewegungsmelder |||||||||||||| Simulator Ende >>",
                                            "info": "",
                                            "x": 220,
                                            "y": 220,
                                            "wires": []
                                        }
                                    ]
                                    

                                    Edit: Die Verzögerung von einer Sekunde hinter dem BWM braucht es nicht unbedingt. Die setzt nur meinen simulierten BWM zurück.

                                    AphofisA Offline
                                    AphofisA Offline
                                    Aphofis
                                    schrieb am zuletzt editiert von Aphofis
                                    #17

                                    @peterfido

                                    Das funktioniert.
                                    Habe da jetzt die normale Küchen Schaltung die es jetzt zu integrieren gilt.

                                    [
                                        {
                                            "id": "f40fbc4eb5ac4f7a",
                                            "type": "tab",
                                            "label": "Küche",
                                            "disabled": false,
                                            "info": "",
                                            "env": []
                                        },
                                        {
                                            "id": "a9a291ef92812c32",
                                            "type": "junction",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "x": 1160,
                                            "y": 360,
                                            "wires": [
                                                [
                                                    "138c91dc2bbc1ae3",
                                                    "8d88b2a94c9ec76d",
                                                    "687c7e27683f7c5c",
                                                    "5f54b4987a5f8dd2",
                                                    "a54734800b81342e"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "202c49953d235813",
                                            "type": "ioBroker get",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "Switch 2",
                                            "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_2",
                                            "attrname": "payload",
                                            "payloadType": "value",
                                            "errOnInvalidState": "nothing",
                                            "x": 940,
                                            "y": 460,
                                            "wires": [
                                                [
                                                    "5f856636064395a8"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "5f856636064395a8",
                                            "type": "change",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "toggle",
                                            "rules": [
                                                {
                                                    "t": "set",
                                                    "p": "payload",
                                                    "pt": "msg",
                                                    "to": "$not(payload)\t",
                                                    "tot": "jsonata"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 1070,
                                            "y": 460,
                                            "wires": [
                                                [
                                                    "167c3d9534071cfb",
                                                    "266f45298fe39781"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "167c3d9534071cfb",
                                            "type": "ioBroker out",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "Virtuel Switch 2",
                                            "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_2",
                                            "ack": "false",
                                            "autoCreate": "false",
                                            "stateName": "",
                                            "role": "",
                                            "payloadType": "",
                                            "readonly": "",
                                            "stateUnit": "",
                                            "stateMin": "",
                                            "stateMax": "",
                                            "x": 1320,
                                            "y": 520,
                                            "wires": []
                                        },
                                        {
                                            "id": "f4b15ec716491f99",
                                            "type": "ioBroker get",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "Switch 3",
                                            "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_3",
                                            "attrname": "payload",
                                            "payloadType": "value",
                                            "errOnInvalidState": "nothing",
                                            "x": 940,
                                            "y": 580,
                                            "wires": [
                                                [
                                                    "5c2fda12ba92680a"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "5c2fda12ba92680a",
                                            "type": "change",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "toggle",
                                            "rules": [
                                                {
                                                    "t": "set",
                                                    "p": "payload",
                                                    "pt": "msg",
                                                    "to": "$not(payload)\t",
                                                    "tot": "jsonata"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 1070,
                                            "y": 580,
                                            "wires": [
                                                [
                                                    "8be32882ca318f17",
                                                    "3e09ac32ae810712"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "8be32882ca318f17",
                                            "type": "ioBroker out",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "Virtuel Switch 3",
                                            "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_3",
                                            "ack": "false",
                                            "autoCreate": "false",
                                            "stateName": "",
                                            "role": "",
                                            "payloadType": "",
                                            "readonly": "",
                                            "stateUnit": "",
                                            "stateMin": "",
                                            "stateMax": "",
                                            "x": 1320,
                                            "y": 640,
                                            "wires": []
                                        },
                                        {
                                            "id": "bffd16b00cfde14d",
                                            "type": "ioBroker get",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "Switch 1",
                                            "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_1",
                                            "attrname": "payload",
                                            "payloadType": "value",
                                            "errOnInvalidState": "nothing",
                                            "x": 940,
                                            "y": 360,
                                            "wires": [
                                                [
                                                    "c2ccf4efb123db4a"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "c2ccf4efb123db4a",
                                            "type": "change",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "toggle",
                                            "rules": [
                                                {
                                                    "t": "set",
                                                    "p": "payload",
                                                    "pt": "msg",
                                                    "to": "$not(payload)\t",
                                                    "tot": "jsonata"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 1070,
                                            "y": 360,
                                            "wires": [
                                                [
                                                    "a9a291ef92812c32"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "0d321e0ed699fec1",
                                            "type": "ioBroker out",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "U-rechts",
                                            "topic": "tuya.0.bfb09eea5dad3699abyrbu.20",
                                            "ack": "false",
                                            "autoCreate": "false",
                                            "stateName": "",
                                            "role": "",
                                            "payloadType": "",
                                            "readonly": "",
                                            "stateUnit": "",
                                            "stateMin": "",
                                            "stateMax": "",
                                            "x": 1430,
                                            "y": 300,
                                            "wires": []
                                        },
                                        {
                                            "id": "589ac75a5e32f1d9",
                                            "type": "ioBroker out",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "Küche Decke",
                                            "topic": "tuya.0.bfe4af976feb74d845vugp.1",
                                            "ack": "false",
                                            "autoCreate": "false",
                                            "stateName": "",
                                            "role": "",
                                            "payloadType": "",
                                            "readonly": "",
                                            "stateUnit": "",
                                            "stateMin": "",
                                            "stateMax": "",
                                            "x": 1430,
                                            "y": 180,
                                            "wires": []
                                        },
                                        {
                                            "id": "492203889ad083cc",
                                            "type": "switch",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "",
                                            "property": "payload",
                                            "propertyType": "msg",
                                            "rules": [
                                                {
                                                    "t": "eq",
                                                    "v": "1000",
                                                    "vt": "str"
                                                },
                                                {
                                                    "t": "eq",
                                                    "v": "2000",
                                                    "vt": "str"
                                                },
                                                {
                                                    "t": "eq",
                                                    "v": "3000",
                                                    "vt": "str"
                                                },
                                                {
                                                    "t": "eq",
                                                    "v": "4000",
                                                    "vt": "str"
                                                }
                                            ],
                                            "checkall": "true",
                                            "repair": false,
                                            "outputs": 4,
                                            "x": 590,
                                            "y": 420,
                                            "wires": [
                                                [
                                                    "f17ddf70f0e3a462"
                                                ],
                                                [
                                                    "18138896535a8b98"
                                                ],
                                                [
                                                    "b060108e3005d932"
                                                ],
                                                [
                                                    "26451af092a50c2a"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "138c91dc2bbc1ae3",
                                            "type": "ioBroker out",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "Virtuel Switch 1",
                                            "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_1",
                                            "ack": "false",
                                            "autoCreate": "false",
                                            "stateName": "",
                                            "role": "",
                                            "payloadType": "",
                                            "readonly": "",
                                            "stateUnit": "",
                                            "stateMin": "",
                                            "stateMax": "",
                                            "x": 1320,
                                            "y": 240,
                                            "wires": []
                                        },
                                        {
                                            "id": "4efde19f0e9d494d",
                                            "type": "ioBroker in",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "d": true,
                                            "name": "Küche Schalter",
                                            "attrname": "payload",
                                            "topic": "hue.0.Hue_GordonX.Küche_Schalter.buttonevent",
                                            "payloadType": "value",
                                            "onlyack": "",
                                            "func": "rbe",
                                            "gap": "",
                                            "fireOnStart": "false",
                                            "outFormat": "MQTT",
                                            "x": 360,
                                            "y": 480,
                                            "wires": [
                                                [
                                                    "492203889ad083cc"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "a258cc2e98284972",
                                            "type": "ioBroker get",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "Switch 4",
                                            "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_4",
                                            "attrname": "payload",
                                            "payloadType": "value",
                                            "errOnInvalidState": "nothing",
                                            "x": 940,
                                            "y": 700,
                                            "wires": [
                                                [
                                                    "7990f93a2f6d4246"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "7990f93a2f6d4246",
                                            "type": "change",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "toggle",
                                            "rules": [
                                                {
                                                    "t": "set",
                                                    "p": "payload",
                                                    "pt": "msg",
                                                    "to": "$not(payload)\t",
                                                    "tot": "jsonata"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 1070,
                                            "y": 700,
                                            "wires": [
                                                [
                                                    "bf03dbcaedeac1bf",
                                                    "974fbea0a2bec958"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "bf03dbcaedeac1bf",
                                            "type": "ioBroker out",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "VSwitch 4",
                                            "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_4",
                                            "ack": "false",
                                            "autoCreate": "false",
                                            "stateName": "",
                                            "role": "",
                                            "payloadType": "",
                                            "readonly": "",
                                            "stateUnit": "",
                                            "stateMin": "",
                                            "stateMax": "",
                                            "x": 1300,
                                            "y": 760,
                                            "wires": []
                                        },
                                        {
                                            "id": "450a86229a268dec",
                                            "type": "inject",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "",
                                            "props": [
                                                {
                                                    "p": "payload"
                                                },
                                                {
                                                    "p": "topic",
                                                    "vt": "str"
                                                }
                                            ],
                                            "repeat": "",
                                            "crontab": "",
                                            "once": false,
                                            "onceDelay": 0.1,
                                            "topic": "",
                                            "payload": "true",
                                            "payloadType": "str",
                                            "x": 230,
                                            "y": 420,
                                            "wires": [
                                                [
                                                    "708b9446e314ce9a"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "ad88b1a4b3ec08b2",
                                            "type": "link in",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "Alexa Switch Küche",
                                            "links": [
                                                "ad266b7267edaa39"
                                            ],
                                            "x": 185,
                                            "y": 360,
                                            "wires": [
                                                [
                                                    "9bfe6974c0049dcc"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "bacc098ce38ea437",
                                            "type": "change",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "on/off",
                                            "rules": [
                                                {
                                                    "t": "change",
                                                    "p": "payload",
                                                    "pt": "msg",
                                                    "from": "on",
                                                    "fromt": "str",
                                                    "to": "1002",
                                                    "tot": "str"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 430,
                                            "y": 360,
                                            "wires": [
                                                [
                                                    "492203889ad083cc"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "9bfe6974c0049dcc",
                                            "type": "amazon-echo-device",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "Alexa Küche",
                                            "topic": "hue.0.Küche_Schalter.buttonevent",
                                            "x": 290,
                                            "y": 360,
                                            "wires": [
                                                [
                                                    "bacc098ce38ea437"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "d5ac3ac0172cc081",
                                            "type": "hue-bridge-node",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "",
                                            "bridge": "cbd54dbabf6f65be",
                                            "autoupdates": true,
                                            "skipglobalevents": false,
                                            "initevents": false,
                                            "x": 370,
                                            "y": 540,
                                            "wires": [
                                                [
                                                    "492203889ad083cc"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "98ee3d8530b8677f",
                                            "type": "debug",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "Küche",
                                            "active": true,
                                            "tosidebar": true,
                                            "console": true,
                                            "tostatus": false,
                                            "complete": "payload",
                                            "targetType": "msg",
                                            "statusVal": "",
                                            "statusType": "auto",
                                            "x": 1420,
                                            "y": 420,
                                            "wires": []
                                        },
                                        {
                                            "id": "de121f3c399ed6d5",
                                            "type": "hue-light",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "Unterschr.Li",
                                            "bridge": "cbd54dbabf6f65be",
                                            "lightid": "9954a221-26e8-40ab-9732-ad33d14aeb5f",
                                            "colornamer": false,
                                            "skipevents": false,
                                            "initevents": false,
                                            "x": 1450,
                                            "y": 360,
                                            "wires": [
                                                []
                                            ]
                                        },
                                        {
                                            "id": "708b9446e314ce9a",
                                            "type": "trigger",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "1000/1002",
                                            "op1": "1000",
                                            "op2": "1002",
                                            "op1type": "str",
                                            "op2type": "str",
                                            "duration": "200",
                                            "extend": false,
                                            "overrideDelay": false,
                                            "units": "ms",
                                            "reset": "",
                                            "bytopic": "all",
                                            "topic": "topic",
                                            "outputs": 1,
                                            "x": 370,
                                            "y": 420,
                                            "wires": [
                                                [
                                                    "492203889ad083cc"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "974fbea0a2bec958",
                                            "type": "hue-group",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "Wohnzimmer",
                                            "bridge": "cbd54dbabf6f65be",
                                            "groupid": "fea8bacb-2692-4b22-9d97-295a32985af8",
                                            "skipevents": false,
                                            "initevents": false,
                                            "x": 1330,
                                            "y": 700,
                                            "wires": [
                                                []
                                            ]
                                        },
                                        {
                                            "id": "8d88b2a94c9ec76d",
                                            "type": "delay",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "230ms",
                                            "pauseType": "delay",
                                            "timeout": "230",
                                            "timeoutUnits": "milliseconds",
                                            "rate": "1",
                                            "nbRateUnits": "1",
                                            "rateUnits": "second",
                                            "randomFirst": "1",
                                            "randomLast": "5",
                                            "randomUnits": "seconds",
                                            "drop": false,
                                            "allowrate": false,
                                            "outputs": 1,
                                            "x": 1290,
                                            "y": 360,
                                            "wires": [
                                                [
                                                    "de121f3c399ed6d5"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "3e09ac32ae810712",
                                            "type": "hue-scene",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "Konzentrieren",
                                            "bridge": "cbd54dbabf6f65be",
                                            "sceneid": "1262fa36-0216-4e90-81f8-2c52082b2829",
                                            "x": 1340,
                                            "y": 580,
                                            "wires": [
                                                []
                                            ]
                                        },
                                        {
                                            "id": "266f45298fe39781",
                                            "type": "hue-scene",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "warmweiss",
                                            "bridge": "cbd54dbabf6f65be",
                                            "sceneid": "a48a039f-dc58-44ad-bb81-f6989dd30a2e",
                                            "x": 1330,
                                            "y": 460,
                                            "wires": [
                                                []
                                            ]
                                        },
                                        {
                                            "id": "687c7e27683f7c5c",
                                            "type": "delay",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "230ms",
                                            "pauseType": "delay",
                                            "timeout": "230",
                                            "timeoutUnits": "milliseconds",
                                            "rate": "1",
                                            "nbRateUnits": "1",
                                            "rateUnits": "second",
                                            "randomFirst": "1",
                                            "randomLast": "5",
                                            "randomUnits": "seconds",
                                            "drop": false,
                                            "allowrate": false,
                                            "outputs": 1,
                                            "x": 1290,
                                            "y": 300,
                                            "wires": [
                                                [
                                                    "0d321e0ed699fec1"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "5f54b4987a5f8dd2",
                                            "type": "delay",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "100ms",
                                            "pauseType": "delay",
                                            "timeout": "100",
                                            "timeoutUnits": "milliseconds",
                                            "rate": "1",
                                            "nbRateUnits": "1",
                                            "rateUnits": "second",
                                            "randomFirst": "1",
                                            "randomLast": "5",
                                            "randomUnits": "seconds",
                                            "drop": false,
                                            "allowrate": false,
                                            "outputs": 1,
                                            "x": 1290,
                                            "y": 180,
                                            "wires": [
                                                [
                                                    "589ac75a5e32f1d9"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "f17ddf70f0e3a462",
                                            "type": "delay",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "100ms",
                                            "pauseType": "delay",
                                            "timeout": "100",
                                            "timeoutUnits": "milliseconds",
                                            "rate": "1",
                                            "nbRateUnits": "1",
                                            "rateUnits": "second",
                                            "randomFirst": "1",
                                            "randomLast": "5",
                                            "randomUnits": "seconds",
                                            "drop": false,
                                            "allowrate": false,
                                            "outputs": 1,
                                            "x": 810,
                                            "y": 360,
                                            "wires": [
                                                [
                                                    "bffd16b00cfde14d"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "b060108e3005d932",
                                            "type": "delay",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "100ms",
                                            "pauseType": "delay",
                                            "timeout": "100",
                                            "timeoutUnits": "milliseconds",
                                            "rate": "1",
                                            "nbRateUnits": "1",
                                            "rateUnits": "second",
                                            "randomFirst": "1",
                                            "randomLast": "5",
                                            "randomUnits": "seconds",
                                            "drop": false,
                                            "allowrate": false,
                                            "outputs": 1,
                                            "x": 810,
                                            "y": 580,
                                            "wires": [
                                                [
                                                    "f4b15ec716491f99"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "26451af092a50c2a",
                                            "type": "delay",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "100ms",
                                            "pauseType": "delay",
                                            "timeout": "100",
                                            "timeoutUnits": "milliseconds",
                                            "rate": "1",
                                            "nbRateUnits": "1",
                                            "rateUnits": "second",
                                            "randomFirst": "1",
                                            "randomLast": "5",
                                            "randomUnits": "seconds",
                                            "drop": false,
                                            "allowrate": false,
                                            "outputs": 1,
                                            "x": 810,
                                            "y": 700,
                                            "wires": [
                                                [
                                                    "a258cc2e98284972"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "18138896535a8b98",
                                            "type": "delay",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "100ms",
                                            "pauseType": "delay",
                                            "timeout": "100",
                                            "timeoutUnits": "milliseconds",
                                            "rate": "1",
                                            "nbRateUnits": "1",
                                            "rateUnits": "second",
                                            "randomFirst": "1",
                                            "randomLast": "5",
                                            "randomUnits": "seconds",
                                            "drop": false,
                                            "allowrate": false,
                                            "outputs": 1,
                                            "x": 810,
                                            "y": 460,
                                            "wires": [
                                                [
                                                    "202c49953d235813"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "a54734800b81342e",
                                            "type": "change",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "Küche",
                                            "rules": [
                                                {
                                                    "t": "change",
                                                    "p": "payload",
                                                    "pt": "msg",
                                                    "from": "1002",
                                                    "fromt": "str",
                                                    "to": "Küche",
                                                    "tot": "str"
                                                },
                                                {
                                                    "t": "change",
                                                    "p": "payload",
                                                    "pt": "msg",
                                                    "from": "true",
                                                    "fromt": "bool",
                                                    "to": "Küche eingeschaltet",
                                                    "tot": "str"
                                                },
                                                {
                                                    "t": "change",
                                                    "p": "payload",
                                                    "pt": "msg",
                                                    "from": "false",
                                                    "fromt": "bool",
                                                    "to": "Küche ausgeschaltet",
                                                    "tot": "str"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 1290,
                                            "y": 420,
                                            "wires": [
                                                [
                                                    "98ee3d8530b8677f"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "cc4b3f317dc6949d",
                                            "type": "trigger",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "2000/2002",
                                            "op1": "2000",
                                            "op2": "2002",
                                            "op1type": "str",
                                            "op2type": "str",
                                            "duration": "200",
                                            "extend": false,
                                            "overrideDelay": false,
                                            "units": "ms",
                                            "reset": "",
                                            "bytopic": "all",
                                            "topic": "topic",
                                            "outputs": 1,
                                            "x": 350,
                                            "y": 680,
                                            "wires": [
                                                [
                                                    "492203889ad083cc"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "58080c269d40839f",
                                            "type": "trigger",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "3000/3002",
                                            "op1": "3000",
                                            "op2": "3002",
                                            "op1type": "str",
                                            "op2type": "str",
                                            "duration": "200",
                                            "extend": false,
                                            "overrideDelay": false,
                                            "units": "ms",
                                            "reset": "",
                                            "bytopic": "all",
                                            "topic": "topic",
                                            "outputs": 1,
                                            "x": 350,
                                            "y": 720,
                                            "wires": [
                                                [
                                                    "492203889ad083cc"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "7dbf8e1e7cc0c58b",
                                            "type": "inject",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "",
                                            "props": [
                                                {
                                                    "p": "payload"
                                                },
                                                {
                                                    "p": "topic",
                                                    "vt": "str"
                                                }
                                            ],
                                            "repeat": "",
                                            "crontab": "",
                                            "once": false,
                                            "onceDelay": 0.1,
                                            "topic": "",
                                            "payload": "true",
                                            "payloadType": "str",
                                            "x": 210,
                                            "y": 680,
                                            "wires": [
                                                [
                                                    "cc4b3f317dc6949d"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "56783e9b03496a6b",
                                            "type": "inject",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "",
                                            "props": [
                                                {
                                                    "p": "payload"
                                                },
                                                {
                                                    "p": "topic",
                                                    "vt": "str"
                                                }
                                            ],
                                            "repeat": "",
                                            "crontab": "",
                                            "once": false,
                                            "onceDelay": 0.1,
                                            "topic": "",
                                            "payload": "true",
                                            "payloadType": "str",
                                            "x": 210,
                                            "y": 720,
                                            "wires": [
                                                [
                                                    "58080c269d40839f"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "e2b5712b17f86c31",
                                            "type": "trigger",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "4000/4002",
                                            "op1": "4000",
                                            "op2": "4002",
                                            "op1type": "str",
                                            "op2type": "str",
                                            "duration": "200",
                                            "extend": false,
                                            "overrideDelay": false,
                                            "units": "ms",
                                            "reset": "",
                                            "bytopic": "all",
                                            "topic": "topic",
                                            "outputs": 1,
                                            "x": 350,
                                            "y": 760,
                                            "wires": [
                                                [
                                                    "492203889ad083cc"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "60a4fa746191a149",
                                            "type": "inject",
                                            "z": "f40fbc4eb5ac4f7a",
                                            "name": "",
                                            "props": [
                                                {
                                                    "p": "payload"
                                                },
                                                {
                                                    "p": "topic",
                                                    "vt": "str"
                                                }
                                            ],
                                            "repeat": "",
                                            "crontab": "",
                                            "once": false,
                                            "onceDelay": 0.1,
                                            "topic": "",
                                            "payload": "true",
                                            "payloadType": "str",
                                            "x": 210,
                                            "y": 760,
                                            "wires": [
                                                [
                                                    "e2b5712b17f86c31"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "cbd54dbabf6f65be",
                                            "type": "hue-bridge",
                                            "name": "Hue GordonX",
                                            "bridge": "192.168.0.8",
                                            "key": "SlfyXwpcaEvRN0d1DU2JrrOlwrm9Debhhm9A4E-d",
                                            "worker": "10",
                                            "autoupdates": true,
                                            "disableupdates": false
                                        }
                                    ]
                                    


                                    Screenshot 2025-06-14 172044.png

                                    So funktioniert die Steuerung von dir prima nur muss diese in die standard schalter schaltung integriert werden.

                                    [
                                        {
                                            "id": "a42b83181f07f8d0",
                                            "type": "tab",
                                            "label": "Flow 8",
                                            "disabled": false,
                                            "info": "",
                                            "env": []
                                        },
                                        {
                                            "id": "d1f2c8393ea7f683",
                                            "type": "debug",
                                            "z": "a42b83181f07f8d0",
                                            "name": "debug 3",
                                            "active": true,
                                            "tosidebar": true,
                                            "console": false,
                                            "tostatus": false,
                                            "complete": "true",
                                            "targetType": "full",
                                            "statusVal": "",
                                            "statusType": "auto",
                                            "x": 1160,
                                            "y": 520,
                                            "wires": []
                                        },
                                        {
                                            "id": "8bf1e5067a6f0ad2",
                                            "type": "delay",
                                            "z": "a42b83181f07f8d0",
                                            "name": "verz. 1s",
                                            "pauseType": "delay",
                                            "timeout": "1",
                                            "timeoutUnits": "seconds",
                                            "rate": "1",
                                            "nbRateUnits": "1",
                                            "rateUnits": "second",
                                            "randomFirst": "1",
                                            "randomLast": "5",
                                            "randomUnits": "seconds",
                                            "drop": false,
                                            "allowrate": false,
                                            "outputs": 1,
                                            "x": 360,
                                            "y": 480,
                                            "wires": [
                                                [
                                                    "a9f9b30b4f8999d0"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "a9f9b30b4f8999d0",
                                            "type": "change",
                                            "z": "a42b83181f07f8d0",
                                            "name": "motion:false",
                                            "rules": [
                                                {
                                                    "t": "set",
                                                    "p": "payload.motion",
                                                    "pt": "msg",
                                                    "to": "false",
                                                    "tot": "bool"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 510,
                                            "y": 480,
                                            "wires": [
                                                [
                                                    "b0410acfcad1b37e"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "7a509a8587332f14",
                                            "type": "switch",
                                            "z": "a42b83181f07f8d0",
                                            "name": "Schalter",
                                            "property": "stopp",
                                            "propertyType": "flow",
                                            "rules": [
                                                {
                                                    "t": "true"
                                                },
                                                {
                                                    "t": "false"
                                                }
                                            ],
                                            "checkall": "true",
                                            "repair": false,
                                            "outputs": 2,
                                            "x": 1060,
                                            "y": 440,
                                            "wires": [
                                                [],
                                                [
                                                    "4d146d05efbc5d35"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "c1952bc66da5a348",
                                            "type": "timeouttrigger",
                                            "z": "a42b83181f07f8d0",
                                            "OnTimeoutType": "bool",
                                            "OnTimeoutVal": "false",
                                            "duration": "3",
                                            "units": "s",
                                            "passthrough": true,
                                            "sendTimeoutValue": "once",
                                            "interval": "",
                                            "IntervalUnits": "s",
                                            "name": "",
                                            "x": 1310,
                                            "y": 440,
                                            "wires": [
                                                [
                                                    "550905a564f09176"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "6adb99e531920623",
                                            "type": "change",
                                            "z": "a42b83181f07f8d0",
                                            "name": "Motion",
                                            "rules": [
                                                {
                                                    "t": "set",
                                                    "p": "payload",
                                                    "pt": "msg",
                                                    "to": "payload.motion",
                                                    "tot": "msg"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 790,
                                            "y": 440,
                                            "wires": [
                                                [
                                                    "9f0c88dad82d8633"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "9f83e7917ef2d8e2",
                                            "type": "comment",
                                            "z": "a42b83181f07f8d0",
                                            "name": "<< Bewegungsmelder Simulator  Beginn>>",
                                            "info": "",
                                            "x": 180,
                                            "y": 380,
                                            "wires": []
                                        },
                                        {
                                            "id": "302a07cea50da337",
                                            "type": "timeouttrigger",
                                            "z": "a42b83181f07f8d0",
                                            "OnTimeoutType": "bool",
                                            "OnTimeoutVal": "false",
                                            "duration": "45",
                                            "units": "s",
                                            "passthrough": true,
                                            "sendTimeoutValue": "once",
                                            "interval": "",
                                            "IntervalUnits": "s",
                                            "name": "",
                                            "x": 550,
                                            "y": 600,
                                            "wires": [
                                                [
                                                    "2871643160dfcc7c",
                                                    "550905a564f09176"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "bd795708de32c118",
                                            "type": "change",
                                            "z": "a42b83181f07f8d0",
                                            "name": "",
                                            "rules": [
                                                {
                                                    "t": "set",
                                                    "p": "payload",
                                                    "pt": "msg",
                                                    "to": "true",
                                                    "tot": "bool"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 390,
                                            "y": 600,
                                            "wires": [
                                                [
                                                    "302a07cea50da337"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "d1051390faa881a3",
                                            "type": "switch",
                                            "z": "a42b83181f07f8d0",
                                            "name": "1000?",
                                            "property": "payload",
                                            "propertyType": "msg",
                                            "rules": [
                                                {
                                                    "t": "eq",
                                                    "v": "1000",
                                                    "vt": "num"
                                                },
                                                {
                                                    "t": "eq",
                                                    "v": "",
                                                    "vt": "num"
                                                }
                                            ],
                                            "checkall": "true",
                                            "repair": false,
                                            "outputs": 2,
                                            "x": 210,
                                            "y": 620,
                                            "wires": [
                                                [
                                                    "bd795708de32c118",
                                                    "32b9213c2fe970b0"
                                                ],
                                                []
                                            ]
                                        },
                                        {
                                            "id": "4d146d05efbc5d35",
                                            "type": "switch",
                                            "z": "a42b83181f07f8d0",
                                            "name": "Robi",
                                            "property": "BWM",
                                            "propertyType": "flow",
                                            "rules": [
                                                {
                                                    "t": "true"
                                                },
                                                {
                                                    "t": "false"
                                                }
                                            ],
                                            "checkall": "true",
                                            "repair": false,
                                            "outputs": 2,
                                            "x": 1190,
                                            "y": 440,
                                            "wires": [
                                                [
                                                    "c1952bc66da5a348"
                                                ],
                                                []
                                            ]
                                        },
                                        {
                                            "id": "32b9213c2fe970b0",
                                            "type": "change",
                                            "z": "a42b83181f07f8d0",
                                            "name": "",
                                            "rules": [
                                                {
                                                    "t": "set",
                                                    "p": "stopp",
                                                    "pt": "flow",
                                                    "to": "true",
                                                    "tot": "bool"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 380,
                                            "y": 640,
                                            "wires": [
                                                []
                                            ]
                                        },
                                        {
                                            "id": "0439088d7ec73749",
                                            "type": "change",
                                            "z": "a42b83181f07f8d0",
                                            "name": "llöscheflow.stopp",
                                            "rules": [
                                                {
                                                    "t": "set",
                                                    "p": "stopp",
                                                    "pt": "flow",
                                                    "to": "false",
                                                    "tot": "bool"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 830,
                                            "y": 640,
                                            "wires": [
                                                []
                                            ]
                                        },
                                        {
                                            "id": "2871643160dfcc7c",
                                            "type": "switch",
                                            "z": "a42b83181f07f8d0",
                                            "name": "",
                                            "property": "payload",
                                            "propertyType": "msg",
                                            "rules": [
                                                {
                                                    "t": "eq",
                                                    "v": "1000",
                                                    "vt": "num"
                                                },
                                                {
                                                    "t": "eq",
                                                    "v": "",
                                                    "vt": "num"
                                                }
                                            ],
                                            "checkall": "true",
                                            "repair": false,
                                            "outputs": 2,
                                            "x": 670,
                                            "y": 620,
                                            "wires": [
                                                [],
                                                [
                                                    "0439088d7ec73749"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "550905a564f09176",
                                            "type": "function",
                                            "z": "a42b83181f07f8d0",
                                            "name": "Variablen Ini + Ausgabe",
                                            "func": "node.status({ text: msg.payload });\n\nreturn msg;",
                                            "outputs": 1,
                                            "timeout": 0,
                                            "noerr": 0,
                                            "initialize": "// Der Code hier wird ausgeführt,\n// wenn der Node gestartet wird\nflow.set(\"stopp\", false);\nflow.set(\"BWM\", true);\n",
                                            "finalize": "",
                                            "libs": [],
                                            "x": 910,
                                            "y": 560,
                                            "wires": [
                                                [
                                                    "d1f2c8393ea7f683",
                                                    "e2721e4056e942e3"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "d7bd1efc606cfcad",
                                            "type": "ioBroker in",
                                            "z": "a42b83181f07f8d0",
                                            "name": "Robi",
                                            "attrname": "payload",
                                            "topic": "0_userdata.0.GordonX-Home.0.Test_Status_Robi",
                                            "payloadType": "value",
                                            "onlyack": "",
                                            "func": "all",
                                            "gap": "",
                                            "fireOnStart": "false",
                                            "outFormat": "MQTT",
                                            "x": 90,
                                            "y": 720,
                                            "wires": [
                                                [
                                                    "b2f36db79c165583"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "b0410acfcad1b37e",
                                            "type": "function",
                                            "z": "a42b83181f07f8d0",
                                            "name": "Out BWM",
                                            "func": "\nreturn msg;",
                                            "outputs": 1,
                                            "timeout": 0,
                                            "noerr": 0,
                                            "initialize": "",
                                            "finalize": "",
                                            "libs": [],
                                            "x": 660,
                                            "y": 440,
                                            "wires": [
                                                [
                                                    "6adb99e531920623"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "e2721e4056e942e3",
                                            "type": "ioBroker out",
                                            "z": "a42b83181f07f8d0",
                                            "name": "ioBroker Lampe",
                                            "topic": "0_userdata.0.GordonX-Home.0.Test_Gerät",
                                            "ack": "false",
                                            "autoCreate": "false",
                                            "stateName": "",
                                            "role": "",
                                            "payloadType": "",
                                            "readonly": "",
                                            "stateUnit": "",
                                            "stateMin": "",
                                            "stateMax": "",
                                            "x": 1160,
                                            "y": 560,
                                            "wires": []
                                        },
                                        {
                                            "id": "7cfd7f7fba2e2d7a",
                                            "type": "ioBroker in",
                                            "z": "a42b83181f07f8d0",
                                            "name": "KüSchalter",
                                            "attrname": "payload",
                                            "topic": "hue.0.Hue_GordonX.Küche_Schalter.buttonevent",
                                            "payloadType": "value",
                                            "onlyack": "",
                                            "func": "all",
                                            "gap": "",
                                            "fireOnStart": "false",
                                            "outFormat": "MQTT",
                                            "x": 80,
                                            "y": 620,
                                            "wires": [
                                                [
                                                    "d1051390faa881a3"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "b2f36db79c165583",
                                            "type": "switch",
                                            "z": "a42b83181f07f8d0",
                                            "name": "",
                                            "property": "payload",
                                            "propertyType": "msg",
                                            "rules": [
                                                {
                                                    "t": "eq",
                                                    "v": "5",
                                                    "vt": "num"
                                                },
                                                {
                                                    "t": "neq",
                                                    "v": "5",
                                                    "vt": "num"
                                                }
                                            ],
                                            "checkall": "true",
                                            "repair": false,
                                            "outputs": 2,
                                            "x": 290,
                                            "y": 720,
                                            "wires": [
                                                [
                                                    "407e2e376c0ee370"
                                                ],
                                                [
                                                    "5061312f43733426"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "407e2e376c0ee370",
                                            "type": "change",
                                            "z": "a42b83181f07f8d0",
                                            "name": "setze Flow.BWM",
                                            "rules": [
                                                {
                                                    "t": "set",
                                                    "p": "BWM",
                                                    "pt": "flow",
                                                    "to": "true",
                                                    "tot": "bool"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 470,
                                            "y": 700,
                                            "wires": [
                                                [
                                                    "0650a4ab7aec40a1"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "5061312f43733426",
                                            "type": "change",
                                            "z": "a42b83181f07f8d0",
                                            "name": "lösche Flow.BWM",
                                            "rules": [
                                                {
                                                    "t": "set",
                                                    "p": "BWM",
                                                    "pt": "flow",
                                                    "to": "false",
                                                    "tot": "bool"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 470,
                                            "y": 740,
                                            "wires": [
                                                [
                                                    "0650a4ab7aec40a1"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "879b9060efcd163b",
                                            "type": "comment",
                                            "z": "a42b83181f07f8d0",
                                            "name": "evtl. gesperrt durch??",
                                            "info": "",
                                            "x": 900,
                                            "y": 380,
                                            "wires": []
                                        },
                                        {
                                            "id": "9f0c88dad82d8633",
                                            "type": "switch",
                                            "z": "a42b83181f07f8d0",
                                            "name": "nur true",
                                            "property": "payload",
                                            "propertyType": "msg",
                                            "rules": [
                                                {
                                                    "t": "true"
                                                },
                                                {
                                                    "t": "false"
                                                }
                                            ],
                                            "checkall": "true",
                                            "repair": false,
                                            "outputs": 2,
                                            "x": 920,
                                            "y": 440,
                                            "wires": [
                                                [
                                                    "7a509a8587332f14"
                                                ],
                                                []
                                            ]
                                        },
                                        {
                                            "id": "0650a4ab7aec40a1",
                                            "type": "debug",
                                            "z": "a42b83181f07f8d0",
                                            "name": "debug 4",
                                            "active": true,
                                            "tosidebar": true,
                                            "console": false,
                                            "tostatus": false,
                                            "complete": "true",
                                            "targetType": "full",
                                            "statusVal": "",
                                            "statusType": "auto",
                                            "x": 640,
                                            "y": 720,
                                            "wires": []
                                        },
                                        {
                                            "id": "f144b6f8b998c7f5",
                                            "type": "comment",
                                            "z": "a42b83181f07f8d0",
                                            "name": "<< Bewegungsmelder Simulator Ende >>",
                                            "info": "",
                                            "x": 180,
                                            "y": 560,
                                            "wires": []
                                        },
                                        {
                                            "id": "f74d0c3a0bc11bfd",
                                            "type": "hue-bridge-node",
                                            "z": "a42b83181f07f8d0",
                                            "name": "Hue",
                                            "bridge": "cbd54dbabf6f65be",
                                            "autoupdates": true,
                                            "skipglobalevents": false,
                                            "initevents": false,
                                            "x": 90,
                                            "y": 440,
                                            "wires": [
                                                [
                                                    "b6564cd395bbd771"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "b6564cd395bbd771",
                                            "type": "hue-motion",
                                            "z": "a42b83181f07f8d0",
                                            "name": "KüMo",
                                            "bridge": "cbd54dbabf6f65be",
                                            "sensorid": "7529c8d8-9f5c-451d-ba56-70cacda84564",
                                            "skipevents": false,
                                            "initevents": false,
                                            "x": 230,
                                            "y": 440,
                                            "wires": [
                                                [
                                                    "b0410acfcad1b37e",
                                                    "8bf1e5067a6f0ad2"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "cbd54dbabf6f65be",
                                            "type": "hue-bridge",
                                            "name": "Hue GordonX",
                                            "bridge": "192.168.0.8",
                                            "key": "SlfyXwpcaEvRN0d1DU2JrrOlwrm9Debhhm9A4E-d",
                                            "worker": "10",
                                            "autoupdates": true,
                                            "disableupdates": false
                                        }
                                    ]
                                    


                                    Screenshot 2025-06-14 172027.png

                                    Da der HUE Schalter nur befehle sendet wie auf Kanal 1 für die Küche
                                    1000 und 100ms später 1002 muss die Steuerung nun die virtuellen schalter haben um mit einem klick das Licht ein und mit einem weiteren klick die lampen wieder ausschaltet. damit muss dann auch die 45 Sekunden (45min.) Schaltung deaktiviert werden.
                                    Wenn ich das integriere läuft der 45sek. Timer weiter.

                                    P 2 Antworten Letzte Antwort
                                    0
                                    • AphofisA Aphofis

                                      @peterfido

                                      Das funktioniert.
                                      Habe da jetzt die normale Küchen Schaltung die es jetzt zu integrieren gilt.

                                      [
                                          {
                                              "id": "f40fbc4eb5ac4f7a",
                                              "type": "tab",
                                              "label": "Küche",
                                              "disabled": false,
                                              "info": "",
                                              "env": []
                                          },
                                          {
                                              "id": "a9a291ef92812c32",
                                              "type": "junction",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "x": 1160,
                                              "y": 360,
                                              "wires": [
                                                  [
                                                      "138c91dc2bbc1ae3",
                                                      "8d88b2a94c9ec76d",
                                                      "687c7e27683f7c5c",
                                                      "5f54b4987a5f8dd2",
                                                      "a54734800b81342e"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "202c49953d235813",
                                              "type": "ioBroker get",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "Switch 2",
                                              "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_2",
                                              "attrname": "payload",
                                              "payloadType": "value",
                                              "errOnInvalidState": "nothing",
                                              "x": 940,
                                              "y": 460,
                                              "wires": [
                                                  [
                                                      "5f856636064395a8"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "5f856636064395a8",
                                              "type": "change",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "toggle",
                                              "rules": [
                                                  {
                                                      "t": "set",
                                                      "p": "payload",
                                                      "pt": "msg",
                                                      "to": "$not(payload)\t",
                                                      "tot": "jsonata"
                                                  }
                                              ],
                                              "action": "",
                                              "property": "",
                                              "from": "",
                                              "to": "",
                                              "reg": false,
                                              "x": 1070,
                                              "y": 460,
                                              "wires": [
                                                  [
                                                      "167c3d9534071cfb",
                                                      "266f45298fe39781"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "167c3d9534071cfb",
                                              "type": "ioBroker out",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "Virtuel Switch 2",
                                              "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_2",
                                              "ack": "false",
                                              "autoCreate": "false",
                                              "stateName": "",
                                              "role": "",
                                              "payloadType": "",
                                              "readonly": "",
                                              "stateUnit": "",
                                              "stateMin": "",
                                              "stateMax": "",
                                              "x": 1320,
                                              "y": 520,
                                              "wires": []
                                          },
                                          {
                                              "id": "f4b15ec716491f99",
                                              "type": "ioBroker get",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "Switch 3",
                                              "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_3",
                                              "attrname": "payload",
                                              "payloadType": "value",
                                              "errOnInvalidState": "nothing",
                                              "x": 940,
                                              "y": 580,
                                              "wires": [
                                                  [
                                                      "5c2fda12ba92680a"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "5c2fda12ba92680a",
                                              "type": "change",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "toggle",
                                              "rules": [
                                                  {
                                                      "t": "set",
                                                      "p": "payload",
                                                      "pt": "msg",
                                                      "to": "$not(payload)\t",
                                                      "tot": "jsonata"
                                                  }
                                              ],
                                              "action": "",
                                              "property": "",
                                              "from": "",
                                              "to": "",
                                              "reg": false,
                                              "x": 1070,
                                              "y": 580,
                                              "wires": [
                                                  [
                                                      "8be32882ca318f17",
                                                      "3e09ac32ae810712"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "8be32882ca318f17",
                                              "type": "ioBroker out",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "Virtuel Switch 3",
                                              "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_3",
                                              "ack": "false",
                                              "autoCreate": "false",
                                              "stateName": "",
                                              "role": "",
                                              "payloadType": "",
                                              "readonly": "",
                                              "stateUnit": "",
                                              "stateMin": "",
                                              "stateMax": "",
                                              "x": 1320,
                                              "y": 640,
                                              "wires": []
                                          },
                                          {
                                              "id": "bffd16b00cfde14d",
                                              "type": "ioBroker get",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "Switch 1",
                                              "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_1",
                                              "attrname": "payload",
                                              "payloadType": "value",
                                              "errOnInvalidState": "nothing",
                                              "x": 940,
                                              "y": 360,
                                              "wires": [
                                                  [
                                                      "c2ccf4efb123db4a"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "c2ccf4efb123db4a",
                                              "type": "change",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "toggle",
                                              "rules": [
                                                  {
                                                      "t": "set",
                                                      "p": "payload",
                                                      "pt": "msg",
                                                      "to": "$not(payload)\t",
                                                      "tot": "jsonata"
                                                  }
                                              ],
                                              "action": "",
                                              "property": "",
                                              "from": "",
                                              "to": "",
                                              "reg": false,
                                              "x": 1070,
                                              "y": 360,
                                              "wires": [
                                                  [
                                                      "a9a291ef92812c32"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "0d321e0ed699fec1",
                                              "type": "ioBroker out",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "U-rechts",
                                              "topic": "tuya.0.bfb09eea5dad3699abyrbu.20",
                                              "ack": "false",
                                              "autoCreate": "false",
                                              "stateName": "",
                                              "role": "",
                                              "payloadType": "",
                                              "readonly": "",
                                              "stateUnit": "",
                                              "stateMin": "",
                                              "stateMax": "",
                                              "x": 1430,
                                              "y": 300,
                                              "wires": []
                                          },
                                          {
                                              "id": "589ac75a5e32f1d9",
                                              "type": "ioBroker out",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "Küche Decke",
                                              "topic": "tuya.0.bfe4af976feb74d845vugp.1",
                                              "ack": "false",
                                              "autoCreate": "false",
                                              "stateName": "",
                                              "role": "",
                                              "payloadType": "",
                                              "readonly": "",
                                              "stateUnit": "",
                                              "stateMin": "",
                                              "stateMax": "",
                                              "x": 1430,
                                              "y": 180,
                                              "wires": []
                                          },
                                          {
                                              "id": "492203889ad083cc",
                                              "type": "switch",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "",
                                              "property": "payload",
                                              "propertyType": "msg",
                                              "rules": [
                                                  {
                                                      "t": "eq",
                                                      "v": "1000",
                                                      "vt": "str"
                                                  },
                                                  {
                                                      "t": "eq",
                                                      "v": "2000",
                                                      "vt": "str"
                                                  },
                                                  {
                                                      "t": "eq",
                                                      "v": "3000",
                                                      "vt": "str"
                                                  },
                                                  {
                                                      "t": "eq",
                                                      "v": "4000",
                                                      "vt": "str"
                                                  }
                                              ],
                                              "checkall": "true",
                                              "repair": false,
                                              "outputs": 4,
                                              "x": 590,
                                              "y": 420,
                                              "wires": [
                                                  [
                                                      "f17ddf70f0e3a462"
                                                  ],
                                                  [
                                                      "18138896535a8b98"
                                                  ],
                                                  [
                                                      "b060108e3005d932"
                                                  ],
                                                  [
                                                      "26451af092a50c2a"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "138c91dc2bbc1ae3",
                                              "type": "ioBroker out",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "Virtuel Switch 1",
                                              "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_1",
                                              "ack": "false",
                                              "autoCreate": "false",
                                              "stateName": "",
                                              "role": "",
                                              "payloadType": "",
                                              "readonly": "",
                                              "stateUnit": "",
                                              "stateMin": "",
                                              "stateMax": "",
                                              "x": 1320,
                                              "y": 240,
                                              "wires": []
                                          },
                                          {
                                              "id": "4efde19f0e9d494d",
                                              "type": "ioBroker in",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "d": true,
                                              "name": "Küche Schalter",
                                              "attrname": "payload",
                                              "topic": "hue.0.Hue_GordonX.Küche_Schalter.buttonevent",
                                              "payloadType": "value",
                                              "onlyack": "",
                                              "func": "rbe",
                                              "gap": "",
                                              "fireOnStart": "false",
                                              "outFormat": "MQTT",
                                              "x": 360,
                                              "y": 480,
                                              "wires": [
                                                  [
                                                      "492203889ad083cc"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "a258cc2e98284972",
                                              "type": "ioBroker get",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "Switch 4",
                                              "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_4",
                                              "attrname": "payload",
                                              "payloadType": "value",
                                              "errOnInvalidState": "nothing",
                                              "x": 940,
                                              "y": 700,
                                              "wires": [
                                                  [
                                                      "7990f93a2f6d4246"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "7990f93a2f6d4246",
                                              "type": "change",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "toggle",
                                              "rules": [
                                                  {
                                                      "t": "set",
                                                      "p": "payload",
                                                      "pt": "msg",
                                                      "to": "$not(payload)\t",
                                                      "tot": "jsonata"
                                                  }
                                              ],
                                              "action": "",
                                              "property": "",
                                              "from": "",
                                              "to": "",
                                              "reg": false,
                                              "x": 1070,
                                              "y": 700,
                                              "wires": [
                                                  [
                                                      "bf03dbcaedeac1bf",
                                                      "974fbea0a2bec958"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "bf03dbcaedeac1bf",
                                              "type": "ioBroker out",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "VSwitch 4",
                                              "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_4",
                                              "ack": "false",
                                              "autoCreate": "false",
                                              "stateName": "",
                                              "role": "",
                                              "payloadType": "",
                                              "readonly": "",
                                              "stateUnit": "",
                                              "stateMin": "",
                                              "stateMax": "",
                                              "x": 1300,
                                              "y": 760,
                                              "wires": []
                                          },
                                          {
                                              "id": "450a86229a268dec",
                                              "type": "inject",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "",
                                              "props": [
                                                  {
                                                      "p": "payload"
                                                  },
                                                  {
                                                      "p": "topic",
                                                      "vt": "str"
                                                  }
                                              ],
                                              "repeat": "",
                                              "crontab": "",
                                              "once": false,
                                              "onceDelay": 0.1,
                                              "topic": "",
                                              "payload": "true",
                                              "payloadType": "str",
                                              "x": 230,
                                              "y": 420,
                                              "wires": [
                                                  [
                                                      "708b9446e314ce9a"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "ad88b1a4b3ec08b2",
                                              "type": "link in",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "Alexa Switch Küche",
                                              "links": [
                                                  "ad266b7267edaa39"
                                              ],
                                              "x": 185,
                                              "y": 360,
                                              "wires": [
                                                  [
                                                      "9bfe6974c0049dcc"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "bacc098ce38ea437",
                                              "type": "change",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "on/off",
                                              "rules": [
                                                  {
                                                      "t": "change",
                                                      "p": "payload",
                                                      "pt": "msg",
                                                      "from": "on",
                                                      "fromt": "str",
                                                      "to": "1002",
                                                      "tot": "str"
                                                  }
                                              ],
                                              "action": "",
                                              "property": "",
                                              "from": "",
                                              "to": "",
                                              "reg": false,
                                              "x": 430,
                                              "y": 360,
                                              "wires": [
                                                  [
                                                      "492203889ad083cc"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "9bfe6974c0049dcc",
                                              "type": "amazon-echo-device",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "Alexa Küche",
                                              "topic": "hue.0.Küche_Schalter.buttonevent",
                                              "x": 290,
                                              "y": 360,
                                              "wires": [
                                                  [
                                                      "bacc098ce38ea437"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "d5ac3ac0172cc081",
                                              "type": "hue-bridge-node",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "",
                                              "bridge": "cbd54dbabf6f65be",
                                              "autoupdates": true,
                                              "skipglobalevents": false,
                                              "initevents": false,
                                              "x": 370,
                                              "y": 540,
                                              "wires": [
                                                  [
                                                      "492203889ad083cc"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "98ee3d8530b8677f",
                                              "type": "debug",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "Küche",
                                              "active": true,
                                              "tosidebar": true,
                                              "console": true,
                                              "tostatus": false,
                                              "complete": "payload",
                                              "targetType": "msg",
                                              "statusVal": "",
                                              "statusType": "auto",
                                              "x": 1420,
                                              "y": 420,
                                              "wires": []
                                          },
                                          {
                                              "id": "de121f3c399ed6d5",
                                              "type": "hue-light",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "Unterschr.Li",
                                              "bridge": "cbd54dbabf6f65be",
                                              "lightid": "9954a221-26e8-40ab-9732-ad33d14aeb5f",
                                              "colornamer": false,
                                              "skipevents": false,
                                              "initevents": false,
                                              "x": 1450,
                                              "y": 360,
                                              "wires": [
                                                  []
                                              ]
                                          },
                                          {
                                              "id": "708b9446e314ce9a",
                                              "type": "trigger",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "1000/1002",
                                              "op1": "1000",
                                              "op2": "1002",
                                              "op1type": "str",
                                              "op2type": "str",
                                              "duration": "200",
                                              "extend": false,
                                              "overrideDelay": false,
                                              "units": "ms",
                                              "reset": "",
                                              "bytopic": "all",
                                              "topic": "topic",
                                              "outputs": 1,
                                              "x": 370,
                                              "y": 420,
                                              "wires": [
                                                  [
                                                      "492203889ad083cc"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "974fbea0a2bec958",
                                              "type": "hue-group",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "Wohnzimmer",
                                              "bridge": "cbd54dbabf6f65be",
                                              "groupid": "fea8bacb-2692-4b22-9d97-295a32985af8",
                                              "skipevents": false,
                                              "initevents": false,
                                              "x": 1330,
                                              "y": 700,
                                              "wires": [
                                                  []
                                              ]
                                          },
                                          {
                                              "id": "8d88b2a94c9ec76d",
                                              "type": "delay",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "230ms",
                                              "pauseType": "delay",
                                              "timeout": "230",
                                              "timeoutUnits": "milliseconds",
                                              "rate": "1",
                                              "nbRateUnits": "1",
                                              "rateUnits": "second",
                                              "randomFirst": "1",
                                              "randomLast": "5",
                                              "randomUnits": "seconds",
                                              "drop": false,
                                              "allowrate": false,
                                              "outputs": 1,
                                              "x": 1290,
                                              "y": 360,
                                              "wires": [
                                                  [
                                                      "de121f3c399ed6d5"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "3e09ac32ae810712",
                                              "type": "hue-scene",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "Konzentrieren",
                                              "bridge": "cbd54dbabf6f65be",
                                              "sceneid": "1262fa36-0216-4e90-81f8-2c52082b2829",
                                              "x": 1340,
                                              "y": 580,
                                              "wires": [
                                                  []
                                              ]
                                          },
                                          {
                                              "id": "266f45298fe39781",
                                              "type": "hue-scene",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "warmweiss",
                                              "bridge": "cbd54dbabf6f65be",
                                              "sceneid": "a48a039f-dc58-44ad-bb81-f6989dd30a2e",
                                              "x": 1330,
                                              "y": 460,
                                              "wires": [
                                                  []
                                              ]
                                          },
                                          {
                                              "id": "687c7e27683f7c5c",
                                              "type": "delay",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "230ms",
                                              "pauseType": "delay",
                                              "timeout": "230",
                                              "timeoutUnits": "milliseconds",
                                              "rate": "1",
                                              "nbRateUnits": "1",
                                              "rateUnits": "second",
                                              "randomFirst": "1",
                                              "randomLast": "5",
                                              "randomUnits": "seconds",
                                              "drop": false,
                                              "allowrate": false,
                                              "outputs": 1,
                                              "x": 1290,
                                              "y": 300,
                                              "wires": [
                                                  [
                                                      "0d321e0ed699fec1"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "5f54b4987a5f8dd2",
                                              "type": "delay",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "100ms",
                                              "pauseType": "delay",
                                              "timeout": "100",
                                              "timeoutUnits": "milliseconds",
                                              "rate": "1",
                                              "nbRateUnits": "1",
                                              "rateUnits": "second",
                                              "randomFirst": "1",
                                              "randomLast": "5",
                                              "randomUnits": "seconds",
                                              "drop": false,
                                              "allowrate": false,
                                              "outputs": 1,
                                              "x": 1290,
                                              "y": 180,
                                              "wires": [
                                                  [
                                                      "589ac75a5e32f1d9"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "f17ddf70f0e3a462",
                                              "type": "delay",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "100ms",
                                              "pauseType": "delay",
                                              "timeout": "100",
                                              "timeoutUnits": "milliseconds",
                                              "rate": "1",
                                              "nbRateUnits": "1",
                                              "rateUnits": "second",
                                              "randomFirst": "1",
                                              "randomLast": "5",
                                              "randomUnits": "seconds",
                                              "drop": false,
                                              "allowrate": false,
                                              "outputs": 1,
                                              "x": 810,
                                              "y": 360,
                                              "wires": [
                                                  [
                                                      "bffd16b00cfde14d"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "b060108e3005d932",
                                              "type": "delay",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "100ms",
                                              "pauseType": "delay",
                                              "timeout": "100",
                                              "timeoutUnits": "milliseconds",
                                              "rate": "1",
                                              "nbRateUnits": "1",
                                              "rateUnits": "second",
                                              "randomFirst": "1",
                                              "randomLast": "5",
                                              "randomUnits": "seconds",
                                              "drop": false,
                                              "allowrate": false,
                                              "outputs": 1,
                                              "x": 810,
                                              "y": 580,
                                              "wires": [
                                                  [
                                                      "f4b15ec716491f99"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "26451af092a50c2a",
                                              "type": "delay",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "100ms",
                                              "pauseType": "delay",
                                              "timeout": "100",
                                              "timeoutUnits": "milliseconds",
                                              "rate": "1",
                                              "nbRateUnits": "1",
                                              "rateUnits": "second",
                                              "randomFirst": "1",
                                              "randomLast": "5",
                                              "randomUnits": "seconds",
                                              "drop": false,
                                              "allowrate": false,
                                              "outputs": 1,
                                              "x": 810,
                                              "y": 700,
                                              "wires": [
                                                  [
                                                      "a258cc2e98284972"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "18138896535a8b98",
                                              "type": "delay",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "100ms",
                                              "pauseType": "delay",
                                              "timeout": "100",
                                              "timeoutUnits": "milliseconds",
                                              "rate": "1",
                                              "nbRateUnits": "1",
                                              "rateUnits": "second",
                                              "randomFirst": "1",
                                              "randomLast": "5",
                                              "randomUnits": "seconds",
                                              "drop": false,
                                              "allowrate": false,
                                              "outputs": 1,
                                              "x": 810,
                                              "y": 460,
                                              "wires": [
                                                  [
                                                      "202c49953d235813"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "a54734800b81342e",
                                              "type": "change",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "Küche",
                                              "rules": [
                                                  {
                                                      "t": "change",
                                                      "p": "payload",
                                                      "pt": "msg",
                                                      "from": "1002",
                                                      "fromt": "str",
                                                      "to": "Küche",
                                                      "tot": "str"
                                                  },
                                                  {
                                                      "t": "change",
                                                      "p": "payload",
                                                      "pt": "msg",
                                                      "from": "true",
                                                      "fromt": "bool",
                                                      "to": "Küche eingeschaltet",
                                                      "tot": "str"
                                                  },
                                                  {
                                                      "t": "change",
                                                      "p": "payload",
                                                      "pt": "msg",
                                                      "from": "false",
                                                      "fromt": "bool",
                                                      "to": "Küche ausgeschaltet",
                                                      "tot": "str"
                                                  }
                                              ],
                                              "action": "",
                                              "property": "",
                                              "from": "",
                                              "to": "",
                                              "reg": false,
                                              "x": 1290,
                                              "y": 420,
                                              "wires": [
                                                  [
                                                      "98ee3d8530b8677f"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "cc4b3f317dc6949d",
                                              "type": "trigger",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "2000/2002",
                                              "op1": "2000",
                                              "op2": "2002",
                                              "op1type": "str",
                                              "op2type": "str",
                                              "duration": "200",
                                              "extend": false,
                                              "overrideDelay": false,
                                              "units": "ms",
                                              "reset": "",
                                              "bytopic": "all",
                                              "topic": "topic",
                                              "outputs": 1,
                                              "x": 350,
                                              "y": 680,
                                              "wires": [
                                                  [
                                                      "492203889ad083cc"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "58080c269d40839f",
                                              "type": "trigger",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "3000/3002",
                                              "op1": "3000",
                                              "op2": "3002",
                                              "op1type": "str",
                                              "op2type": "str",
                                              "duration": "200",
                                              "extend": false,
                                              "overrideDelay": false,
                                              "units": "ms",
                                              "reset": "",
                                              "bytopic": "all",
                                              "topic": "topic",
                                              "outputs": 1,
                                              "x": 350,
                                              "y": 720,
                                              "wires": [
                                                  [
                                                      "492203889ad083cc"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "7dbf8e1e7cc0c58b",
                                              "type": "inject",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "",
                                              "props": [
                                                  {
                                                      "p": "payload"
                                                  },
                                                  {
                                                      "p": "topic",
                                                      "vt": "str"
                                                  }
                                              ],
                                              "repeat": "",
                                              "crontab": "",
                                              "once": false,
                                              "onceDelay": 0.1,
                                              "topic": "",
                                              "payload": "true",
                                              "payloadType": "str",
                                              "x": 210,
                                              "y": 680,
                                              "wires": [
                                                  [
                                                      "cc4b3f317dc6949d"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "56783e9b03496a6b",
                                              "type": "inject",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "",
                                              "props": [
                                                  {
                                                      "p": "payload"
                                                  },
                                                  {
                                                      "p": "topic",
                                                      "vt": "str"
                                                  }
                                              ],
                                              "repeat": "",
                                              "crontab": "",
                                              "once": false,
                                              "onceDelay": 0.1,
                                              "topic": "",
                                              "payload": "true",
                                              "payloadType": "str",
                                              "x": 210,
                                              "y": 720,
                                              "wires": [
                                                  [
                                                      "58080c269d40839f"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "e2b5712b17f86c31",
                                              "type": "trigger",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "4000/4002",
                                              "op1": "4000",
                                              "op2": "4002",
                                              "op1type": "str",
                                              "op2type": "str",
                                              "duration": "200",
                                              "extend": false,
                                              "overrideDelay": false,
                                              "units": "ms",
                                              "reset": "",
                                              "bytopic": "all",
                                              "topic": "topic",
                                              "outputs": 1,
                                              "x": 350,
                                              "y": 760,
                                              "wires": [
                                                  [
                                                      "492203889ad083cc"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "60a4fa746191a149",
                                              "type": "inject",
                                              "z": "f40fbc4eb5ac4f7a",
                                              "name": "",
                                              "props": [
                                                  {
                                                      "p": "payload"
                                                  },
                                                  {
                                                      "p": "topic",
                                                      "vt": "str"
                                                  }
                                              ],
                                              "repeat": "",
                                              "crontab": "",
                                              "once": false,
                                              "onceDelay": 0.1,
                                              "topic": "",
                                              "payload": "true",
                                              "payloadType": "str",
                                              "x": 210,
                                              "y": 760,
                                              "wires": [
                                                  [
                                                      "e2b5712b17f86c31"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "cbd54dbabf6f65be",
                                              "type": "hue-bridge",
                                              "name": "Hue GordonX",
                                              "bridge": "192.168.0.8",
                                              "key": "SlfyXwpcaEvRN0d1DU2JrrOlwrm9Debhhm9A4E-d",
                                              "worker": "10",
                                              "autoupdates": true,
                                              "disableupdates": false
                                          }
                                      ]
                                      


                                      Screenshot 2025-06-14 172044.png

                                      So funktioniert die Steuerung von dir prima nur muss diese in die standard schalter schaltung integriert werden.

                                      [
                                          {
                                              "id": "a42b83181f07f8d0",
                                              "type": "tab",
                                              "label": "Flow 8",
                                              "disabled": false,
                                              "info": "",
                                              "env": []
                                          },
                                          {
                                              "id": "d1f2c8393ea7f683",
                                              "type": "debug",
                                              "z": "a42b83181f07f8d0",
                                              "name": "debug 3",
                                              "active": true,
                                              "tosidebar": true,
                                              "console": false,
                                              "tostatus": false,
                                              "complete": "true",
                                              "targetType": "full",
                                              "statusVal": "",
                                              "statusType": "auto",
                                              "x": 1160,
                                              "y": 520,
                                              "wires": []
                                          },
                                          {
                                              "id": "8bf1e5067a6f0ad2",
                                              "type": "delay",
                                              "z": "a42b83181f07f8d0",
                                              "name": "verz. 1s",
                                              "pauseType": "delay",
                                              "timeout": "1",
                                              "timeoutUnits": "seconds",
                                              "rate": "1",
                                              "nbRateUnits": "1",
                                              "rateUnits": "second",
                                              "randomFirst": "1",
                                              "randomLast": "5",
                                              "randomUnits": "seconds",
                                              "drop": false,
                                              "allowrate": false,
                                              "outputs": 1,
                                              "x": 360,
                                              "y": 480,
                                              "wires": [
                                                  [
                                                      "a9f9b30b4f8999d0"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "a9f9b30b4f8999d0",
                                              "type": "change",
                                              "z": "a42b83181f07f8d0",
                                              "name": "motion:false",
                                              "rules": [
                                                  {
                                                      "t": "set",
                                                      "p": "payload.motion",
                                                      "pt": "msg",
                                                      "to": "false",
                                                      "tot": "bool"
                                                  }
                                              ],
                                              "action": "",
                                              "property": "",
                                              "from": "",
                                              "to": "",
                                              "reg": false,
                                              "x": 510,
                                              "y": 480,
                                              "wires": [
                                                  [
                                                      "b0410acfcad1b37e"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "7a509a8587332f14",
                                              "type": "switch",
                                              "z": "a42b83181f07f8d0",
                                              "name": "Schalter",
                                              "property": "stopp",
                                              "propertyType": "flow",
                                              "rules": [
                                                  {
                                                      "t": "true"
                                                  },
                                                  {
                                                      "t": "false"
                                                  }
                                              ],
                                              "checkall": "true",
                                              "repair": false,
                                              "outputs": 2,
                                              "x": 1060,
                                              "y": 440,
                                              "wires": [
                                                  [],
                                                  [
                                                      "4d146d05efbc5d35"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "c1952bc66da5a348",
                                              "type": "timeouttrigger",
                                              "z": "a42b83181f07f8d0",
                                              "OnTimeoutType": "bool",
                                              "OnTimeoutVal": "false",
                                              "duration": "3",
                                              "units": "s",
                                              "passthrough": true,
                                              "sendTimeoutValue": "once",
                                              "interval": "",
                                              "IntervalUnits": "s",
                                              "name": "",
                                              "x": 1310,
                                              "y": 440,
                                              "wires": [
                                                  [
                                                      "550905a564f09176"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "6adb99e531920623",
                                              "type": "change",
                                              "z": "a42b83181f07f8d0",
                                              "name": "Motion",
                                              "rules": [
                                                  {
                                                      "t": "set",
                                                      "p": "payload",
                                                      "pt": "msg",
                                                      "to": "payload.motion",
                                                      "tot": "msg"
                                                  }
                                              ],
                                              "action": "",
                                              "property": "",
                                              "from": "",
                                              "to": "",
                                              "reg": false,
                                              "x": 790,
                                              "y": 440,
                                              "wires": [
                                                  [
                                                      "9f0c88dad82d8633"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "9f83e7917ef2d8e2",
                                              "type": "comment",
                                              "z": "a42b83181f07f8d0",
                                              "name": "<< Bewegungsmelder Simulator  Beginn>>",
                                              "info": "",
                                              "x": 180,
                                              "y": 380,
                                              "wires": []
                                          },
                                          {
                                              "id": "302a07cea50da337",
                                              "type": "timeouttrigger",
                                              "z": "a42b83181f07f8d0",
                                              "OnTimeoutType": "bool",
                                              "OnTimeoutVal": "false",
                                              "duration": "45",
                                              "units": "s",
                                              "passthrough": true,
                                              "sendTimeoutValue": "once",
                                              "interval": "",
                                              "IntervalUnits": "s",
                                              "name": "",
                                              "x": 550,
                                              "y": 600,
                                              "wires": [
                                                  [
                                                      "2871643160dfcc7c",
                                                      "550905a564f09176"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "bd795708de32c118",
                                              "type": "change",
                                              "z": "a42b83181f07f8d0",
                                              "name": "",
                                              "rules": [
                                                  {
                                                      "t": "set",
                                                      "p": "payload",
                                                      "pt": "msg",
                                                      "to": "true",
                                                      "tot": "bool"
                                                  }
                                              ],
                                              "action": "",
                                              "property": "",
                                              "from": "",
                                              "to": "",
                                              "reg": false,
                                              "x": 390,
                                              "y": 600,
                                              "wires": [
                                                  [
                                                      "302a07cea50da337"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "d1051390faa881a3",
                                              "type": "switch",
                                              "z": "a42b83181f07f8d0",
                                              "name": "1000?",
                                              "property": "payload",
                                              "propertyType": "msg",
                                              "rules": [
                                                  {
                                                      "t": "eq",
                                                      "v": "1000",
                                                      "vt": "num"
                                                  },
                                                  {
                                                      "t": "eq",
                                                      "v": "",
                                                      "vt": "num"
                                                  }
                                              ],
                                              "checkall": "true",
                                              "repair": false,
                                              "outputs": 2,
                                              "x": 210,
                                              "y": 620,
                                              "wires": [
                                                  [
                                                      "bd795708de32c118",
                                                      "32b9213c2fe970b0"
                                                  ],
                                                  []
                                              ]
                                          },
                                          {
                                              "id": "4d146d05efbc5d35",
                                              "type": "switch",
                                              "z": "a42b83181f07f8d0",
                                              "name": "Robi",
                                              "property": "BWM",
                                              "propertyType": "flow",
                                              "rules": [
                                                  {
                                                      "t": "true"
                                                  },
                                                  {
                                                      "t": "false"
                                                  }
                                              ],
                                              "checkall": "true",
                                              "repair": false,
                                              "outputs": 2,
                                              "x": 1190,
                                              "y": 440,
                                              "wires": [
                                                  [
                                                      "c1952bc66da5a348"
                                                  ],
                                                  []
                                              ]
                                          },
                                          {
                                              "id": "32b9213c2fe970b0",
                                              "type": "change",
                                              "z": "a42b83181f07f8d0",
                                              "name": "",
                                              "rules": [
                                                  {
                                                      "t": "set",
                                                      "p": "stopp",
                                                      "pt": "flow",
                                                      "to": "true",
                                                      "tot": "bool"
                                                  }
                                              ],
                                              "action": "",
                                              "property": "",
                                              "from": "",
                                              "to": "",
                                              "reg": false,
                                              "x": 380,
                                              "y": 640,
                                              "wires": [
                                                  []
                                              ]
                                          },
                                          {
                                              "id": "0439088d7ec73749",
                                              "type": "change",
                                              "z": "a42b83181f07f8d0",
                                              "name": "llöscheflow.stopp",
                                              "rules": [
                                                  {
                                                      "t": "set",
                                                      "p": "stopp",
                                                      "pt": "flow",
                                                      "to": "false",
                                                      "tot": "bool"
                                                  }
                                              ],
                                              "action": "",
                                              "property": "",
                                              "from": "",
                                              "to": "",
                                              "reg": false,
                                              "x": 830,
                                              "y": 640,
                                              "wires": [
                                                  []
                                              ]
                                          },
                                          {
                                              "id": "2871643160dfcc7c",
                                              "type": "switch",
                                              "z": "a42b83181f07f8d0",
                                              "name": "",
                                              "property": "payload",
                                              "propertyType": "msg",
                                              "rules": [
                                                  {
                                                      "t": "eq",
                                                      "v": "1000",
                                                      "vt": "num"
                                                  },
                                                  {
                                                      "t": "eq",
                                                      "v": "",
                                                      "vt": "num"
                                                  }
                                              ],
                                              "checkall": "true",
                                              "repair": false,
                                              "outputs": 2,
                                              "x": 670,
                                              "y": 620,
                                              "wires": [
                                                  [],
                                                  [
                                                      "0439088d7ec73749"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "550905a564f09176",
                                              "type": "function",
                                              "z": "a42b83181f07f8d0",
                                              "name": "Variablen Ini + Ausgabe",
                                              "func": "node.status({ text: msg.payload });\n\nreturn msg;",
                                              "outputs": 1,
                                              "timeout": 0,
                                              "noerr": 0,
                                              "initialize": "// Der Code hier wird ausgeführt,\n// wenn der Node gestartet wird\nflow.set(\"stopp\", false);\nflow.set(\"BWM\", true);\n",
                                              "finalize": "",
                                              "libs": [],
                                              "x": 910,
                                              "y": 560,
                                              "wires": [
                                                  [
                                                      "d1f2c8393ea7f683",
                                                      "e2721e4056e942e3"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "d7bd1efc606cfcad",
                                              "type": "ioBroker in",
                                              "z": "a42b83181f07f8d0",
                                              "name": "Robi",
                                              "attrname": "payload",
                                              "topic": "0_userdata.0.GordonX-Home.0.Test_Status_Robi",
                                              "payloadType": "value",
                                              "onlyack": "",
                                              "func": "all",
                                              "gap": "",
                                              "fireOnStart": "false",
                                              "outFormat": "MQTT",
                                              "x": 90,
                                              "y": 720,
                                              "wires": [
                                                  [
                                                      "b2f36db79c165583"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "b0410acfcad1b37e",
                                              "type": "function",
                                              "z": "a42b83181f07f8d0",
                                              "name": "Out BWM",
                                              "func": "\nreturn msg;",
                                              "outputs": 1,
                                              "timeout": 0,
                                              "noerr": 0,
                                              "initialize": "",
                                              "finalize": "",
                                              "libs": [],
                                              "x": 660,
                                              "y": 440,
                                              "wires": [
                                                  [
                                                      "6adb99e531920623"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "e2721e4056e942e3",
                                              "type": "ioBroker out",
                                              "z": "a42b83181f07f8d0",
                                              "name": "ioBroker Lampe",
                                              "topic": "0_userdata.0.GordonX-Home.0.Test_Gerät",
                                              "ack": "false",
                                              "autoCreate": "false",
                                              "stateName": "",
                                              "role": "",
                                              "payloadType": "",
                                              "readonly": "",
                                              "stateUnit": "",
                                              "stateMin": "",
                                              "stateMax": "",
                                              "x": 1160,
                                              "y": 560,
                                              "wires": []
                                          },
                                          {
                                              "id": "7cfd7f7fba2e2d7a",
                                              "type": "ioBroker in",
                                              "z": "a42b83181f07f8d0",
                                              "name": "KüSchalter",
                                              "attrname": "payload",
                                              "topic": "hue.0.Hue_GordonX.Küche_Schalter.buttonevent",
                                              "payloadType": "value",
                                              "onlyack": "",
                                              "func": "all",
                                              "gap": "",
                                              "fireOnStart": "false",
                                              "outFormat": "MQTT",
                                              "x": 80,
                                              "y": 620,
                                              "wires": [
                                                  [
                                                      "d1051390faa881a3"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "b2f36db79c165583",
                                              "type": "switch",
                                              "z": "a42b83181f07f8d0",
                                              "name": "",
                                              "property": "payload",
                                              "propertyType": "msg",
                                              "rules": [
                                                  {
                                                      "t": "eq",
                                                      "v": "5",
                                                      "vt": "num"
                                                  },
                                                  {
                                                      "t": "neq",
                                                      "v": "5",
                                                      "vt": "num"
                                                  }
                                              ],
                                              "checkall": "true",
                                              "repair": false,
                                              "outputs": 2,
                                              "x": 290,
                                              "y": 720,
                                              "wires": [
                                                  [
                                                      "407e2e376c0ee370"
                                                  ],
                                                  [
                                                      "5061312f43733426"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "407e2e376c0ee370",
                                              "type": "change",
                                              "z": "a42b83181f07f8d0",
                                              "name": "setze Flow.BWM",
                                              "rules": [
                                                  {
                                                      "t": "set",
                                                      "p": "BWM",
                                                      "pt": "flow",
                                                      "to": "true",
                                                      "tot": "bool"
                                                  }
                                              ],
                                              "action": "",
                                              "property": "",
                                              "from": "",
                                              "to": "",
                                              "reg": false,
                                              "x": 470,
                                              "y": 700,
                                              "wires": [
                                                  [
                                                      "0650a4ab7aec40a1"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "5061312f43733426",
                                              "type": "change",
                                              "z": "a42b83181f07f8d0",
                                              "name": "lösche Flow.BWM",
                                              "rules": [
                                                  {
                                                      "t": "set",
                                                      "p": "BWM",
                                                      "pt": "flow",
                                                      "to": "false",
                                                      "tot": "bool"
                                                  }
                                              ],
                                              "action": "",
                                              "property": "",
                                              "from": "",
                                              "to": "",
                                              "reg": false,
                                              "x": 470,
                                              "y": 740,
                                              "wires": [
                                                  [
                                                      "0650a4ab7aec40a1"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "879b9060efcd163b",
                                              "type": "comment",
                                              "z": "a42b83181f07f8d0",
                                              "name": "evtl. gesperrt durch??",
                                              "info": "",
                                              "x": 900,
                                              "y": 380,
                                              "wires": []
                                          },
                                          {
                                              "id": "9f0c88dad82d8633",
                                              "type": "switch",
                                              "z": "a42b83181f07f8d0",
                                              "name": "nur true",
                                              "property": "payload",
                                              "propertyType": "msg",
                                              "rules": [
                                                  {
                                                      "t": "true"
                                                  },
                                                  {
                                                      "t": "false"
                                                  }
                                              ],
                                              "checkall": "true",
                                              "repair": false,
                                              "outputs": 2,
                                              "x": 920,
                                              "y": 440,
                                              "wires": [
                                                  [
                                                      "7a509a8587332f14"
                                                  ],
                                                  []
                                              ]
                                          },
                                          {
                                              "id": "0650a4ab7aec40a1",
                                              "type": "debug",
                                              "z": "a42b83181f07f8d0",
                                              "name": "debug 4",
                                              "active": true,
                                              "tosidebar": true,
                                              "console": false,
                                              "tostatus": false,
                                              "complete": "true",
                                              "targetType": "full",
                                              "statusVal": "",
                                              "statusType": "auto",
                                              "x": 640,
                                              "y": 720,
                                              "wires": []
                                          },
                                          {
                                              "id": "f144b6f8b998c7f5",
                                              "type": "comment",
                                              "z": "a42b83181f07f8d0",
                                              "name": "<< Bewegungsmelder Simulator Ende >>",
                                              "info": "",
                                              "x": 180,
                                              "y": 560,
                                              "wires": []
                                          },
                                          {
                                              "id": "f74d0c3a0bc11bfd",
                                              "type": "hue-bridge-node",
                                              "z": "a42b83181f07f8d0",
                                              "name": "Hue",
                                              "bridge": "cbd54dbabf6f65be",
                                              "autoupdates": true,
                                              "skipglobalevents": false,
                                              "initevents": false,
                                              "x": 90,
                                              "y": 440,
                                              "wires": [
                                                  [
                                                      "b6564cd395bbd771"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "b6564cd395bbd771",
                                              "type": "hue-motion",
                                              "z": "a42b83181f07f8d0",
                                              "name": "KüMo",
                                              "bridge": "cbd54dbabf6f65be",
                                              "sensorid": "7529c8d8-9f5c-451d-ba56-70cacda84564",
                                              "skipevents": false,
                                              "initevents": false,
                                              "x": 230,
                                              "y": 440,
                                              "wires": [
                                                  [
                                                      "b0410acfcad1b37e",
                                                      "8bf1e5067a6f0ad2"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "cbd54dbabf6f65be",
                                              "type": "hue-bridge",
                                              "name": "Hue GordonX",
                                              "bridge": "192.168.0.8",
                                              "key": "SlfyXwpcaEvRN0d1DU2JrrOlwrm9Debhhm9A4E-d",
                                              "worker": "10",
                                              "autoupdates": true,
                                              "disableupdates": false
                                          }
                                      ]
                                      


                                      Screenshot 2025-06-14 172027.png

                                      Da der HUE Schalter nur befehle sendet wie auf Kanal 1 für die Küche
                                      1000 und 100ms später 1002 muss die Steuerung nun die virtuellen schalter haben um mit einem klick das Licht ein und mit einem weiteren klick die lampen wieder ausschaltet. damit muss dann auch die 45 Sekunden (45min.) Schaltung deaktiviert werden.
                                      Wenn ich das integriere läuft der 45sek. Timer weiter.

                                      P Offline
                                      P Offline
                                      peterfido
                                      schrieb am zuletzt editiert von peterfido
                                      #18

                                      @aphofis Das ist ein wichtige Info, die am Anfang der Aufgabenstellung gut gewesen wäre. Dann muss der Timeout Baustein gegen einen, welcher sich zurücksetzen lässt, ersetzt werden. z.B. myTimeout.

                                      Edit: Die 45 Minuten sind jetzt wofür?

                                      Gruß

                                      Peterfido


                                      Proxmox auf Intel NUC12WSHi5
                                      ioBroker: Debian (VM)
                                      CCU: Debmatic (VM)
                                      Influx: Debian (VM)
                                      Grafana: Debian (VM)
                                      eBus: Debian (VM)
                                      Zigbee: Debian (VM) mit zigbee2mqtt

                                      AphofisA 1 Antwort Letzte Antwort
                                      0
                                      • AphofisA Aphofis

                                        @peterfido

                                        Das funktioniert.
                                        Habe da jetzt die normale Küchen Schaltung die es jetzt zu integrieren gilt.

                                        [
                                            {
                                                "id": "f40fbc4eb5ac4f7a",
                                                "type": "tab",
                                                "label": "Küche",
                                                "disabled": false,
                                                "info": "",
                                                "env": []
                                            },
                                            {
                                                "id": "a9a291ef92812c32",
                                                "type": "junction",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "x": 1160,
                                                "y": 360,
                                                "wires": [
                                                    [
                                                        "138c91dc2bbc1ae3",
                                                        "8d88b2a94c9ec76d",
                                                        "687c7e27683f7c5c",
                                                        "5f54b4987a5f8dd2",
                                                        "a54734800b81342e"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "202c49953d235813",
                                                "type": "ioBroker get",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "Switch 2",
                                                "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_2",
                                                "attrname": "payload",
                                                "payloadType": "value",
                                                "errOnInvalidState": "nothing",
                                                "x": 940,
                                                "y": 460,
                                                "wires": [
                                                    [
                                                        "5f856636064395a8"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "5f856636064395a8",
                                                "type": "change",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "toggle",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "payload",
                                                        "pt": "msg",
                                                        "to": "$not(payload)\t",
                                                        "tot": "jsonata"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 1070,
                                                "y": 460,
                                                "wires": [
                                                    [
                                                        "167c3d9534071cfb",
                                                        "266f45298fe39781"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "167c3d9534071cfb",
                                                "type": "ioBroker out",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "Virtuel Switch 2",
                                                "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_2",
                                                "ack": "false",
                                                "autoCreate": "false",
                                                "stateName": "",
                                                "role": "",
                                                "payloadType": "",
                                                "readonly": "",
                                                "stateUnit": "",
                                                "stateMin": "",
                                                "stateMax": "",
                                                "x": 1320,
                                                "y": 520,
                                                "wires": []
                                            },
                                            {
                                                "id": "f4b15ec716491f99",
                                                "type": "ioBroker get",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "Switch 3",
                                                "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_3",
                                                "attrname": "payload",
                                                "payloadType": "value",
                                                "errOnInvalidState": "nothing",
                                                "x": 940,
                                                "y": 580,
                                                "wires": [
                                                    [
                                                        "5c2fda12ba92680a"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "5c2fda12ba92680a",
                                                "type": "change",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "toggle",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "payload",
                                                        "pt": "msg",
                                                        "to": "$not(payload)\t",
                                                        "tot": "jsonata"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 1070,
                                                "y": 580,
                                                "wires": [
                                                    [
                                                        "8be32882ca318f17",
                                                        "3e09ac32ae810712"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "8be32882ca318f17",
                                                "type": "ioBroker out",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "Virtuel Switch 3",
                                                "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_3",
                                                "ack": "false",
                                                "autoCreate": "false",
                                                "stateName": "",
                                                "role": "",
                                                "payloadType": "",
                                                "readonly": "",
                                                "stateUnit": "",
                                                "stateMin": "",
                                                "stateMax": "",
                                                "x": 1320,
                                                "y": 640,
                                                "wires": []
                                            },
                                            {
                                                "id": "bffd16b00cfde14d",
                                                "type": "ioBroker get",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "Switch 1",
                                                "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_1",
                                                "attrname": "payload",
                                                "payloadType": "value",
                                                "errOnInvalidState": "nothing",
                                                "x": 940,
                                                "y": 360,
                                                "wires": [
                                                    [
                                                        "c2ccf4efb123db4a"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "c2ccf4efb123db4a",
                                                "type": "change",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "toggle",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "payload",
                                                        "pt": "msg",
                                                        "to": "$not(payload)\t",
                                                        "tot": "jsonata"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 1070,
                                                "y": 360,
                                                "wires": [
                                                    [
                                                        "a9a291ef92812c32"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "0d321e0ed699fec1",
                                                "type": "ioBroker out",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "U-rechts",
                                                "topic": "tuya.0.bfb09eea5dad3699abyrbu.20",
                                                "ack": "false",
                                                "autoCreate": "false",
                                                "stateName": "",
                                                "role": "",
                                                "payloadType": "",
                                                "readonly": "",
                                                "stateUnit": "",
                                                "stateMin": "",
                                                "stateMax": "",
                                                "x": 1430,
                                                "y": 300,
                                                "wires": []
                                            },
                                            {
                                                "id": "589ac75a5e32f1d9",
                                                "type": "ioBroker out",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "Küche Decke",
                                                "topic": "tuya.0.bfe4af976feb74d845vugp.1",
                                                "ack": "false",
                                                "autoCreate": "false",
                                                "stateName": "",
                                                "role": "",
                                                "payloadType": "",
                                                "readonly": "",
                                                "stateUnit": "",
                                                "stateMin": "",
                                                "stateMax": "",
                                                "x": 1430,
                                                "y": 180,
                                                "wires": []
                                            },
                                            {
                                                "id": "492203889ad083cc",
                                                "type": "switch",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "",
                                                "property": "payload",
                                                "propertyType": "msg",
                                                "rules": [
                                                    {
                                                        "t": "eq",
                                                        "v": "1000",
                                                        "vt": "str"
                                                    },
                                                    {
                                                        "t": "eq",
                                                        "v": "2000",
                                                        "vt": "str"
                                                    },
                                                    {
                                                        "t": "eq",
                                                        "v": "3000",
                                                        "vt": "str"
                                                    },
                                                    {
                                                        "t": "eq",
                                                        "v": "4000",
                                                        "vt": "str"
                                                    }
                                                ],
                                                "checkall": "true",
                                                "repair": false,
                                                "outputs": 4,
                                                "x": 590,
                                                "y": 420,
                                                "wires": [
                                                    [
                                                        "f17ddf70f0e3a462"
                                                    ],
                                                    [
                                                        "18138896535a8b98"
                                                    ],
                                                    [
                                                        "b060108e3005d932"
                                                    ],
                                                    [
                                                        "26451af092a50c2a"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "138c91dc2bbc1ae3",
                                                "type": "ioBroker out",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "Virtuel Switch 1",
                                                "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_1",
                                                "ack": "false",
                                                "autoCreate": "false",
                                                "stateName": "",
                                                "role": "",
                                                "payloadType": "",
                                                "readonly": "",
                                                "stateUnit": "",
                                                "stateMin": "",
                                                "stateMax": "",
                                                "x": 1320,
                                                "y": 240,
                                                "wires": []
                                            },
                                            {
                                                "id": "4efde19f0e9d494d",
                                                "type": "ioBroker in",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "d": true,
                                                "name": "Küche Schalter",
                                                "attrname": "payload",
                                                "topic": "hue.0.Hue_GordonX.Küche_Schalter.buttonevent",
                                                "payloadType": "value",
                                                "onlyack": "",
                                                "func": "rbe",
                                                "gap": "",
                                                "fireOnStart": "false",
                                                "outFormat": "MQTT",
                                                "x": 360,
                                                "y": 480,
                                                "wires": [
                                                    [
                                                        "492203889ad083cc"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "a258cc2e98284972",
                                                "type": "ioBroker get",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "Switch 4",
                                                "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_4",
                                                "attrname": "payload",
                                                "payloadType": "value",
                                                "errOnInvalidState": "nothing",
                                                "x": 940,
                                                "y": 700,
                                                "wires": [
                                                    [
                                                        "7990f93a2f6d4246"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "7990f93a2f6d4246",
                                                "type": "change",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "toggle",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "payload",
                                                        "pt": "msg",
                                                        "to": "$not(payload)\t",
                                                        "tot": "jsonata"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 1070,
                                                "y": 700,
                                                "wires": [
                                                    [
                                                        "bf03dbcaedeac1bf",
                                                        "974fbea0a2bec958"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "bf03dbcaedeac1bf",
                                                "type": "ioBroker out",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "VSwitch 4",
                                                "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_4",
                                                "ack": "false",
                                                "autoCreate": "false",
                                                "stateName": "",
                                                "role": "",
                                                "payloadType": "",
                                                "readonly": "",
                                                "stateUnit": "",
                                                "stateMin": "",
                                                "stateMax": "",
                                                "x": 1300,
                                                "y": 760,
                                                "wires": []
                                            },
                                            {
                                                "id": "450a86229a268dec",
                                                "type": "inject",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "",
                                                "props": [
                                                    {
                                                        "p": "payload"
                                                    },
                                                    {
                                                        "p": "topic",
                                                        "vt": "str"
                                                    }
                                                ],
                                                "repeat": "",
                                                "crontab": "",
                                                "once": false,
                                                "onceDelay": 0.1,
                                                "topic": "",
                                                "payload": "true",
                                                "payloadType": "str",
                                                "x": 230,
                                                "y": 420,
                                                "wires": [
                                                    [
                                                        "708b9446e314ce9a"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "ad88b1a4b3ec08b2",
                                                "type": "link in",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "Alexa Switch Küche",
                                                "links": [
                                                    "ad266b7267edaa39"
                                                ],
                                                "x": 185,
                                                "y": 360,
                                                "wires": [
                                                    [
                                                        "9bfe6974c0049dcc"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "bacc098ce38ea437",
                                                "type": "change",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "on/off",
                                                "rules": [
                                                    {
                                                        "t": "change",
                                                        "p": "payload",
                                                        "pt": "msg",
                                                        "from": "on",
                                                        "fromt": "str",
                                                        "to": "1002",
                                                        "tot": "str"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 430,
                                                "y": 360,
                                                "wires": [
                                                    [
                                                        "492203889ad083cc"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "9bfe6974c0049dcc",
                                                "type": "amazon-echo-device",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "Alexa Küche",
                                                "topic": "hue.0.Küche_Schalter.buttonevent",
                                                "x": 290,
                                                "y": 360,
                                                "wires": [
                                                    [
                                                        "bacc098ce38ea437"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "d5ac3ac0172cc081",
                                                "type": "hue-bridge-node",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "",
                                                "bridge": "cbd54dbabf6f65be",
                                                "autoupdates": true,
                                                "skipglobalevents": false,
                                                "initevents": false,
                                                "x": 370,
                                                "y": 540,
                                                "wires": [
                                                    [
                                                        "492203889ad083cc"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "98ee3d8530b8677f",
                                                "type": "debug",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "Küche",
                                                "active": true,
                                                "tosidebar": true,
                                                "console": true,
                                                "tostatus": false,
                                                "complete": "payload",
                                                "targetType": "msg",
                                                "statusVal": "",
                                                "statusType": "auto",
                                                "x": 1420,
                                                "y": 420,
                                                "wires": []
                                            },
                                            {
                                                "id": "de121f3c399ed6d5",
                                                "type": "hue-light",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "Unterschr.Li",
                                                "bridge": "cbd54dbabf6f65be",
                                                "lightid": "9954a221-26e8-40ab-9732-ad33d14aeb5f",
                                                "colornamer": false,
                                                "skipevents": false,
                                                "initevents": false,
                                                "x": 1450,
                                                "y": 360,
                                                "wires": [
                                                    []
                                                ]
                                            },
                                            {
                                                "id": "708b9446e314ce9a",
                                                "type": "trigger",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "1000/1002",
                                                "op1": "1000",
                                                "op2": "1002",
                                                "op1type": "str",
                                                "op2type": "str",
                                                "duration": "200",
                                                "extend": false,
                                                "overrideDelay": false,
                                                "units": "ms",
                                                "reset": "",
                                                "bytopic": "all",
                                                "topic": "topic",
                                                "outputs": 1,
                                                "x": 370,
                                                "y": 420,
                                                "wires": [
                                                    [
                                                        "492203889ad083cc"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "974fbea0a2bec958",
                                                "type": "hue-group",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "Wohnzimmer",
                                                "bridge": "cbd54dbabf6f65be",
                                                "groupid": "fea8bacb-2692-4b22-9d97-295a32985af8",
                                                "skipevents": false,
                                                "initevents": false,
                                                "x": 1330,
                                                "y": 700,
                                                "wires": [
                                                    []
                                                ]
                                            },
                                            {
                                                "id": "8d88b2a94c9ec76d",
                                                "type": "delay",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "230ms",
                                                "pauseType": "delay",
                                                "timeout": "230",
                                                "timeoutUnits": "milliseconds",
                                                "rate": "1",
                                                "nbRateUnits": "1",
                                                "rateUnits": "second",
                                                "randomFirst": "1",
                                                "randomLast": "5",
                                                "randomUnits": "seconds",
                                                "drop": false,
                                                "allowrate": false,
                                                "outputs": 1,
                                                "x": 1290,
                                                "y": 360,
                                                "wires": [
                                                    [
                                                        "de121f3c399ed6d5"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "3e09ac32ae810712",
                                                "type": "hue-scene",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "Konzentrieren",
                                                "bridge": "cbd54dbabf6f65be",
                                                "sceneid": "1262fa36-0216-4e90-81f8-2c52082b2829",
                                                "x": 1340,
                                                "y": 580,
                                                "wires": [
                                                    []
                                                ]
                                            },
                                            {
                                                "id": "266f45298fe39781",
                                                "type": "hue-scene",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "warmweiss",
                                                "bridge": "cbd54dbabf6f65be",
                                                "sceneid": "a48a039f-dc58-44ad-bb81-f6989dd30a2e",
                                                "x": 1330,
                                                "y": 460,
                                                "wires": [
                                                    []
                                                ]
                                            },
                                            {
                                                "id": "687c7e27683f7c5c",
                                                "type": "delay",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "230ms",
                                                "pauseType": "delay",
                                                "timeout": "230",
                                                "timeoutUnits": "milliseconds",
                                                "rate": "1",
                                                "nbRateUnits": "1",
                                                "rateUnits": "second",
                                                "randomFirst": "1",
                                                "randomLast": "5",
                                                "randomUnits": "seconds",
                                                "drop": false,
                                                "allowrate": false,
                                                "outputs": 1,
                                                "x": 1290,
                                                "y": 300,
                                                "wires": [
                                                    [
                                                        "0d321e0ed699fec1"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "5f54b4987a5f8dd2",
                                                "type": "delay",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "100ms",
                                                "pauseType": "delay",
                                                "timeout": "100",
                                                "timeoutUnits": "milliseconds",
                                                "rate": "1",
                                                "nbRateUnits": "1",
                                                "rateUnits": "second",
                                                "randomFirst": "1",
                                                "randomLast": "5",
                                                "randomUnits": "seconds",
                                                "drop": false,
                                                "allowrate": false,
                                                "outputs": 1,
                                                "x": 1290,
                                                "y": 180,
                                                "wires": [
                                                    [
                                                        "589ac75a5e32f1d9"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "f17ddf70f0e3a462",
                                                "type": "delay",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "100ms",
                                                "pauseType": "delay",
                                                "timeout": "100",
                                                "timeoutUnits": "milliseconds",
                                                "rate": "1",
                                                "nbRateUnits": "1",
                                                "rateUnits": "second",
                                                "randomFirst": "1",
                                                "randomLast": "5",
                                                "randomUnits": "seconds",
                                                "drop": false,
                                                "allowrate": false,
                                                "outputs": 1,
                                                "x": 810,
                                                "y": 360,
                                                "wires": [
                                                    [
                                                        "bffd16b00cfde14d"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "b060108e3005d932",
                                                "type": "delay",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "100ms",
                                                "pauseType": "delay",
                                                "timeout": "100",
                                                "timeoutUnits": "milliseconds",
                                                "rate": "1",
                                                "nbRateUnits": "1",
                                                "rateUnits": "second",
                                                "randomFirst": "1",
                                                "randomLast": "5",
                                                "randomUnits": "seconds",
                                                "drop": false,
                                                "allowrate": false,
                                                "outputs": 1,
                                                "x": 810,
                                                "y": 580,
                                                "wires": [
                                                    [
                                                        "f4b15ec716491f99"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "26451af092a50c2a",
                                                "type": "delay",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "100ms",
                                                "pauseType": "delay",
                                                "timeout": "100",
                                                "timeoutUnits": "milliseconds",
                                                "rate": "1",
                                                "nbRateUnits": "1",
                                                "rateUnits": "second",
                                                "randomFirst": "1",
                                                "randomLast": "5",
                                                "randomUnits": "seconds",
                                                "drop": false,
                                                "allowrate": false,
                                                "outputs": 1,
                                                "x": 810,
                                                "y": 700,
                                                "wires": [
                                                    [
                                                        "a258cc2e98284972"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "18138896535a8b98",
                                                "type": "delay",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "100ms",
                                                "pauseType": "delay",
                                                "timeout": "100",
                                                "timeoutUnits": "milliseconds",
                                                "rate": "1",
                                                "nbRateUnits": "1",
                                                "rateUnits": "second",
                                                "randomFirst": "1",
                                                "randomLast": "5",
                                                "randomUnits": "seconds",
                                                "drop": false,
                                                "allowrate": false,
                                                "outputs": 1,
                                                "x": 810,
                                                "y": 460,
                                                "wires": [
                                                    [
                                                        "202c49953d235813"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "a54734800b81342e",
                                                "type": "change",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "Küche",
                                                "rules": [
                                                    {
                                                        "t": "change",
                                                        "p": "payload",
                                                        "pt": "msg",
                                                        "from": "1002",
                                                        "fromt": "str",
                                                        "to": "Küche",
                                                        "tot": "str"
                                                    },
                                                    {
                                                        "t": "change",
                                                        "p": "payload",
                                                        "pt": "msg",
                                                        "from": "true",
                                                        "fromt": "bool",
                                                        "to": "Küche eingeschaltet",
                                                        "tot": "str"
                                                    },
                                                    {
                                                        "t": "change",
                                                        "p": "payload",
                                                        "pt": "msg",
                                                        "from": "false",
                                                        "fromt": "bool",
                                                        "to": "Küche ausgeschaltet",
                                                        "tot": "str"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 1290,
                                                "y": 420,
                                                "wires": [
                                                    [
                                                        "98ee3d8530b8677f"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "cc4b3f317dc6949d",
                                                "type": "trigger",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "2000/2002",
                                                "op1": "2000",
                                                "op2": "2002",
                                                "op1type": "str",
                                                "op2type": "str",
                                                "duration": "200",
                                                "extend": false,
                                                "overrideDelay": false,
                                                "units": "ms",
                                                "reset": "",
                                                "bytopic": "all",
                                                "topic": "topic",
                                                "outputs": 1,
                                                "x": 350,
                                                "y": 680,
                                                "wires": [
                                                    [
                                                        "492203889ad083cc"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "58080c269d40839f",
                                                "type": "trigger",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "3000/3002",
                                                "op1": "3000",
                                                "op2": "3002",
                                                "op1type": "str",
                                                "op2type": "str",
                                                "duration": "200",
                                                "extend": false,
                                                "overrideDelay": false,
                                                "units": "ms",
                                                "reset": "",
                                                "bytopic": "all",
                                                "topic": "topic",
                                                "outputs": 1,
                                                "x": 350,
                                                "y": 720,
                                                "wires": [
                                                    [
                                                        "492203889ad083cc"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "7dbf8e1e7cc0c58b",
                                                "type": "inject",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "",
                                                "props": [
                                                    {
                                                        "p": "payload"
                                                    },
                                                    {
                                                        "p": "topic",
                                                        "vt": "str"
                                                    }
                                                ],
                                                "repeat": "",
                                                "crontab": "",
                                                "once": false,
                                                "onceDelay": 0.1,
                                                "topic": "",
                                                "payload": "true",
                                                "payloadType": "str",
                                                "x": 210,
                                                "y": 680,
                                                "wires": [
                                                    [
                                                        "cc4b3f317dc6949d"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "56783e9b03496a6b",
                                                "type": "inject",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "",
                                                "props": [
                                                    {
                                                        "p": "payload"
                                                    },
                                                    {
                                                        "p": "topic",
                                                        "vt": "str"
                                                    }
                                                ],
                                                "repeat": "",
                                                "crontab": "",
                                                "once": false,
                                                "onceDelay": 0.1,
                                                "topic": "",
                                                "payload": "true",
                                                "payloadType": "str",
                                                "x": 210,
                                                "y": 720,
                                                "wires": [
                                                    [
                                                        "58080c269d40839f"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "e2b5712b17f86c31",
                                                "type": "trigger",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "4000/4002",
                                                "op1": "4000",
                                                "op2": "4002",
                                                "op1type": "str",
                                                "op2type": "str",
                                                "duration": "200",
                                                "extend": false,
                                                "overrideDelay": false,
                                                "units": "ms",
                                                "reset": "",
                                                "bytopic": "all",
                                                "topic": "topic",
                                                "outputs": 1,
                                                "x": 350,
                                                "y": 760,
                                                "wires": [
                                                    [
                                                        "492203889ad083cc"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "60a4fa746191a149",
                                                "type": "inject",
                                                "z": "f40fbc4eb5ac4f7a",
                                                "name": "",
                                                "props": [
                                                    {
                                                        "p": "payload"
                                                    },
                                                    {
                                                        "p": "topic",
                                                        "vt": "str"
                                                    }
                                                ],
                                                "repeat": "",
                                                "crontab": "",
                                                "once": false,
                                                "onceDelay": 0.1,
                                                "topic": "",
                                                "payload": "true",
                                                "payloadType": "str",
                                                "x": 210,
                                                "y": 760,
                                                "wires": [
                                                    [
                                                        "e2b5712b17f86c31"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "cbd54dbabf6f65be",
                                                "type": "hue-bridge",
                                                "name": "Hue GordonX",
                                                "bridge": "192.168.0.8",
                                                "key": "SlfyXwpcaEvRN0d1DU2JrrOlwrm9Debhhm9A4E-d",
                                                "worker": "10",
                                                "autoupdates": true,
                                                "disableupdates": false
                                            }
                                        ]
                                        


                                        Screenshot 2025-06-14 172044.png

                                        So funktioniert die Steuerung von dir prima nur muss diese in die standard schalter schaltung integriert werden.

                                        [
                                            {
                                                "id": "a42b83181f07f8d0",
                                                "type": "tab",
                                                "label": "Flow 8",
                                                "disabled": false,
                                                "info": "",
                                                "env": []
                                            },
                                            {
                                                "id": "d1f2c8393ea7f683",
                                                "type": "debug",
                                                "z": "a42b83181f07f8d0",
                                                "name": "debug 3",
                                                "active": true,
                                                "tosidebar": true,
                                                "console": false,
                                                "tostatus": false,
                                                "complete": "true",
                                                "targetType": "full",
                                                "statusVal": "",
                                                "statusType": "auto",
                                                "x": 1160,
                                                "y": 520,
                                                "wires": []
                                            },
                                            {
                                                "id": "8bf1e5067a6f0ad2",
                                                "type": "delay",
                                                "z": "a42b83181f07f8d0",
                                                "name": "verz. 1s",
                                                "pauseType": "delay",
                                                "timeout": "1",
                                                "timeoutUnits": "seconds",
                                                "rate": "1",
                                                "nbRateUnits": "1",
                                                "rateUnits": "second",
                                                "randomFirst": "1",
                                                "randomLast": "5",
                                                "randomUnits": "seconds",
                                                "drop": false,
                                                "allowrate": false,
                                                "outputs": 1,
                                                "x": 360,
                                                "y": 480,
                                                "wires": [
                                                    [
                                                        "a9f9b30b4f8999d0"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "a9f9b30b4f8999d0",
                                                "type": "change",
                                                "z": "a42b83181f07f8d0",
                                                "name": "motion:false",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "payload.motion",
                                                        "pt": "msg",
                                                        "to": "false",
                                                        "tot": "bool"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 510,
                                                "y": 480,
                                                "wires": [
                                                    [
                                                        "b0410acfcad1b37e"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "7a509a8587332f14",
                                                "type": "switch",
                                                "z": "a42b83181f07f8d0",
                                                "name": "Schalter",
                                                "property": "stopp",
                                                "propertyType": "flow",
                                                "rules": [
                                                    {
                                                        "t": "true"
                                                    },
                                                    {
                                                        "t": "false"
                                                    }
                                                ],
                                                "checkall": "true",
                                                "repair": false,
                                                "outputs": 2,
                                                "x": 1060,
                                                "y": 440,
                                                "wires": [
                                                    [],
                                                    [
                                                        "4d146d05efbc5d35"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "c1952bc66da5a348",
                                                "type": "timeouttrigger",
                                                "z": "a42b83181f07f8d0",
                                                "OnTimeoutType": "bool",
                                                "OnTimeoutVal": "false",
                                                "duration": "3",
                                                "units": "s",
                                                "passthrough": true,
                                                "sendTimeoutValue": "once",
                                                "interval": "",
                                                "IntervalUnits": "s",
                                                "name": "",
                                                "x": 1310,
                                                "y": 440,
                                                "wires": [
                                                    [
                                                        "550905a564f09176"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "6adb99e531920623",
                                                "type": "change",
                                                "z": "a42b83181f07f8d0",
                                                "name": "Motion",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "payload",
                                                        "pt": "msg",
                                                        "to": "payload.motion",
                                                        "tot": "msg"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 790,
                                                "y": 440,
                                                "wires": [
                                                    [
                                                        "9f0c88dad82d8633"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "9f83e7917ef2d8e2",
                                                "type": "comment",
                                                "z": "a42b83181f07f8d0",
                                                "name": "<< Bewegungsmelder Simulator  Beginn>>",
                                                "info": "",
                                                "x": 180,
                                                "y": 380,
                                                "wires": []
                                            },
                                            {
                                                "id": "302a07cea50da337",
                                                "type": "timeouttrigger",
                                                "z": "a42b83181f07f8d0",
                                                "OnTimeoutType": "bool",
                                                "OnTimeoutVal": "false",
                                                "duration": "45",
                                                "units": "s",
                                                "passthrough": true,
                                                "sendTimeoutValue": "once",
                                                "interval": "",
                                                "IntervalUnits": "s",
                                                "name": "",
                                                "x": 550,
                                                "y": 600,
                                                "wires": [
                                                    [
                                                        "2871643160dfcc7c",
                                                        "550905a564f09176"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "bd795708de32c118",
                                                "type": "change",
                                                "z": "a42b83181f07f8d0",
                                                "name": "",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "payload",
                                                        "pt": "msg",
                                                        "to": "true",
                                                        "tot": "bool"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 390,
                                                "y": 600,
                                                "wires": [
                                                    [
                                                        "302a07cea50da337"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "d1051390faa881a3",
                                                "type": "switch",
                                                "z": "a42b83181f07f8d0",
                                                "name": "1000?",
                                                "property": "payload",
                                                "propertyType": "msg",
                                                "rules": [
                                                    {
                                                        "t": "eq",
                                                        "v": "1000",
                                                        "vt": "num"
                                                    },
                                                    {
                                                        "t": "eq",
                                                        "v": "",
                                                        "vt": "num"
                                                    }
                                                ],
                                                "checkall": "true",
                                                "repair": false,
                                                "outputs": 2,
                                                "x": 210,
                                                "y": 620,
                                                "wires": [
                                                    [
                                                        "bd795708de32c118",
                                                        "32b9213c2fe970b0"
                                                    ],
                                                    []
                                                ]
                                            },
                                            {
                                                "id": "4d146d05efbc5d35",
                                                "type": "switch",
                                                "z": "a42b83181f07f8d0",
                                                "name": "Robi",
                                                "property": "BWM",
                                                "propertyType": "flow",
                                                "rules": [
                                                    {
                                                        "t": "true"
                                                    },
                                                    {
                                                        "t": "false"
                                                    }
                                                ],
                                                "checkall": "true",
                                                "repair": false,
                                                "outputs": 2,
                                                "x": 1190,
                                                "y": 440,
                                                "wires": [
                                                    [
                                                        "c1952bc66da5a348"
                                                    ],
                                                    []
                                                ]
                                            },
                                            {
                                                "id": "32b9213c2fe970b0",
                                                "type": "change",
                                                "z": "a42b83181f07f8d0",
                                                "name": "",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "stopp",
                                                        "pt": "flow",
                                                        "to": "true",
                                                        "tot": "bool"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 380,
                                                "y": 640,
                                                "wires": [
                                                    []
                                                ]
                                            },
                                            {
                                                "id": "0439088d7ec73749",
                                                "type": "change",
                                                "z": "a42b83181f07f8d0",
                                                "name": "llöscheflow.stopp",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "stopp",
                                                        "pt": "flow",
                                                        "to": "false",
                                                        "tot": "bool"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 830,
                                                "y": 640,
                                                "wires": [
                                                    []
                                                ]
                                            },
                                            {
                                                "id": "2871643160dfcc7c",
                                                "type": "switch",
                                                "z": "a42b83181f07f8d0",
                                                "name": "",
                                                "property": "payload",
                                                "propertyType": "msg",
                                                "rules": [
                                                    {
                                                        "t": "eq",
                                                        "v": "1000",
                                                        "vt": "num"
                                                    },
                                                    {
                                                        "t": "eq",
                                                        "v": "",
                                                        "vt": "num"
                                                    }
                                                ],
                                                "checkall": "true",
                                                "repair": false,
                                                "outputs": 2,
                                                "x": 670,
                                                "y": 620,
                                                "wires": [
                                                    [],
                                                    [
                                                        "0439088d7ec73749"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "550905a564f09176",
                                                "type": "function",
                                                "z": "a42b83181f07f8d0",
                                                "name": "Variablen Ini + Ausgabe",
                                                "func": "node.status({ text: msg.payload });\n\nreturn msg;",
                                                "outputs": 1,
                                                "timeout": 0,
                                                "noerr": 0,
                                                "initialize": "// Der Code hier wird ausgeführt,\n// wenn der Node gestartet wird\nflow.set(\"stopp\", false);\nflow.set(\"BWM\", true);\n",
                                                "finalize": "",
                                                "libs": [],
                                                "x": 910,
                                                "y": 560,
                                                "wires": [
                                                    [
                                                        "d1f2c8393ea7f683",
                                                        "e2721e4056e942e3"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "d7bd1efc606cfcad",
                                                "type": "ioBroker in",
                                                "z": "a42b83181f07f8d0",
                                                "name": "Robi",
                                                "attrname": "payload",
                                                "topic": "0_userdata.0.GordonX-Home.0.Test_Status_Robi",
                                                "payloadType": "value",
                                                "onlyack": "",
                                                "func": "all",
                                                "gap": "",
                                                "fireOnStart": "false",
                                                "outFormat": "MQTT",
                                                "x": 90,
                                                "y": 720,
                                                "wires": [
                                                    [
                                                        "b2f36db79c165583"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "b0410acfcad1b37e",
                                                "type": "function",
                                                "z": "a42b83181f07f8d0",
                                                "name": "Out BWM",
                                                "func": "\nreturn msg;",
                                                "outputs": 1,
                                                "timeout": 0,
                                                "noerr": 0,
                                                "initialize": "",
                                                "finalize": "",
                                                "libs": [],
                                                "x": 660,
                                                "y": 440,
                                                "wires": [
                                                    [
                                                        "6adb99e531920623"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "e2721e4056e942e3",
                                                "type": "ioBroker out",
                                                "z": "a42b83181f07f8d0",
                                                "name": "ioBroker Lampe",
                                                "topic": "0_userdata.0.GordonX-Home.0.Test_Gerät",
                                                "ack": "false",
                                                "autoCreate": "false",
                                                "stateName": "",
                                                "role": "",
                                                "payloadType": "",
                                                "readonly": "",
                                                "stateUnit": "",
                                                "stateMin": "",
                                                "stateMax": "",
                                                "x": 1160,
                                                "y": 560,
                                                "wires": []
                                            },
                                            {
                                                "id": "7cfd7f7fba2e2d7a",
                                                "type": "ioBroker in",
                                                "z": "a42b83181f07f8d0",
                                                "name": "KüSchalter",
                                                "attrname": "payload",
                                                "topic": "hue.0.Hue_GordonX.Küche_Schalter.buttonevent",
                                                "payloadType": "value",
                                                "onlyack": "",
                                                "func": "all",
                                                "gap": "",
                                                "fireOnStart": "false",
                                                "outFormat": "MQTT",
                                                "x": 80,
                                                "y": 620,
                                                "wires": [
                                                    [
                                                        "d1051390faa881a3"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "b2f36db79c165583",
                                                "type": "switch",
                                                "z": "a42b83181f07f8d0",
                                                "name": "",
                                                "property": "payload",
                                                "propertyType": "msg",
                                                "rules": [
                                                    {
                                                        "t": "eq",
                                                        "v": "5",
                                                        "vt": "num"
                                                    },
                                                    {
                                                        "t": "neq",
                                                        "v": "5",
                                                        "vt": "num"
                                                    }
                                                ],
                                                "checkall": "true",
                                                "repair": false,
                                                "outputs": 2,
                                                "x": 290,
                                                "y": 720,
                                                "wires": [
                                                    [
                                                        "407e2e376c0ee370"
                                                    ],
                                                    [
                                                        "5061312f43733426"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "407e2e376c0ee370",
                                                "type": "change",
                                                "z": "a42b83181f07f8d0",
                                                "name": "setze Flow.BWM",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "BWM",
                                                        "pt": "flow",
                                                        "to": "true",
                                                        "tot": "bool"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 470,
                                                "y": 700,
                                                "wires": [
                                                    [
                                                        "0650a4ab7aec40a1"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "5061312f43733426",
                                                "type": "change",
                                                "z": "a42b83181f07f8d0",
                                                "name": "lösche Flow.BWM",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "BWM",
                                                        "pt": "flow",
                                                        "to": "false",
                                                        "tot": "bool"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 470,
                                                "y": 740,
                                                "wires": [
                                                    [
                                                        "0650a4ab7aec40a1"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "879b9060efcd163b",
                                                "type": "comment",
                                                "z": "a42b83181f07f8d0",
                                                "name": "evtl. gesperrt durch??",
                                                "info": "",
                                                "x": 900,
                                                "y": 380,
                                                "wires": []
                                            },
                                            {
                                                "id": "9f0c88dad82d8633",
                                                "type": "switch",
                                                "z": "a42b83181f07f8d0",
                                                "name": "nur true",
                                                "property": "payload",
                                                "propertyType": "msg",
                                                "rules": [
                                                    {
                                                        "t": "true"
                                                    },
                                                    {
                                                        "t": "false"
                                                    }
                                                ],
                                                "checkall": "true",
                                                "repair": false,
                                                "outputs": 2,
                                                "x": 920,
                                                "y": 440,
                                                "wires": [
                                                    [
                                                        "7a509a8587332f14"
                                                    ],
                                                    []
                                                ]
                                            },
                                            {
                                                "id": "0650a4ab7aec40a1",
                                                "type": "debug",
                                                "z": "a42b83181f07f8d0",
                                                "name": "debug 4",
                                                "active": true,
                                                "tosidebar": true,
                                                "console": false,
                                                "tostatus": false,
                                                "complete": "true",
                                                "targetType": "full",
                                                "statusVal": "",
                                                "statusType": "auto",
                                                "x": 640,
                                                "y": 720,
                                                "wires": []
                                            },
                                            {
                                                "id": "f144b6f8b998c7f5",
                                                "type": "comment",
                                                "z": "a42b83181f07f8d0",
                                                "name": "<< Bewegungsmelder Simulator Ende >>",
                                                "info": "",
                                                "x": 180,
                                                "y": 560,
                                                "wires": []
                                            },
                                            {
                                                "id": "f74d0c3a0bc11bfd",
                                                "type": "hue-bridge-node",
                                                "z": "a42b83181f07f8d0",
                                                "name": "Hue",
                                                "bridge": "cbd54dbabf6f65be",
                                                "autoupdates": true,
                                                "skipglobalevents": false,
                                                "initevents": false,
                                                "x": 90,
                                                "y": 440,
                                                "wires": [
                                                    [
                                                        "b6564cd395bbd771"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "b6564cd395bbd771",
                                                "type": "hue-motion",
                                                "z": "a42b83181f07f8d0",
                                                "name": "KüMo",
                                                "bridge": "cbd54dbabf6f65be",
                                                "sensorid": "7529c8d8-9f5c-451d-ba56-70cacda84564",
                                                "skipevents": false,
                                                "initevents": false,
                                                "x": 230,
                                                "y": 440,
                                                "wires": [
                                                    [
                                                        "b0410acfcad1b37e",
                                                        "8bf1e5067a6f0ad2"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "cbd54dbabf6f65be",
                                                "type": "hue-bridge",
                                                "name": "Hue GordonX",
                                                "bridge": "192.168.0.8",
                                                "key": "SlfyXwpcaEvRN0d1DU2JrrOlwrm9Debhhm9A4E-d",
                                                "worker": "10",
                                                "autoupdates": true,
                                                "disableupdates": false
                                            }
                                        ]
                                        


                                        Screenshot 2025-06-14 172027.png

                                        Da der HUE Schalter nur befehle sendet wie auf Kanal 1 für die Küche
                                        1000 und 100ms später 1002 muss die Steuerung nun die virtuellen schalter haben um mit einem klick das Licht ein und mit einem weiteren klick die lampen wieder ausschaltet. damit muss dann auch die 45 Sekunden (45min.) Schaltung deaktiviert werden.
                                        Wenn ich das integriere läuft der 45sek. Timer weiter.

                                        P Offline
                                        P Offline
                                        peterfido
                                        schrieb am zuletzt editiert von
                                        #19

                                        @aphofis mit myTimeout könnte das so aussehen.

                                        Mehr mag ich auf dem Mäusekino nicht probieren, zumal Samsung oder Google die Stiftbedienung seit einigen Updates vermurkst haben.

                                        [
                                            {
                                                "id": "a42b83181f07f8d0",
                                                "type": "tab",
                                                "label": "Flow 8",
                                                "disabled": false,
                                                "info": "",
                                                "env": []
                                            },
                                            {
                                                "id": "1c8c0acba7c2bff2",
                                                "type": "inject",
                                                "z": "a42b83181f07f8d0",
                                                "name": "Test Bewegung",
                                                "props": [
                                                    {
                                                        "p": "payload.motion",
                                                        "v": "true",
                                                        "vt": "bool"
                                                    },
                                                    {
                                                        "p": "topic",
                                                        "vt": "str"
                                                    }
                                                ],
                                                "repeat": "",
                                                "crontab": "",
                                                "once": false,
                                                "onceDelay": 0.1,
                                                "topic": "Bewegungsmelder",
                                                "x": 120,
                                                "y": 60,
                                                "wires": [
                                                    [
                                                        "8bf1e5067a6f0ad2",
                                                        "b0410acfcad1b37e"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "d1f2c8393ea7f683",
                                                "type": "debug",
                                                "z": "a42b83181f07f8d0",
                                                "name": "debug 3",
                                                "active": false,
                                                "tosidebar": true,
                                                "console": false,
                                                "tostatus": false,
                                                "complete": "true",
                                                "targetType": "full",
                                                "statusVal": "",
                                                "statusType": "auto",
                                                "x": 1640,
                                                "y": 180,
                                                "wires": []
                                            },
                                            {
                                                "id": "8bf1e5067a6f0ad2",
                                                "type": "delay",
                                                "z": "a42b83181f07f8d0",
                                                "name": "",
                                                "pauseType": "delay",
                                                "timeout": "1",
                                                "timeoutUnits": "seconds",
                                                "rate": "1",
                                                "nbRateUnits": "1",
                                                "rateUnits": "second",
                                                "randomFirst": "1",
                                                "randomLast": "5",
                                                "randomUnits": "seconds",
                                                "drop": false,
                                                "allowrate": false,
                                                "outputs": 1,
                                                "x": 120,
                                                "y": 120,
                                                "wires": [
                                                    [
                                                        "a9f9b30b4f8999d0"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "a9f9b30b4f8999d0",
                                                "type": "change",
                                                "z": "a42b83181f07f8d0",
                                                "name": "motion:false",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "payload.motion",
                                                        "pt": "msg",
                                                        "to": "false",
                                                        "tot": "bool"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 170,
                                                "y": 160,
                                                "wires": [
                                                    [
                                                        "b0410acfcad1b37e"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "7a509a8587332f14",
                                                "type": "switch",
                                                "z": "a42b83181f07f8d0",
                                                "name": "Schalter",
                                                "property": "stopp",
                                                "propertyType": "flow",
                                                "rules": [
                                                    {
                                                        "t": "true"
                                                    },
                                                    {
                                                        "t": "false"
                                                    }
                                                ],
                                                "checkall": "true",
                                                "repair": false,
                                                "outputs": 2,
                                                "x": 820,
                                                "y": 80,
                                                "wires": [
                                                    [],
                                                    [
                                                        "4d146d05efbc5d35"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "6adb99e531920623",
                                                "type": "change",
                                                "z": "a42b83181f07f8d0",
                                                "name": "Motion",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "payload",
                                                        "pt": "msg",
                                                        "to": "payload.motion",
                                                        "tot": "msg"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 500,
                                                "y": 60,
                                                "wires": [
                                                    [
                                                        "9f0c88dad82d8633"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "9f83e7917ef2d8e2",
                                                "type": "comment",
                                                "z": "a42b83181f07f8d0",
                                                "name": "<< Bewegungsmelder |||||||||||||| Simulator  Beginn>>",
                                                "info": "",
                                                "x": 220,
                                                "y": 20,
                                                "wires": []
                                            },
                                            {
                                                "id": "0762e0ad3da83f0d",
                                                "type": "inject",
                                                "z": "a42b83181f07f8d0",
                                                "name": "Test 1000",
                                                "props": [
                                                    {
                                                        "p": "payload"
                                                    },
                                                    {
                                                        "p": "topic",
                                                        "vt": "str"
                                                    }
                                                ],
                                                "repeat": "",
                                                "crontab": "",
                                                "once": false,
                                                "onceDelay": 0.1,
                                                "topic": "Schalter_1000",
                                                "payload": "1000",
                                                "payloadType": "num",
                                                "x": 120,
                                                "y": 280,
                                                "wires": [
                                                    [
                                                        "d1051390faa881a3"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "bd795708de32c118",
                                                "type": "change",
                                                "z": "a42b83181f07f8d0",
                                                "name": "",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "payload",
                                                        "pt": "msg",
                                                        "to": "on",
                                                        "tot": "str"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 570,
                                                "y": 200,
                                                "wires": [
                                                    [
                                                        "a6a847c390a23b20"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "d1051390faa881a3",
                                                "type": "switch",
                                                "z": "a42b83181f07f8d0",
                                                "name": "1000?",
                                                "property": "payload",
                                                "propertyType": "msg",
                                                "rules": [
                                                    {
                                                        "t": "eq",
                                                        "v": "1000",
                                                        "vt": "num"
                                                    },
                                                    {
                                                        "t": "eq",
                                                        "v": "",
                                                        "vt": "num"
                                                    }
                                                ],
                                                "checkall": "true",
                                                "repair": false,
                                                "outputs": 2,
                                                "x": 290,
                                                "y": 300,
                                                "wires": [
                                                    [
                                                        "91fb51e7bf3d65f7"
                                                    ],
                                                    []
                                                ]
                                            },
                                            {
                                                "id": "4d146d05efbc5d35",
                                                "type": "switch",
                                                "z": "a42b83181f07f8d0",
                                                "name": "Robi",
                                                "property": "BWM",
                                                "propertyType": "flow",
                                                "rules": [
                                                    {
                                                        "t": "true"
                                                    },
                                                    {
                                                        "t": "false"
                                                    }
                                                ],
                                                "checkall": "true",
                                                "repair": false,
                                                "outputs": 2,
                                                "x": 950,
                                                "y": 80,
                                                "wires": [
                                                    [
                                                        "9cf97a8724bea369"
                                                    ],
                                                    []
                                                ]
                                            },
                                            {
                                                "id": "32b9213c2fe970b0",
                                                "type": "change",
                                                "z": "a42b83181f07f8d0",
                                                "name": "",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "stopp",
                                                        "pt": "flow",
                                                        "to": "true",
                                                        "tot": "bool"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 820,
                                                "y": 300,
                                                "wires": [
                                                    []
                                                ]
                                            },
                                            {
                                                "id": "0439088d7ec73749",
                                                "type": "change",
                                                "z": "a42b83181f07f8d0",
                                                "name": "löscheflow.stopp",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "stopp",
                                                        "pt": "flow",
                                                        "to": "false",
                                                        "tot": "bool"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 1330,
                                                "y": 340,
                                                "wires": [
                                                    []
                                                ]
                                            },
                                            {
                                                "id": "550905a564f09176",
                                                "type": "function",
                                                "z": "a42b83181f07f8d0",
                                                "name": "Variablen Ini + Ausgabe",
                                                "func": "node.status({ text: msg.payload });\n\nreturn msg;",
                                                "outputs": 1,
                                                "timeout": 0,
                                                "noerr": 0,
                                                "initialize": "// Der Code hier wird ausgeführt,\n// wenn der Node gestartet wird\nflow.set(\"stopp\", false);\nflow.set(\"BWM\", true);\n",
                                                "finalize": "",
                                                "libs": [],
                                                "x": 1490,
                                                "y": 260,
                                                "wires": [
                                                    [
                                                        "d1f2c8393ea7f683",
                                                        "e2721e4056e942e3"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "d7bd1efc606cfcad",
                                                "type": "ioBroker in",
                                                "z": "a42b83181f07f8d0",
                                                "name": "ioB Robi",
                                                "attrname": "payload",
                                                "topic": "*",
                                                "payloadType": "value",
                                                "onlyack": "",
                                                "func": "all",
                                                "gap": "",
                                                "fireOnStart": "false",
                                                "outFormat": "MQTT",
                                                "x": 120,
                                                "y": 560,
                                                "wires": [
                                                    [
                                                        "b2f36db79c165583"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "b0410acfcad1b37e",
                                                "type": "function",
                                                "z": "a42b83181f07f8d0",
                                                "name": "Ausgang BWM",
                                                "func": "\nreturn msg;",
                                                "outputs": 1,
                                                "timeout": 0,
                                                "noerr": 0,
                                                "initialize": "",
                                                "finalize": "",
                                                "libs": [],
                                                "x": 320,
                                                "y": 60,
                                                "wires": [
                                                    [
                                                        "6adb99e531920623"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "e2721e4056e942e3",
                                                "type": "ioBroker out",
                                                "z": "a42b83181f07f8d0",
                                                "name": "ioBroker Lampe",
                                                "topic": "0_userdata.0.tests.Lampekueche",
                                                "ack": "false",
                                                "autoCreate": "true",
                                                "stateName": "Lampe_Kueche",
                                                "role": "light",
                                                "payloadType": "boolean",
                                                "readonly": "false",
                                                "stateUnit": "",
                                                "stateMin": "",
                                                "stateMax": "",
                                                "x": 1720,
                                                "y": 300,
                                                "wires": []
                                            },
                                            {
                                                "id": "7cfd7f7fba2e2d7a",
                                                "type": "ioBroker in",
                                                "z": "a42b83181f07f8d0",
                                                "name": "ioB Schalter",
                                                "attrname": "payload",
                                                "topic": "*",
                                                "payloadType": "value",
                                                "onlyack": "",
                                                "func": "all",
                                                "gap": "",
                                                "fireOnStart": "false",
                                                "outFormat": "MQTT",
                                                "x": 110,
                                                "y": 320,
                                                "wires": [
                                                    [
                                                        "d1051390faa881a3"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "91ef09f531fcc27b",
                                                "type": "inject",
                                                "z": "a42b83181f07f8d0",
                                                "name": "Test Robi = 5",
                                                "props": [
                                                    {
                                                        "p": "payload"
                                                    },
                                                    {
                                                        "p": "topic",
                                                        "vt": "str"
                                                    }
                                                ],
                                                "repeat": "",
                                                "crontab": "",
                                                "once": false,
                                                "onceDelay": 0.1,
                                                "topic": "",
                                                "payload": "5",
                                                "payloadType": "num",
                                                "x": 130,
                                                "y": 440,
                                                "wires": [
                                                    [
                                                        "b2f36db79c165583"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "6db2cc2617ad5707",
                                                "type": "inject",
                                                "z": "a42b83181f07f8d0",
                                                "name": "Test Robi <> 5",
                                                "props": [
                                                    {
                                                        "p": "payload"
                                                    },
                                                    {
                                                        "p": "topic",
                                                        "vt": "str"
                                                    }
                                                ],
                                                "repeat": "",
                                                "crontab": "",
                                                "once": false,
                                                "onceDelay": 0.1,
                                                "topic": "",
                                                "payload": "6",
                                                "payloadType": "num",
                                                "x": 130,
                                                "y": 500,
                                                "wires": [
                                                    [
                                                        "b2f36db79c165583"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "b2f36db79c165583",
                                                "type": "switch",
                                                "z": "a42b83181f07f8d0",
                                                "name": "5?",
                                                "property": "payload",
                                                "propertyType": "msg",
                                                "rules": [
                                                    {
                                                        "t": "eq",
                                                        "v": "5",
                                                        "vt": "num"
                                                    },
                                                    {
                                                        "t": "neq",
                                                        "v": "5",
                                                        "vt": "num"
                                                    }
                                                ],
                                                "checkall": "true",
                                                "repair": false,
                                                "outputs": 2,
                                                "x": 310,
                                                "y": 500,
                                                "wires": [
                                                    [
                                                        "407e2e376c0ee370"
                                                    ],
                                                    [
                                                        "5061312f43733426"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "407e2e376c0ee370",
                                                "type": "change",
                                                "z": "a42b83181f07f8d0",
                                                "name": "setze Flow.BWM",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "BWM",
                                                        "pt": "flow",
                                                        "to": "true",
                                                        "tot": "bool"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 680,
                                                "y": 480,
                                                "wires": [
                                                    [
                                                        "0650a4ab7aec40a1"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "5061312f43733426",
                                                "type": "change",
                                                "z": "a42b83181f07f8d0",
                                                "name": "lösche Flow.BWM",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "BWM",
                                                        "pt": "flow",
                                                        "to": "false",
                                                        "tot": "bool"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 690,
                                                "y": 520,
                                                "wires": [
                                                    [
                                                        "0650a4ab7aec40a1"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "879b9060efcd163b",
                                                "type": "comment",
                                                "z": "a42b83181f07f8d0",
                                                "name": "evtl. gesperrt durch??",
                                                "info": "",
                                                "x": 880,
                                                "y": 40,
                                                "wires": []
                                            },
                                            {
                                                "id": "9f0c88dad82d8633",
                                                "type": "switch",
                                                "z": "a42b83181f07f8d0",
                                                "name": "nur true",
                                                "property": "payload",
                                                "propertyType": "msg",
                                                "rules": [
                                                    {
                                                        "t": "true"
                                                    },
                                                    {
                                                        "t": "false"
                                                    }
                                                ],
                                                "checkall": "true",
                                                "repair": false,
                                                "outputs": 2,
                                                "x": 640,
                                                "y": 80,
                                                "wires": [
                                                    [
                                                        "7a509a8587332f14"
                                                    ],
                                                    []
                                                ]
                                            },
                                            {
                                                "id": "0650a4ab7aec40a1",
                                                "type": "debug",
                                                "z": "a42b83181f07f8d0",
                                                "name": "debug 4",
                                                "active": false,
                                                "tosidebar": true,
                                                "console": false,
                                                "tostatus": false,
                                                "complete": "true",
                                                "targetType": "full",
                                                "statusVal": "",
                                                "statusType": "auto",
                                                "x": 900,
                                                "y": 500,
                                                "wires": []
                                            },
                                            {
                                                "id": "f144b6f8b998c7f5",
                                                "type": "comment",
                                                "z": "a42b83181f07f8d0",
                                                "name": "<< Bewegungsmelder |||||||||||||| Simulator Ende >>",
                                                "info": "",
                                                "x": 220,
                                                "y": 220,
                                                "wires": []
                                            },
                                            {
                                                "id": "a6a847c390a23b20",
                                                "type": "mytimeout",
                                                "z": "a42b83181f07f8d0",
                                                "name": "45 sec",
                                                "outtopic": "",
                                                "outsafe": "on",
                                                "outwarning": "Warning",
                                                "outunsafe": "off",
                                                "warning": "5",
                                                "timer": "45",
                                                "debug": false,
                                                "ndebug": false,
                                                "ignoreCase": false,
                                                "repeat": false,
                                                "again": false,
                                                "x": 730,
                                                "y": 180,
                                                "wires": [
                                                    [
                                                        "25e12cdd5eeefe18"
                                                    ],
                                                    []
                                                ]
                                            },
                                            {
                                                "id": "442af76f7b9f1d0a",
                                                "type": "mytimeout",
                                                "z": "a42b83181f07f8d0",
                                                "name": "3 sec",
                                                "outtopic": "",
                                                "outsafe": "on",
                                                "outwarning": "Warning",
                                                "outunsafe": "off",
                                                "warning": "1",
                                                "timer": "3",
                                                "debug": false,
                                                "ndebug": false,
                                                "ignoreCase": false,
                                                "repeat": false,
                                                "again": false,
                                                "x": 1290,
                                                "y": 120,
                                                "wires": [
                                                    [
                                                        "01e10f79b058e94d"
                                                    ],
                                                    []
                                                ]
                                            },
                                            {
                                                "id": "25e12cdd5eeefe18",
                                                "type": "change",
                                                "z": "a42b83181f07f8d0",
                                                "name": "",
                                                "rules": [
                                                    {
                                                        "t": "change",
                                                        "p": "payload",
                                                        "pt": "msg",
                                                        "from": "on",
                                                        "fromt": "str",
                                                        "to": "true",
                                                        "tot": "bool"
                                                    },
                                                    {
                                                        "t": "change",
                                                        "p": "payload",
                                                        "pt": "msg",
                                                        "from": "off",
                                                        "fromt": "str",
                                                        "to": "false",
                                                        "tot": "bool"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 890,
                                                "y": 180,
                                                "wires": [
                                                    [
                                                        "d5e9baf2e985c341"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "d5e9baf2e985c341",
                                                "type": "switch",
                                                "z": "a42b83181f07f8d0",
                                                "name": "",
                                                "property": "payload",
                                                "propertyType": "msg",
                                                "rules": [
                                                    {
                                                        "t": "true"
                                                    },
                                                    {
                                                        "t": "false"
                                                    },
                                                    {
                                                        "t": "eq",
                                                        "v": "",
                                                        "vt": "str"
                                                    }
                                                ],
                                                "checkall": "true",
                                                "repair": false,
                                                "outputs": 3,
                                                "x": 1150,
                                                "y": 260,
                                                "wires": [
                                                    [
                                                        "550905a564f09176"
                                                    ],
                                                    [
                                                        "550905a564f09176",
                                                        "0439088d7ec73749"
                                                    ],
                                                    []
                                                ]
                                            },
                                            {
                                                "id": "d7c7e0bfb963466c",
                                                "type": "switch",
                                                "z": "a42b83181f07f8d0",
                                                "name": "",
                                                "property": "payload",
                                                "propertyType": "msg",
                                                "rules": [
                                                    {
                                                        "t": "true"
                                                    },
                                                    {
                                                        "t": "false"
                                                    },
                                                    {
                                                        "t": "eq",
                                                        "v": "",
                                                        "vt": "str"
                                                    }
                                                ],
                                                "checkall": "true",
                                                "repair": false,
                                                "outputs": 3,
                                                "x": 1550,
                                                "y": 40,
                                                "wires": [
                                                    [
                                                        "550905a564f09176"
                                                    ],
                                                    [
                                                        "550905a564f09176"
                                                    ],
                                                    []
                                                ]
                                            },
                                            {
                                                "id": "01e10f79b058e94d",
                                                "type": "change",
                                                "z": "a42b83181f07f8d0",
                                                "name": "",
                                                "rules": [
                                                    {
                                                        "t": "change",
                                                        "p": "payload",
                                                        "pt": "msg",
                                                        "from": "on",
                                                        "fromt": "str",
                                                        "to": "true",
                                                        "tot": "bool"
                                                    },
                                                    {
                                                        "t": "change",
                                                        "p": "payload",
                                                        "pt": "msg",
                                                        "from": "off",
                                                        "fromt": "str",
                                                        "to": "false",
                                                        "tot": "bool"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 1370,
                                                "y": 40,
                                                "wires": [
                                                    [
                                                        "d7c7e0bfb963466c"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "9cf97a8724bea369",
                                                "type": "change",
                                                "z": "a42b83181f07f8d0",
                                                "name": "",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "payload",
                                                        "pt": "msg",
                                                        "to": "on",
                                                        "tot": "str"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 1130,
                                                "y": 80,
                                                "wires": [
                                                    [
                                                        "442af76f7b9f1d0a"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "91fb51e7bf3d65f7",
                                                "type": "ioBroker get",
                                                "z": "a42b83181f07f8d0",
                                                "name": "Lampe ist?",
                                                "topic": "0_userdata.0.tests.Lampekueche",
                                                "attrname": "payload",
                                                "payloadType": "value",
                                                "errOnInvalidState": "nothing",
                                                "x": 430,
                                                "y": 300,
                                                "wires": [
                                                    [
                                                        "e1bc32d82926ab1a"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "e1bc32d82926ab1a",
                                                "type": "switch",
                                                "z": "a42b83181f07f8d0",
                                                "name": "",
                                                "property": "payload",
                                                "propertyType": "msg",
                                                "rules": [
                                                    {
                                                        "t": "false"
                                                    },
                                                    {
                                                        "t": "true"
                                                    }
                                                ],
                                                "checkall": "true",
                                                "repair": false,
                                                "outputs": 2,
                                                "x": 570,
                                                "y": 360,
                                                "wires": [
                                                    [
                                                        "32b9213c2fe970b0",
                                                        "bd795708de32c118"
                                                    ],
                                                    [
                                                        "407e2e376c0ee370",
                                                        "0439088d7ec73749",
                                                        "f8efa184517f5926",
                                                        "5ff36fd59f9b86a7"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "f8efa184517f5926",
                                                "type": "change",
                                                "z": "a42b83181f07f8d0",
                                                "name": "Alles auf Anfang",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "payload",
                                                        "pt": "msg",
                                                        "to": "false",
                                                        "tot": "bool"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 880,
                                                "y": 420,
                                                "wires": [
                                                    [
                                                        "550905a564f09176"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "5ff36fd59f9b86a7",
                                                "type": "change",
                                                "z": "a42b83181f07f8d0",
                                                "name": "stop",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "payload",
                                                        "pt": "msg",
                                                        "to": "stop",
                                                        "tot": "str"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 650,
                                                "y": 260,
                                                "wires": [
                                                    [
                                                        "a6a847c390a23b20",
                                                        "442af76f7b9f1d0a"
                                                    ]
                                                ]
                                            }
                                        ]
                                        

                                        Daher bitte selbst probieren und tüfteln, falls was nicht so läuft, wie gewollt.

                                        Gruß

                                        Peterfido


                                        Proxmox auf Intel NUC12WSHi5
                                        ioBroker: Debian (VM)
                                        CCU: Debmatic (VM)
                                        Influx: Debian (VM)
                                        Grafana: Debian (VM)
                                        eBus: Debian (VM)
                                        Zigbee: Debian (VM) mit zigbee2mqtt

                                        AphofisA 2 Antworten Letzte Antwort
                                        0
                                        • P peterfido

                                          @aphofis Das ist ein wichtige Info, die am Anfang der Aufgabenstellung gut gewesen wäre. Dann muss der Timeout Baustein gegen einen, welcher sich zurücksetzen lässt, ersetzt werden. z.B. myTimeout.

                                          Edit: Die 45 Minuten sind jetzt wofür?

                                          AphofisA Offline
                                          AphofisA Offline
                                          Aphofis
                                          schrieb am zuletzt editiert von
                                          #20

                                          @peterfido
                                          Also vielleicht mal die ganze Steuerung

                                          Philips Hue Schalter schaltet nur 1000/2000/3000/4000
                                          Dieses wird per virtuellen Schaltern realisiert
                                          Damit das überhaupt klappt mit an aus mit einem Befehl
                                          Sprich Schalter hat nicht true/false sondern nur 1000
                                          Wobei der Wert nach 200ms ca umschaltet auf 1002 was aber ignoriert wird.
                                          Die anderen drei Button werden für andere hue Lampen genutzt.
                                          Die Bewegungsmelder sollen die küchenbeleuchtung einschalten und nach 3 min. Ausschalten ist der Roboter unterwegs sprich nicht auf der ladestation sollen die BWM abgeschaltet werden. Wenn ich den Lichtschalter betätige soll dieser nach 45 min. Abgeschaltet werden sollte ich das Licht mal vergessen.
                                          Ist schon im Bad passiert und ist ja unnötig Strom Verbrauch. Weil wenn ich den Lichtschalter benutze soll das Licht schon an bleiben. Wäre nicht nötig wenn der BWM bei Wiederbewegung funktionieren würde
                                          Dazu muss denke ich aber die True/false Schaltung
                                          Träge gemacht werden. Dann würde die 45 min. Schaltung unnötig

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          943

                                          Online

                                          32.5k

                                          Benutzer

                                          81.8k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe