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
    220

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

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

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:

    Bei 3D Druckern ist es auch nur ein '!' was den wert negativiert.

    Grundsätzlich verändert eine switch Node keinen Wert. Das macht eine CHANGE Node. Mit einer Switch Node überprüfst Du eine Nachrichteneigenschaft und leitest die basierend auf der Eigenschaften an eine oder unterschiedliche Ausgänge.

    Das ist mehr oder weniger WENN .... DANN ... nimm AUSGANG 1, WENN .... DANN ... nimm AUSGANG2 etc. Aber es wird in einer Switch Node nichts verändert.

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

    @mickym
    Man kann sogar Das Licht trotzdessen einschalten wenn man Alexa nutzt.
    Aber ich denke wenn man jetzt Alexa noch mit rein nimmt, das wenn man das Licht per Sprache aktiviert, das dann auch wenn keine Bewegung mehr erkannt wird dann der Timer läuft und das Licht nach 1 min aus geht. also die Bedingung über Alexa. Dazu müsste ja Alexa abgehorcht werden. Das wird dann vermutlich zu aufwendig!? Könnte man aber dann auch wiederrum für einen Digitalen Schalter nutzen also wenn Alexa zb in Routine Bad Licht an true ist soll die Steuerung mit Bewegung und Timer weiter laufen bis stimme die Routine wieder deaktiviert.
    Der Datenpunkt für Bad Licht an wäre:

    Bad licht an
    

    in meinem Echo Show. Wenn man mehrere Alexa geräte hat, muss man dann natürlich alle routinen zu allen alexa geräten dazu nehmen.

    mickymM 1 Reply Last reply
    0
    • AphofisA Aphofis

      @mickym
      Man kann sogar Das Licht trotzdessen einschalten wenn man Alexa nutzt.
      Aber ich denke wenn man jetzt Alexa noch mit rein nimmt, das wenn man das Licht per Sprache aktiviert, das dann auch wenn keine Bewegung mehr erkannt wird dann der Timer läuft und das Licht nach 1 min aus geht. also die Bedingung über Alexa. Dazu müsste ja Alexa abgehorcht werden. Das wird dann vermutlich zu aufwendig!? Könnte man aber dann auch wiederrum für einen Digitalen Schalter nutzen also wenn Alexa zb in Routine Bad Licht an true ist soll die Steuerung mit Bewegung und Timer weiter laufen bis stimme die Routine wieder deaktiviert.
      Der Datenpunkt für Bad Licht an wäre:

      Bad licht an
      

      in meinem Echo Show. Wenn man mehrere Alexa geräte hat, muss man dann natürlich alle routinen zu allen alexa geräten dazu nehmen.

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

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

      Aber ich denke wenn man jetzt Alexa noch mit rein nimmt, das wenn man das Licht per Sprache aktiviert, das dann auch wenn keine Bewegung mehr erkannt wird dann der Timer läuft und das Licht nach 1 min aus geht. also die Bedingung über Alexa. Dazu müsste ja Alexa abgehorcht werden. Das wird dann vermutlich zu aufwendig!?

      Wieso wenn Du mit Alexa einschalten willst hängst Du es einfach an den EIngang der Trigger Node.

      69e1a9cd-5a29-40fc-8432-deb2cba12655-image.png

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

      AphofisA 1 Reply Last reply
      1
      • mickymM mickym

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

        Aber ich denke wenn man jetzt Alexa noch mit rein nimmt, das wenn man das Licht per Sprache aktiviert, das dann auch wenn keine Bewegung mehr erkannt wird dann der Timer läuft und das Licht nach 1 min aus geht. also die Bedingung über Alexa. Dazu müsste ja Alexa abgehorcht werden. Das wird dann vermutlich zu aufwendig!?

        Wieso wenn Du mit Alexa einschalten willst hängst Du es einfach an den EIngang der Trigger Node.

        69e1a9cd-5a29-40fc-8432-deb2cba12655-image.png

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

        @mickym
        Iwie will das nicht so ganz...

        [
            {
                "id": "2e295f1c879e6af4",
                "type": "tab",
                "label": "Küche Bad Motion Timer",
                "disabled": false,
                "info": "",
                "env": []
            },
            {
                "id": "553c77a748e7869a",
                "type": "junction",
                "z": "2e295f1c879e6af4",
                "x": 480,
                "y": 100,
                "wires": [
                    [
                        "2cbb19c25bdbf55d"
                    ]
                ]
            },
            {
                "id": "63495a6198767abe",
                "type": "junction",
                "z": "2e295f1c879e6af4",
                "x": 1140,
                "y": 100,
                "wires": [
                    [
                        "d0ddca612599b43c",
                        "9dd1e1bc2bca9ade"
                    ]
                ]
            },
            {
                "id": "c0e067dc71657cd6",
                "type": "junction",
                "z": "2e295f1c879e6af4",
                "x": 520,
                "y": 520,
                "wires": [
                    [
                        "fdd6a8d770321ddf"
                    ]
                ]
            },
            {
                "id": "51e1e3fc8f508df5",
                "type": "junction",
                "z": "2e295f1c879e6af4",
                "x": 980,
                "y": 500,
                "wires": [
                    [
                        "e2da7a63d3c15673",
                        "f34957801db99988",
                        "3980458ba6d298ac",
                        "a7ac79dac573570f"
                    ]
                ]
            },
            {
                "id": "99a62a6f9b1c0c05",
                "type": "junction",
                "z": "2e295f1c879e6af4",
                "x": 1140,
                "y": 100,
                "wires": [
                    []
                ]
            },
            {
                "id": "b8f8997592b68e2c",
                "type": "junction",
                "z": "2e295f1c879e6af4",
                "x": 900,
                "y": 240,
                "wires": [
                    [
                        "99a62a6f9b1c0c05"
                    ]
                ]
            },
            {
                "id": "1ac75a0bc5ee3bc7",
                "type": "ioBroker in",
                "z": "2e295f1c879e6af4",
                "name": "Küche Motion",
                "attrname": "payload",
                "topic": "hue.0.Küche_Motion_Sensor.presence",
                "payloadType": "value",
                "onlyack": "",
                "func": "all",
                "gap": "",
                "fireOnStart": "false",
                "outFormat": "MQTT",
                "x": 110,
                "y": 440,
                "wires": [
                    [
                        "0c7f79f1670db831"
                    ]
                ]
            },
            {
                "id": "f34957801db99988",
                "type": "ioBroker out",
                "z": "2e295f1c879e6af4",
                "name": "Küche Unterschrank links",
                "topic": "hue.0.Küche_Unterschr_Links.on",
                "ack": "false",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 1170,
                "y": 500,
                "wires": []
            },
            {
                "id": "e2da7a63d3c15673",
                "type": "debug",
                "z": "2e295f1c879e6af4",
                "name": "debug 2",
                "active": true,
                "tosidebar": true,
                "console": false,
                "tostatus": false,
                "complete": "payload",
                "targetType": "msg",
                "statusVal": "",
                "statusType": "auto",
                "x": 1120,
                "y": 440,
                "wires": []
            },
            {
                "id": "08933b607402d98c",
                "type": "inject",
                "z": "2e295f1c879e6af4",
                "name": "",
                "props": [
                    {
                        "p": "payload"
                    }
                ],
                "repeat": "",
                "crontab": "",
                "once": false,
                "onceDelay": 0.1,
                "topic": "",
                "payload": "true",
                "payloadType": "str",
                "x": 130,
                "y": 500,
                "wires": [
                    [
                        "0c7f79f1670db831"
                    ]
                ]
            },
            {
                "id": "3980458ba6d298ac",
                "type": "ioBroker out",
                "z": "2e295f1c879e6af4",
                "name": "Küche Unterschrank rechts",
                "topic": "sonoff.0.kueche_unterschrank_rechts.POWER",
                "ack": "false",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 1180,
                "y": 560,
                "wires": []
            },
            {
                "id": "a7ac79dac573570f",
                "type": "ioBroker out",
                "z": "2e295f1c879e6af4",
                "name": "Küche Decke",
                "topic": "tuya.0.bf36b7d083796c35e8gq51.1",
                "ack": "false",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 1130,
                "y": 620,
                "wires": []
            },
            {
                "id": "4c349095bd25378c",
                "type": "ioBroker get",
                "z": "2e295f1c879e6af4",
                "name": "Reinigung Status",
                "topic": "mihome-vacuum.1.info.state",
                "attrname": "roborock",
                "payloadType": "value",
                "errOnInvalidState": "nothing",
                "x": 590,
                "y": 60,
                "wires": [
                    [
                        "a95d63f2785aa847"
                    ]
                ]
            },
            {
                "id": "4b318acc0eab7b1b",
                "type": "ioBroker in",
                "z": "2e295f1c879e6af4",
                "name": "Bad Motion",
                "attrname": "payload",
                "topic": "hue.0.Bad_Motion_Sensor.presence",
                "payloadType": "value",
                "onlyack": "",
                "func": "all",
                "gap": "",
                "fireOnStart": "false",
                "outFormat": "MQTT",
                "x": 90,
                "y": 40,
                "wires": [
                    [
                        "66e5680c9143f38f"
                    ]
                ]
            },
            {
                "id": "9dd1e1bc2bca9ade",
                "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": 1290,
                "y": 100,
                "wires": []
            },
            {
                "id": "d0ddca612599b43c",
                "type": "debug",
                "z": "2e295f1c879e6af4",
                "name": "debug 1",
                "active": true,
                "tosidebar": true,
                "console": false,
                "tostatus": false,
                "complete": "payload",
                "targetType": "msg",
                "statusVal": "",
                "statusType": "auto",
                "x": 1280,
                "y": 60,
                "wires": []
            },
            {
                "id": "a0aaa672fbf892e5",
                "type": "inject",
                "z": "2e295f1c879e6af4",
                "name": "",
                "props": [
                    {
                        "p": "payload"
                    }
                ],
                "repeat": "",
                "crontab": "",
                "once": false,
                "onceDelay": 0.1,
                "topic": "",
                "payload": "true",
                "payloadType": "str",
                "x": 110,
                "y": 100,
                "wires": [
                    [
                        "66e5680c9143f38f"
                    ]
                ]
            },
            {
                "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": 340,
                "y": 80,
                "wires": [
                    [
                        "4c349095bd25378c",
                        "553c77a748e7869a"
                    ],
                    [
                        "553c77a748e7869a"
                    ]
                ]
            },
            {
                "id": "a95d63f2785aa847",
                "type": "switch",
                "z": "2e295f1c879e6af4",
                "name": "Roborock nicht Status 5",
                "property": "roborock",
                "propertyType": "msg",
                "rules": [
                    {
                        "t": "neq",
                        "v": "5",
                        "vt": "num"
                    }
                ],
                "checkall": "true",
                "repair": false,
                "outputs": 1,
                "x": 930,
                "y": 60,
                "wires": [
                    [
                        "63495a6198767abe"
                    ]
                ]
            },
            {
                "id": "2cbb19c25bdbf55d",
                "type": "trigger",
                "z": "2e295f1c879e6af4",
                "name": "Warte 1 Minute bevor false gesendet wird",
                "op1": "true",
                "op2": "false",
                "op1type": "bool",
                "op2type": "bool",
                "duration": "60",
                "extend": true,
                "overrideDelay": false,
                "units": "s",
                "reset": "true",
                "bytopic": "all",
                "topic": "topic",
                "outputs": 1,
                "x": 920,
                "y": 100,
                "wires": [
                    [
                        "63495a6198767abe"
                    ]
                ]
            },
            {
                "id": "ded2386bc0ab0eb2",
                "type": "ioBroker get",
                "z": "2e295f1c879e6af4",
                "name": "Reinigung Status",
                "topic": "mihome-vacuum.1.info.state",
                "attrname": "roborock",
                "payloadType": "value",
                "errOnInvalidState": "nothing",
                "x": 590,
                "y": 480,
                "wires": [
                    [
                        "a72ab3c0be80704d"
                    ]
                ]
            },
            {
                "id": "0c7f79f1670db831",
                "type": "switch",
                "z": "2e295f1c879e6af4",
                "name": "Bewegung erkannt?",
                "property": "payload",
                "propertyType": "msg",
                "rules": [
                    {
                        "t": "true"
                    },
                    {
                        "t": "false"
                    }
                ],
                "checkall": "true",
                "repair": false,
                "outputs": 2,
                "x": 340,
                "y": 500,
                "wires": [
                    [
                        "ded2386bc0ab0eb2",
                        "c0e067dc71657cd6"
                    ],
                    [
                        "c0e067dc71657cd6"
                    ]
                ]
            },
            {
                "id": "a72ab3c0be80704d",
                "type": "switch",
                "z": "2e295f1c879e6af4",
                "name": "Roborock nicht Status 5",
                "property": "roborock",
                "propertyType": "msg",
                "rules": [
                    {
                        "t": "neq",
                        "v": "5",
                        "vt": "num"
                    }
                ],
                "checkall": "true",
                "repair": false,
                "outputs": 1,
                "x": 810,
                "y": 480,
                "wires": [
                    [
                        "51e1e3fc8f508df5"
                    ]
                ]
            },
            {
                "id": "fdd6a8d770321ddf",
                "type": "trigger",
                "z": "2e295f1c879e6af4",
                "name": "Warte 1 Minute bevor false gesendet wird",
                "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": 760,
                "y": 520,
                "wires": [
                    [
                        "51e1e3fc8f508df5"
                    ]
                ]
            },
            {
                "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": 330,
                "y": 140,
                "wires": [
                    [
                        "2cbb19c25bdbf55d"
                    ]
                ]
            },
            {
                "id": "d7b5fe24eb069f5c",
                "type": "inject",
                "z": "2e295f1c879e6af4",
                "name": "Digital true",
                "props": [
                    {
                        "p": "payload"
                    }
                ],
                "repeat": "",
                "crontab": "",
                "once": false,
                "onceDelay": 0.1,
                "topic": "",
                "payload": "true",
                "payloadType": "str",
                "x": 100,
                "y": 200,
                "wires": [
                    [
                        "506488975306ad6c"
                    ]
                ]
            },
            {
                "id": "9e7ed5475aba6cfc",
                "type": "inject",
                "z": "2e295f1c879e6af4",
                "name": "Digital false",
                "props": [
                    {
                        "p": "payload"
                    }
                ],
                "repeat": "",
                "crontab": "",
                "once": false,
                "onceDelay": 0.1,
                "topic": "",
                "payload": "false",
                "payloadType": "str",
                "x": 90,
                "y": 260,
                "wires": [
                    [
                        "506488975306ad6c"
                    ]
                ]
            },
            {
                "id": "58eac2439ec37bc9",
                "type": "ioBroker get",
                "z": "2e295f1c879e6af4",
                "name": "Bad licht an Digital",
                "topic": "0_userdata.0.Test_Schalter",
                "attrname": "Alexa",
                "payloadType": "value",
                "errOnInvalidState": "nothing",
                "x": 590,
                "y": 180,
                "wires": [
                    [
                        "2cbb19c25bdbf55d"
                    ]
                ]
            },
            {
                "id": "cf9b1ba0a9977865",
                "type": "ioBroker get",
                "z": "2e295f1c879e6af4",
                "name": "Digital licht aus",
                "topic": "0_userdata.0.Test_Schalter",
                "attrname": "Alexa",
                "payloadType": "value",
                "errOnInvalidState": "nothing",
                "x": 600,
                "y": 240,
                "wires": [
                    [
                        "b8f8997592b68e2c"
                    ]
                ]
            },
            {
                "id": "506488975306ad6c",
                "type": "switch",
                "z": "2e295f1c879e6af4",
                "name": "Digital Schalter",
                "property": "payload",
                "propertyType": "msg",
                "rules": [
                    {
                        "t": "true"
                    },
                    {
                        "t": "false"
                    }
                ],
                "checkall": "true",
                "repair": false,
                "outputs": 2,
                "x": 320,
                "y": 200,
                "wires": [
                    [
                        "58eac2439ec37bc9"
                    ],
                    [
                        "cf9b1ba0a9977865"
                    ]
                ]
            }
        ]
        

        Screenshot 2024-08-12 214833.png

        mickymM 1 Reply Last reply
        0
        • AphofisA Aphofis

          @mickym
          Iwie will das nicht so ganz...

          [
              {
                  "id": "2e295f1c879e6af4",
                  "type": "tab",
                  "label": "Küche Bad Motion Timer",
                  "disabled": false,
                  "info": "",
                  "env": []
              },
              {
                  "id": "553c77a748e7869a",
                  "type": "junction",
                  "z": "2e295f1c879e6af4",
                  "x": 480,
                  "y": 100,
                  "wires": [
                      [
                          "2cbb19c25bdbf55d"
                      ]
                  ]
              },
              {
                  "id": "63495a6198767abe",
                  "type": "junction",
                  "z": "2e295f1c879e6af4",
                  "x": 1140,
                  "y": 100,
                  "wires": [
                      [
                          "d0ddca612599b43c",
                          "9dd1e1bc2bca9ade"
                      ]
                  ]
              },
              {
                  "id": "c0e067dc71657cd6",
                  "type": "junction",
                  "z": "2e295f1c879e6af4",
                  "x": 520,
                  "y": 520,
                  "wires": [
                      [
                          "fdd6a8d770321ddf"
                      ]
                  ]
              },
              {
                  "id": "51e1e3fc8f508df5",
                  "type": "junction",
                  "z": "2e295f1c879e6af4",
                  "x": 980,
                  "y": 500,
                  "wires": [
                      [
                          "e2da7a63d3c15673",
                          "f34957801db99988",
                          "3980458ba6d298ac",
                          "a7ac79dac573570f"
                      ]
                  ]
              },
              {
                  "id": "99a62a6f9b1c0c05",
                  "type": "junction",
                  "z": "2e295f1c879e6af4",
                  "x": 1140,
                  "y": 100,
                  "wires": [
                      []
                  ]
              },
              {
                  "id": "b8f8997592b68e2c",
                  "type": "junction",
                  "z": "2e295f1c879e6af4",
                  "x": 900,
                  "y": 240,
                  "wires": [
                      [
                          "99a62a6f9b1c0c05"
                      ]
                  ]
              },
              {
                  "id": "1ac75a0bc5ee3bc7",
                  "type": "ioBroker in",
                  "z": "2e295f1c879e6af4",
                  "name": "Küche Motion",
                  "attrname": "payload",
                  "topic": "hue.0.Küche_Motion_Sensor.presence",
                  "payloadType": "value",
                  "onlyack": "",
                  "func": "all",
                  "gap": "",
                  "fireOnStart": "false",
                  "outFormat": "MQTT",
                  "x": 110,
                  "y": 440,
                  "wires": [
                      [
                          "0c7f79f1670db831"
                      ]
                  ]
              },
              {
                  "id": "f34957801db99988",
                  "type": "ioBroker out",
                  "z": "2e295f1c879e6af4",
                  "name": "Küche Unterschrank links",
                  "topic": "hue.0.Küche_Unterschr_Links.on",
                  "ack": "false",
                  "autoCreate": "false",
                  "stateName": "",
                  "role": "",
                  "payloadType": "",
                  "readonly": "",
                  "stateUnit": "",
                  "stateMin": "",
                  "stateMax": "",
                  "x": 1170,
                  "y": 500,
                  "wires": []
              },
              {
                  "id": "e2da7a63d3c15673",
                  "type": "debug",
                  "z": "2e295f1c879e6af4",
                  "name": "debug 2",
                  "active": true,
                  "tosidebar": true,
                  "console": false,
                  "tostatus": false,
                  "complete": "payload",
                  "targetType": "msg",
                  "statusVal": "",
                  "statusType": "auto",
                  "x": 1120,
                  "y": 440,
                  "wires": []
              },
              {
                  "id": "08933b607402d98c",
                  "type": "inject",
                  "z": "2e295f1c879e6af4",
                  "name": "",
                  "props": [
                      {
                          "p": "payload"
                      }
                  ],
                  "repeat": "",
                  "crontab": "",
                  "once": false,
                  "onceDelay": 0.1,
                  "topic": "",
                  "payload": "true",
                  "payloadType": "str",
                  "x": 130,
                  "y": 500,
                  "wires": [
                      [
                          "0c7f79f1670db831"
                      ]
                  ]
              },
              {
                  "id": "3980458ba6d298ac",
                  "type": "ioBroker out",
                  "z": "2e295f1c879e6af4",
                  "name": "Küche Unterschrank rechts",
                  "topic": "sonoff.0.kueche_unterschrank_rechts.POWER",
                  "ack": "false",
                  "autoCreate": "false",
                  "stateName": "",
                  "role": "",
                  "payloadType": "",
                  "readonly": "",
                  "stateUnit": "",
                  "stateMin": "",
                  "stateMax": "",
                  "x": 1180,
                  "y": 560,
                  "wires": []
              },
              {
                  "id": "a7ac79dac573570f",
                  "type": "ioBroker out",
                  "z": "2e295f1c879e6af4",
                  "name": "Küche Decke",
                  "topic": "tuya.0.bf36b7d083796c35e8gq51.1",
                  "ack": "false",
                  "autoCreate": "false",
                  "stateName": "",
                  "role": "",
                  "payloadType": "",
                  "readonly": "",
                  "stateUnit": "",
                  "stateMin": "",
                  "stateMax": "",
                  "x": 1130,
                  "y": 620,
                  "wires": []
              },
              {
                  "id": "4c349095bd25378c",
                  "type": "ioBroker get",
                  "z": "2e295f1c879e6af4",
                  "name": "Reinigung Status",
                  "topic": "mihome-vacuum.1.info.state",
                  "attrname": "roborock",
                  "payloadType": "value",
                  "errOnInvalidState": "nothing",
                  "x": 590,
                  "y": 60,
                  "wires": [
                      [
                          "a95d63f2785aa847"
                      ]
                  ]
              },
              {
                  "id": "4b318acc0eab7b1b",
                  "type": "ioBroker in",
                  "z": "2e295f1c879e6af4",
                  "name": "Bad Motion",
                  "attrname": "payload",
                  "topic": "hue.0.Bad_Motion_Sensor.presence",
                  "payloadType": "value",
                  "onlyack": "",
                  "func": "all",
                  "gap": "",
                  "fireOnStart": "false",
                  "outFormat": "MQTT",
                  "x": 90,
                  "y": 40,
                  "wires": [
                      [
                          "66e5680c9143f38f"
                      ]
                  ]
              },
              {
                  "id": "9dd1e1bc2bca9ade",
                  "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": 1290,
                  "y": 100,
                  "wires": []
              },
              {
                  "id": "d0ddca612599b43c",
                  "type": "debug",
                  "z": "2e295f1c879e6af4",
                  "name": "debug 1",
                  "active": true,
                  "tosidebar": true,
                  "console": false,
                  "tostatus": false,
                  "complete": "payload",
                  "targetType": "msg",
                  "statusVal": "",
                  "statusType": "auto",
                  "x": 1280,
                  "y": 60,
                  "wires": []
              },
              {
                  "id": "a0aaa672fbf892e5",
                  "type": "inject",
                  "z": "2e295f1c879e6af4",
                  "name": "",
                  "props": [
                      {
                          "p": "payload"
                      }
                  ],
                  "repeat": "",
                  "crontab": "",
                  "once": false,
                  "onceDelay": 0.1,
                  "topic": "",
                  "payload": "true",
                  "payloadType": "str",
                  "x": 110,
                  "y": 100,
                  "wires": [
                      [
                          "66e5680c9143f38f"
                      ]
                  ]
              },
              {
                  "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": 340,
                  "y": 80,
                  "wires": [
                      [
                          "4c349095bd25378c",
                          "553c77a748e7869a"
                      ],
                      [
                          "553c77a748e7869a"
                      ]
                  ]
              },
              {
                  "id": "a95d63f2785aa847",
                  "type": "switch",
                  "z": "2e295f1c879e6af4",
                  "name": "Roborock nicht Status 5",
                  "property": "roborock",
                  "propertyType": "msg",
                  "rules": [
                      {
                          "t": "neq",
                          "v": "5",
                          "vt": "num"
                      }
                  ],
                  "checkall": "true",
                  "repair": false,
                  "outputs": 1,
                  "x": 930,
                  "y": 60,
                  "wires": [
                      [
                          "63495a6198767abe"
                      ]
                  ]
              },
              {
                  "id": "2cbb19c25bdbf55d",
                  "type": "trigger",
                  "z": "2e295f1c879e6af4",
                  "name": "Warte 1 Minute bevor false gesendet wird",
                  "op1": "true",
                  "op2": "false",
                  "op1type": "bool",
                  "op2type": "bool",
                  "duration": "60",
                  "extend": true,
                  "overrideDelay": false,
                  "units": "s",
                  "reset": "true",
                  "bytopic": "all",
                  "topic": "topic",
                  "outputs": 1,
                  "x": 920,
                  "y": 100,
                  "wires": [
                      [
                          "63495a6198767abe"
                      ]
                  ]
              },
              {
                  "id": "ded2386bc0ab0eb2",
                  "type": "ioBroker get",
                  "z": "2e295f1c879e6af4",
                  "name": "Reinigung Status",
                  "topic": "mihome-vacuum.1.info.state",
                  "attrname": "roborock",
                  "payloadType": "value",
                  "errOnInvalidState": "nothing",
                  "x": 590,
                  "y": 480,
                  "wires": [
                      [
                          "a72ab3c0be80704d"
                      ]
                  ]
              },
              {
                  "id": "0c7f79f1670db831",
                  "type": "switch",
                  "z": "2e295f1c879e6af4",
                  "name": "Bewegung erkannt?",
                  "property": "payload",
                  "propertyType": "msg",
                  "rules": [
                      {
                          "t": "true"
                      },
                      {
                          "t": "false"
                      }
                  ],
                  "checkall": "true",
                  "repair": false,
                  "outputs": 2,
                  "x": 340,
                  "y": 500,
                  "wires": [
                      [
                          "ded2386bc0ab0eb2",
                          "c0e067dc71657cd6"
                      ],
                      [
                          "c0e067dc71657cd6"
                      ]
                  ]
              },
              {
                  "id": "a72ab3c0be80704d",
                  "type": "switch",
                  "z": "2e295f1c879e6af4",
                  "name": "Roborock nicht Status 5",
                  "property": "roborock",
                  "propertyType": "msg",
                  "rules": [
                      {
                          "t": "neq",
                          "v": "5",
                          "vt": "num"
                      }
                  ],
                  "checkall": "true",
                  "repair": false,
                  "outputs": 1,
                  "x": 810,
                  "y": 480,
                  "wires": [
                      [
                          "51e1e3fc8f508df5"
                      ]
                  ]
              },
              {
                  "id": "fdd6a8d770321ddf",
                  "type": "trigger",
                  "z": "2e295f1c879e6af4",
                  "name": "Warte 1 Minute bevor false gesendet wird",
                  "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": 760,
                  "y": 520,
                  "wires": [
                      [
                          "51e1e3fc8f508df5"
                      ]
                  ]
              },
              {
                  "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": 330,
                  "y": 140,
                  "wires": [
                      [
                          "2cbb19c25bdbf55d"
                      ]
                  ]
              },
              {
                  "id": "d7b5fe24eb069f5c",
                  "type": "inject",
                  "z": "2e295f1c879e6af4",
                  "name": "Digital true",
                  "props": [
                      {
                          "p": "payload"
                      }
                  ],
                  "repeat": "",
                  "crontab": "",
                  "once": false,
                  "onceDelay": 0.1,
                  "topic": "",
                  "payload": "true",
                  "payloadType": "str",
                  "x": 100,
                  "y": 200,
                  "wires": [
                      [
                          "506488975306ad6c"
                      ]
                  ]
              },
              {
                  "id": "9e7ed5475aba6cfc",
                  "type": "inject",
                  "z": "2e295f1c879e6af4",
                  "name": "Digital false",
                  "props": [
                      {
                          "p": "payload"
                      }
                  ],
                  "repeat": "",
                  "crontab": "",
                  "once": false,
                  "onceDelay": 0.1,
                  "topic": "",
                  "payload": "false",
                  "payloadType": "str",
                  "x": 90,
                  "y": 260,
                  "wires": [
                      [
                          "506488975306ad6c"
                      ]
                  ]
              },
              {
                  "id": "58eac2439ec37bc9",
                  "type": "ioBroker get",
                  "z": "2e295f1c879e6af4",
                  "name": "Bad licht an Digital",
                  "topic": "0_userdata.0.Test_Schalter",
                  "attrname": "Alexa",
                  "payloadType": "value",
                  "errOnInvalidState": "nothing",
                  "x": 590,
                  "y": 180,
                  "wires": [
                      [
                          "2cbb19c25bdbf55d"
                      ]
                  ]
              },
              {
                  "id": "cf9b1ba0a9977865",
                  "type": "ioBroker get",
                  "z": "2e295f1c879e6af4",
                  "name": "Digital licht aus",
                  "topic": "0_userdata.0.Test_Schalter",
                  "attrname": "Alexa",
                  "payloadType": "value",
                  "errOnInvalidState": "nothing",
                  "x": 600,
                  "y": 240,
                  "wires": [
                      [
                          "b8f8997592b68e2c"
                      ]
                  ]
              },
              {
                  "id": "506488975306ad6c",
                  "type": "switch",
                  "z": "2e295f1c879e6af4",
                  "name": "Digital Schalter",
                  "property": "payload",
                  "propertyType": "msg",
                  "rules": [
                      {
                          "t": "true"
                      },
                      {
                          "t": "false"
                      }
                  ],
                  "checkall": "true",
                  "repair": false,
                  "outputs": 2,
                  "x": 320,
                  "y": 200,
                  "wires": [
                      [
                          "58eac2439ec37bc9"
                      ],
                      [
                          "cf9b1ba0a9977865"
                      ]
                  ]
              }
          ]
          

          Screenshot 2024-08-12 214833.png

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

          @aphofis Na ich weiss immer nicht welchen Flow Du nimmst. Dann musst Du halt alles in die Switch Node Bewegung erkannt schicken. Ich würde halt dann den Namen ändern in: Ist true.

          Dann brauchst auch nicht den Digitalen Schalter, der obere Switch ist ja dann schon der digitale Schalter

          03c2a98e-c258-43ee-91d8-877b5de2be2d-image.png

          Und anstelle der Alexa Node über einen Datenpunkt kannst ja den Flow direkt anschließen.

          [
             {
                 "id": "2e295f1c879e6af4",
                 "type": "tab",
                 "label": "Küche Bad Motion Timer",
                 "disabled": false,
                 "info": "",
                 "env": []
             },
             {
                 "id": "553c77a748e7869a",
                 "type": "junction",
                 "z": "2e295f1c879e6af4",
                 "x": 520,
                 "y": 100,
                 "wires": [
                     [
                         "2cbb19c25bdbf55d"
                     ]
                 ]
             },
             {
                 "id": "63495a6198767abe",
                 "type": "junction",
                 "z": "2e295f1c879e6af4",
                 "x": 1180,
                 "y": 100,
                 "wires": [
                     [
                         "d0ddca612599b43c",
                         "9dd1e1bc2bca9ade"
                     ]
                 ]
             },
             {
                 "id": "c0e067dc71657cd6",
                 "type": "junction",
                 "z": "2e295f1c879e6af4",
                 "x": 520,
                 "y": 520,
                 "wires": [
                     [
                         "fdd6a8d770321ddf"
                     ]
                 ]
             },
             {
                 "id": "51e1e3fc8f508df5",
                 "type": "junction",
                 "z": "2e295f1c879e6af4",
                 "x": 980,
                 "y": 500,
                 "wires": [
                     [
                         "e2da7a63d3c15673",
                         "f34957801db99988",
                         "3980458ba6d298ac",
                         "a7ac79dac573570f"
                     ]
                 ]
             },
             {
                 "id": "99a62a6f9b1c0c05",
                 "type": "junction",
                 "z": "2e295f1c879e6af4",
                 "x": 1180,
                 "y": 100,
                 "wires": [
                     []
                 ]
             },
             {
                 "id": "452d47f9ceae897d",
                 "type": "junction",
                 "z": "2e295f1c879e6af4",
                 "x": 200,
                 "y": 220,
                 "wires": [
                     [
                         "66e5680c9143f38f"
                     ]
                 ]
             },
             {
                 "id": "1ac75a0bc5ee3bc7",
                 "type": "ioBroker in",
                 "z": "2e295f1c879e6af4",
                 "name": "Küche Motion",
                 "attrname": "payload",
                 "topic": "hue.0.Küche_Motion_Sensor.presence",
                 "payloadType": "value",
                 "onlyack": "",
                 "func": "all",
                 "gap": "",
                 "fireOnStart": "false",
                 "outFormat": "MQTT",
                 "x": 110,
                 "y": 440,
                 "wires": [
                     [
                         "0c7f79f1670db831"
                     ]
                 ]
             },
             {
                 "id": "f34957801db99988",
                 "type": "ioBroker out",
                 "z": "2e295f1c879e6af4",
                 "name": "Küche Unterschrank links",
                 "topic": "hue.0.Küche_Unterschr_Links.on",
                 "ack": "false",
                 "autoCreate": "false",
                 "stateName": "",
                 "role": "",
                 "payloadType": "",
                 "readonly": "",
                 "stateUnit": "",
                 "stateMin": "",
                 "stateMax": "",
                 "x": 1170,
                 "y": 500,
                 "wires": []
             },
             {
                 "id": "e2da7a63d3c15673",
                 "type": "debug",
                 "z": "2e295f1c879e6af4",
                 "name": "debug 2",
                 "active": true,
                 "tosidebar": true,
                 "console": false,
                 "tostatus": false,
                 "complete": "payload",
                 "targetType": "msg",
                 "statusVal": "",
                 "statusType": "auto",
                 "x": 1120,
                 "y": 440,
                 "wires": []
             },
             {
                 "id": "08933b607402d98c",
                 "type": "inject",
                 "z": "2e295f1c879e6af4",
                 "name": "",
                 "props": [
                     {
                         "p": "payload"
                     }
                 ],
                 "repeat": "",
                 "crontab": "",
                 "once": false,
                 "onceDelay": 0.1,
                 "topic": "",
                 "payload": "true",
                 "payloadType": "str",
                 "x": 130,
                 "y": 500,
                 "wires": [
                     [
                         "0c7f79f1670db831"
                     ]
                 ]
             },
             {
                 "id": "3980458ba6d298ac",
                 "type": "ioBroker out",
                 "z": "2e295f1c879e6af4",
                 "name": "Küche Unterschrank rechts",
                 "topic": "sonoff.0.kueche_unterschrank_rechts.POWER",
                 "ack": "false",
                 "autoCreate": "false",
                 "stateName": "",
                 "role": "",
                 "payloadType": "",
                 "readonly": "",
                 "stateUnit": "",
                 "stateMin": "",
                 "stateMax": "",
                 "x": 1180,
                 "y": 560,
                 "wires": []
             },
             {
                 "id": "a7ac79dac573570f",
                 "type": "ioBroker out",
                 "z": "2e295f1c879e6af4",
                 "name": "Küche Decke",
                 "topic": "tuya.0.bf36b7d083796c35e8gq51.1",
                 "ack": "false",
                 "autoCreate": "false",
                 "stateName": "",
                 "role": "",
                 "payloadType": "",
                 "readonly": "",
                 "stateUnit": "",
                 "stateMin": "",
                 "stateMax": "",
                 "x": 1130,
                 "y": 620,
                 "wires": []
             },
             {
                 "id": "4c349095bd25378c",
                 "type": "ioBroker get",
                 "z": "2e295f1c879e6af4",
                 "name": "Reinigung Status",
                 "topic": "mihome-vacuum.1.info.state",
                 "attrname": "roborock",
                 "payloadType": "value",
                 "errOnInvalidState": "nothing",
                 "x": 630,
                 "y": 60,
                 "wires": [
                     [
                         "a95d63f2785aa847"
                     ]
                 ]
             },
             {
                 "id": "4b318acc0eab7b1b",
                 "type": "ioBroker in",
                 "z": "2e295f1c879e6af4",
                 "name": "Bad Motion",
                 "attrname": "payload",
                 "topic": "hue.0.Bad_Motion_Sensor.presence",
                 "payloadType": "value",
                 "onlyack": "",
                 "func": "all",
                 "gap": "",
                 "fireOnStart": "false",
                 "outFormat": "MQTT",
                 "x": 90,
                 "y": 40,
                 "wires": [
                     [
                         "66e5680c9143f38f"
                     ]
                 ]
             },
             {
                 "id": "9dd1e1bc2bca9ade",
                 "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": 1330,
                 "y": 100,
                 "wires": []
             },
             {
                 "id": "d0ddca612599b43c",
                 "type": "debug",
                 "z": "2e295f1c879e6af4",
                 "name": "debug 1",
                 "active": true,
                 "tosidebar": true,
                 "console": false,
                 "tostatus": false,
                 "complete": "payload",
                 "targetType": "msg",
                 "statusVal": "",
                 "statusType": "auto",
                 "x": 1320,
                 "y": 60,
                 "wires": []
             },
             {
                 "id": "66e5680c9143f38f",
                 "type": "switch",
                 "z": "2e295f1c879e6af4",
                 "name": "true/false ?",
                 "property": "payload",
                 "propertyType": "msg",
                 "rules": [
                     {
                         "t": "true"
                     },
                     {
                         "t": "false"
                     }
                 ],
                 "checkall": "true",
                 "repair": false,
                 "outputs": 2,
                 "x": 390,
                 "y": 80,
                 "wires": [
                     [
                         "4c349095bd25378c",
                         "553c77a748e7869a"
                     ],
                     [
                         "553c77a748e7869a"
                     ]
                 ]
             },
             {
                 "id": "a95d63f2785aa847",
                 "type": "switch",
                 "z": "2e295f1c879e6af4",
                 "name": "Roborock nicht Status 5",
                 "property": "roborock",
                 "propertyType": "msg",
                 "rules": [
                     {
                         "t": "neq",
                         "v": "5",
                         "vt": "num"
                     }
                 ],
                 "checkall": "true",
                 "repair": false,
                 "outputs": 1,
                 "x": 970,
                 "y": 60,
                 "wires": [
                     [
                         "63495a6198767abe"
                     ]
                 ]
             },
             {
                 "id": "2cbb19c25bdbf55d",
                 "type": "trigger",
                 "z": "2e295f1c879e6af4",
                 "name": "Warte 1 Minute bevor false gesendet wird",
                 "op1": "true",
                 "op2": "false",
                 "op1type": "bool",
                 "op2type": "bool",
                 "duration": "60",
                 "extend": true,
                 "overrideDelay": false,
                 "units": "s",
                 "reset": "true",
                 "bytopic": "all",
                 "topic": "topic",
                 "outputs": 1,
                 "x": 960,
                 "y": 100,
                 "wires": [
                     [
                         "63495a6198767abe"
                     ]
                 ]
             },
             {
                 "id": "ded2386bc0ab0eb2",
                 "type": "ioBroker get",
                 "z": "2e295f1c879e6af4",
                 "name": "Reinigung Status",
                 "topic": "mihome-vacuum.1.info.state",
                 "attrname": "roborock",
                 "payloadType": "value",
                 "errOnInvalidState": "nothing",
                 "x": 590,
                 "y": 480,
                 "wires": [
                     [
                         "a72ab3c0be80704d"
                     ]
                 ]
             },
             {
                 "id": "0c7f79f1670db831",
                 "type": "switch",
                 "z": "2e295f1c879e6af4",
                 "name": "Bewegung erkannt?",
                 "property": "payload",
                 "propertyType": "msg",
                 "rules": [
                     {
                         "t": "true"
                     },
                     {
                         "t": "false"
                     }
                 ],
                 "checkall": "true",
                 "repair": false,
                 "outputs": 2,
                 "x": 340,
                 "y": 500,
                 "wires": [
                     [
                         "ded2386bc0ab0eb2",
                         "c0e067dc71657cd6"
                     ],
                     [
                         "c0e067dc71657cd6"
                     ]
                 ]
             },
             {
                 "id": "a72ab3c0be80704d",
                 "type": "switch",
                 "z": "2e295f1c879e6af4",
                 "name": "Roborock nicht Status 5",
                 "property": "roborock",
                 "propertyType": "msg",
                 "rules": [
                     {
                         "t": "neq",
                         "v": "5",
                         "vt": "num"
                     }
                 ],
                 "checkall": "true",
                 "repair": false,
                 "outputs": 1,
                 "x": 810,
                 "y": 480,
                 "wires": [
                     [
                         "51e1e3fc8f508df5"
                     ]
                 ]
             },
             {
                 "id": "fdd6a8d770321ddf",
                 "type": "trigger",
                 "z": "2e295f1c879e6af4",
                 "name": "Warte 1 Minute bevor false gesendet wird",
                 "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": 760,
                 "y": 520,
                 "wires": [
                     [
                         "51e1e3fc8f508df5"
                     ]
                 ]
             },
             {
                 "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": 120,
                 "wires": [
                     [
                         "66e5680c9143f38f"
                     ]
                 ]
             },
             {
                 "id": "d7b5fe24eb069f5c",
                 "type": "inject",
                 "z": "2e295f1c879e6af4",
                 "name": "Digital true",
                 "props": [
                     {
                         "p": "payload"
                     }
                 ],
                 "repeat": "",
                 "crontab": "",
                 "once": false,
                 "onceDelay": 0.1,
                 "topic": "",
                 "payload": "true",
                 "payloadType": "str",
                 "x": 100,
                 "y": 200,
                 "wires": [
                     [
                         "452d47f9ceae897d"
                     ]
                 ]
             },
             {
                 "id": "9e7ed5475aba6cfc",
                 "type": "inject",
                 "z": "2e295f1c879e6af4",
                 "name": "Digital false",
                 "props": [
                     {
                         "p": "payload"
                     }
                 ],
                 "repeat": "",
                 "crontab": "",
                 "once": false,
                 "onceDelay": 0.1,
                 "topic": "",
                 "payload": "false",
                 "payloadType": "str",
                 "x": 90,
                 "y": 260,
                 "wires": [
                     [
                         "452d47f9ceae897d"
                     ]
                 ]
             }
          ]
          

          Und wenn Du für die anderen kein Überprüfung des Staubis haben willst, dann nimm den anderen Flow.

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

          AphofisA 1 Reply Last reply
          1
          • mickymM mickym

            @aphofis Na ich weiss immer nicht welchen Flow Du nimmst. Dann musst Du halt alles in die Switch Node Bewegung erkannt schicken. Ich würde halt dann den Namen ändern in: Ist true.

            Dann brauchst auch nicht den Digitalen Schalter, der obere Switch ist ja dann schon der digitale Schalter

            03c2a98e-c258-43ee-91d8-877b5de2be2d-image.png

            Und anstelle der Alexa Node über einen Datenpunkt kannst ja den Flow direkt anschließen.

            [
               {
                   "id": "2e295f1c879e6af4",
                   "type": "tab",
                   "label": "Küche Bad Motion Timer",
                   "disabled": false,
                   "info": "",
                   "env": []
               },
               {
                   "id": "553c77a748e7869a",
                   "type": "junction",
                   "z": "2e295f1c879e6af4",
                   "x": 520,
                   "y": 100,
                   "wires": [
                       [
                           "2cbb19c25bdbf55d"
                       ]
                   ]
               },
               {
                   "id": "63495a6198767abe",
                   "type": "junction",
                   "z": "2e295f1c879e6af4",
                   "x": 1180,
                   "y": 100,
                   "wires": [
                       [
                           "d0ddca612599b43c",
                           "9dd1e1bc2bca9ade"
                       ]
                   ]
               },
               {
                   "id": "c0e067dc71657cd6",
                   "type": "junction",
                   "z": "2e295f1c879e6af4",
                   "x": 520,
                   "y": 520,
                   "wires": [
                       [
                           "fdd6a8d770321ddf"
                       ]
                   ]
               },
               {
                   "id": "51e1e3fc8f508df5",
                   "type": "junction",
                   "z": "2e295f1c879e6af4",
                   "x": 980,
                   "y": 500,
                   "wires": [
                       [
                           "e2da7a63d3c15673",
                           "f34957801db99988",
                           "3980458ba6d298ac",
                           "a7ac79dac573570f"
                       ]
                   ]
               },
               {
                   "id": "99a62a6f9b1c0c05",
                   "type": "junction",
                   "z": "2e295f1c879e6af4",
                   "x": 1180,
                   "y": 100,
                   "wires": [
                       []
                   ]
               },
               {
                   "id": "452d47f9ceae897d",
                   "type": "junction",
                   "z": "2e295f1c879e6af4",
                   "x": 200,
                   "y": 220,
                   "wires": [
                       [
                           "66e5680c9143f38f"
                       ]
                   ]
               },
               {
                   "id": "1ac75a0bc5ee3bc7",
                   "type": "ioBroker in",
                   "z": "2e295f1c879e6af4",
                   "name": "Küche Motion",
                   "attrname": "payload",
                   "topic": "hue.0.Küche_Motion_Sensor.presence",
                   "payloadType": "value",
                   "onlyack": "",
                   "func": "all",
                   "gap": "",
                   "fireOnStart": "false",
                   "outFormat": "MQTT",
                   "x": 110,
                   "y": 440,
                   "wires": [
                       [
                           "0c7f79f1670db831"
                       ]
                   ]
               },
               {
                   "id": "f34957801db99988",
                   "type": "ioBroker out",
                   "z": "2e295f1c879e6af4",
                   "name": "Küche Unterschrank links",
                   "topic": "hue.0.Küche_Unterschr_Links.on",
                   "ack": "false",
                   "autoCreate": "false",
                   "stateName": "",
                   "role": "",
                   "payloadType": "",
                   "readonly": "",
                   "stateUnit": "",
                   "stateMin": "",
                   "stateMax": "",
                   "x": 1170,
                   "y": 500,
                   "wires": []
               },
               {
                   "id": "e2da7a63d3c15673",
                   "type": "debug",
                   "z": "2e295f1c879e6af4",
                   "name": "debug 2",
                   "active": true,
                   "tosidebar": true,
                   "console": false,
                   "tostatus": false,
                   "complete": "payload",
                   "targetType": "msg",
                   "statusVal": "",
                   "statusType": "auto",
                   "x": 1120,
                   "y": 440,
                   "wires": []
               },
               {
                   "id": "08933b607402d98c",
                   "type": "inject",
                   "z": "2e295f1c879e6af4",
                   "name": "",
                   "props": [
                       {
                           "p": "payload"
                       }
                   ],
                   "repeat": "",
                   "crontab": "",
                   "once": false,
                   "onceDelay": 0.1,
                   "topic": "",
                   "payload": "true",
                   "payloadType": "str",
                   "x": 130,
                   "y": 500,
                   "wires": [
                       [
                           "0c7f79f1670db831"
                       ]
                   ]
               },
               {
                   "id": "3980458ba6d298ac",
                   "type": "ioBroker out",
                   "z": "2e295f1c879e6af4",
                   "name": "Küche Unterschrank rechts",
                   "topic": "sonoff.0.kueche_unterschrank_rechts.POWER",
                   "ack": "false",
                   "autoCreate": "false",
                   "stateName": "",
                   "role": "",
                   "payloadType": "",
                   "readonly": "",
                   "stateUnit": "",
                   "stateMin": "",
                   "stateMax": "",
                   "x": 1180,
                   "y": 560,
                   "wires": []
               },
               {
                   "id": "a7ac79dac573570f",
                   "type": "ioBroker out",
                   "z": "2e295f1c879e6af4",
                   "name": "Küche Decke",
                   "topic": "tuya.0.bf36b7d083796c35e8gq51.1",
                   "ack": "false",
                   "autoCreate": "false",
                   "stateName": "",
                   "role": "",
                   "payloadType": "",
                   "readonly": "",
                   "stateUnit": "",
                   "stateMin": "",
                   "stateMax": "",
                   "x": 1130,
                   "y": 620,
                   "wires": []
               },
               {
                   "id": "4c349095bd25378c",
                   "type": "ioBroker get",
                   "z": "2e295f1c879e6af4",
                   "name": "Reinigung Status",
                   "topic": "mihome-vacuum.1.info.state",
                   "attrname": "roborock",
                   "payloadType": "value",
                   "errOnInvalidState": "nothing",
                   "x": 630,
                   "y": 60,
                   "wires": [
                       [
                           "a95d63f2785aa847"
                       ]
                   ]
               },
               {
                   "id": "4b318acc0eab7b1b",
                   "type": "ioBroker in",
                   "z": "2e295f1c879e6af4",
                   "name": "Bad Motion",
                   "attrname": "payload",
                   "topic": "hue.0.Bad_Motion_Sensor.presence",
                   "payloadType": "value",
                   "onlyack": "",
                   "func": "all",
                   "gap": "",
                   "fireOnStart": "false",
                   "outFormat": "MQTT",
                   "x": 90,
                   "y": 40,
                   "wires": [
                       [
                           "66e5680c9143f38f"
                       ]
                   ]
               },
               {
                   "id": "9dd1e1bc2bca9ade",
                   "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": 1330,
                   "y": 100,
                   "wires": []
               },
               {
                   "id": "d0ddca612599b43c",
                   "type": "debug",
                   "z": "2e295f1c879e6af4",
                   "name": "debug 1",
                   "active": true,
                   "tosidebar": true,
                   "console": false,
                   "tostatus": false,
                   "complete": "payload",
                   "targetType": "msg",
                   "statusVal": "",
                   "statusType": "auto",
                   "x": 1320,
                   "y": 60,
                   "wires": []
               },
               {
                   "id": "66e5680c9143f38f",
                   "type": "switch",
                   "z": "2e295f1c879e6af4",
                   "name": "true/false ?",
                   "property": "payload",
                   "propertyType": "msg",
                   "rules": [
                       {
                           "t": "true"
                       },
                       {
                           "t": "false"
                       }
                   ],
                   "checkall": "true",
                   "repair": false,
                   "outputs": 2,
                   "x": 390,
                   "y": 80,
                   "wires": [
                       [
                           "4c349095bd25378c",
                           "553c77a748e7869a"
                       ],
                       [
                           "553c77a748e7869a"
                       ]
                   ]
               },
               {
                   "id": "a95d63f2785aa847",
                   "type": "switch",
                   "z": "2e295f1c879e6af4",
                   "name": "Roborock nicht Status 5",
                   "property": "roborock",
                   "propertyType": "msg",
                   "rules": [
                       {
                           "t": "neq",
                           "v": "5",
                           "vt": "num"
                       }
                   ],
                   "checkall": "true",
                   "repair": false,
                   "outputs": 1,
                   "x": 970,
                   "y": 60,
                   "wires": [
                       [
                           "63495a6198767abe"
                       ]
                   ]
               },
               {
                   "id": "2cbb19c25bdbf55d",
                   "type": "trigger",
                   "z": "2e295f1c879e6af4",
                   "name": "Warte 1 Minute bevor false gesendet wird",
                   "op1": "true",
                   "op2": "false",
                   "op1type": "bool",
                   "op2type": "bool",
                   "duration": "60",
                   "extend": true,
                   "overrideDelay": false,
                   "units": "s",
                   "reset": "true",
                   "bytopic": "all",
                   "topic": "topic",
                   "outputs": 1,
                   "x": 960,
                   "y": 100,
                   "wires": [
                       [
                           "63495a6198767abe"
                       ]
                   ]
               },
               {
                   "id": "ded2386bc0ab0eb2",
                   "type": "ioBroker get",
                   "z": "2e295f1c879e6af4",
                   "name": "Reinigung Status",
                   "topic": "mihome-vacuum.1.info.state",
                   "attrname": "roborock",
                   "payloadType": "value",
                   "errOnInvalidState": "nothing",
                   "x": 590,
                   "y": 480,
                   "wires": [
                       [
                           "a72ab3c0be80704d"
                       ]
                   ]
               },
               {
                   "id": "0c7f79f1670db831",
                   "type": "switch",
                   "z": "2e295f1c879e6af4",
                   "name": "Bewegung erkannt?",
                   "property": "payload",
                   "propertyType": "msg",
                   "rules": [
                       {
                           "t": "true"
                       },
                       {
                           "t": "false"
                       }
                   ],
                   "checkall": "true",
                   "repair": false,
                   "outputs": 2,
                   "x": 340,
                   "y": 500,
                   "wires": [
                       [
                           "ded2386bc0ab0eb2",
                           "c0e067dc71657cd6"
                       ],
                       [
                           "c0e067dc71657cd6"
                       ]
                   ]
               },
               {
                   "id": "a72ab3c0be80704d",
                   "type": "switch",
                   "z": "2e295f1c879e6af4",
                   "name": "Roborock nicht Status 5",
                   "property": "roborock",
                   "propertyType": "msg",
                   "rules": [
                       {
                           "t": "neq",
                           "v": "5",
                           "vt": "num"
                       }
                   ],
                   "checkall": "true",
                   "repair": false,
                   "outputs": 1,
                   "x": 810,
                   "y": 480,
                   "wires": [
                       [
                           "51e1e3fc8f508df5"
                       ]
                   ]
               },
               {
                   "id": "fdd6a8d770321ddf",
                   "type": "trigger",
                   "z": "2e295f1c879e6af4",
                   "name": "Warte 1 Minute bevor false gesendet wird",
                   "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": 760,
                   "y": 520,
                   "wires": [
                       [
                           "51e1e3fc8f508df5"
                       ]
                   ]
               },
               {
                   "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": 120,
                   "wires": [
                       [
                           "66e5680c9143f38f"
                       ]
                   ]
               },
               {
                   "id": "d7b5fe24eb069f5c",
                   "type": "inject",
                   "z": "2e295f1c879e6af4",
                   "name": "Digital true",
                   "props": [
                       {
                           "p": "payload"
                       }
                   ],
                   "repeat": "",
                   "crontab": "",
                   "once": false,
                   "onceDelay": 0.1,
                   "topic": "",
                   "payload": "true",
                   "payloadType": "str",
                   "x": 100,
                   "y": 200,
                   "wires": [
                       [
                           "452d47f9ceae897d"
                       ]
                   ]
               },
               {
                   "id": "9e7ed5475aba6cfc",
                   "type": "inject",
                   "z": "2e295f1c879e6af4",
                   "name": "Digital false",
                   "props": [
                       {
                           "p": "payload"
                       }
                   ],
                   "repeat": "",
                   "crontab": "",
                   "once": false,
                   "onceDelay": 0.1,
                   "topic": "",
                   "payload": "false",
                   "payloadType": "str",
                   "x": 90,
                   "y": 260,
                   "wires": [
                       [
                           "452d47f9ceae897d"
                       ]
                   ]
               }
            ]
            

            Und wenn Du für die anderen kein Überprüfung des Staubis haben willst, dann nimm den anderen Flow.

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

            @mickym
            Ne das will nicht!
            hab einen Test Schalter Datenpunkt auf den die Steuerung laufen soll und bei Schalter false soll
            auch sofort das Licht aus gehen.
            By the way wie erstellst du diese Knotenpunkte ?

            mickymM 2 Replies Last reply
            0
            • AphofisA Aphofis

              @mickym
              Ne das will nicht!
              hab einen Test Schalter Datenpunkt auf den die Steuerung laufen soll und bei Schalter false soll
              auch sofort das Licht aus gehen.
              By the way wie erstellst du diese Knotenpunkte ?

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

              @aphofis Na dann wenn true und false sofort schalten soll, dann würde ich nur die iobroker-Out Node anschließen.

              af06e240-a2cd-4b0d-82f2-2a2630d7f0a1-image.png

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

              1 Reply Last reply
              1
              • AphofisA Aphofis

                @mickym
                Ne das will nicht!
                hab einen Test Schalter Datenpunkt auf den die Steuerung laufen soll und bei Schalter false soll
                auch sofort das Licht aus gehen.
                By the way wie erstellst du diese Knotenpunkte ?

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

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

                By the way wie erstellst du diese Knotenpunkte ?

                Rechte Maustaste:

                0857462a-23f9-406a-b16d-842a71ba2c40-image.png

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

                AphofisA 1 Reply Last reply
                1
                • mickymM mickym

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

                  By the way wie erstellst du diese Knotenpunkte ?

                  Rechte Maustaste:

                  0857462a-23f9-406a-b16d-842a71ba2c40-image.png

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

                  @mickym
                  So klappt es!
                  Es muss nicht die Timer Steuerung wenn man den Digital Lichtschalter benutzt. Dann kann man per Lichtschalter sofort abschalten oder per alexa abschalten. Wenn Alexa oder Schalter ist man ja eh physisch zu hause.

                  [
                      {
                          "id": "2e295f1c879e6af4",
                          "type": "tab",
                          "label": "Bad Motion Timer",
                          "disabled": false,
                          "info": "",
                          "env": []
                      },
                      {
                          "id": "553c77a748e7869a",
                          "type": "junction",
                          "z": "2e295f1c879e6af4",
                          "x": 740,
                          "y": 100,
                          "wires": [
                              [
                                  "2cbb19c25bdbf55d"
                              ]
                          ]
                      },
                      {
                          "id": "63495a6198767abe",
                          "type": "junction",
                          "z": "2e295f1c879e6af4",
                          "x": 1180,
                          "y": 100,
                          "wires": [
                              [
                                  "9dd1e1bc2bca9ade",
                                  "d0ddca612599b43c"
                              ]
                          ]
                      },
                      {
                          "id": "99a62a6f9b1c0c05",
                          "type": "junction",
                          "z": "2e295f1c879e6af4",
                          "x": 1180,
                          "y": 100,
                          "wires": [
                              []
                          ]
                      },
                      {
                          "id": "4c349095bd25378c",
                          "type": "ioBroker get",
                          "z": "2e295f1c879e6af4",
                          "name": "Reinigung Status",
                          "topic": "mihome-vacuum.1.info.state",
                          "attrname": "roborock",
                          "payloadType": "value",
                          "errOnInvalidState": "nothing",
                          "x": 810,
                          "y": 60,
                          "wires": [
                              [
                                  "a95d63f2785aa847"
                              ]
                          ]
                      },
                      {
                          "id": "4b318acc0eab7b1b",
                          "type": "ioBroker in",
                          "z": "2e295f1c879e6af4",
                          "name": "Bad Motion",
                          "attrname": "payload",
                          "topic": "hue.0.Bad_Motion_Sensor.presence",
                          "payloadType": "value",
                          "onlyack": "",
                          "func": "all",
                          "gap": "",
                          "fireOnStart": "false",
                          "outFormat": "MQTT",
                          "x": 90,
                          "y": 40,
                          "wires": [
                              [
                                  "66e5680c9143f38f"
                              ]
                          ]
                      },
                      {
                          "id": "9dd1e1bc2bca9ade",
                          "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": 1290,
                          "y": 100,
                          "wires": []
                      },
                      {
                          "id": "d0ddca612599b43c",
                          "type": "debug",
                          "z": "2e295f1c879e6af4",
                          "name": "debug 1",
                          "active": true,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "payload",
                          "targetType": "msg",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 1280,
                          "y": 60,
                          "wires": []
                      },
                      {
                          "id": "a0aaa672fbf892e5",
                          "type": "inject",
                          "z": "2e295f1c879e6af4",
                          "name": "",
                          "props": [
                              {
                                  "p": "payload"
                              }
                          ],
                          "repeat": "",
                          "crontab": "",
                          "once": false,
                          "onceDelay": 0.1,
                          "topic": "",
                          "payload": "true",
                          "payloadType": "str",
                          "x": 110,
                          "y": 100,
                          "wires": [
                              [
                                  "66e5680c9143f38f"
                              ]
                          ]
                      },
                      {
                          "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": 580,
                          "y": 60,
                          "wires": [
                              [
                                  "4c349095bd25378c",
                                  "553c77a748e7869a"
                              ],
                              [
                                  "553c77a748e7869a"
                              ]
                          ]
                      },
                      {
                          "id": "a95d63f2785aa847",
                          "type": "switch",
                          "z": "2e295f1c879e6af4",
                          "name": "Roborock nicht Status 5",
                          "property": "roborock",
                          "propertyType": "msg",
                          "rules": [
                              {
                                  "t": "neq",
                                  "v": "5",
                                  "vt": "num"
                              }
                          ],
                          "checkall": "true",
                          "repair": false,
                          "outputs": 1,
                          "x": 1030,
                          "y": 60,
                          "wires": [
                              [
                                  "63495a6198767abe"
                              ]
                          ]
                      },
                      {
                          "id": "2cbb19c25bdbf55d",
                          "type": "trigger",
                          "z": "2e295f1c879e6af4",
                          "name": "Warte 1 Minute bevor false gesendet wird",
                          "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": 980,
                          "y": 100,
                          "wires": [
                              [
                                  "63495a6198767abe"
                              ]
                          ]
                      },
                      {
                          "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": 140,
                          "wires": [
                              [
                                  "66e5680c9143f38f"
                              ]
                          ]
                      },
                      {
                          "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": 1290,
                          "y": 220,
                          "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": 200,
                          "wires": [
                              [
                                  "a6f995c7f01c5cc0"
                              ]
                          ]
                      },
                      {
                          "id": "a6f995c7f01c5cc0",
                          "type": "switch",
                          "z": "2e295f1c879e6af4",
                          "name": "Switch true/false",
                          "property": "payload",
                          "propertyType": "msg",
                          "rules": [
                              {
                                  "t": "true"
                              },
                              {
                                  "t": "false"
                              }
                          ],
                          "checkall": "true",
                          "repair": false,
                          "outputs": 2,
                          "x": 1080,
                          "y": 200,
                          "wires": [
                              [
                                  "fc25cbeee0cad617",
                                  "8abca0bad942f182"
                              ],
                              [
                                  "fc25cbeee0cad617",
                                  "8abca0bad942f182"
                              ]
                          ]
                      },
                      {
                          "id": "8abca0bad942f182",
                          "type": "debug",
                          "z": "2e295f1c879e6af4",
                          "name": "debug 9",
                          "active": true,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "false",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 1280,
                          "y": 180,
                          "wires": []
                      }
                  ]
                  

                  Screenshot 2024-08-12 222913.png
                  Hoffe das ist programmier technisch so korrekt.

                  mickymM AphofisA 2 Replies Last reply
                  0
                  • AphofisA Aphofis

                    @mickym
                    So klappt es!
                    Es muss nicht die Timer Steuerung wenn man den Digital Lichtschalter benutzt. Dann kann man per Lichtschalter sofort abschalten oder per alexa abschalten. Wenn Alexa oder Schalter ist man ja eh physisch zu hause.

                    [
                        {
                            "id": "2e295f1c879e6af4",
                            "type": "tab",
                            "label": "Bad Motion Timer",
                            "disabled": false,
                            "info": "",
                            "env": []
                        },
                        {
                            "id": "553c77a748e7869a",
                            "type": "junction",
                            "z": "2e295f1c879e6af4",
                            "x": 740,
                            "y": 100,
                            "wires": [
                                [
                                    "2cbb19c25bdbf55d"
                                ]
                            ]
                        },
                        {
                            "id": "63495a6198767abe",
                            "type": "junction",
                            "z": "2e295f1c879e6af4",
                            "x": 1180,
                            "y": 100,
                            "wires": [
                                [
                                    "9dd1e1bc2bca9ade",
                                    "d0ddca612599b43c"
                                ]
                            ]
                        },
                        {
                            "id": "99a62a6f9b1c0c05",
                            "type": "junction",
                            "z": "2e295f1c879e6af4",
                            "x": 1180,
                            "y": 100,
                            "wires": [
                                []
                            ]
                        },
                        {
                            "id": "4c349095bd25378c",
                            "type": "ioBroker get",
                            "z": "2e295f1c879e6af4",
                            "name": "Reinigung Status",
                            "topic": "mihome-vacuum.1.info.state",
                            "attrname": "roborock",
                            "payloadType": "value",
                            "errOnInvalidState": "nothing",
                            "x": 810,
                            "y": 60,
                            "wires": [
                                [
                                    "a95d63f2785aa847"
                                ]
                            ]
                        },
                        {
                            "id": "4b318acc0eab7b1b",
                            "type": "ioBroker in",
                            "z": "2e295f1c879e6af4",
                            "name": "Bad Motion",
                            "attrname": "payload",
                            "topic": "hue.0.Bad_Motion_Sensor.presence",
                            "payloadType": "value",
                            "onlyack": "",
                            "func": "all",
                            "gap": "",
                            "fireOnStart": "false",
                            "outFormat": "MQTT",
                            "x": 90,
                            "y": 40,
                            "wires": [
                                [
                                    "66e5680c9143f38f"
                                ]
                            ]
                        },
                        {
                            "id": "9dd1e1bc2bca9ade",
                            "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": 1290,
                            "y": 100,
                            "wires": []
                        },
                        {
                            "id": "d0ddca612599b43c",
                            "type": "debug",
                            "z": "2e295f1c879e6af4",
                            "name": "debug 1",
                            "active": true,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "payload",
                            "targetType": "msg",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 1280,
                            "y": 60,
                            "wires": []
                        },
                        {
                            "id": "a0aaa672fbf892e5",
                            "type": "inject",
                            "z": "2e295f1c879e6af4",
                            "name": "",
                            "props": [
                                {
                                    "p": "payload"
                                }
                            ],
                            "repeat": "",
                            "crontab": "",
                            "once": false,
                            "onceDelay": 0.1,
                            "topic": "",
                            "payload": "true",
                            "payloadType": "str",
                            "x": 110,
                            "y": 100,
                            "wires": [
                                [
                                    "66e5680c9143f38f"
                                ]
                            ]
                        },
                        {
                            "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": 580,
                            "y": 60,
                            "wires": [
                                [
                                    "4c349095bd25378c",
                                    "553c77a748e7869a"
                                ],
                                [
                                    "553c77a748e7869a"
                                ]
                            ]
                        },
                        {
                            "id": "a95d63f2785aa847",
                            "type": "switch",
                            "z": "2e295f1c879e6af4",
                            "name": "Roborock nicht Status 5",
                            "property": "roborock",
                            "propertyType": "msg",
                            "rules": [
                                {
                                    "t": "neq",
                                    "v": "5",
                                    "vt": "num"
                                }
                            ],
                            "checkall": "true",
                            "repair": false,
                            "outputs": 1,
                            "x": 1030,
                            "y": 60,
                            "wires": [
                                [
                                    "63495a6198767abe"
                                ]
                            ]
                        },
                        {
                            "id": "2cbb19c25bdbf55d",
                            "type": "trigger",
                            "z": "2e295f1c879e6af4",
                            "name": "Warte 1 Minute bevor false gesendet wird",
                            "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": 980,
                            "y": 100,
                            "wires": [
                                [
                                    "63495a6198767abe"
                                ]
                            ]
                        },
                        {
                            "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": 140,
                            "wires": [
                                [
                                    "66e5680c9143f38f"
                                ]
                            ]
                        },
                        {
                            "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": 1290,
                            "y": 220,
                            "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": 200,
                            "wires": [
                                [
                                    "a6f995c7f01c5cc0"
                                ]
                            ]
                        },
                        {
                            "id": "a6f995c7f01c5cc0",
                            "type": "switch",
                            "z": "2e295f1c879e6af4",
                            "name": "Switch true/false",
                            "property": "payload",
                            "propertyType": "msg",
                            "rules": [
                                {
                                    "t": "true"
                                },
                                {
                                    "t": "false"
                                }
                            ],
                            "checkall": "true",
                            "repair": false,
                            "outputs": 2,
                            "x": 1080,
                            "y": 200,
                            "wires": [
                                [
                                    "fc25cbeee0cad617",
                                    "8abca0bad942f182"
                                ],
                                [
                                    "fc25cbeee0cad617",
                                    "8abca0bad942f182"
                                ]
                            ]
                        },
                        {
                            "id": "8abca0bad942f182",
                            "type": "debug",
                            "z": "2e295f1c879e6af4",
                            "name": "debug 9",
                            "active": true,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "false",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 1280,
                            "y": 180,
                            "wires": []
                        }
                    ]
                    

                    Screenshot 2024-08-12 222913.png
                    Hoffe das ist programmier technisch so korrekt.

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

                    @aphofis Nein der switch ist doch überflüssig, wenn du sowohl true und false an die iobroker-Out Node schickst. Lösch die.

                    74671101-885c-4747-875c-018c8371ebce-image.png

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

                    1 Reply Last reply
                    1
                    • AphofisA Aphofis

                      @mickym
                      So klappt es!
                      Es muss nicht die Timer Steuerung wenn man den Digital Lichtschalter benutzt. Dann kann man per Lichtschalter sofort abschalten oder per alexa abschalten. Wenn Alexa oder Schalter ist man ja eh physisch zu hause.

                      [
                          {
                              "id": "2e295f1c879e6af4",
                              "type": "tab",
                              "label": "Bad Motion Timer",
                              "disabled": false,
                              "info": "",
                              "env": []
                          },
                          {
                              "id": "553c77a748e7869a",
                              "type": "junction",
                              "z": "2e295f1c879e6af4",
                              "x": 740,
                              "y": 100,
                              "wires": [
                                  [
                                      "2cbb19c25bdbf55d"
                                  ]
                              ]
                          },
                          {
                              "id": "63495a6198767abe",
                              "type": "junction",
                              "z": "2e295f1c879e6af4",
                              "x": 1180,
                              "y": 100,
                              "wires": [
                                  [
                                      "9dd1e1bc2bca9ade",
                                      "d0ddca612599b43c"
                                  ]
                              ]
                          },
                          {
                              "id": "99a62a6f9b1c0c05",
                              "type": "junction",
                              "z": "2e295f1c879e6af4",
                              "x": 1180,
                              "y": 100,
                              "wires": [
                                  []
                              ]
                          },
                          {
                              "id": "4c349095bd25378c",
                              "type": "ioBroker get",
                              "z": "2e295f1c879e6af4",
                              "name": "Reinigung Status",
                              "topic": "mihome-vacuum.1.info.state",
                              "attrname": "roborock",
                              "payloadType": "value",
                              "errOnInvalidState": "nothing",
                              "x": 810,
                              "y": 60,
                              "wires": [
                                  [
                                      "a95d63f2785aa847"
                                  ]
                              ]
                          },
                          {
                              "id": "4b318acc0eab7b1b",
                              "type": "ioBroker in",
                              "z": "2e295f1c879e6af4",
                              "name": "Bad Motion",
                              "attrname": "payload",
                              "topic": "hue.0.Bad_Motion_Sensor.presence",
                              "payloadType": "value",
                              "onlyack": "",
                              "func": "all",
                              "gap": "",
                              "fireOnStart": "false",
                              "outFormat": "MQTT",
                              "x": 90,
                              "y": 40,
                              "wires": [
                                  [
                                      "66e5680c9143f38f"
                                  ]
                              ]
                          },
                          {
                              "id": "9dd1e1bc2bca9ade",
                              "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": 1290,
                              "y": 100,
                              "wires": []
                          },
                          {
                              "id": "d0ddca612599b43c",
                              "type": "debug",
                              "z": "2e295f1c879e6af4",
                              "name": "debug 1",
                              "active": true,
                              "tosidebar": true,
                              "console": false,
                              "tostatus": false,
                              "complete": "payload",
                              "targetType": "msg",
                              "statusVal": "",
                              "statusType": "auto",
                              "x": 1280,
                              "y": 60,
                              "wires": []
                          },
                          {
                              "id": "a0aaa672fbf892e5",
                              "type": "inject",
                              "z": "2e295f1c879e6af4",
                              "name": "",
                              "props": [
                                  {
                                      "p": "payload"
                                  }
                              ],
                              "repeat": "",
                              "crontab": "",
                              "once": false,
                              "onceDelay": 0.1,
                              "topic": "",
                              "payload": "true",
                              "payloadType": "str",
                              "x": 110,
                              "y": 100,
                              "wires": [
                                  [
                                      "66e5680c9143f38f"
                                  ]
                              ]
                          },
                          {
                              "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": 580,
                              "y": 60,
                              "wires": [
                                  [
                                      "4c349095bd25378c",
                                      "553c77a748e7869a"
                                  ],
                                  [
                                      "553c77a748e7869a"
                                  ]
                              ]
                          },
                          {
                              "id": "a95d63f2785aa847",
                              "type": "switch",
                              "z": "2e295f1c879e6af4",
                              "name": "Roborock nicht Status 5",
                              "property": "roborock",
                              "propertyType": "msg",
                              "rules": [
                                  {
                                      "t": "neq",
                                      "v": "5",
                                      "vt": "num"
                                  }
                              ],
                              "checkall": "true",
                              "repair": false,
                              "outputs": 1,
                              "x": 1030,
                              "y": 60,
                              "wires": [
                                  [
                                      "63495a6198767abe"
                                  ]
                              ]
                          },
                          {
                              "id": "2cbb19c25bdbf55d",
                              "type": "trigger",
                              "z": "2e295f1c879e6af4",
                              "name": "Warte 1 Minute bevor false gesendet wird",
                              "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": 980,
                              "y": 100,
                              "wires": [
                                  [
                                      "63495a6198767abe"
                                  ]
                              ]
                          },
                          {
                              "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": 140,
                              "wires": [
                                  [
                                      "66e5680c9143f38f"
                                  ]
                              ]
                          },
                          {
                              "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": 1290,
                              "y": 220,
                              "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": 200,
                              "wires": [
                                  [
                                      "a6f995c7f01c5cc0"
                                  ]
                              ]
                          },
                          {
                              "id": "a6f995c7f01c5cc0",
                              "type": "switch",
                              "z": "2e295f1c879e6af4",
                              "name": "Switch true/false",
                              "property": "payload",
                              "propertyType": "msg",
                              "rules": [
                                  {
                                      "t": "true"
                                  },
                                  {
                                      "t": "false"
                                  }
                              ],
                              "checkall": "true",
                              "repair": false,
                              "outputs": 2,
                              "x": 1080,
                              "y": 200,
                              "wires": [
                                  [
                                      "fc25cbeee0cad617",
                                      "8abca0bad942f182"
                                  ],
                                  [
                                      "fc25cbeee0cad617",
                                      "8abca0bad942f182"
                                  ]
                              ]
                          },
                          {
                              "id": "8abca0bad942f182",
                              "type": "debug",
                              "z": "2e295f1c879e6af4",
                              "name": "debug 9",
                              "active": true,
                              "tosidebar": true,
                              "console": false,
                              "tostatus": false,
                              "complete": "false",
                              "statusVal": "",
                              "statusType": "auto",
                              "x": 1280,
                              "y": 180,
                              "wires": []
                          }
                      ]
                      

                      Screenshot 2024-08-12 222913.png
                      Hoffe das ist programmier technisch so korrekt.

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

                      Hab da moch so einige Wemos Mini einige Netzteile die in eine Lichtschalter Unterputzdose reinpassen. muss dann nur noch blenden mit digital taster (Button) finden dann kann das Projekt Digital Schalter los gehen. Erstmal nur Küche und Bad.

                      mickymM 1 Reply Last reply
                      0
                      • AphofisA Aphofis

                        Hab da moch so einige Wemos Mini einige Netzteile die in eine Lichtschalter Unterputzdose reinpassen. muss dann nur noch blenden mit digital taster (Button) finden dann kann das Projekt Digital Schalter los gehen. Erstmal nur Küche und Bad.

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

                        @aphofis Ja aber Du musst verstehen was Du machst. Ein Switch der nach Nachrichten aufteilt und beides wieder in eine Node schickt ist unsinnig

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

                        AphofisA 1 Reply Last reply
                        0
                        • mickymM mickym

                          @aphofis Ja aber Du musst verstehen was Du machst. Ein Switch der nach Nachrichten aufteilt und beides wieder in eine Node schickt ist unsinnig

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

                          @mickym
                          Also dann nur so !?
                          Screenshot 2024-08-12 231636.png

                          mickymM 1 Reply Last reply
                          0
                          • AphofisA Aphofis

                            @mickym
                            Also dann nur so !?
                            Screenshot 2024-08-12 231636.png

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

                            @aphofis genau - Du kopierst quasi den Inhalt Deines digitalen Schalters in den Steuerungsdatenpunkt Deiner Lampe.

                            Jetzt stellt sich natürlich die Frage, warum Du diesen digitalen Schalter brauchst und nicht direkt die Lampe steuerst. ? ;)

                            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 mickymM 3 Replies Last reply
                            0
                            • mickymM mickym

                              @aphofis genau - Du kopierst quasi den Inhalt Deines digitalen Schalters in den Steuerungsdatenpunkt Deiner Lampe.

                              Jetzt stellt sich natürlich die Frage, warum Du diesen digitalen Schalter brauchst und nicht direkt die Lampe steuerst. ? ;)

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

                              @mickym
                              Perfekt.! 😀 Funktioniert soweit auch.
                              Mach das dann aber doch mit Digital Glas Touch Schaltern mit Tuya.
                              Nun verrate doch mal wie du die Knotenpunkte erstellst
                              Screenshot 2024-08-12 231636b.png

                              mickymM 1 Reply Last reply
                              0
                              • mickymM mickym

                                @aphofis genau - Du kopierst quasi den Inhalt Deines digitalen Schalters in den Steuerungsdatenpunkt Deiner Lampe.

                                Jetzt stellt sich natürlich die Frage, warum Du diesen digitalen Schalter brauchst und nicht direkt die Lampe steuerst. ? ;)

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

                                @mickym
                                Weil ich noch normale Lichtschalter habe wenn diese betätigt werden sind auch die Geräte offline. Weil diese noch mit Nullleiter arbeiten. Dh Schalter aus Gerät offline wenn nachher die Neuen Tuya Lichtschalter da sind die arbeiten ohen Nullleiter. Dann sind die Schalter immer erreichbar und sehen dazu auch noch schick aus.
                                Die Geräte die ich verbaut hatte liegen in der Zwischendecke und sind von der Phase des Lichtschalters abhängig.

                                1 Reply Last reply
                                0
                                • mickymM mickym

                                  @aphofis genau - Du kopierst quasi den Inhalt Deines digitalen Schalters in den Steuerungsdatenpunkt Deiner Lampe.

                                  Jetzt stellt sich natürlich die Frage, warum Du diesen digitalen Schalter brauchst und nicht direkt die Lampe steuerst. ? ;)

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

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

                                  Mach das dann aber doch mit Digital Glas Touch Schaltern mit Tuya.

                                  Nun warum nimmst Du dann nicht den Tuya Datenpunkt und schaltest damit Dein Licht? - Warum braucht es diesen Zwischenpunkt?

                                  Nun verrate doch mal wie du die Knotenpunkte erstellst

                                  Hab ich doch: https://forum.iobroker.net/post/1190282

                                  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

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

                                    Mach das dann aber doch mit Digital Glas Touch Schaltern mit Tuya.

                                    Nun warum nimmst Du dann nicht den Tuya Datenpunkt und schaltest damit Dein Licht? - Warum braucht es diesen Zwischenpunkt?

                                    Nun verrate doch mal wie du die Knotenpunkte erstellst

                                    Hab ich doch: https://forum.iobroker.net/post/1190282

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

                                    @mickym
                                    In den Lichtschalter Unterputzdosen ist nicht so viel Platz um da ein Shelly Tuya etc einzubauen.
                                    Hätte ich dann ja über die normalen Lichtschalter realisieren können. Aber extra tiefe Unterputzdosen einarbeiten ist mir für eine Mietwohnung dann doch zu viel. Sollte ich hier ausziehen, nehme ich ja alles mit.

                                    AphofisA mickymM 2 Replies Last reply
                                    0
                                    • AphofisA Aphofis

                                      @mickym
                                      In den Lichtschalter Unterputzdosen ist nicht so viel Platz um da ein Shelly Tuya etc einzubauen.
                                      Hätte ich dann ja über die normalen Lichtschalter realisieren können. Aber extra tiefe Unterputzdosen einarbeiten ist mir für eine Mietwohnung dann doch zu viel. Sollte ich hier ausziehen, nehme ich ja alles mit.

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

                                      Sorry hab ich überlesen! Super die Knotenpunkte sind echt was tolles um die verdrahtung besser zu sehen.

                                      1 Reply Last reply
                                      0
                                      • AphofisA Aphofis

                                        @mickym
                                        In den Lichtschalter Unterputzdosen ist nicht so viel Platz um da ein Shelly Tuya etc einzubauen.
                                        Hätte ich dann ja über die normalen Lichtschalter realisieren können. Aber extra tiefe Unterputzdosen einarbeiten ist mir für eine Mietwohnung dann doch zu viel. Sollte ich hier ausziehen, nehme ich ja alles mit.

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

                                        @aphofis Das mag alles sein. Mir geht es nicht um die Hardware - wie steuerst Du denn diesen Digitalen Schalter Datenpunkt an??

                                        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 Das mag alles sein. Mir geht es nicht um die Hardware - wie steuerst Du denn diesen Digitalen Schalter Datenpunkt an??

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

                                          @mickym
                                          Naja die Tuya Schalter sind per Adapter verbunden und wenn man auf den Touch Button drückt geht der Datenpunkt in true wenn man noch mal tippt geht er false.
                                          Die Lichtschalter sind ja per Tuya Adapter verbunden.
                                          Also wenn ich die Frage richtig verstanden habe.

                                          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

                                          499

                                          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