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

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

Community Forum

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

NEWS

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

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

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

2 Bewegungsmelder (Aqara) sollen einen Lampe schalten

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

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

    @mickym alles klar den muss man löschen!
    So ist es dann wohl wie gewollt
    Screenshot 2024-08-20 202552.png

    Nein wenn Du meinen Flow nimmst - NUR EINE Variable. Ich hatte doch in beiden Change Nodes Schalter.

    Vor der trigger Node ist der Schalter true und signalisiert, dass der Schalter betätigt oder aktiv ist. Sobald der trigger abgelaufen ist, wird die Eigenschaft Schalter.Bad auf false gesetzt und signalisiert, dass der Schalter nun nicht mehr als aktiv gilt.
    Soweit verstanden?

    Dann beschreibe mir bitte was passiert wie ich unten beschrieben habe.

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

    @mickym ja habe deinen Flow genommen.
    Habe die falschen objekte gelöscht ist nur noch Schalter.Bad

    mickymM AphofisA 2 Replies Last reply
    0
    • AphofisA Aphofis

      @mickym ja habe deinen Flow genommen.
      Habe die falschen objekte gelöscht ist nur noch Schalter.Bad

      mickymM Online
      mickymM Online
      mickym
      Most Active
      wrote on last edited by mickym
      #132

      @aphofis Gut - Können wir dann auf meinen Wunsch zurückkommen?

      Wenn Du den Flow korrigiert hast, dann beschreibe mir bitte mit Worten im Text, was passiert wenn Du den Schalter betätigst, das Licht einschaltest und dann nach 5 Minuten das Licht beim Rausgehen ausschaltest.

      Und dann beschreibe noch kurz was passiert, wenn Du den Lichtschalter einschaltest und dann nichts tust.

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

      1 Reply Last reply
      0
      • AphofisA Aphofis

        @mickym ja habe deinen Flow genommen.
        Habe die falschen objekte gelöscht ist nur noch Schalter.Bad

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

        @aphofis
        Wenn man den Lichtschalter betätigt, dann wird Schalter ~ Bad also dieser flow wird für 15 min. auf true gesetzt. Demnach halt der Lichtschalter. Nach diesen 15 min. wird schalter bad wieder auf false gesetzt und der Lichtschalter auf false
        dh. die flow wird für 15 min aktiv auf true gehalten danach ausgeschaltet

        mickymM 1 Reply Last reply
        0
        • AphofisA Aphofis

          @aphofis
          Wenn man den Lichtschalter betätigt, dann wird Schalter ~ Bad also dieser flow wird für 15 min. auf true gesetzt. Demnach halt der Lichtschalter. Nach diesen 15 min. wird schalter bad wieder auf false gesetzt und der Lichtschalter auf false
          dh. die flow wird für 15 min aktiv auf true gehalten danach ausgeschaltet

          mickymM Online
          mickymM Online
          mickym
          Most Active
          wrote on last edited by mickym
          #134

          @aphofis Na ja ist halt nicht exakt und das ist immer das Problem.

          5cc350d1-1b24-4516-9ac5-2a6ea18f7639-image.png

          Wenn der Datenpunkt Lichtschalter Bad, also durch den Schalter getriggert wird, dann wird die Nachricht sofort an den Datenpunkt Bad Decke weitergeleitet, also den Datenpunkt des Licht auf den Wert des Schalters gesetzt.

          Gleichzeitig setzt das Nachrichtenobjekt die Flowvariable Schalter.Bad auf true und triggert die trigger Node. Diese setzt, aber nur falls zwischenzeitlich nicht erneut ein Nachrichtenobjekt ankommt, das durch Betätigen des Lichtschalters erzeugt wird, nach 15 Minuten die Flowvariable Schalter.Bad auf false und gleichzeitig schaltet es mit der payload, die die trigger Node ja auf false gesetzt hat, das Licht auf false.

          wird schalter bad wieder auf false gesetzt und der Lichtschalter auf false

          Der Lichtschalter wird gar nicht gesetzt - das darf man auch nicht, da dieser nur durch deine Hardware gesetzt wird (auch wenn Du diese im Moment nur simulierst) und immer den Zustand des Schalters widerspiegelt.

          Merkst Du wie wichtig hier Genauigkeit ist?

          So nun musst Du noch im Bewegungsmelder Flow - der sich HOFFENTLICH im gleichen Flow befindet??? - anhand der Variablen die Signale des Bewegungsmelders durchlassen oder blockieren.

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

          1 Reply Last reply
          0
          • mickymM Online
            mickymM Online
            mickym
            Most Active
            wrote on last edited by mickym
            #135

            Wie weit bist Du? Bist Du noch da?

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

            AphofisA 1 Reply Last reply
            0
            • mickymM mickym

              Wie weit bist Du? Bist Du noch da?

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

              @mickym Sorry eingeschlafen.
              War ein anstrengender Tag.

              AphofisA 1 Reply Last reply
              0
              • AphofisA Aphofis

                @mickym Sorry eingeschlafen.
                War ein anstrengender Tag.

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

                @aphofis
                Also wie weit, ka ich dachte die Steuerung ist soweit fertig.
                oder fehlt noch was !?
                Screenshot 2024-08-21 193604.png

                [
                    {
                        "id": "1d761786cd03b6eb",
                        "type": "tab",
                        "label": "Flow 4",
                        "disabled": false,
                        "info": "",
                        "env": []
                    },
                    {
                        "id": "8ba39a421f5c3317",
                        "type": "junction",
                        "z": "1d761786cd03b6eb",
                        "x": 220,
                        "y": 210,
                        "wires": [
                            [
                                "6e55b108db47eaed",
                                "2b793d273b25a2f7"
                            ]
                        ]
                    },
                    {
                        "id": "825a34e2e6145b1c",
                        "type": "ioBroker in",
                        "z": "1d761786cd03b6eb",
                        "name": "",
                        "attrname": "payload",
                        "topic": "Lichtschalter Bad",
                        "payloadType": "object",
                        "onlyack": "",
                        "func": "all",
                        "gap": "",
                        "fireOnStart": "false",
                        "outFormat": "MQTT",
                        "x": 90,
                        "y": 210,
                        "wires": [
                            [
                                "8ba39a421f5c3317"
                            ]
                        ]
                    },
                    {
                        "id": "2b793d273b25a2f7",
                        "type": "ioBroker out",
                        "z": "1d761786cd03b6eb",
                        "name": "Bad Decke",
                        "topic": "tuya.0.bf78f027e5e33c3d76xrfe.1",
                        "ack": "false",
                        "autoCreate": "false",
                        "stateName": "",
                        "role": "",
                        "payloadType": "",
                        "readonly": "",
                        "stateUnit": "",
                        "stateMin": "",
                        "stateMax": "",
                        "x": 1030,
                        "y": 210,
                        "wires": []
                    },
                    {
                        "id": "50172abc4513c6cf",
                        "type": "debug",
                        "z": "1d761786cd03b6eb",
                        "name": "Bad Decke",
                        "active": true,
                        "tosidebar": true,
                        "console": false,
                        "tostatus": false,
                        "complete": "payload",
                        "targetType": "msg",
                        "statusVal": "",
                        "statusType": "auto",
                        "x": 1030,
                        "y": 260,
                        "wires": []
                    },
                    {
                        "id": "6e55b108db47eaed",
                        "type": "change",
                        "z": "1d761786cd03b6eb",
                        "name": "",
                        "rules": [
                            {
                                "t": "set",
                                "p": "Schalter.Bad",
                                "pt": "flow",
                                "to": "true",
                                "tot": "bool"
                            }
                        ],
                        "action": "",
                        "property": "",
                        "from": "",
                        "to": "",
                        "reg": false,
                        "x": 390,
                        "y": 250,
                        "wires": [
                            [
                                "4faf1ed0bf7c1af3"
                            ]
                        ]
                    },
                    {
                        "id": "4faf1ed0bf7c1af3",
                        "type": "trigger",
                        "z": "1d761786cd03b6eb",
                        "name": "",
                        "op1": "",
                        "op2": "false",
                        "op1type": "nul",
                        "op2type": "bool",
                        "duration": "10",
                        "extend": true,
                        "overrideDelay": false,
                        "units": "s",
                        "reset": "",
                        "bytopic": "all",
                        "topic": "topic",
                        "outputs": 1,
                        "x": 610,
                        "y": 250,
                        "wires": [
                            [
                                "f65257011e0b574c"
                            ]
                        ]
                    },
                    {
                        "id": "f65257011e0b574c",
                        "type": "change",
                        "z": "1d761786cd03b6eb",
                        "name": "",
                        "rules": [
                            {
                                "t": "set",
                                "p": "Schalter.Bad",
                                "pt": "flow",
                                "to": "false",
                                "tot": "bool"
                            }
                        ],
                        "action": "",
                        "property": "",
                        "from": "",
                        "to": "",
                        "reg": false,
                        "x": 810,
                        "y": 250,
                        "wires": [
                            [
                                "50172abc4513c6cf",
                                "2b793d273b25a2f7"
                            ]
                        ]
                    },
                    {
                        "id": "d4d742934b195768",
                        "type": "inject",
                        "z": "1d761786cd03b6eb",
                        "name": "Aus",
                        "props": [
                            {
                                "p": "payload"
                            },
                            {
                                "p": "topic",
                                "vt": "str"
                            }
                        ],
                        "repeat": "",
                        "crontab": "",
                        "once": false,
                        "onceDelay": 0.1,
                        "topic": "",
                        "payload": "false",
                        "payloadType": "bool",
                        "x": 110,
                        "y": 130,
                        "wires": [
                            [
                                "8ba39a421f5c3317"
                            ]
                        ]
                    },
                    {
                        "id": "34a6d988e012a62b",
                        "type": "inject",
                        "z": "1d761786cd03b6eb",
                        "name": "An",
                        "props": [
                            {
                                "p": "payload"
                            },
                            {
                                "p": "topic",
                                "vt": "str"
                            }
                        ],
                        "repeat": "",
                        "crontab": "",
                        "once": false,
                        "onceDelay": 0.1,
                        "topic": "",
                        "payload": "true",
                        "payloadType": "bool",
                        "x": 110,
                        "y": 170,
                        "wires": [
                            [
                                "8ba39a421f5c3317"
                            ]
                        ]
                    }
                ]
                

                mickymM 1 Reply Last reply
                0
                • AphofisA Aphofis

                  @aphofis
                  Also wie weit, ka ich dachte die Steuerung ist soweit fertig.
                  oder fehlt noch was !?
                  Screenshot 2024-08-21 193604.png

                  [
                      {
                          "id": "1d761786cd03b6eb",
                          "type": "tab",
                          "label": "Flow 4",
                          "disabled": false,
                          "info": "",
                          "env": []
                      },
                      {
                          "id": "8ba39a421f5c3317",
                          "type": "junction",
                          "z": "1d761786cd03b6eb",
                          "x": 220,
                          "y": 210,
                          "wires": [
                              [
                                  "6e55b108db47eaed",
                                  "2b793d273b25a2f7"
                              ]
                          ]
                      },
                      {
                          "id": "825a34e2e6145b1c",
                          "type": "ioBroker in",
                          "z": "1d761786cd03b6eb",
                          "name": "",
                          "attrname": "payload",
                          "topic": "Lichtschalter Bad",
                          "payloadType": "object",
                          "onlyack": "",
                          "func": "all",
                          "gap": "",
                          "fireOnStart": "false",
                          "outFormat": "MQTT",
                          "x": 90,
                          "y": 210,
                          "wires": [
                              [
                                  "8ba39a421f5c3317"
                              ]
                          ]
                      },
                      {
                          "id": "2b793d273b25a2f7",
                          "type": "ioBroker out",
                          "z": "1d761786cd03b6eb",
                          "name": "Bad Decke",
                          "topic": "tuya.0.bf78f027e5e33c3d76xrfe.1",
                          "ack": "false",
                          "autoCreate": "false",
                          "stateName": "",
                          "role": "",
                          "payloadType": "",
                          "readonly": "",
                          "stateUnit": "",
                          "stateMin": "",
                          "stateMax": "",
                          "x": 1030,
                          "y": 210,
                          "wires": []
                      },
                      {
                          "id": "50172abc4513c6cf",
                          "type": "debug",
                          "z": "1d761786cd03b6eb",
                          "name": "Bad Decke",
                          "active": true,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "payload",
                          "targetType": "msg",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 1030,
                          "y": 260,
                          "wires": []
                      },
                      {
                          "id": "6e55b108db47eaed",
                          "type": "change",
                          "z": "1d761786cd03b6eb",
                          "name": "",
                          "rules": [
                              {
                                  "t": "set",
                                  "p": "Schalter.Bad",
                                  "pt": "flow",
                                  "to": "true",
                                  "tot": "bool"
                              }
                          ],
                          "action": "",
                          "property": "",
                          "from": "",
                          "to": "",
                          "reg": false,
                          "x": 390,
                          "y": 250,
                          "wires": [
                              [
                                  "4faf1ed0bf7c1af3"
                              ]
                          ]
                      },
                      {
                          "id": "4faf1ed0bf7c1af3",
                          "type": "trigger",
                          "z": "1d761786cd03b6eb",
                          "name": "",
                          "op1": "",
                          "op2": "false",
                          "op1type": "nul",
                          "op2type": "bool",
                          "duration": "10",
                          "extend": true,
                          "overrideDelay": false,
                          "units": "s",
                          "reset": "",
                          "bytopic": "all",
                          "topic": "topic",
                          "outputs": 1,
                          "x": 610,
                          "y": 250,
                          "wires": [
                              [
                                  "f65257011e0b574c"
                              ]
                          ]
                      },
                      {
                          "id": "f65257011e0b574c",
                          "type": "change",
                          "z": "1d761786cd03b6eb",
                          "name": "",
                          "rules": [
                              {
                                  "t": "set",
                                  "p": "Schalter.Bad",
                                  "pt": "flow",
                                  "to": "false",
                                  "tot": "bool"
                              }
                          ],
                          "action": "",
                          "property": "",
                          "from": "",
                          "to": "",
                          "reg": false,
                          "x": 810,
                          "y": 250,
                          "wires": [
                              [
                                  "50172abc4513c6cf",
                                  "2b793d273b25a2f7"
                              ]
                          ]
                      },
                      {
                          "id": "d4d742934b195768",
                          "type": "inject",
                          "z": "1d761786cd03b6eb",
                          "name": "Aus",
                          "props": [
                              {
                                  "p": "payload"
                              },
                              {
                                  "p": "topic",
                                  "vt": "str"
                              }
                          ],
                          "repeat": "",
                          "crontab": "",
                          "once": false,
                          "onceDelay": 0.1,
                          "topic": "",
                          "payload": "false",
                          "payloadType": "bool",
                          "x": 110,
                          "y": 130,
                          "wires": [
                              [
                                  "8ba39a421f5c3317"
                              ]
                          ]
                      },
                      {
                          "id": "34a6d988e012a62b",
                          "type": "inject",
                          "z": "1d761786cd03b6eb",
                          "name": "An",
                          "props": [
                              {
                                  "p": "payload"
                              },
                              {
                                  "p": "topic",
                                  "vt": "str"
                              }
                          ],
                          "repeat": "",
                          "crontab": "",
                          "once": false,
                          "onceDelay": 0.1,
                          "topic": "",
                          "payload": "true",
                          "payloadType": "bool",
                          "x": 110,
                          "y": 170,
                          "wires": [
                              [
                                  "8ba39a421f5c3317"
                              ]
                          ]
                      }
                  ]
                  

                  mickymM Online
                  mickymM Online
                  mickym
                  Most Active
                  wrote on last edited by
                  #138

                  @aphofis Na hier nicht, aber in dem Flow mit dem Bewegungsmelder - musst Du doch noch die Meldungen des Bewegungmelders solange blockieren, solange der Schalter aktiv ist. Hatte ich aber geschrieben.

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

                  AphofisA 1 Reply Last reply
                  0
                  • mickymM mickym

                    @aphofis Na hier nicht, aber in dem Flow mit dem Bewegungsmelder - musst Du doch noch die Meldungen des Bewegungmelders solange blockieren, solange der Schalter aktiv ist. Hatte ich aber geschrieben.

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

                    @mickym Ach ja ok
                    Ja aber wie und wi mache ich das

                    mickymM 1 Reply Last reply
                    0
                    • AphofisA Aphofis

                      @mickym Ach ja ok
                      Ja aber wie und wi mache ich das

                      mickymM Online
                      mickymM Online
                      mickym
                      Most Active
                      wrote on last edited by
                      #140

                      @aphofis Na wie Du grundsätzlich Nachrichten mit Bedingungen dirigierst oder filterst - mit einer Switch Node, die Du direkt hinter den Bewegungsmelder setzt und dann natürlich nur die Nachrichten durchlässt, wenn der Schalter.Bad auf false steht.

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

                      AphofisA 1 Reply Last reply
                      0
                      • mickymM mickym

                        @aphofis Na wie Du grundsätzlich Nachrichten mit Bedingungen dirigierst oder filterst - mit einer Switch Node, die Du direkt hinter den Bewegungsmelder setzt und dann natürlich nur die Nachrichten durchlässt, wenn der Schalter.Bad auf false steht.

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

                        @mickym wäre es so richtig !?
                        Screenshot 2024-08-21 220529.png

                        [
                            {
                                "id": "2e295f1c879e6af4",
                                "type": "tab",
                                "label": "Bad_Motion",
                                "disabled": false,
                                "info": "",
                                "env": []
                            },
                            {
                                "id": "3c4eead45d639099",
                                "type": "junction",
                                "z": "2e295f1c879e6af4",
                                "x": 920,
                                "y": 70,
                                "wires": [
                                    [
                                        "8abca0bad942f182",
                                        "fc25cbeee0cad617"
                                    ]
                                ]
                            },
                            {
                                "id": "536b62b8d18c6cf0",
                                "type": "junction",
                                "z": "2e295f1c879e6af4",
                                "x": 270,
                                "y": 70,
                                "wires": [
                                    [
                                        "3c4eead45d639099"
                                    ]
                                ]
                            },
                            {
                                "id": "f2e7288278a6661f",
                                "type": "junction",
                                "z": "2e295f1c879e6af4",
                                "x": 280,
                                "y": 160,
                                "wires": [
                                    [
                                        "7d8a76111d16e18f"
                                    ]
                                ]
                            },
                            {
                                "id": "269ad011754f07ad",
                                "type": "junction",
                                "z": "2e295f1c879e6af4",
                                "x": 300,
                                "y": 270,
                                "wires": [
                                    [
                                        "7d8a76111d16e18f"
                                    ]
                                ]
                            },
                            {
                                "id": "4c349095bd25378c",
                                "type": "ioBroker get",
                                "z": "2e295f1c879e6af4",
                                "name": "Reinigung Status",
                                "topic": "mihome-vacuum.1.info.state",
                                "attrname": "roborock",
                                "payloadType": "value",
                                "errOnInvalidState": "nothing",
                                "x": 580,
                                "y": 530,
                                "wires": [
                                    [
                                        "a95d63f2785aa847"
                                    ]
                                ]
                            },
                            {
                                "id": "4b318acc0eab7b1b",
                                "type": "ioBroker in",
                                "z": "2e295f1c879e6af4",
                                "name": "Bad Motion 1",
                                "attrname": "payload",
                                "topic": "hue.0.Bad_Motion_Sensor.presence",
                                "payloadType": "value",
                                "onlyack": "",
                                "func": "all",
                                "gap": "",
                                "fireOnStart": "false",
                                "outFormat": "MQTT",
                                "x": 130,
                                "y": 160,
                                "wires": [
                                    [
                                        "f2e7288278a6661f"
                                    ]
                                ]
                            },
                            {
                                "id": "9dd1e1bc2bca9ade",
                                "type": "ioBroker out",
                                "z": "2e295f1c879e6af4",
                                "name": "Bad Decke",
                                "topic": "tuya.0.bf78f027e5e33c3d76xrfe.1",
                                "ack": "false",
                                "autoCreate": "false",
                                "stateName": "",
                                "role": "",
                                "payloadType": "",
                                "readonly": "",
                                "stateUnit": "",
                                "stateMin": "",
                                "stateMax": "",
                                "x": 1030,
                                "y": 480,
                                "wires": []
                            },
                            {
                                "id": "d0ddca612599b43c",
                                "type": "debug",
                                "z": "2e295f1c879e6af4",
                                "name": "Bad Licht",
                                "active": false,
                                "tosidebar": true,
                                "console": false,
                                "tostatus": false,
                                "complete": "payload",
                                "targetType": "msg",
                                "statusVal": "",
                                "statusType": "auto",
                                "x": 1020,
                                "y": 530,
                                "wires": []
                            },
                            {
                                "id": "66e5680c9143f38f",
                                "type": "switch",
                                "z": "2e295f1c879e6af4",
                                "name": "Bewegung erkannt?",
                                "property": "payload",
                                "propertyType": "msg",
                                "rules": [
                                    {
                                        "t": "true"
                                    },
                                    {
                                        "t": "false"
                                    }
                                ],
                                "checkall": "true",
                                "repair": false,
                                "outputs": 2,
                                "x": 830,
                                "y": 210,
                                "wires": [
                                    [
                                        "122117be9b2af524"
                                    ],
                                    [
                                        "154396f8caa9bc54"
                                    ]
                                ]
                            },
                            {
                                "id": "a95d63f2785aa847",
                                "type": "switch",
                                "z": "2e295f1c879e6af4",
                                "name": "Robi nicht Status 5",
                                "property": "roborock",
                                "propertyType": "msg",
                                "rules": [
                                    {
                                        "t": "neq",
                                        "v": "5",
                                        "vt": "num"
                                    }
                                ],
                                "checkall": "true",
                                "repair": false,
                                "outputs": 1,
                                "x": 810,
                                "y": 530,
                                "wires": [
                                    [
                                        "d0ddca612599b43c",
                                        "9dd1e1bc2bca9ade"
                                    ]
                                ]
                            },
                            {
                                "id": "2cbb19c25bdbf55d",
                                "type": "trigger",
                                "z": "2e295f1c879e6af4",
                                "name": "1 min. warten bevor false",
                                "op1": "true",
                                "op2": "false",
                                "op1type": "bool",
                                "op2type": "bool",
                                "duration": "10",
                                "extend": true,
                                "overrideDelay": false,
                                "units": "s",
                                "reset": "true",
                                "bytopic": "all",
                                "topic": "topic",
                                "outputs": 1,
                                "x": 700,
                                "y": 490,
                                "wires": [
                                    [
                                        "d0ddca612599b43c",
                                        "9dd1e1bc2bca9ade"
                                    ]
                                ]
                            },
                            {
                                "id": "3d16cb434aa22482",
                                "type": "ioBroker get",
                                "z": "2e295f1c879e6af4",
                                "name": "Bad licht an Alexa",
                                "topic": "alexa2.0.Echo-Devices.G0913L06031202PA.Routines.d2b8b4a7-0faf-444d-be14-0e90a1db9e1e",
                                "attrname": "Alexa",
                                "payloadType": "value",
                                "errOnInvalidState": "nothing",
                                "x": 110,
                                "y": 270,
                                "wires": [
                                    [
                                        "269ad011754f07ad"
                                    ]
                                ]
                            },
                            {
                                "id": "fc25cbeee0cad617",
                                "type": "ioBroker out",
                                "z": "2e295f1c879e6af4",
                                "name": "Bad Decke",
                                "topic": "sonoff.0.bad_deckenlampe.POWER",
                                "ack": "false",
                                "autoCreate": "false",
                                "stateName": "",
                                "role": "",
                                "payloadType": "",
                                "readonly": "",
                                "stateUnit": "",
                                "stateMin": "",
                                "stateMax": "",
                                "x": 1020,
                                "y": 90,
                                "wires": []
                            },
                            {
                                "id": "4961b7defde8b1ea",
                                "type": "ioBroker in",
                                "z": "2e295f1c879e6af4",
                                "name": "Schalter Digital",
                                "attrname": "payload",
                                "topic": "0_userdata.0.Test_Schalter",
                                "payloadType": "value",
                                "onlyack": "",
                                "func": "all",
                                "gap": "",
                                "fireOnStart": "false",
                                "outFormat": "MQTT",
                                "x": 120,
                                "y": 40,
                                "wires": [
                                    [
                                        "536b62b8d18c6cf0"
                                    ]
                                ]
                            },
                            {
                                "id": "8abca0bad942f182",
                                "type": "debug",
                                "z": "2e295f1c879e6af4",
                                "name": "Bad Licht Alexa",
                                "active": false,
                                "tosidebar": true,
                                "console": false,
                                "tostatus": false,
                                "complete": "payload",
                                "targetType": "msg",
                                "statusVal": "",
                                "statusType": "auto",
                                "x": 1030,
                                "y": 50,
                                "wires": []
                            },
                            {
                                "id": "323cb6465fa717e5",
                                "type": "ioBroker in",
                                "z": "2e295f1c879e6af4",
                                "name": "Bad Motion 2",
                                "attrname": "payload",
                                "topic": "tuya.0.bf15a2489964bff33bavvv.1",
                                "payloadType": "value",
                                "onlyack": "",
                                "func": "all",
                                "gap": "",
                                "fireOnStart": "false",
                                "outFormat": "MQTT",
                                "x": 130,
                                "y": 210,
                                "wires": [
                                    [
                                        "9bdfabd4b2e4a214"
                                    ]
                                ]
                            },
                            {
                                "id": "1050671f0db85c92",
                                "type": "ioBroker in",
                                "z": "2e295f1c879e6af4",
                                "name": "Alexa Bad Licht an",
                                "attrname": "payload",
                                "topic": "alexa2.0.Echo-Devices.G0913L06031202PA.Routines.d2b8b4a7-0faf-444d-be14-0e90a1db9e1e",
                                "payloadType": "value",
                                "onlyack": "",
                                "func": "all",
                                "gap": "",
                                "fireOnStart": "false",
                                "outFormat": "MQTT",
                                "x": 110,
                                "y": 100,
                                "wires": [
                                    [
                                        "536b62b8d18c6cf0"
                                    ]
                                ]
                            },
                            {
                                "id": "9bdfabd4b2e4a214",
                                "type": "change",
                                "z": "2e295f1c879e6af4",
                                "name": "wechsel",
                                "rules": [
                                    {
                                        "t": "change",
                                        "p": "payload",
                                        "pt": "msg",
                                        "from": "1",
                                        "fromt": "str",
                                        "to": "true",
                                        "tot": "str"
                                    },
                                    {
                                        "t": "change",
                                        "p": "payload",
                                        "pt": "msg",
                                        "from": "0",
                                        "fromt": "str",
                                        "to": "false",
                                        "tot": "str"
                                    }
                                ],
                                "action": "",
                                "property": "",
                                "from": "",
                                "to": "",
                                "reg": false,
                                "x": 330,
                                "y": 210,
                                "wires": [
                                    [
                                        "7d8a76111d16e18f"
                                    ]
                                ]
                            },
                            {
                                "id": "7d8a76111d16e18f",
                                "type": "change",
                                "z": "2e295f1c879e6af4",
                                "name": "",
                                "rules": [
                                    {
                                        "t": "set",
                                        "p": "Schalter.Bad",
                                        "pt": "flow",
                                        "to": "false",
                                        "tot": "bool"
                                    }
                                ],
                                "action": "",
                                "property": "",
                                "from": "",
                                "to": "",
                                "reg": false,
                                "x": 600,
                                "y": 210,
                                "wires": [
                                    [
                                        "66e5680c9143f38f"
                                    ]
                                ]
                            },
                            {
                                "id": "122117be9b2af524",
                                "type": "link out",
                                "z": "2e295f1c879e6af4",
                                "name": "link out 3",
                                "mode": "link",
                                "links": [
                                    "12526f836b7135a5",
                                    "2f09309457a74553"
                                ],
                                "x": 965,
                                "y": 190,
                                "wires": []
                            },
                            {
                                "id": "2f09309457a74553",
                                "type": "link in",
                                "z": "2e295f1c879e6af4",
                                "name": "link in 3",
                                "links": [
                                    "122117be9b2af524",
                                    "154396f8caa9bc54"
                                ],
                                "x": 565,
                                "y": 490,
                                "wires": [
                                    [
                                        "2cbb19c25bdbf55d"
                                    ]
                                ]
                            },
                            {
                                "id": "12526f836b7135a5",
                                "type": "link in",
                                "z": "2e295f1c879e6af4",
                                "name": "link in 4",
                                "links": [
                                    "122117be9b2af524",
                                    "154396f8caa9bc54"
                                ],
                                "x": 455,
                                "y": 530,
                                "wires": [
                                    [
                                        "4c349095bd25378c"
                                    ]
                                ]
                            },
                            {
                                "id": "154396f8caa9bc54",
                                "type": "link out",
                                "z": "2e295f1c879e6af4",
                                "name": "link out 4",
                                "mode": "link",
                                "links": [
                                    "2f09309457a74553",
                                    "12526f836b7135a5"
                                ],
                                "x": 965,
                                "y": 230,
                                "wires": []
                            }
                        ]
                        

                        mickymM 1 Reply Last reply
                        0
                        • AphofisA Aphofis

                          @mickym wäre es so richtig !?
                          Screenshot 2024-08-21 220529.png

                          [
                              {
                                  "id": "2e295f1c879e6af4",
                                  "type": "tab",
                                  "label": "Bad_Motion",
                                  "disabled": false,
                                  "info": "",
                                  "env": []
                              },
                              {
                                  "id": "3c4eead45d639099",
                                  "type": "junction",
                                  "z": "2e295f1c879e6af4",
                                  "x": 920,
                                  "y": 70,
                                  "wires": [
                                      [
                                          "8abca0bad942f182",
                                          "fc25cbeee0cad617"
                                      ]
                                  ]
                              },
                              {
                                  "id": "536b62b8d18c6cf0",
                                  "type": "junction",
                                  "z": "2e295f1c879e6af4",
                                  "x": 270,
                                  "y": 70,
                                  "wires": [
                                      [
                                          "3c4eead45d639099"
                                      ]
                                  ]
                              },
                              {
                                  "id": "f2e7288278a6661f",
                                  "type": "junction",
                                  "z": "2e295f1c879e6af4",
                                  "x": 280,
                                  "y": 160,
                                  "wires": [
                                      [
                                          "7d8a76111d16e18f"
                                      ]
                                  ]
                              },
                              {
                                  "id": "269ad011754f07ad",
                                  "type": "junction",
                                  "z": "2e295f1c879e6af4",
                                  "x": 300,
                                  "y": 270,
                                  "wires": [
                                      [
                                          "7d8a76111d16e18f"
                                      ]
                                  ]
                              },
                              {
                                  "id": "4c349095bd25378c",
                                  "type": "ioBroker get",
                                  "z": "2e295f1c879e6af4",
                                  "name": "Reinigung Status",
                                  "topic": "mihome-vacuum.1.info.state",
                                  "attrname": "roborock",
                                  "payloadType": "value",
                                  "errOnInvalidState": "nothing",
                                  "x": 580,
                                  "y": 530,
                                  "wires": [
                                      [
                                          "a95d63f2785aa847"
                                      ]
                                  ]
                              },
                              {
                                  "id": "4b318acc0eab7b1b",
                                  "type": "ioBroker in",
                                  "z": "2e295f1c879e6af4",
                                  "name": "Bad Motion 1",
                                  "attrname": "payload",
                                  "topic": "hue.0.Bad_Motion_Sensor.presence",
                                  "payloadType": "value",
                                  "onlyack": "",
                                  "func": "all",
                                  "gap": "",
                                  "fireOnStart": "false",
                                  "outFormat": "MQTT",
                                  "x": 130,
                                  "y": 160,
                                  "wires": [
                                      [
                                          "f2e7288278a6661f"
                                      ]
                                  ]
                              },
                              {
                                  "id": "9dd1e1bc2bca9ade",
                                  "type": "ioBroker out",
                                  "z": "2e295f1c879e6af4",
                                  "name": "Bad Decke",
                                  "topic": "tuya.0.bf78f027e5e33c3d76xrfe.1",
                                  "ack": "false",
                                  "autoCreate": "false",
                                  "stateName": "",
                                  "role": "",
                                  "payloadType": "",
                                  "readonly": "",
                                  "stateUnit": "",
                                  "stateMin": "",
                                  "stateMax": "",
                                  "x": 1030,
                                  "y": 480,
                                  "wires": []
                              },
                              {
                                  "id": "d0ddca612599b43c",
                                  "type": "debug",
                                  "z": "2e295f1c879e6af4",
                                  "name": "Bad Licht",
                                  "active": false,
                                  "tosidebar": true,
                                  "console": false,
                                  "tostatus": false,
                                  "complete": "payload",
                                  "targetType": "msg",
                                  "statusVal": "",
                                  "statusType": "auto",
                                  "x": 1020,
                                  "y": 530,
                                  "wires": []
                              },
                              {
                                  "id": "66e5680c9143f38f",
                                  "type": "switch",
                                  "z": "2e295f1c879e6af4",
                                  "name": "Bewegung erkannt?",
                                  "property": "payload",
                                  "propertyType": "msg",
                                  "rules": [
                                      {
                                          "t": "true"
                                      },
                                      {
                                          "t": "false"
                                      }
                                  ],
                                  "checkall": "true",
                                  "repair": false,
                                  "outputs": 2,
                                  "x": 830,
                                  "y": 210,
                                  "wires": [
                                      [
                                          "122117be9b2af524"
                                      ],
                                      [
                                          "154396f8caa9bc54"
                                      ]
                                  ]
                              },
                              {
                                  "id": "a95d63f2785aa847",
                                  "type": "switch",
                                  "z": "2e295f1c879e6af4",
                                  "name": "Robi nicht Status 5",
                                  "property": "roborock",
                                  "propertyType": "msg",
                                  "rules": [
                                      {
                                          "t": "neq",
                                          "v": "5",
                                          "vt": "num"
                                      }
                                  ],
                                  "checkall": "true",
                                  "repair": false,
                                  "outputs": 1,
                                  "x": 810,
                                  "y": 530,
                                  "wires": [
                                      [
                                          "d0ddca612599b43c",
                                          "9dd1e1bc2bca9ade"
                                      ]
                                  ]
                              },
                              {
                                  "id": "2cbb19c25bdbf55d",
                                  "type": "trigger",
                                  "z": "2e295f1c879e6af4",
                                  "name": "1 min. warten bevor false",
                                  "op1": "true",
                                  "op2": "false",
                                  "op1type": "bool",
                                  "op2type": "bool",
                                  "duration": "10",
                                  "extend": true,
                                  "overrideDelay": false,
                                  "units": "s",
                                  "reset": "true",
                                  "bytopic": "all",
                                  "topic": "topic",
                                  "outputs": 1,
                                  "x": 700,
                                  "y": 490,
                                  "wires": [
                                      [
                                          "d0ddca612599b43c",
                                          "9dd1e1bc2bca9ade"
                                      ]
                                  ]
                              },
                              {
                                  "id": "3d16cb434aa22482",
                                  "type": "ioBroker get",
                                  "z": "2e295f1c879e6af4",
                                  "name": "Bad licht an Alexa",
                                  "topic": "alexa2.0.Echo-Devices.G0913L06031202PA.Routines.d2b8b4a7-0faf-444d-be14-0e90a1db9e1e",
                                  "attrname": "Alexa",
                                  "payloadType": "value",
                                  "errOnInvalidState": "nothing",
                                  "x": 110,
                                  "y": 270,
                                  "wires": [
                                      [
                                          "269ad011754f07ad"
                                      ]
                                  ]
                              },
                              {
                                  "id": "fc25cbeee0cad617",
                                  "type": "ioBroker out",
                                  "z": "2e295f1c879e6af4",
                                  "name": "Bad Decke",
                                  "topic": "sonoff.0.bad_deckenlampe.POWER",
                                  "ack": "false",
                                  "autoCreate": "false",
                                  "stateName": "",
                                  "role": "",
                                  "payloadType": "",
                                  "readonly": "",
                                  "stateUnit": "",
                                  "stateMin": "",
                                  "stateMax": "",
                                  "x": 1020,
                                  "y": 90,
                                  "wires": []
                              },
                              {
                                  "id": "4961b7defde8b1ea",
                                  "type": "ioBroker in",
                                  "z": "2e295f1c879e6af4",
                                  "name": "Schalter Digital",
                                  "attrname": "payload",
                                  "topic": "0_userdata.0.Test_Schalter",
                                  "payloadType": "value",
                                  "onlyack": "",
                                  "func": "all",
                                  "gap": "",
                                  "fireOnStart": "false",
                                  "outFormat": "MQTT",
                                  "x": 120,
                                  "y": 40,
                                  "wires": [
                                      [
                                          "536b62b8d18c6cf0"
                                      ]
                                  ]
                              },
                              {
                                  "id": "8abca0bad942f182",
                                  "type": "debug",
                                  "z": "2e295f1c879e6af4",
                                  "name": "Bad Licht Alexa",
                                  "active": false,
                                  "tosidebar": true,
                                  "console": false,
                                  "tostatus": false,
                                  "complete": "payload",
                                  "targetType": "msg",
                                  "statusVal": "",
                                  "statusType": "auto",
                                  "x": 1030,
                                  "y": 50,
                                  "wires": []
                              },
                              {
                                  "id": "323cb6465fa717e5",
                                  "type": "ioBroker in",
                                  "z": "2e295f1c879e6af4",
                                  "name": "Bad Motion 2",
                                  "attrname": "payload",
                                  "topic": "tuya.0.bf15a2489964bff33bavvv.1",
                                  "payloadType": "value",
                                  "onlyack": "",
                                  "func": "all",
                                  "gap": "",
                                  "fireOnStart": "false",
                                  "outFormat": "MQTT",
                                  "x": 130,
                                  "y": 210,
                                  "wires": [
                                      [
                                          "9bdfabd4b2e4a214"
                                      ]
                                  ]
                              },
                              {
                                  "id": "1050671f0db85c92",
                                  "type": "ioBroker in",
                                  "z": "2e295f1c879e6af4",
                                  "name": "Alexa Bad Licht an",
                                  "attrname": "payload",
                                  "topic": "alexa2.0.Echo-Devices.G0913L06031202PA.Routines.d2b8b4a7-0faf-444d-be14-0e90a1db9e1e",
                                  "payloadType": "value",
                                  "onlyack": "",
                                  "func": "all",
                                  "gap": "",
                                  "fireOnStart": "false",
                                  "outFormat": "MQTT",
                                  "x": 110,
                                  "y": 100,
                                  "wires": [
                                      [
                                          "536b62b8d18c6cf0"
                                      ]
                                  ]
                              },
                              {
                                  "id": "9bdfabd4b2e4a214",
                                  "type": "change",
                                  "z": "2e295f1c879e6af4",
                                  "name": "wechsel",
                                  "rules": [
                                      {
                                          "t": "change",
                                          "p": "payload",
                                          "pt": "msg",
                                          "from": "1",
                                          "fromt": "str",
                                          "to": "true",
                                          "tot": "str"
                                      },
                                      {
                                          "t": "change",
                                          "p": "payload",
                                          "pt": "msg",
                                          "from": "0",
                                          "fromt": "str",
                                          "to": "false",
                                          "tot": "str"
                                      }
                                  ],
                                  "action": "",
                                  "property": "",
                                  "from": "",
                                  "to": "",
                                  "reg": false,
                                  "x": 330,
                                  "y": 210,
                                  "wires": [
                                      [
                                          "7d8a76111d16e18f"
                                      ]
                                  ]
                              },
                              {
                                  "id": "7d8a76111d16e18f",
                                  "type": "change",
                                  "z": "2e295f1c879e6af4",
                                  "name": "",
                                  "rules": [
                                      {
                                          "t": "set",
                                          "p": "Schalter.Bad",
                                          "pt": "flow",
                                          "to": "false",
                                          "tot": "bool"
                                      }
                                  ],
                                  "action": "",
                                  "property": "",
                                  "from": "",
                                  "to": "",
                                  "reg": false,
                                  "x": 600,
                                  "y": 210,
                                  "wires": [
                                      [
                                          "66e5680c9143f38f"
                                      ]
                                  ]
                              },
                              {
                                  "id": "122117be9b2af524",
                                  "type": "link out",
                                  "z": "2e295f1c879e6af4",
                                  "name": "link out 3",
                                  "mode": "link",
                                  "links": [
                                      "12526f836b7135a5",
                                      "2f09309457a74553"
                                  ],
                                  "x": 965,
                                  "y": 190,
                                  "wires": []
                              },
                              {
                                  "id": "2f09309457a74553",
                                  "type": "link in",
                                  "z": "2e295f1c879e6af4",
                                  "name": "link in 3",
                                  "links": [
                                      "122117be9b2af524",
                                      "154396f8caa9bc54"
                                  ],
                                  "x": 565,
                                  "y": 490,
                                  "wires": [
                                      [
                                          "2cbb19c25bdbf55d"
                                      ]
                                  ]
                              },
                              {
                                  "id": "12526f836b7135a5",
                                  "type": "link in",
                                  "z": "2e295f1c879e6af4",
                                  "name": "link in 4",
                                  "links": [
                                      "122117be9b2af524",
                                      "154396f8caa9bc54"
                                  ],
                                  "x": 455,
                                  "y": 530,
                                  "wires": [
                                      [
                                          "4c349095bd25378c"
                                      ]
                                  ]
                              },
                              {
                                  "id": "154396f8caa9bc54",
                                  "type": "link out",
                                  "z": "2e295f1c879e6af4",
                                  "name": "link out 4",
                                  "mode": "link",
                                  "links": [
                                      "2f09309457a74553",
                                      "12526f836b7135a5"
                                  ],
                                  "x": 965,
                                  "y": 230,
                                  "wires": []
                              }
                          ]
                          

                          mickymM Online
                          mickymM Online
                          mickym
                          Most Active
                          wrote on last edited by mickym
                          #142

                          @aphofis Ich habe nicht gesagt, dass Du ein Variable setzen sollst, sondern die Nachrichten filtern sollst. Und ich habe glaube ich switch Node gesagt, dass man mit dieser Bedingungen abprüft und Nachrichten filtert.

                          Ausserdem finde ich die Verwendung Deiner link Nodes leicht unübersichtlich - aber wie Du willst.

                          Ausserdem sagte ich das BEIDES in EINEM Flow sein muss.

                          Sorry - aber sonst funktioniert das nicht ......

                          Ausserdem machst Du selbst dauernd irgendwas dazu - was sollen denn 2 Alexa Nodes an verschiedenen Stellen - aber das werde ich nicht weiter kommentieren.

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

                          AphofisA 1 Reply Last reply
                          0
                          • mickymM mickym

                            @aphofis Ich habe nicht gesagt, dass Du ein Variable setzen sollst, sondern die Nachrichten filtern sollst. Und ich habe glaube ich switch Node gesagt, dass man mit dieser Bedingungen abprüft und Nachrichten filtert.

                            Ausserdem finde ich die Verwendung Deiner link Nodes leicht unübersichtlich - aber wie Du willst.

                            Ausserdem sagte ich das BEIDES in EINEM Flow sein muss.

                            Sorry - aber sonst funktioniert das nicht ......

                            Ausserdem machst Du selbst dauernd irgendwas dazu - was sollen denn 2 Alexa Nodes an verschiedenen Stellen - aber das werde ich nicht weiter kommentieren.

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

                            @mickym
                            nur wie stelle ich die Switch Node jetzt ein. Ich weiß es escht nicht wie man jetzt Schlter Bad abgreift wenn der false ist wird trigger Bewegung weiter verarbeitet bzw wenn Schalter Bad true ist geht nichts weiter zum Bewegungs Trigger durch

                            mickymM 1 Reply Last reply
                            0
                            • AphofisA Aphofis

                              @mickym
                              nur wie stelle ich die Switch Node jetzt ein. Ich weiß es escht nicht wie man jetzt Schlter Bad abgreift wenn der false ist wird trigger Bewegung weiter verarbeitet bzw wenn Schalter Bad true ist geht nichts weiter zum Bewegungs Trigger durch

                              mickymM Online
                              mickymM Online
                              mickym
                              Most Active
                              wrote on last edited by
                              #144

                              @aphofis 1, Es MUSS alles in einem Flow sein!!!
                              2. Du prüfst die Kontextvariable in der Switch Node einfach auf false ab.

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

                              AphofisA 1 Reply Last reply
                              0
                              • mickymM mickym

                                @aphofis 1, Es MUSS alles in einem Flow sein!!!
                                2. Du prüfst die Kontextvariable in der Switch Node einfach auf false ab.

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

                                @mickym also so ?
                                Screenshot 2024-08-21 221813.png

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

                                mickymM 1 Reply Last reply
                                0
                                • AphofisA Aphofis

                                  @mickym also so ?
                                  Screenshot 2024-08-21 221813.png

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

                                  mickymM Online
                                  mickymM Online
                                  mickym
                                  Most Active
                                  wrote on last edited by mickym
                                  #146

                                  @aphofis Die switch Node ist zwar an der richtigen Stelle, aber Du prüfst doch nicht die Kontextvariable Schalter.Bad auf false ab.

                                  79657ed1-c40c-49fa-bcfb-e963f520a297-image.png

                                  Du fragst ob die Nachrichteneigenschaft payload auf einen String "Schalter.Bad" ab, der wird von den Bewegungsmeldern SICHER nicht geliefert. In diesem Fall blockiert die switch Node ALLE Nachrichten.
                                  Also nicht die Nachrichteneigenschaft payload überprüfen, sondern die Flowvariable Schalter.Bad

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

                                  AphofisA 1 Reply Last reply
                                  0
                                  • mickymM mickym

                                    @aphofis Die switch Node ist zwar an der richtigen Stelle, aber Du prüfst doch nicht die Kontextvariable Schalter.Bad auf false ab.

                                    79657ed1-c40c-49fa-bcfb-e963f520a297-image.png

                                    Du fragst ob die Nachrichteneigenschaft payload auf einen String "Schalter.Bad" ab, der wird von den Bewegungsmeldern SICHER nicht geliefert. In diesem Fall blockiert die switch Node ALLE Nachrichten.
                                    Also nicht die Nachrichteneigenschaft payload überprüfen, sondern die Flowvariable Schalter.Bad

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

                                    @mickym so
                                    Screenshot 2024-08-21 222359.png

                                    mickymM 1 Reply Last reply
                                    0
                                    • AphofisA Aphofis

                                      @mickym so
                                      Screenshot 2024-08-21 222359.png

                                      mickymM Online
                                      mickymM Online
                                      mickym
                                      Most Active
                                      wrote on last edited by mickym
                                      #148

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

                                      @mickym so
                                      Screenshot 2024-08-21 222359.png

                                      Ja Du sollst aber nicht auf true, sondern auf false abprüfen. Du möchtest ja, dass die Nachrichten der Bewegungsmelder DANN durchgelassen werden, wenn der Schalter NICHT aktiv ist.
                                      Hab ich glaub aber nun mind. 4 mal in den letzten Posts geschrieben.

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

                                      AphofisA 1 Reply Last reply
                                      0
                                      • mickymM mickym

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

                                        @mickym so
                                        Screenshot 2024-08-21 222359.png

                                        Ja Du sollst aber nicht auf true, sondern auf false abprüfen. Du möchtest ja, dass die Nachrichten der Bewegungsmelder DANN durchgelassen werden, wenn der Schalter NICHT aktiv ist.
                                        Hab ich glaub aber nun mind. 4 mal in den letzten Posts geschrieben.

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

                                        @mickym ja so langsam verstehe ich das

                                        AphofisA 1 Reply Last reply
                                        0
                                        • AphofisA Aphofis

                                          @mickym ja so langsam verstehe ich das

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

                                          Aber ich muss Feierabend machen, mir fallen schon die augen zu. war ein langer Tag.
                                          Vielen Dank für deine Hilfe.
                                          Wenn der Flow so funktioniert, können wir Heute erstmal einen Break machen.

                                          mickymM 1 Reply Last reply
                                          0

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

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

                                          With your input, this post could be even better 💗

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


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          590

                                          Online

                                          32.8k

                                          Users

                                          82.8k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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