Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Node-Red
    5. Lichtsteuerungen zusammenführen

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Lichtsteuerungen zusammenführen

    This topic has been deleted. Only users with topic management privileges can see it.
    • Aphofis
      Aphofis last edited by

      Ich habe da zwei Licht Steuerungen, die würde ich gerne zusammenführen.
      Doch wie genau weiß ich nicht!

      [
          {
              "id": "f40fbc4eb5ac4f7a",
              "type": "tab",
              "label": "Küche",
              "disabled": false,
              "info": "",
              "env": []
          },
          {
              "id": "fc88c77c4424af2c",
              "type": "junction",
              "z": "f40fbc4eb5ac4f7a",
              "x": 860,
              "y": 160,
              "wires": [
                  [
                      "b49be6e032cde881"
                  ]
              ]
          },
          {
              "id": "b49be6e032cde881",
              "type": "junction",
              "z": "f40fbc4eb5ac4f7a",
              "x": 900,
              "y": 220,
              "wires": [
                  [
                      "7d73947c87e35f57",
                      "dcc353217425630f",
                      "1f07037a23094e99"
                  ]
              ]
          },
          {
              "id": "6e6e711ff5777b71",
              "type": "junction",
              "z": "f40fbc4eb5ac4f7a",
              "x": 320,
              "y": 340,
              "wires": [
                  [
                      "4f455781e0a33218"
                  ]
              ]
          },
          {
              "id": "4f455781e0a33218",
              "type": "junction",
              "z": "f40fbc4eb5ac4f7a",
              "x": 460,
              "y": 340,
              "wires": [
                  [
                      "26ce938c1bbd0c58",
                      "0182de9c40db9d98"
                  ]
              ]
          },
          {
              "id": "a6e05a1f2404586c",
              "type": "junction",
              "z": "f40fbc4eb5ac4f7a",
              "x": 580,
              "y": 160,
              "wires": [
                  [
                      "194dc1820494d39c"
                  ]
              ]
          },
          {
              "id": "8b1f768c5ac55fb7",
              "type": "junction",
              "z": "f40fbc4eb5ac4f7a",
              "x": 260,
              "y": 960,
              "wires": [
                  [
                      "b3d8036a64457411",
                      "f553aaa3706983a3",
                      "14bf32a96a32b1c7"
                  ]
              ]
          },
          {
              "id": "1dcf234734c3df9c",
              "type": "junction",
              "z": "f40fbc4eb5ac4f7a",
              "x": 860,
              "y": 300,
              "wires": [
                  [
                      "b49be6e032cde881"
                  ]
              ]
          },
          {
              "id": "a9a291ef92812c32",
              "type": "junction",
              "z": "f40fbc4eb5ac4f7a",
              "x": 780,
              "y": 480,
              "wires": [
                  [
                      "589ac75a5e32f1d9",
                      "0d321e0ed699fec1",
                      "138c91dc2bbc1ae3"
                  ]
              ]
          },
          {
              "id": "9f1e5b8e50507105",
              "type": "junction",
              "z": "f40fbc4eb5ac4f7a",
              "x": 680,
              "y": 480,
              "wires": [
                  [
                      "a9a291ef92812c32"
                  ]
              ]
          },
          {
              "id": "84d4bb451aa3dab5",
              "type": "ioBroker get",
              "z": "f40fbc4eb5ac4f7a",
              "name": "Robi Status",
              "topic": "roborock.0.Devices.7Fc43lXlk5X7fmVJtBkqnZ.deviceStatus.state",
              "attrname": "roborock",
              "payloadType": "value",
              "errOnInvalidState": "nothing",
              "x": 610,
              "y": 80,
              "wires": [
                  [
                      "3061bfad7aebe323"
                  ]
              ]
          },
          {
              "id": "7673c7cc73600166",
              "type": "switch",
              "z": "f40fbc4eb5ac4f7a",
              "name": "Bewegung",
              "property": "payload",
              "propertyType": "msg",
              "rules": [
                  {
                      "t": "true"
                  },
                  {
                      "t": "false"
                  }
              ],
              "checkall": "true",
              "repair": false,
              "outputs": 2,
              "x": 430,
              "y": 100,
              "wires": [
                  [
                      "84d4bb451aa3dab5",
                      "a6e05a1f2404586c"
                  ],
                  [
                      "a6e05a1f2404586c"
                  ]
              ]
          },
          {
              "id": "3061bfad7aebe323",
              "type": "switch",
              "z": "f40fbc4eb5ac4f7a",
              "name": "Robi nicht 18",
              "property": "roborock",
              "propertyType": "msg",
              "rules": [
                  {
                      "t": "neq",
                      "v": "18",
                      "vt": "num"
                  }
              ],
              "checkall": "true",
              "repair": false,
              "outputs": 1,
              "x": 770,
              "y": 80,
              "wires": [
                  [
                      "fc88c77c4424af2c"
                  ]
              ]
          },
          {
              "id": "194dc1820494d39c",
              "type": "trigger",
              "z": "f40fbc4eb5ac4f7a",
              "name": "",
              "op1": "",
              "op2": "false",
              "op1type": "nul",
              "op2type": "bool",
              "duration": "3",
              "extend": true,
              "overrideDelay": false,
              "units": "min",
              "reset": "true",
              "bytopic": "all",
              "topic": "topic",
              "outputs": 1,
              "x": 690,
              "y": 160,
              "wires": [
                  [
                      "fc88c77c4424af2c"
                  ]
              ]
          },
          {
              "id": "be371d6d59f9ad07",
              "type": "ioBroker in",
              "z": "f40fbc4eb5ac4f7a",
              "name": "Lichtschalter Küche",
              "attrname": "payload",
              "topic": "tuya.0.bfa31f81841589e9aerhgk.1",
              "payloadType": "value",
              "onlyack": "",
              "func": "rbe-preinitvalue",
              "gap": "",
              "fireOnStart": "false",
              "outFormat": "MQTT",
              "x": 110,
              "y": 160,
              "wires": [
                  [
                      "94d93835fe8a25be",
                      "3d21d9610456f9ab"
                  ]
              ]
          },
          {
              "id": "a2f5c4868e48c194",
              "type": "switch",
              "z": "f40fbc4eb5ac4f7a",
              "name": "",
              "property": "Schalter.Küche",
              "propertyType": "flow",
              "rules": [
                  {
                      "t": "false"
                  }
              ],
              "checkall": "true",
              "repair": false,
              "outputs": 1,
              "x": 290,
              "y": 100,
              "wires": [
                  [
                      "7673c7cc73600166"
                  ]
              ]
          },
          {
              "id": "94d93835fe8a25be",
              "type": "change",
              "z": "f40fbc4eb5ac4f7a",
              "name": "",
              "rules": [
                  {
                      "t": "set",
                      "p": "reset",
                      "pt": "msg",
                      "to": "true",
                      "tot": "bool"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 410,
              "y": 160,
              "wires": [
                  [
                      "a6e05a1f2404586c"
                  ]
              ]
          },
          {
              "id": "342657ba818c17e7",
              "type": "change",
              "z": "f40fbc4eb5ac4f7a",
              "name": "",
              "rules": [
                  {
                      "t": "set",
                      "p": "reset",
                      "pt": "msg",
                      "to": "true",
                      "tot": "bool"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 410,
              "y": 220,
              "wires": [
                  [
                      "a6e05a1f2404586c"
                  ]
              ]
          },
          {
              "id": "3d21d9610456f9ab",
              "type": "switch",
              "z": "f40fbc4eb5ac4f7a",
              "name": "true/false?",
              "property": "payload",
              "propertyType": "msg",
              "rules": [
                  {
                      "t": "true"
                  },
                  {
                      "t": "false"
                  }
              ],
              "checkall": "true",
              "repair": false,
              "outputs": 2,
              "x": 150,
              "y": 260,
              "wires": [
                  [
                      "1706332e7fed829e",
                      "342657ba818c17e7"
                  ],
                  [
                      "6e6e711ff5777b71"
                  ]
              ]
          },
          {
              "id": "1706332e7fed829e",
              "type": "change",
              "z": "f40fbc4eb5ac4f7a",
              "name": "Setze Schalter",
              "rules": [
                  {
                      "t": "set",
                      "p": "Schalter.Küche",
                      "pt": "flow",
                      "to": "true",
                      "tot": "bool"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 400,
              "y": 300,
              "wires": [
                  [
                      "26ce938c1bbd0c58"
                  ]
              ]
          },
          {
              "id": "26ce938c1bbd0c58",
              "type": "trigger",
              "z": "f40fbc4eb5ac4f7a",
              "name": "",
              "op1": "true",
              "op2": "false",
              "op1type": "bool",
              "op2type": "bool",
              "duration": "45",
              "extend": false,
              "overrideDelay": false,
              "units": "min",
              "reset": "false",
              "bytopic": "all",
              "topic": "topic",
              "outputs": 2,
              "x": 580,
              "y": 300,
              "wires": [
                  [
                      "1dcf234734c3df9c"
                  ],
                  [
                      "0182de9c40db9d98"
                  ]
              ]
          },
          {
              "id": "0182de9c40db9d98",
              "type": "change",
              "z": "f40fbc4eb5ac4f7a",
              "name": "setze Schalter",
              "rules": [
                  {
                      "t": "set",
                      "p": "Schalter.Küche",
                      "pt": "flow",
                      "to": "false",
                      "tot": "bool"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 760,
              "y": 340,
              "wires": [
                  [
                      "1dcf234734c3df9c"
                  ]
              ]
          },
          {
              "id": "a97a226b3f474ea9",
              "type": "ioBroker out",
              "z": "f40fbc4eb5ac4f7a",
              "name": "U rechts",
              "topic": "tuya.0.bfcdbb4059ddda6838ujep.1",
              "ack": "false",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "payloadType": "",
              "readonly": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 1260,
              "y": 260,
              "wires": []
          },
          {
              "id": "03869dfcbce2b0af",
              "type": "ioBroker in",
              "z": "f40fbc4eb5ac4f7a",
              "name": "Küche Motion",
              "attrname": "payload",
              "topic": "hue.0.Küche_Motion_Sensor.presence",
              "payloadType": "value",
              "onlyack": "",
              "func": "all",
              "gap": "",
              "fireOnStart": "false",
              "outFormat": "MQTT",
              "x": 110,
              "y": 40,
              "wires": [
                  [
                      "a2f5c4868e48c194"
                  ]
              ]
          },
          {
              "id": "3f0890b72c3d6dd1",
              "type": "ioBroker in",
              "z": "f40fbc4eb5ac4f7a",
              "name": "Lichtschalter Küche",
              "attrname": "payload",
              "topic": "tuya.0.bf36dedbf6c5bdc5c9mm42.1",
              "payloadType": "value",
              "onlyack": "",
              "func": "rbe-preinitvalue",
              "gap": "",
              "fireOnStart": "false",
              "outFormat": "MQTT",
              "x": 110,
              "y": 960,
              "wires": [
                  [
                      "8b1f768c5ac55fb7"
                  ]
              ]
          },
          {
              "id": "6430d85efdcb66b1",
              "type": "ioBroker out",
              "z": "f40fbc4eb5ac4f7a",
              "name": "Unters. links",
              "topic": "hue.0.Küche_Unterschr_Links.on",
              "ack": "false",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "payloadType": "",
              "readonly": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 610,
              "y": 900,
              "wires": []
          },
          {
              "id": "0cfd2dfdb7fd9d73",
              "type": "ioBroker out",
              "z": "f40fbc4eb5ac4f7a",
              "name": "Unters. rechts",
              "topic": "tuya.0.bfcdbb4059ddda6838ujep.1",
              "ack": "false",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "payloadType": "",
              "readonly": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 620,
              "y": 960,
              "wires": []
          },
          {
              "id": "b3d8036a64457411",
              "type": "ioBroker out",
              "z": "f40fbc4eb5ac4f7a",
              "name": "Küche Decke",
              "topic": "tuya.0.bf36dedbf6c5bdc5c9mm42.1",
              "ack": "false",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "payloadType": "",
              "readonly": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 380,
              "y": 1020,
              "wires": []
          },
          {
              "id": "ded301b5b49c0551",
              "type": "inject",
              "z": "f40fbc4eb5ac4f7a",
              "name": "true",
              "props": [
                  {
                      "p": "payload"
                  },
                  {
                      "p": "topic",
                      "vt": "str"
                  }
              ],
              "repeat": "",
              "crontab": "",
              "once": false,
              "onceDelay": 0.1,
              "topic": "",
              "payload": "true",
              "payloadType": "bool",
              "x": 150,
              "y": 900,
              "wires": [
                  [
                      "8b1f768c5ac55fb7"
                  ]
              ]
          },
          {
              "id": "2f524036a6f06b95",
              "type": "inject",
              "z": "f40fbc4eb5ac4f7a",
              "name": "false",
              "props": [
                  {
                      "p": "payload"
                  },
                  {
                      "p": "topic",
                      "vt": "str"
                  }
              ],
              "repeat": "",
              "crontab": "",
              "once": false,
              "onceDelay": 0.1,
              "topic": "",
              "payload": "false",
              "payloadType": "bool",
              "x": 150,
              "y": 1020,
              "wires": [
                  [
                      "8b1f768c5ac55fb7"
                  ]
              ]
          },
          {
              "id": "54287ad8a665fae3",
              "type": "ioBroker in",
              "z": "f40fbc4eb5ac4f7a",
              "name": "Küche Motion",
              "attrname": "payload",
              "topic": "tuya.0.bf15a2489964bff33bavvv.1",
              "payloadType": "value",
              "onlyack": "",
              "func": "all",
              "gap": "",
              "fireOnStart": "false",
              "outFormat": "MQTT",
              "x": 110,
              "y": 100,
              "wires": [
                  [
                      "a2f5c4868e48c194"
                  ]
              ]
          },
          {
              "id": "7d73947c87e35f57",
              "type": "delay",
              "z": "f40fbc4eb5ac4f7a",
              "name": "",
              "pauseType": "delay",
              "timeout": "500",
              "timeoutUnits": "milliseconds",
              "rate": "1",
              "nbRateUnits": "1",
              "rateUnits": "second",
              "randomFirst": "1",
              "randomLast": "5",
              "randomUnits": "seconds",
              "drop": false,
              "allowrate": false,
              "outputs": 1,
              "x": 1060,
              "y": 200,
              "wires": [
                  [
                      "b631d852bc867db6"
                  ]
              ]
          },
          {
              "id": "dcc353217425630f",
              "type": "delay",
              "z": "f40fbc4eb5ac4f7a",
              "name": "",
              "pauseType": "delay",
              "timeout": "800",
              "timeoutUnits": "milliseconds",
              "rate": "1",
              "nbRateUnits": "1",
              "rateUnits": "second",
              "randomFirst": "1",
              "randomLast": "5",
              "randomUnits": "seconds",
              "drop": false,
              "allowrate": false,
              "outputs": 1,
              "x": 1060,
              "y": 260,
              "wires": [
                  [
                      "a97a226b3f474ea9"
                  ]
              ]
          },
          {
              "id": "1f07037a23094e99",
              "type": "ioBroker out",
              "z": "f40fbc4eb5ac4f7a",
              "name": "Lichtschalter",
              "topic": "tuya.0.bf36dedbf6c5bdc5c9mm42.1",
              "ack": "false",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "payloadType": "",
              "readonly": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 1010,
              "y": 140,
              "wires": []
          },
          {
              "id": "f553aaa3706983a3",
              "type": "delay",
              "z": "f40fbc4eb5ac4f7a",
              "name": "",
              "pauseType": "delay",
              "timeout": "800",
              "timeoutUnits": "milliseconds",
              "rate": "1",
              "nbRateUnits": "1",
              "rateUnits": "second",
              "randomFirst": "1",
              "randomLast": "5",
              "randomUnits": "seconds",
              "drop": false,
              "allowrate": false,
              "outputs": 1,
              "x": 400,
              "y": 900,
              "wires": [
                  [
                      "6430d85efdcb66b1"
                  ]
              ]
          },
          {
              "id": "14bf32a96a32b1c7",
              "type": "delay",
              "z": "f40fbc4eb5ac4f7a",
              "name": "",
              "pauseType": "delay",
              "timeout": "500",
              "timeoutUnits": "milliseconds",
              "rate": "1",
              "nbRateUnits": "1",
              "rateUnits": "second",
              "randomFirst": "1",
              "randomLast": "5",
              "randomUnits": "seconds",
              "drop": false,
              "allowrate": false,
              "outputs": 1,
              "x": 400,
              "y": 960,
              "wires": [
                  [
                      "0cfd2dfdb7fd9d73"
                  ]
              ]
          },
          {
              "id": "b631d852bc867db6",
              "type": "hue-scene",
              "z": "f40fbc4eb5ac4f7a",
              "name": "U links",
              "bridge": "cbd54dbabf6f65be",
              "sceneid": "f4ba5d03-53aa-43a0-b1df-d27e787952f0",
              "x": 1270,
              "y": 200,
              "wires": [
                  []
              ]
          },
          {
              "id": "609d7e40dff76810",
              "type": "ioBroker in",
              "z": "f40fbc4eb5ac4f7a",
              "name": "Küche Schalter",
              "attrname": "payload",
              "topic": "hue.0.Küche_Schalter.buttonevent",
              "payloadType": "value",
              "onlyack": "",
              "func": "rbe",
              "gap": "",
              "fireOnStart": "false",
              "outFormat": "MQTT",
              "x": 100,
              "y": 700,
              "wires": [
                  [
                      "492203889ad083cc"
                  ]
              ]
          },
          {
              "id": "202c49953d235813",
              "type": "ioBroker get",
              "z": "f40fbc4eb5ac4f7a",
              "name": "Switch 2",
              "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_2",
              "attrname": "payload",
              "payloadType": "value",
              "errOnInvalidState": "nothing",
              "x": 420,
              "y": 660,
              "wires": [
                  [
                      "5f856636064395a8"
                  ]
              ]
          },
          {
              "id": "5f856636064395a8",
              "type": "change",
              "z": "f40fbc4eb5ac4f7a",
              "name": "toggle",
              "rules": [
                  {
                      "t": "set",
                      "p": "payload",
                      "pt": "msg",
                      "to": "$not(payload)\t",
                      "tot": "jsonata"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 550,
              "y": 660,
              "wires": [
                  [
                      "167c3d9534071cfb"
                  ]
              ]
          },
          {
              "id": "167c3d9534071cfb",
              "type": "ioBroker out",
              "z": "f40fbc4eb5ac4f7a",
              "name": "Virtuel Switch 2",
              "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_2",
              "ack": "false",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "payloadType": "",
              "readonly": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 700,
              "y": 660,
              "wires": []
          },
          {
              "id": "f4b15ec716491f99",
              "type": "ioBroker get",
              "z": "f40fbc4eb5ac4f7a",
              "name": "Switch 3",
              "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_3",
              "attrname": "payload",
              "payloadType": "value",
              "errOnInvalidState": "nothing",
              "x": 420,
              "y": 720,
              "wires": [
                  [
                      "5c2fda12ba92680a"
                  ]
              ]
          },
          {
              "id": "5c2fda12ba92680a",
              "type": "change",
              "z": "f40fbc4eb5ac4f7a",
              "name": "toggle",
              "rules": [
                  {
                      "t": "set",
                      "p": "payload",
                      "pt": "msg",
                      "to": "$not(payload)\t",
                      "tot": "jsonata"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 550,
              "y": 720,
              "wires": [
                  [
                      "8be32882ca318f17"
                  ]
              ]
          },
          {
              "id": "8be32882ca318f17",
              "type": "ioBroker out",
              "z": "f40fbc4eb5ac4f7a",
              "name": "Virtuel Switch 3",
              "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_3",
              "ack": "false",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "payloadType": "",
              "readonly": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 700,
              "y": 720,
              "wires": []
          },
          {
              "id": "a90667c051825ea4",
              "type": "ioBroker get",
              "z": "f40fbc4eb5ac4f7a",
              "name": "Switch 4",
              "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_4",
              "attrname": "payload",
              "payloadType": "value",
              "errOnInvalidState": "nothing",
              "x": 420,
              "y": 780,
              "wires": [
                  [
                      "284a521baee930b8"
                  ]
              ]
          },
          {
              "id": "284a521baee930b8",
              "type": "change",
              "z": "f40fbc4eb5ac4f7a",
              "name": "toggle",
              "rules": [
                  {
                      "t": "set",
                      "p": "payload",
                      "pt": "msg",
                      "to": "$not(payload)\t",
                      "tot": "jsonata"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 550,
              "y": 780,
              "wires": [
                  [
                      "b141e44072331e6d"
                  ]
              ]
          },
          {
              "id": "b141e44072331e6d",
              "type": "ioBroker out",
              "z": "f40fbc4eb5ac4f7a",
              "name": "Virtuel Switch 4",
              "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_4",
              "ack": "false",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "payloadType": "",
              "readonly": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 700,
              "y": 780,
              "wires": []
          },
          {
              "id": "bffd16b00cfde14d",
              "type": "ioBroker get",
              "z": "f40fbc4eb5ac4f7a",
              "name": "Switch 1",
              "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_1",
              "attrname": "payload",
              "payloadType": "value",
              "errOnInvalidState": "nothing",
              "x": 420,
              "y": 600,
              "wires": [
                  [
                      "c2ccf4efb123db4a"
                  ]
              ]
          },
          {
              "id": "c2ccf4efb123db4a",
              "type": "change",
              "z": "f40fbc4eb5ac4f7a",
              "name": "toggle",
              "rules": [
                  {
                      "t": "set",
                      "p": "payload",
                      "pt": "msg",
                      "to": "$not(payload)\t",
                      "tot": "jsonata"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 550,
              "y": 600,
              "wires": [
                  [
                      "9f1e5b8e50507105",
                      "89ea7a585ae00bac"
                  ]
              ]
          },
          {
              "id": "0d321e0ed699fec1",
              "type": "ioBroker out",
              "z": "f40fbc4eb5ac4f7a",
              "name": "U-links",
              "topic": "hue.0.Küche_Unterschr_Links.on",
              "ack": "false",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "payloadType": "",
              "readonly": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 930,
              "y": 480,
              "wires": []
          },
          {
              "id": "589ac75a5e32f1d9",
              "type": "ioBroker out",
              "z": "f40fbc4eb5ac4f7a",
              "name": "Küche Decke",
              "topic": "tuya.0.bf36dedbf6c5bdc5c9mm42.1",
              "ack": "false",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "payloadType": "",
              "readonly": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 950,
              "y": 420,
              "wires": []
          },
          {
              "id": "492203889ad083cc",
              "type": "switch",
              "z": "f40fbc4eb5ac4f7a",
              "name": "",
              "property": "payload",
              "propertyType": "msg",
              "rules": [
                  {
                      "t": "eq",
                      "v": "1000",
                      "vt": "str"
                  },
                  {
                      "t": "eq",
                      "v": "",
                      "vt": "str"
                  },
                  {
                      "t": "eq",
                      "v": "2000",
                      "vt": "str"
                  },
                  {
                      "t": "eq",
                      "v": "",
                      "vt": "str"
                  },
                  {
                      "t": "eq",
                      "v": "3000",
                      "vt": "str"
                  },
                  {
                      "t": "eq",
                      "v": "",
                      "vt": "str"
                  },
                  {
                      "t": "eq",
                      "v": "4000",
                      "vt": "str"
                  }
              ],
              "checkall": "true",
              "repair": false,
              "outputs": 7,
              "x": 250,
              "y": 700,
              "wires": [
                  [
                      "bffd16b00cfde14d"
                  ],
                  [],
                  [
                      "202c49953d235813"
                  ],
                  [],
                  [
                      "f4b15ec716491f99"
                  ],
                  [],
                  [
                      "a90667c051825ea4"
                  ]
              ]
          },
          {
              "id": "138c91dc2bbc1ae3",
              "type": "ioBroker out",
              "z": "f40fbc4eb5ac4f7a",
              "name": "Virtuel Switch 1",
              "topic": "0_userdata.0.GordonX-Home.0.Küche.Virtueller_Schalter_1",
              "ack": "false",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "payloadType": "",
              "readonly": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 960,
              "y": 540,
              "wires": []
          },
          {
              "id": "89ea7a585ae00bac",
              "type": "hue-scene",
              "z": "f40fbc4eb5ac4f7a",
              "name": "U-rechts",
              "bridge": "cbd54dbabf6f65be",
              "sceneid": "f4ba5d03-53aa-43a0-b1df-d27e787952f0",
              "x": 960,
              "y": 600,
              "wires": [
                  []
              ]
          },
          {
              "id": "cbd54dbabf6f65be",
              "type": "hue-bridge",
              "name": "Hue GordonX",
              "bridge": "192.168.0.8",
              "key": "SlfyXwpcaEvRN0d1DU2JrrOlwrm9Debhhm9A4E-d",
              "worker": "10",
              "autoupdates": true,
              "disableupdates": false
          }
      ]
      


      Screenshot 2025-02-15 143642.png

      Aphofis 1 Reply Last reply Reply Quote 0
      • Aphofis
        Aphofis @Aphofis last edited by

        Vielleicht kannst dir meine beiden Steuerungen mal angucken, vllt hast du eine Idee @geschild wie man die beiden zusammen legen kann.

        geschild 1 Reply Last reply Reply Quote 0
        • geschild
          geschild @Aphofis last edited by geschild

          @aphofis

          Ich verstehe leider nicht, was du mit "zusammen legen" meinst.
          Welchen node muss ich für die Hue-Nodes (U links) (U rechts) installieren?
          Schaust du auch mal in unseren Chat?

          Aphofis 1 Reply Last reply Reply Quote 0
          • Aphofis
            Aphofis last edited by Aphofis

            Ich hätte das jetzt so gemacht!

            [
                {
                    "id": "fca95f262626d456",
                    "type": "tab",
                    "label": "Bad",
                    "disabled": false,
                    "info": "",
                    "env": []
                },
                {
                    "id": "d02ccdb683eccc22",
                    "type": "junction",
                    "z": "fca95f262626d456",
                    "x": 1020,
                    "y": 400,
                    "wires": [
                        [
                            "81bc0ca0fe3ef7e4"
                        ]
                    ]
                },
                {
                    "id": "81bc0ca0fe3ef7e4",
                    "type": "junction",
                    "z": "fca95f262626d456",
                    "x": 1060,
                    "y": 500,
                    "wires": [
                        [
                            "c577d279cf9947a6",
                            "7bc2b7578ffbabe3",
                            "ba3d7ecc609d611a",
                            "ae91ecd3729d1f8b"
                        ]
                    ]
                },
                {
                    "id": "03f72401e3d4be05",
                    "type": "junction",
                    "z": "fca95f262626d456",
                    "x": 440,
                    "y": 560,
                    "wires": [
                        [
                            "fcc08c6d511bad32"
                        ]
                    ]
                },
                {
                    "id": "fcc08c6d511bad32",
                    "type": "junction",
                    "z": "fca95f262626d456",
                    "x": 560,
                    "y": 560,
                    "wires": [
                        [
                            "7703bd3e79c2d6bc",
                            "bee609bd26f3a2aa"
                        ]
                    ]
                },
                {
                    "id": "c337d1c51bdbc392",
                    "type": "junction",
                    "z": "fca95f262626d456",
                    "x": 680,
                    "y": 400,
                    "wires": [
                        [
                            "0cd5a722d39cd4f9"
                        ]
                    ]
                },
                {
                    "id": "f7911bc401eced22",
                    "type": "junction",
                    "z": "fca95f262626d456",
                    "x": 1740,
                    "y": 280,
                    "wires": [
                        [
                            "9535dd91050e1de7",
                            "984bc6a2c3a86e29",
                            "8bb042655784af36"
                        ]
                    ]
                },
                {
                    "id": "f90ac36919e30901",
                    "type": "ioBroker in",
                    "z": "fca95f262626d456",
                    "name": "Bad Schalter",
                    "attrname": "payload",
                    "topic": "hue.0.Bad_Schalter.buttonevent",
                    "payloadType": "value",
                    "onlyack": "",
                    "func": "all",
                    "gap": "",
                    "fireOnStart": "false",
                    "outFormat": "MQTT",
                    "x": 90,
                    "y": 240,
                    "wires": [
                        [
                            "a4db0bbf8fc4180d",
                            "3897be92674f6ad4",
                            "8ed9f164089bbcab"
                        ]
                    ]
                },
                {
                    "id": "7bc2b7578ffbabe3",
                    "type": "ioBroker get",
                    "z": "fca95f262626d456",
                    "name": "VSwitch 2",
                    "topic": "0_userdata.0.GordonX-Home.Bad.Virtueller_Schalter_2",
                    "attrname": "payload",
                    "payloadType": "value",
                    "errOnInvalidState": "nothing",
                    "x": 1320,
                    "y": 220,
                    "wires": [
                        [
                            "f9916b7b609a4872"
                        ]
                    ]
                },
                {
                    "id": "f9916b7b609a4872",
                    "type": "change",
                    "z": "fca95f262626d456",
                    "name": "toggle",
                    "rules": [
                        {
                            "t": "set",
                            "p": "payload",
                            "pt": "msg",
                            "to": "$not(payload)\t",
                            "tot": "jsonata"
                        }
                    ],
                    "action": "",
                    "property": "",
                    "from": "",
                    "to": "",
                    "reg": false,
                    "x": 1460,
                    "y": 220,
                    "wires": [
                        [
                            "19db4b5cf607df63"
                        ]
                    ]
                },
                {
                    "id": "19db4b5cf607df63",
                    "type": "ioBroker out",
                    "z": "fca95f262626d456",
                    "name": "VSwitch 2",
                    "topic": "0_userdata.0.GordonX-Home.Bad.Virtueller_Schalter_2",
                    "ack": "false",
                    "autoCreate": "false",
                    "stateName": "",
                    "role": "",
                    "payloadType": "",
                    "readonly": "",
                    "stateUnit": "",
                    "stateMin": "",
                    "stateMax": "",
                    "x": 1690,
                    "y": 220,
                    "wires": []
                },
                {
                    "id": "ba3d7ecc609d611a",
                    "type": "ioBroker get",
                    "z": "fca95f262626d456",
                    "name": "VSwitch 3",
                    "topic": "0_userdata.0.GordonX-Home.Bad.Virtueller_Schalter_3",
                    "attrname": "payload",
                    "payloadType": "value",
                    "errOnInvalidState": "nothing",
                    "x": 1320,
                    "y": 280,
                    "wires": [
                        [
                            "b785f33bd5389843"
                        ]
                    ]
                },
                {
                    "id": "b785f33bd5389843",
                    "type": "change",
                    "z": "fca95f262626d456",
                    "name": "toggle",
                    "rules": [
                        {
                            "t": "set",
                            "p": "payload",
                            "pt": "msg",
                            "to": "$not(payload)\t",
                            "tot": "jsonata"
                        }
                    ],
                    "action": "",
                    "property": "",
                    "from": "",
                    "to": "",
                    "reg": false,
                    "x": 1470,
                    "y": 280,
                    "wires": [
                        [
                            "ee55387f0a29bec4",
                            "f7911bc401eced22"
                        ]
                    ]
                },
                {
                    "id": "ee55387f0a29bec4",
                    "type": "ioBroker out",
                    "z": "fca95f262626d456",
                    "name": "VSwitch 3",
                    "topic": "0_userdata.0.GordonX-Home.Bad.Virtueller_Schalter_3",
                    "ack": "false",
                    "autoCreate": "false",
                    "stateName": "",
                    "role": "",
                    "payloadType": "",
                    "readonly": "",
                    "stateUnit": "",
                    "stateMin": "",
                    "stateMax": "",
                    "x": 1680,
                    "y": 320,
                    "wires": []
                },
                {
                    "id": "ae91ecd3729d1f8b",
                    "type": "ioBroker get",
                    "z": "fca95f262626d456",
                    "name": "VSwitch 4",
                    "topic": "0_userdata.0.GordonX-Home.Bad.Virtueller_Schalter_4",
                    "attrname": "payload",
                    "payloadType": "value",
                    "errOnInvalidState": "nothing",
                    "x": 1320,
                    "y": 340,
                    "wires": [
                        [
                            "556103d4e4e7fa4a"
                        ]
                    ]
                },
                {
                    "id": "556103d4e4e7fa4a",
                    "type": "change",
                    "z": "fca95f262626d456",
                    "name": "toggle",
                    "rules": [
                        {
                            "t": "set",
                            "p": "payload",
                            "pt": "msg",
                            "to": "$not(payload)\t",
                            "tot": "jsonata"
                        }
                    ],
                    "action": "",
                    "property": "",
                    "from": "",
                    "to": "",
                    "reg": false,
                    "x": 1470,
                    "y": 340,
                    "wires": [
                        [
                            "3b2803663d8b4023"
                        ]
                    ]
                },
                {
                    "id": "3b2803663d8b4023",
                    "type": "ioBroker out",
                    "z": "fca95f262626d456",
                    "name": "VSwitch 4",
                    "topic": "0_userdata.0.GordonX-Home.Bad.Virtueller_Schalter_4",
                    "ack": "false",
                    "autoCreate": "false",
                    "stateName": "",
                    "role": "",
                    "payloadType": "",
                    "readonly": "",
                    "stateUnit": "",
                    "stateMin": "",
                    "stateMax": "",
                    "x": 1680,
                    "y": 380,
                    "wires": []
                },
                {
                    "id": "c577d279cf9947a6",
                    "type": "ioBroker get",
                    "z": "fca95f262626d456",
                    "name": "VSwitch 1",
                    "topic": "0_userdata.0.GordonX-Home.Bad.Virtueller_Schalter_1",
                    "attrname": "payload",
                    "payloadType": "value",
                    "errOnInvalidState": "nothing",
                    "x": 1320,
                    "y": 140,
                    "wires": [
                        [
                            "38514d6d7f2e9871"
                        ]
                    ]
                },
                {
                    "id": "38514d6d7f2e9871",
                    "type": "change",
                    "z": "fca95f262626d456",
                    "name": "toggle",
                    "rules": [
                        {
                            "t": "set",
                            "p": "payload",
                            "pt": "msg",
                            "to": "$not(payload)\t",
                            "tot": "jsonata"
                        }
                    ],
                    "action": "",
                    "property": "",
                    "from": "",
                    "to": "",
                    "reg": false,
                    "x": 1460,
                    "y": 140,
                    "wires": [
                        [
                            "f5092a35d07b4474",
                            "36b938943d09ebb8"
                        ]
                    ]
                },
                {
                    "id": "f5092a35d07b4474",
                    "type": "ioBroker out",
                    "z": "fca95f262626d456",
                    "name": "VSwitch 1",
                    "topic": "0_userdata.0.GordonX-Home.Bad.Virtueller_Schalter_1",
                    "ack": "false",
                    "autoCreate": "false",
                    "stateName": "",
                    "role": "",
                    "payloadType": "",
                    "readonly": "",
                    "stateUnit": "",
                    "stateMin": "",
                    "stateMax": "",
                    "x": 1680,
                    "y": 160,
                    "wires": []
                },
                {
                    "id": "36b938943d09ebb8",
                    "type": "ioBroker out",
                    "z": "fca95f262626d456",
                    "name": "Bad Lichtschalter",
                    "topic": "tuya.0.bf523b506862d1d720fboe.2",
                    "ack": "false",
                    "autoCreate": "false",
                    "stateName": "",
                    "role": "",
                    "payloadType": "",
                    "readonly": "",
                    "stateUnit": "",
                    "stateMin": "",
                    "stateMax": "",
                    "x": 1710,
                    "y": 100,
                    "wires": []
                },
                {
                    "id": "a4db0bbf8fc4180d",
                    "type": "switch",
                    "z": "fca95f262626d456",
                    "name": "",
                    "property": "payload",
                    "propertyType": "msg",
                    "rules": [
                        {
                            "t": "eq",
                            "v": "1000",
                            "vt": "str"
                        },
                        {
                            "t": "eq",
                            "v": "2000",
                            "vt": "str"
                        },
                        {
                            "t": "eq",
                            "v": "3000",
                            "vt": "str"
                        },
                        {
                            "t": "eq",
                            "v": "4000",
                            "vt": "str"
                        }
                    ],
                    "checkall": "true",
                    "repair": false,
                    "outputs": 4,
                    "x": 930,
                    "y": 240,
                    "wires": [
                        [
                            "c577d279cf9947a6"
                        ],
                        [
                            "7bc2b7578ffbabe3"
                        ],
                        [
                            "ba3d7ecc609d611a"
                        ],
                        [
                            "ae91ecd3729d1f8b"
                        ]
                    ]
                },
                {
                    "id": "984bc6a2c3a86e29",
                    "type": "hue-light",
                    "z": "fca95f262626d456",
                    "name": "Wohnzimmer 1",
                    "bridge": "cbd54dbabf6f65be",
                    "lightid": "8e4238e6-eb02-4110-b2df-b598f509696d",
                    "colornamer": true,
                    "skipevents": false,
                    "initevents": false,
                    "x": 1900,
                    "y": 280,
                    "wires": [
                        []
                    ]
                },
                {
                    "id": "8bb042655784af36",
                    "type": "hue-light",
                    "z": "fca95f262626d456",
                    "name": "Wohnzimmer 2",
                    "bridge": "cbd54dbabf6f65be",
                    "lightid": "94745f7d-34a3-4438-a272-6c17a19028a6",
                    "colornamer": true,
                    "skipevents": false,
                    "initevents": false,
                    "x": 1900,
                    "y": 220,
                    "wires": [
                        []
                    ]
                },
                {
                    "id": "9535dd91050e1de7",
                    "type": "hue-light",
                    "z": "fca95f262626d456",
                    "name": "Wohnzimmer 3",
                    "bridge": "cbd54dbabf6f65be",
                    "lightid": "2be455c4-b24d-4fc6-b3e0-9b86f78e7b83",
                    "colornamer": true,
                    "skipevents": false,
                    "initevents": false,
                    "x": 1900,
                    "y": 340,
                    "wires": [
                        []
                    ]
                },
                {
                    "id": "f614aeafbcfd8ad4",
                    "type": "ioBroker get",
                    "z": "fca95f262626d456",
                    "name": "Robi Status",
                    "topic": "roborock.0.Devices.7Fc43lXlk5X7fmVJtBkqnZ.deviceStatus.state",
                    "attrname": "roborock",
                    "payloadType": "value",
                    "errOnInvalidState": "nothing",
                    "x": 750,
                    "y": 320,
                    "wires": [
                        [
                            "7e81cf6ebfdae084"
                        ]
                    ]
                },
                {
                    "id": "1ad60b9c7baf6d4e",
                    "type": "switch",
                    "z": "fca95f262626d456",
                    "name": "Bewegung",
                    "property": "payload",
                    "propertyType": "msg",
                    "rules": [
                        {
                            "t": "true"
                        },
                        {
                            "t": "false"
                        }
                    ],
                    "checkall": "true",
                    "repair": false,
                    "outputs": 2,
                    "x": 530,
                    "y": 340,
                    "wires": [
                        [
                            "f614aeafbcfd8ad4",
                            "c337d1c51bdbc392"
                        ],
                        [
                            "c337d1c51bdbc392"
                        ]
                    ]
                },
                {
                    "id": "7e81cf6ebfdae084",
                    "type": "switch",
                    "z": "fca95f262626d456",
                    "name": "Robi nicht 8",
                    "property": "roborock",
                    "propertyType": "msg",
                    "rules": [
                        {
                            "t": "neq",
                            "v": "8",
                            "vt": "num"
                        }
                    ],
                    "checkall": "true",
                    "repair": false,
                    "outputs": 1,
                    "x": 910,
                    "y": 320,
                    "wires": [
                        [
                            "d02ccdb683eccc22"
                        ]
                    ]
                },
                {
                    "id": "0cd5a722d39cd4f9",
                    "type": "trigger",
                    "z": "fca95f262626d456",
                    "name": "",
                    "op1": "",
                    "op2": "false",
                    "op1type": "nul",
                    "op2type": "bool",
                    "duration": "3",
                    "extend": true,
                    "overrideDelay": false,
                    "units": "s",
                    "reset": "true",
                    "bytopic": "all",
                    "topic": "topic",
                    "outputs": 1,
                    "x": 780,
                    "y": 400,
                    "wires": [
                        [
                            "d02ccdb683eccc22"
                        ]
                    ]
                },
                {
                    "id": "bbdbb5ad44790d86",
                    "type": "switch",
                    "z": "fca95f262626d456",
                    "name": "",
                    "property": "Schalter.Küche",
                    "propertyType": "flow",
                    "rules": [
                        {
                            "t": "false"
                        }
                    ],
                    "checkall": "true",
                    "repair": false,
                    "outputs": 1,
                    "x": 390,
                    "y": 340,
                    "wires": [
                        [
                            "1ad60b9c7baf6d4e"
                        ]
                    ]
                },
                {
                    "id": "3897be92674f6ad4",
                    "type": "change",
                    "z": "fca95f262626d456",
                    "name": "",
                    "rules": [
                        {
                            "t": "set",
                            "p": "reset",
                            "pt": "msg",
                            "to": "true",
                            "tot": "bool"
                        }
                    ],
                    "action": "",
                    "property": "",
                    "from": "",
                    "to": "",
                    "reg": false,
                    "x": 510,
                    "y": 400,
                    "wires": [
                        [
                            "c337d1c51bdbc392"
                        ]
                    ]
                },
                {
                    "id": "9f531b619d854673",
                    "type": "change",
                    "z": "fca95f262626d456",
                    "name": "",
                    "rules": [
                        {
                            "t": "set",
                            "p": "reset",
                            "pt": "msg",
                            "to": "true",
                            "tot": "bool"
                        }
                    ],
                    "action": "",
                    "property": "",
                    "from": "",
                    "to": "",
                    "reg": false,
                    "x": 520,
                    "y": 460,
                    "wires": [
                        [
                            "c337d1c51bdbc392"
                        ]
                    ]
                },
                {
                    "id": "8ed9f164089bbcab",
                    "type": "switch",
                    "z": "fca95f262626d456",
                    "name": "true/false?",
                    "property": "payload",
                    "propertyType": "msg",
                    "rules": [
                        {
                            "t": "true"
                        },
                        {
                            "t": "false"
                        }
                    ],
                    "checkall": "true",
                    "repair": false,
                    "outputs": 2,
                    "x": 310,
                    "y": 500,
                    "wires": [
                        [
                            "603df006e9453afb",
                            "9f531b619d854673"
                        ],
                        [
                            "03f72401e3d4be05"
                        ]
                    ]
                },
                {
                    "id": "603df006e9453afb",
                    "type": "change",
                    "z": "fca95f262626d456",
                    "name": "Setze Schalter",
                    "rules": [
                        {
                            "t": "set",
                            "p": "Schalter.Küche",
                            "pt": "flow",
                            "to": "true",
                            "tot": "bool"
                        }
                    ],
                    "action": "",
                    "property": "",
                    "from": "",
                    "to": "",
                    "reg": false,
                    "x": 520,
                    "y": 520,
                    "wires": [
                        [
                            "7703bd3e79c2d6bc"
                        ]
                    ]
                },
                {
                    "id": "7703bd3e79c2d6bc",
                    "type": "trigger",
                    "z": "fca95f262626d456",
                    "name": "",
                    "op1": "true",
                    "op2": "false",
                    "op1type": "bool",
                    "op2type": "bool",
                    "duration": "1",
                    "extend": false,
                    "overrideDelay": false,
                    "units": "min",
                    "reset": "false",
                    "bytopic": "all",
                    "topic": "topic",
                    "outputs": 2,
                    "x": 750,
                    "y": 520,
                    "wires": [
                        [
                            "81bc0ca0fe3ef7e4"
                        ],
                        [
                            "bee609bd26f3a2aa"
                        ]
                    ]
                },
                {
                    "id": "bee609bd26f3a2aa",
                    "type": "change",
                    "z": "fca95f262626d456",
                    "name": "setze Schalter",
                    "rules": [
                        {
                            "t": "set",
                            "p": "Schalter.Küche",
                            "pt": "flow",
                            "to": "false",
                            "tot": "bool"
                        }
                    ],
                    "action": "",
                    "property": "",
                    "from": "",
                    "to": "",
                    "reg": false,
                    "x": 940,
                    "y": 560,
                    "wires": [
                        [
                            "81bc0ca0fe3ef7e4"
                        ]
                    ]
                },
                {
                    "id": "eb29227b5bbb1a88",
                    "type": "ioBroker in",
                    "z": "fca95f262626d456",
                    "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": 340,
                    "wires": [
                        [
                            "bbdbb5ad44790d86"
                        ]
                    ]
                },
                {
                    "id": "cbd54dbabf6f65be",
                    "type": "hue-bridge",
                    "name": "Hue GordonX",
                    "bridge": "192.168.0.8",
                    "key": "SlfyXwpcaEvRN0d1DU2JrrOlwrm9Debhhm9A4E-d",
                    "worker": "10",
                    "autoupdates": true,
                    "disableupdates": false
                }
            ]
            

            Screenshot 2025-02-19 194624.png

            1 Reply Last reply Reply Quote 0
            • Aphofis
              Aphofis @geschild last edited by Aphofis

              @geschild
              sieht man doch, ich möchte den Motion Sensor integrieren und das wenn Staubsaugroboter unterwegs ist,
              das die Motion sensoren inaktiv sind also wenn roboter nicht status 8 hat das ist dann wenn er lädt. damit nicht immer licht in der Küche und im Bad an gehen wenn er reinigt. und wenn er nicht unterwegs ist sprich wenn er lädt und ich in den Bewegungsmelder laufe soll für 5 min licht angehen und wenn wiederbewegung ist soll licht anbleiben und wenn ich den schalter betätige soll für 40 min licht an bleiben oder bis ich schalter betätige dann sollen alle Zeit trigger resettet werden.

              1 Reply Last reply Reply Quote 0
              • Aphofis
                Aphofis last edited by Aphofis

                @geschild

                also der deaktivierte Bereich funktioniert nicht korrekt.
                Es soll bei Motion Bewegung das Licht mit 1002 eingeschaltet werden für 5 min.
                wenn erneute bewegung soll das licht an bleiben. bis zB 1 min. keine Bewegung mehr vorhanden ist.
                Wenn der Roborock staubsauger nicht beim laden ist also zustand nicht 8 dann soll das Licht per Motion funktionieren wenn er unterwegs ist, und der status ein anderer ist soll der motion sensor nicht reagieren.
                wenn Schalter betätigt wird, soll das Licht nach 45 min ausgeschaltet werden.
                Das ganz muss per 1002 ein bzw ausgeschaltet werden.
                Für die Hue Geräte braucht man Hue Magic

                node-red-contrib-huemagic-fork
                

                [
                    {
                        "id": "fca95f262626d456",
                        "type": "tab",
                        "label": "Bad",
                        "disabled": false,
                        "info": "",
                        "env": []
                    },
                    {
                        "id": "f7911bc401eced22",
                        "type": "junction",
                        "z": "fca95f262626d456",
                        "x": 1040,
                        "y": 640,
                        "wires": [
                            [
                                "9535dd91050e1de7",
                                "984bc6a2c3a86e29",
                                "8bb042655784af36"
                            ]
                        ]
                    },
                    {
                        "id": "f4b203f76105caf6",
                        "type": "junction",
                        "z": "fca95f262626d456",
                        "d": true,
                        "x": 400,
                        "y": 360,
                        "wires": [
                            [
                                "af4218c06a9d43ec"
                            ]
                        ]
                    },
                    {
                        "id": "af4218c06a9d43ec",
                        "type": "junction",
                        "z": "fca95f262626d456",
                        "d": true,
                        "x": 580,
                        "y": 360,
                        "wires": [
                            [
                                "0b3b39dabb245112",
                                "daa89a680fdd1262"
                            ]
                        ]
                    },
                    {
                        "id": "da484e86cb75f0e5",
                        "type": "junction",
                        "z": "fca95f262626d456",
                        "d": true,
                        "x": 980,
                        "y": 180,
                        "wires": [
                            [
                                "ac1ffe5b3a83ecd3"
                            ]
                        ]
                    },
                    {
                        "id": "ac1ffe5b3a83ecd3",
                        "type": "junction",
                        "z": "fca95f262626d456",
                        "d": true,
                        "x": 1020,
                        "y": 260,
                        "wires": [
                            [
                                "36b938943d09ebb8",
                                "f5092a35d07b4474"
                            ]
                        ]
                    },
                    {
                        "id": "27f9ed12f7a45e84",
                        "type": "junction",
                        "z": "fca95f262626d456",
                        "d": true,
                        "x": 660,
                        "y": 180,
                        "wires": [
                            [
                                "b1aada2fac907d73"
                            ]
                        ]
                    },
                    {
                        "id": "4b8f1c9564a38605",
                        "type": "junction",
                        "z": "fca95f262626d456",
                        "d": true,
                        "x": 1000,
                        "y": 320,
                        "wires": [
                            [
                                "ac1ffe5b3a83ecd3"
                            ]
                        ]
                    },
                    {
                        "id": "7bc2b7578ffbabe3",
                        "type": "ioBroker get",
                        "z": "fca95f262626d456",
                        "name": "VSwitch 2",
                        "topic": "0_userdata.0.GordonX-Home.0.Bad.Virtueller_Schalter_2",
                        "attrname": "payload",
                        "payloadType": "value",
                        "errOnInvalidState": "nothing",
                        "x": 820,
                        "y": 580,
                        "wires": [
                            [
                                "f9916b7b609a4872"
                            ]
                        ]
                    },
                    {
                        "id": "f9916b7b609a4872",
                        "type": "change",
                        "z": "fca95f262626d456",
                        "name": "toggle",
                        "rules": [
                            {
                                "t": "set",
                                "p": "payload",
                                "pt": "msg",
                                "to": "$not(payload)\t",
                                "tot": "jsonata"
                            }
                        ],
                        "action": "",
                        "property": "",
                        "from": "",
                        "to": "",
                        "reg": false,
                        "x": 960,
                        "y": 580,
                        "wires": [
                            [
                                "19db4b5cf607df63"
                            ]
                        ]
                    },
                    {
                        "id": "19db4b5cf607df63",
                        "type": "ioBroker out",
                        "z": "fca95f262626d456",
                        "name": "VSwitch 2",
                        "topic": "0_userdata.0.GordonX-Home.0.Bad.Virtueller_Schalter_2",
                        "ack": "false",
                        "autoCreate": "false",
                        "stateName": "",
                        "role": "",
                        "payloadType": "",
                        "readonly": "",
                        "stateUnit": "",
                        "stateMin": "",
                        "stateMax": "",
                        "x": 1160,
                        "y": 580,
                        "wires": []
                    },
                    {
                        "id": "ba3d7ecc609d611a",
                        "type": "ioBroker get",
                        "z": "fca95f262626d456",
                        "name": "VSwitch 3",
                        "topic": "0_userdata.0.GordonX-Home.0.Bad.Virtueller_Schalter_3",
                        "attrname": "payload",
                        "payloadType": "value",
                        "errOnInvalidState": "nothing",
                        "x": 820,
                        "y": 640,
                        "wires": [
                            [
                                "b785f33bd5389843"
                            ]
                        ]
                    },
                    {
                        "id": "b785f33bd5389843",
                        "type": "change",
                        "z": "fca95f262626d456",
                        "name": "toggle",
                        "rules": [
                            {
                                "t": "set",
                                "p": "payload",
                                "pt": "msg",
                                "to": "$not(payload)\t",
                                "tot": "jsonata"
                            }
                        ],
                        "action": "",
                        "property": "",
                        "from": "",
                        "to": "",
                        "reg": false,
                        "x": 970,
                        "y": 640,
                        "wires": [
                            [
                                "ee55387f0a29bec4",
                                "f7911bc401eced22"
                            ]
                        ]
                    },
                    {
                        "id": "ee55387f0a29bec4",
                        "type": "ioBroker out",
                        "z": "fca95f262626d456",
                        "name": "VSwitch 3",
                        "topic": "0_userdata.0.GordonX-Home.0.Bad.Virtueller_Schalter_3",
                        "ack": "false",
                        "autoCreate": "false",
                        "stateName": "",
                        "role": "",
                        "payloadType": "",
                        "readonly": "",
                        "stateUnit": "",
                        "stateMin": "",
                        "stateMax": "",
                        "x": 1160,
                        "y": 820,
                        "wires": []
                    },
                    {
                        "id": "ae91ecd3729d1f8b",
                        "type": "ioBroker get",
                        "z": "fca95f262626d456",
                        "name": "VSwitch 4",
                        "topic": "0_userdata.0.GordonX-Home.0.Bad.Virtueller_Schalter_4",
                        "attrname": "payload",
                        "payloadType": "value",
                        "errOnInvalidState": "nothing",
                        "x": 820,
                        "y": 700,
                        "wires": [
                            [
                                "556103d4e4e7fa4a"
                            ]
                        ]
                    },
                    {
                        "id": "556103d4e4e7fa4a",
                        "type": "change",
                        "z": "fca95f262626d456",
                        "name": "toggle",
                        "rules": [
                            {
                                "t": "set",
                                "p": "payload",
                                "pt": "msg",
                                "to": "$not(payload)\t",
                                "tot": "jsonata"
                            }
                        ],
                        "action": "",
                        "property": "",
                        "from": "",
                        "to": "",
                        "reg": false,
                        "x": 970,
                        "y": 700,
                        "wires": [
                            [
                                "3b2803663d8b4023"
                            ]
                        ]
                    },
                    {
                        "id": "3b2803663d8b4023",
                        "type": "ioBroker out",
                        "z": "fca95f262626d456",
                        "name": "VSwitch 4",
                        "topic": "0_userdata.0.GordonX-Home.0.Bad.Virtueller_Schalter_4",
                        "ack": "false",
                        "autoCreate": "false",
                        "stateName": "",
                        "role": "",
                        "payloadType": "",
                        "readonly": "",
                        "stateUnit": "",
                        "stateMin": "",
                        "stateMax": "",
                        "x": 1160,
                        "y": 880,
                        "wires": []
                    },
                    {
                        "id": "c577d279cf9947a6",
                        "type": "ioBroker get",
                        "z": "fca95f262626d456",
                        "name": "VSwitch 1",
                        "topic": "0_userdata.0.GordonX-Home.0.Bad.Virtueller_Schalter_1",
                        "attrname": "payload",
                        "payloadType": "value",
                        "errOnInvalidState": "nothing",
                        "x": 840,
                        "y": 460,
                        "wires": [
                            [
                                "38514d6d7f2e9871"
                            ]
                        ]
                    },
                    {
                        "id": "38514d6d7f2e9871",
                        "type": "change",
                        "z": "fca95f262626d456",
                        "name": "toggle",
                        "rules": [
                            {
                                "t": "set",
                                "p": "payload",
                                "pt": "msg",
                                "to": "$not(payload)\t",
                                "tot": "jsonata"
                            }
                        ],
                        "action": "",
                        "property": "",
                        "from": "",
                        "to": "",
                        "reg": false,
                        "x": 970,
                        "y": 460,
                        "wires": [
                            [
                                "f5092a35d07b4474",
                                "36b938943d09ebb8"
                            ]
                        ]
                    },
                    {
                        "id": "f5092a35d07b4474",
                        "type": "ioBroker out",
                        "z": "fca95f262626d456",
                        "name": "VSwitch 1",
                        "topic": "0_userdata.0.GordonX-Home.0.Bad.Virtueller_Schalter_1",
                        "ack": "false",
                        "autoCreate": "false",
                        "stateName": "",
                        "role": "",
                        "payloadType": "",
                        "readonly": "",
                        "stateUnit": "",
                        "stateMin": "",
                        "stateMax": "",
                        "x": 1160,
                        "y": 520,
                        "wires": []
                    },
                    {
                        "id": "36b938943d09ebb8",
                        "type": "ioBroker out",
                        "z": "fca95f262626d456",
                        "name": "Bad Schalter",
                        "topic": "tuya.0.bf523b506862d1d720fboe.2",
                        "ack": "false",
                        "autoCreate": "false",
                        "stateName": "",
                        "role": "",
                        "payloadType": "",
                        "readonly": "",
                        "stateUnit": "",
                        "stateMin": "",
                        "stateMax": "",
                        "x": 1170,
                        "y": 460,
                        "wires": []
                    },
                    {
                        "id": "a4db0bbf8fc4180d",
                        "type": "switch",
                        "z": "fca95f262626d456",
                        "name": "",
                        "property": "payload",
                        "propertyType": "msg",
                        "rules": [
                            {
                                "t": "eq",
                                "v": "1002",
                                "vt": "str"
                            },
                            {
                                "t": "eq",
                                "v": "2002",
                                "vt": "str"
                            },
                            {
                                "t": "eq",
                                "v": "3002",
                                "vt": "str"
                            },
                            {
                                "t": "eq",
                                "v": "4002",
                                "vt": "str"
                            }
                        ],
                        "checkall": "true",
                        "repair": false,
                        "outputs": 4,
                        "x": 630,
                        "y": 600,
                        "wires": [
                            [
                                "c577d279cf9947a6"
                            ],
                            [
                                "7bc2b7578ffbabe3"
                            ],
                            [
                                "ba3d7ecc609d611a"
                            ],
                            [
                                "ae91ecd3729d1f8b"
                            ]
                        ]
                    },
                    {
                        "id": "984bc6a2c3a86e29",
                        "type": "hue-light",
                        "z": "fca95f262626d456",
                        "name": "Wohnzimmer 1",
                        "bridge": "cbd54dbabf6f65be",
                        "lightid": "8e4238e6-eb02-4110-b2df-b598f509696d",
                        "colornamer": true,
                        "skipevents": false,
                        "initevents": false,
                        "x": 1200,
                        "y": 700,
                        "wires": [
                            []
                        ]
                    },
                    {
                        "id": "8bb042655784af36",
                        "type": "hue-light",
                        "z": "fca95f262626d456",
                        "name": "Wohnzimmer 2",
                        "bridge": "cbd54dbabf6f65be",
                        "lightid": "94745f7d-34a3-4438-a272-6c17a19028a6",
                        "colornamer": true,
                        "skipevents": false,
                        "initevents": false,
                        "x": 1200,
                        "y": 640,
                        "wires": [
                            []
                        ]
                    },
                    {
                        "id": "9535dd91050e1de7",
                        "type": "hue-light",
                        "z": "fca95f262626d456",
                        "name": "Wohnzimmer 3",
                        "bridge": "cbd54dbabf6f65be",
                        "lightid": "2be455c4-b24d-4fc6-b3e0-9b86f78e7b83",
                        "colornamer": true,
                        "skipevents": false,
                        "initevents": false,
                        "x": 1200,
                        "y": 760,
                        "wires": [
                            []
                        ]
                    },
                    {
                        "id": "f90ac36919e30901",
                        "type": "ioBroker in",
                        "z": "fca95f262626d456",
                        "name": "Bad Schalter",
                        "attrname": "payload",
                        "topic": "hue.0.Bad_Schalter.buttonevent",
                        "payloadType": "value",
                        "onlyack": "",
                        "func": "all",
                        "gap": "",
                        "fireOnStart": "false",
                        "outFormat": "MQTT",
                        "x": 150,
                        "y": 600,
                        "wires": [
                            [
                                "a4db0bbf8fc4180d",
                                "45b8e889d3e1dd5c",
                                "5591058f02dc158a"
                            ]
                        ]
                    },
                    {
                        "id": "42ae788f45e11c84",
                        "type": "ioBroker get",
                        "z": "fca95f262626d456",
                        "d": true,
                        "name": "Robi Status",
                        "topic": "roborock.0.Devices.7Fc43lXlk5X7fmVJtBkqnZ.deviceStatus.state",
                        "attrname": "roborock",
                        "payloadType": "value",
                        "errOnInvalidState": "nothing",
                        "x": 730,
                        "y": 100,
                        "wires": [
                            [
                                "70758c48309cd0c0"
                            ]
                        ]
                    },
                    {
                        "id": "cbaf04caa3815a5a",
                        "type": "switch",
                        "z": "fca95f262626d456",
                        "d": true,
                        "name": "Bewegung",
                        "property": "payload",
                        "propertyType": "msg",
                        "rules": [
                            {
                                "t": "true"
                            },
                            {
                                "t": "false"
                            }
                        ],
                        "checkall": "true",
                        "repair": false,
                        "outputs": 2,
                        "x": 550,
                        "y": 120,
                        "wires": [
                            [
                                "42ae788f45e11c84",
                                "27f9ed12f7a45e84"
                            ],
                            [
                                "27f9ed12f7a45e84"
                            ]
                        ]
                    },
                    {
                        "id": "70758c48309cd0c0",
                        "type": "switch",
                        "z": "fca95f262626d456",
                        "d": true,
                        "name": "Robi nicht 8",
                        "property": "roborock",
                        "propertyType": "msg",
                        "rules": [
                            {
                                "t": "neq",
                                "v": "8",
                                "vt": "num"
                            }
                        ],
                        "checkall": "true",
                        "repair": false,
                        "outputs": 1,
                        "x": 890,
                        "y": 100,
                        "wires": [
                            [
                                "da484e86cb75f0e5"
                            ]
                        ]
                    },
                    {
                        "id": "b1aada2fac907d73",
                        "type": "trigger",
                        "z": "fca95f262626d456",
                        "d": true,
                        "name": "",
                        "op1": "",
                        "op2": "false",
                        "op1type": "nul",
                        "op2type": "bool",
                        "duration": "5",
                        "extend": true,
                        "overrideDelay": false,
                        "units": "min",
                        "reset": "true",
                        "bytopic": "all",
                        "topic": "topic",
                        "outputs": 1,
                        "x": 750,
                        "y": 180,
                        "wires": [
                            [
                                "da484e86cb75f0e5"
                            ]
                        ]
                    },
                    {
                        "id": "fe2313f85edf2ae0",
                        "type": "switch",
                        "z": "fca95f262626d456",
                        "d": true,
                        "name": "",
                        "property": "Schalter.Küche",
                        "propertyType": "flow",
                        "rules": [
                            {
                                "t": "false"
                            }
                        ],
                        "checkall": "true",
                        "repair": false,
                        "outputs": 1,
                        "x": 410,
                        "y": 120,
                        "wires": [
                            [
                                "cbaf04caa3815a5a"
                            ]
                        ]
                    },
                    {
                        "id": "45b8e889d3e1dd5c",
                        "type": "change",
                        "z": "fca95f262626d456",
                        "d": true,
                        "name": "",
                        "rules": [
                            {
                                "t": "set",
                                "p": "reset",
                                "pt": "msg",
                                "to": "true",
                                "tot": "bool"
                            }
                        ],
                        "action": "",
                        "property": "",
                        "from": "",
                        "to": "",
                        "reg": false,
                        "x": 530,
                        "y": 180,
                        "wires": [
                            [
                                "27f9ed12f7a45e84"
                            ]
                        ]
                    },
                    {
                        "id": "c511e779aae7fd1b",
                        "type": "change",
                        "z": "fca95f262626d456",
                        "d": true,
                        "name": "",
                        "rules": [
                            {
                                "t": "set",
                                "p": "reset",
                                "pt": "msg",
                                "to": "true",
                                "tot": "bool"
                            }
                        ],
                        "action": "",
                        "property": "",
                        "from": "",
                        "to": "",
                        "reg": false,
                        "x": 500,
                        "y": 240,
                        "wires": [
                            [
                                "27f9ed12f7a45e84"
                            ]
                        ]
                    },
                    {
                        "id": "5591058f02dc158a",
                        "type": "switch",
                        "z": "fca95f262626d456",
                        "d": true,
                        "name": "true/false?",
                        "property": "payload",
                        "propertyType": "msg",
                        "rules": [
                            {
                                "t": "true"
                            },
                            {
                                "t": "false"
                            }
                        ],
                        "checkall": "true",
                        "repair": false,
                        "outputs": 2,
                        "x": 270,
                        "y": 280,
                        "wires": [
                            [
                                "a79c461971cfdc1d",
                                "c511e779aae7fd1b"
                            ],
                            [
                                "f4b203f76105caf6"
                            ]
                        ]
                    },
                    {
                        "id": "a79c461971cfdc1d",
                        "type": "change",
                        "z": "fca95f262626d456",
                        "d": true,
                        "name": "Setze Schalter",
                        "rules": [
                            {
                                "t": "set",
                                "p": "Schalter.Küche",
                                "pt": "flow",
                                "to": "true",
                                "tot": "bool"
                            }
                        ],
                        "action": "",
                        "property": "",
                        "from": "",
                        "to": "",
                        "reg": false,
                        "x": 500,
                        "y": 300,
                        "wires": [
                            [
                                "0b3b39dabb245112"
                            ]
                        ]
                    },
                    {
                        "id": "0b3b39dabb245112",
                        "type": "trigger",
                        "z": "fca95f262626d456",
                        "d": true,
                        "name": "",
                        "op1": "true",
                        "op2": "false",
                        "op1type": "bool",
                        "op2type": "bool",
                        "duration": "45",
                        "extend": false,
                        "overrideDelay": false,
                        "units": "min",
                        "reset": "false",
                        "bytopic": "all",
                        "topic": "topic",
                        "outputs": 2,
                        "x": 700,
                        "y": 300,
                        "wires": [
                            [
                                "4b8f1c9564a38605"
                            ],
                            [
                                "daa89a680fdd1262"
                            ]
                        ]
                    },
                    {
                        "id": "daa89a680fdd1262",
                        "type": "change",
                        "z": "fca95f262626d456",
                        "d": true,
                        "name": "setze Schalter",
                        "rules": [
                            {
                                "t": "set",
                                "p": "Schalter.Küche",
                                "pt": "flow",
                                "to": "false",
                                "tot": "bool"
                            }
                        ],
                        "action": "",
                        "property": "",
                        "from": "",
                        "to": "",
                        "reg": false,
                        "x": 880,
                        "y": 360,
                        "wires": [
                            [
                                "4b8f1c9564a38605"
                            ]
                        ]
                    },
                    {
                        "id": "95941cd9420e5c7a",
                        "type": "ioBroker in",
                        "z": "fca95f262626d456",
                        "d": true,
                        "name": "Bad Motion",
                        "attrname": "payload",
                        "topic": "hue.0.Bad_Motion_Sensor.presence",
                        "payloadType": "value",
                        "onlyack": "",
                        "func": "all",
                        "gap": "",
                        "fireOnStart": "false",
                        "outFormat": "MQTT",
                        "x": 250,
                        "y": 120,
                        "wires": [
                            [
                                "fe2313f85edf2ae0",
                                "a79c461971cfdc1d"
                            ]
                        ]
                    },
                    {
                        "id": "a9cd56527a3c5be4",
                        "type": "inject",
                        "z": "fca95f262626d456",
                        "name": "",
                        "props": [
                            {
                                "p": "payload"
                            },
                            {
                                "p": "topic",
                                "vt": "str"
                            }
                        ],
                        "repeat": "",
                        "crontab": "",
                        "once": false,
                        "onceDelay": 0.1,
                        "topic": "",
                        "payload": "false",
                        "payloadType": "bool",
                        "x": 690,
                        "y": 460,
                        "wires": [
                            [
                                "c577d279cf9947a6"
                            ]
                        ]
                    },
                    {
                        "id": "8e73437e6157e567",
                        "type": "amazon-echo-device",
                        "z": "fca95f262626d456",
                        "name": "Bad Schalter",
                        "topic": "hue.0.Bad_Schalter.buttonevent",
                        "x": 330,
                        "y": 640,
                        "wires": [
                            [
                                "12c59aacfe566fbf"
                            ]
                        ]
                    },
                    {
                        "id": "12c59aacfe566fbf",
                        "type": "change",
                        "z": "fca95f262626d456",
                        "name": "wechsel",
                        "rules": [
                            {
                                "t": "change",
                                "p": "payload",
                                "pt": "msg",
                                "from": "on",
                                "fromt": "str",
                                "to": "1002",
                                "tot": "str"
                            },
                            {
                                "t": "change",
                                "p": "payload",
                                "pt": "msg",
                                "from": "off",
                                "fromt": "str",
                                "to": "1002",
                                "tot": "str"
                            }
                        ],
                        "action": "",
                        "property": "",
                        "from": "",
                        "to": "",
                        "reg": false,
                        "x": 480,
                        "y": 640,
                        "wires": [
                            [
                                "a4db0bbf8fc4180d"
                            ]
                        ]
                    },
                    {
                        "id": "94ecf2c94996cd35",
                        "type": "link in",
                        "z": "fca95f262626d456",
                        "name": "link in 5",
                        "links": [
                            "0ca586f6fc46857e"
                        ],
                        "x": 215,
                        "y": 640,
                        "wires": [
                            [
                                "8e73437e6157e567"
                            ]
                        ]
                    },
                    {
                        "id": "6e9f5ac6b1f6c91e",
                        "type": "inject",
                        "z": "fca95f262626d456",
                        "name": "",
                        "props": [
                            {
                                "p": "payload"
                            },
                            {
                                "p": "topic",
                                "vt": "str"
                            }
                        ],
                        "repeat": "",
                        "crontab": "",
                        "once": false,
                        "onceDelay": 0.1,
                        "topic": "",
                        "payload": "1002",
                        "payloadType": "str",
                        "x": 490,
                        "y": 560,
                        "wires": [
                            [
                                "a4db0bbf8fc4180d"
                            ]
                        ]
                    },
                    {
                        "id": "cbd54dbabf6f65be",
                        "type": "hue-bridge",
                        "name": "Hue GordonX",
                        "bridge": "192.168.0.8",
                        "key": "SlfyXwpcaEvRN0d1DU2JrrOlwrm9Debhhm9A4E-d",
                        "worker": "10",
                        "autoupdates": true,
                        "disableupdates": false
                    }
                ]
                

                Screenshot 2025-03-12 194728.png

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Support us

                ioBroker
                Community Adapters
                Donate

                930
                Online

                31.9k
                Users

                80.2k
                Topics

                1.3m
                Posts

                2
                6
                346
                Loading More Posts
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes
                Reply
                • Reply as topic
                Log in to reply
                Community
                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                The ioBroker Community 2014-2023
                logo