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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Node-Red
  5. Sprachansage nacheinander abspielen?

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.9k

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.2k

Sprachansage nacheinander abspielen?

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

    Guten Tag,
    ich habe derzeit folgenden Flow:

    71e5e78b-98a7-4a28-a865-ebfa078f6663-grafik.png

    [
        {
            "id": "154c36de.4e1c99",
            "type": "tab",
            "label": "Test",
            "disabled": false,
            "info": ""
        },
        {
            "id": "ecd68dbb.281c98",
            "type": "switch",
            "z": "154c36de.4e1c99",
            "name": "is true",
            "property": "payload",
            "propertyType": "msg",
            "rules": [
                {
                    "t": "eq",
                    "v": "true",
                    "vt": "str"
                }
            ],
            "checkall": "true",
            "repair": false,
            "outputs": 1,
            "x": 510,
            "y": 440,
            "wires": [
                [
                    "8f6584dd.14364",
                    "1d6bf2b.855c60d",
                    "e195c177.b33438",
                    "31ee5820.93ef9",
                    "929101c6.f0486",
                    "ad77ff0.71654",
                    "a51a0880.f2d1c8"
                ]
            ]
        },
        {
            "id": "8f6584dd.14364",
            "type": "ioBroker get",
            "z": "154c36de.4e1c99",
            "name": "Wohnzimmer_groß_Fensterkontakt.contact",
            "topic": "zigbee.0.00158d0004a019d0.contact",
            "attrname": "payload",
            "payloadType": "value",
            "x": 830,
            "y": 240,
            "wires": [
                [
                    "2de6af3e.8086d8"
                ]
            ]
        },
        {
            "id": "1d6bf2b.855c60d",
            "type": "ioBroker get",
            "z": "154c36de.4e1c99",
            "name": "Wohnzimmer_klein_Fensterkontakt.contact",
            "topic": "zigbee.0.00158d0004a043f6.contact",
            "attrname": "payload",
            "payloadType": "value",
            "x": 830,
            "y": 300,
            "wires": [
                [
                    "cc9e8f91.ae4658"
                ]
            ]
        },
        {
            "id": "e195c177.b33438",
            "type": "ioBroker get",
            "z": "154c36de.4e1c99",
            "name": "Badezimmer_klein_Fensterkontakt.contact",
            "topic": "zigbee.0.00158d00042cbb43.contact",
            "attrname": "payload",
            "payloadType": "value",
            "x": 830,
            "y": 360,
            "wires": [
                [
                    "fb848796.b4217"
                ]
            ]
        },
        {
            "id": "31ee5820.93ef9",
            "type": "ioBroker get",
            "z": "154c36de.4e1c99",
            "name": "Badezimmer_groß_Fensterkontakt.contact",
            "topic": "zigbee.0.00158d00049fee7f.contact",
            "attrname": "payload",
            "payloadType": "value",
            "x": 830,
            "y": 420,
            "wires": [
                [
                    "7cd95404.4883ac"
                ]
            ]
        },
        {
            "id": "ad77ff0.71654",
            "type": "ioBroker get",
            "z": "154c36de.4e1c99",
            "name": "Esszimmer_Fensterkontakt_rechts.contact",
            "topic": "zigbee.0.00158d0004a04457.contact",
            "attrname": "payload",
            "payloadType": "value",
            "x": 830,
            "y": 540,
            "wires": [
                [
                    "4e50075d.aa12a"
                ]
            ]
        },
        {
            "id": "a51a0880.f2d1c8",
            "type": "ioBroker get",
            "z": "154c36de.4e1c99",
            "name": "Esszimmer_Fensterkontakt_links.contact",
            "topic": "zigbee.0.00158d00042cbb68.contact",
            "attrname": "payload",
            "payloadType": "value",
            "x": 820,
            "y": 600,
            "wires": [
                [
                    "4e50075d.aa12a"
                ]
            ]
        },
        {
            "id": "929101c6.f0486",
            "type": "ioBroker get",
            "z": "154c36de.4e1c99",
            "name": "Dachboden_Fensterkontakt.contact",
            "topic": "zigbee.0.00158d0004a01914.contact",
            "attrname": "payload",
            "payloadType": "value",
            "x": 810,
            "y": 480,
            "wires": [
                [
                    "cd68604d.b7ff2"
                ]
            ]
        },
        {
            "id": "2de6af3e.8086d8",
            "type": "switch",
            "z": "154c36de.4e1c99",
            "name": "is false",
            "property": "payload",
            "propertyType": "msg",
            "rules": [
                {
                    "t": "eq",
                    "v": "false",
                    "vt": "str"
                }
            ],
            "checkall": "true",
            "repair": false,
            "outputs": 1,
            "x": 1140,
            "y": 240,
            "wires": [
                [
                    "464fd299.dcacdc"
                ]
            ]
        },
        {
            "id": "39561d1e.4a1a2a",
            "type": "rbe",
            "z": "154c36de.4e1c99",
            "name": "",
            "func": "rbe",
            "gap": "",
            "start": "",
            "inout": "out",
            "septopics": true,
            "property": "payload",
            "x": 390,
            "y": 440,
            "wires": [
                [
                    "ecd68dbb.281c98"
                ]
            ]
        },
        {
            "id": "704afdbf.8bed44",
            "type": "ioBroker in",
            "z": "154c36de.4e1c99",
            "name": "Wetterstation.regensensor",
            "topic": "hm-rpc.2.00275BE998F5E4.1.RAINING",
            "payloadType": "value",
            "onlyack": "",
            "func": "all",
            "gap": "",
            "x": 210,
            "y": 440,
            "wires": [
                [
                    "39561d1e.4a1a2a"
                ]
            ]
        },
        {
            "id": "cc9e8f91.ae4658",
            "type": "switch",
            "z": "154c36de.4e1c99",
            "name": "is false",
            "property": "payload",
            "propertyType": "msg",
            "rules": [
                {
                    "t": "eq",
                    "v": "false",
                    "vt": "str"
                }
            ],
            "checkall": "true",
            "repair": false,
            "outputs": 1,
            "x": 1140,
            "y": 300,
            "wires": [
                [
                    "464fd299.dcacdc"
                ]
            ]
        },
        {
            "id": "fb848796.b4217",
            "type": "switch",
            "z": "154c36de.4e1c99",
            "name": "is false",
            "property": "payload",
            "propertyType": "msg",
            "rules": [
                {
                    "t": "eq",
                    "v": "false",
                    "vt": "str"
                }
            ],
            "checkall": "true",
            "repair": false,
            "outputs": 1,
            "x": 1140,
            "y": 360,
            "wires": [
                [
                    "526acb03.ed338c"
                ]
            ]
        },
        {
            "id": "7cd95404.4883ac",
            "type": "switch",
            "z": "154c36de.4e1c99",
            "name": "is false",
            "property": "payload",
            "propertyType": "msg",
            "rules": [
                {
                    "t": "eq",
                    "v": "false",
                    "vt": "str"
                }
            ],
            "checkall": "true",
            "repair": false,
            "outputs": 1,
            "x": 1140,
            "y": 420,
            "wires": [
                [
                    "1fc79c25.3d0cc4"
                ]
            ]
        },
        {
            "id": "cd68604d.b7ff2",
            "type": "switch",
            "z": "154c36de.4e1c99",
            "name": "is false",
            "property": "payload",
            "propertyType": "msg",
            "rules": [
                {
                    "t": "eq",
                    "v": "false",
                    "vt": "str"
                }
            ],
            "checkall": "true",
            "repair": false,
            "outputs": 1,
            "x": 1140,
            "y": 480,
            "wires": [
                [
                    "4ceec192.334ad"
                ]
            ]
        },
        {
            "id": "4e50075d.aa12a",
            "type": "switch",
            "z": "154c36de.4e1c99",
            "name": "is false",
            "property": "payload",
            "propertyType": "msg",
            "rules": [
                {
                    "t": "eq",
                    "v": "false",
                    "vt": "str"
                }
            ],
            "checkall": "true",
            "repair": false,
            "outputs": 1,
            "x": 1140,
            "y": 600,
            "wires": [
                [
                    "3cd935a8.03c292"
                ]
            ]
        },
        {
            "id": "bf499958.b5d638",
            "type": "ioBroker out",
            "z": "154c36de.4e1c99",
            "name": "Türgong.submit",
            "topic": "hm-rpc.0.PEQ0546620.2.SUBMIT",
            "ack": "false",
            "autoCreate": "false",
            "stateName": "",
            "role": "",
            "stateUnit": "",
            "stateMin": "",
            "stateMax": "",
            "x": 1560,
            "y": 420,
            "wires": []
        },
        {
            "id": "464fd299.dcacdc",
            "type": "change",
            "z": "154c36de.4e1c99",
            "name": "Wohn_Fenster",
            "rules": [
                {
                    "t": "set",
                    "p": "payload",
                    "pt": "msg",
                    "to": "1,1,108000,14",
                    "tot": "str"
                }
            ],
            "action": "",
            "property": "",
            "from": "",
            "to": "",
            "reg": false,
            "x": 1300,
            "y": 240,
            "wires": [
                [
                    "bf499958.b5d638"
                ]
            ]
        },
        {
            "id": "526acb03.ed338c",
            "type": "change",
            "z": "154c36de.4e1c99",
            "name": "Bad_Klein_Fenster",
            "rules": [
                {
                    "t": "set",
                    "p": "payload",
                    "pt": "msg",
                    "to": "1,1,108000,13",
                    "tot": "str"
                }
            ],
            "action": "",
            "property": "",
            "from": "",
            "to": "",
            "reg": false,
            "x": 1310,
            "y": 360,
            "wires": [
                [
                    "bf499958.b5d638"
                ]
            ]
        },
        {
            "id": "1fc79c25.3d0cc4",
            "type": "change",
            "z": "154c36de.4e1c99",
            "name": "Bad_Gross_Fenster",
            "rules": [
                {
                    "t": "set",
                    "p": "payload",
                    "pt": "msg",
                    "to": "1,1,108000,12",
                    "tot": "str"
                }
            ],
            "action": "",
            "property": "",
            "from": "",
            "to": "",
            "reg": false,
            "x": 1320,
            "y": 420,
            "wires": [
                [
                    "bf499958.b5d638"
                ]
            ]
        },
        {
            "id": "4ceec192.334ad",
            "type": "change",
            "z": "154c36de.4e1c99",
            "name": "Dachboden_Fenster",
            "rules": [
                {
                    "t": "set",
                    "p": "payload",
                    "pt": "msg",
                    "to": "1,1,108000,11",
                    "tot": "str"
                }
            ],
            "action": "",
            "property": "",
            "from": "",
            "to": "",
            "reg": false,
            "x": 1320,
            "y": 480,
            "wires": [
                [
                    "bf499958.b5d638"
                ]
            ]
        },
        {
            "id": "3cd935a8.03c292",
            "type": "change",
            "z": "154c36de.4e1c99",
            "name": "Esszimmer_Fenster",
            "rules": [
                {
                    "t": "set",
                    "p": "payload",
                    "pt": "msg",
                    "to": "1,1,108000,10",
                    "tot": "str"
                }
            ],
            "action": "",
            "property": "",
            "from": "",
            "to": "",
            "reg": false,
            "x": 1320,
            "y": 600,
            "wires": [
                [
                    "bf499958.b5d638"
                ]
            ]
        }
    ]
    

    Von der Logik her bekomme ich das gerade nicht in meinen Kopf, wie ich das triggern kann, dass wenn mehrere Fenster geöffnet sind die Textbausteine nacheinander gesprochen werden. Hätte jemand von euch eine Idee?

    Danke euch! :)

    bahnuhrB mickymM 2 Antworten Letzte Antwort
    0
    • H Hc-Yami

      Guten Tag,
      ich habe derzeit folgenden Flow:

      71e5e78b-98a7-4a28-a865-ebfa078f6663-grafik.png

      [
          {
              "id": "154c36de.4e1c99",
              "type": "tab",
              "label": "Test",
              "disabled": false,
              "info": ""
          },
          {
              "id": "ecd68dbb.281c98",
              "type": "switch",
              "z": "154c36de.4e1c99",
              "name": "is true",
              "property": "payload",
              "propertyType": "msg",
              "rules": [
                  {
                      "t": "eq",
                      "v": "true",
                      "vt": "str"
                  }
              ],
              "checkall": "true",
              "repair": false,
              "outputs": 1,
              "x": 510,
              "y": 440,
              "wires": [
                  [
                      "8f6584dd.14364",
                      "1d6bf2b.855c60d",
                      "e195c177.b33438",
                      "31ee5820.93ef9",
                      "929101c6.f0486",
                      "ad77ff0.71654",
                      "a51a0880.f2d1c8"
                  ]
              ]
          },
          {
              "id": "8f6584dd.14364",
              "type": "ioBroker get",
              "z": "154c36de.4e1c99",
              "name": "Wohnzimmer_groß_Fensterkontakt.contact",
              "topic": "zigbee.0.00158d0004a019d0.contact",
              "attrname": "payload",
              "payloadType": "value",
              "x": 830,
              "y": 240,
              "wires": [
                  [
                      "2de6af3e.8086d8"
                  ]
              ]
          },
          {
              "id": "1d6bf2b.855c60d",
              "type": "ioBroker get",
              "z": "154c36de.4e1c99",
              "name": "Wohnzimmer_klein_Fensterkontakt.contact",
              "topic": "zigbee.0.00158d0004a043f6.contact",
              "attrname": "payload",
              "payloadType": "value",
              "x": 830,
              "y": 300,
              "wires": [
                  [
                      "cc9e8f91.ae4658"
                  ]
              ]
          },
          {
              "id": "e195c177.b33438",
              "type": "ioBroker get",
              "z": "154c36de.4e1c99",
              "name": "Badezimmer_klein_Fensterkontakt.contact",
              "topic": "zigbee.0.00158d00042cbb43.contact",
              "attrname": "payload",
              "payloadType": "value",
              "x": 830,
              "y": 360,
              "wires": [
                  [
                      "fb848796.b4217"
                  ]
              ]
          },
          {
              "id": "31ee5820.93ef9",
              "type": "ioBroker get",
              "z": "154c36de.4e1c99",
              "name": "Badezimmer_groß_Fensterkontakt.contact",
              "topic": "zigbee.0.00158d00049fee7f.contact",
              "attrname": "payload",
              "payloadType": "value",
              "x": 830,
              "y": 420,
              "wires": [
                  [
                      "7cd95404.4883ac"
                  ]
              ]
          },
          {
              "id": "ad77ff0.71654",
              "type": "ioBroker get",
              "z": "154c36de.4e1c99",
              "name": "Esszimmer_Fensterkontakt_rechts.contact",
              "topic": "zigbee.0.00158d0004a04457.contact",
              "attrname": "payload",
              "payloadType": "value",
              "x": 830,
              "y": 540,
              "wires": [
                  [
                      "4e50075d.aa12a"
                  ]
              ]
          },
          {
              "id": "a51a0880.f2d1c8",
              "type": "ioBroker get",
              "z": "154c36de.4e1c99",
              "name": "Esszimmer_Fensterkontakt_links.contact",
              "topic": "zigbee.0.00158d00042cbb68.contact",
              "attrname": "payload",
              "payloadType": "value",
              "x": 820,
              "y": 600,
              "wires": [
                  [
                      "4e50075d.aa12a"
                  ]
              ]
          },
          {
              "id": "929101c6.f0486",
              "type": "ioBroker get",
              "z": "154c36de.4e1c99",
              "name": "Dachboden_Fensterkontakt.contact",
              "topic": "zigbee.0.00158d0004a01914.contact",
              "attrname": "payload",
              "payloadType": "value",
              "x": 810,
              "y": 480,
              "wires": [
                  [
                      "cd68604d.b7ff2"
                  ]
              ]
          },
          {
              "id": "2de6af3e.8086d8",
              "type": "switch",
              "z": "154c36de.4e1c99",
              "name": "is false",
              "property": "payload",
              "propertyType": "msg",
              "rules": [
                  {
                      "t": "eq",
                      "v": "false",
                      "vt": "str"
                  }
              ],
              "checkall": "true",
              "repair": false,
              "outputs": 1,
              "x": 1140,
              "y": 240,
              "wires": [
                  [
                      "464fd299.dcacdc"
                  ]
              ]
          },
          {
              "id": "39561d1e.4a1a2a",
              "type": "rbe",
              "z": "154c36de.4e1c99",
              "name": "",
              "func": "rbe",
              "gap": "",
              "start": "",
              "inout": "out",
              "septopics": true,
              "property": "payload",
              "x": 390,
              "y": 440,
              "wires": [
                  [
                      "ecd68dbb.281c98"
                  ]
              ]
          },
          {
              "id": "704afdbf.8bed44",
              "type": "ioBroker in",
              "z": "154c36de.4e1c99",
              "name": "Wetterstation.regensensor",
              "topic": "hm-rpc.2.00275BE998F5E4.1.RAINING",
              "payloadType": "value",
              "onlyack": "",
              "func": "all",
              "gap": "",
              "x": 210,
              "y": 440,
              "wires": [
                  [
                      "39561d1e.4a1a2a"
                  ]
              ]
          },
          {
              "id": "cc9e8f91.ae4658",
              "type": "switch",
              "z": "154c36de.4e1c99",
              "name": "is false",
              "property": "payload",
              "propertyType": "msg",
              "rules": [
                  {
                      "t": "eq",
                      "v": "false",
                      "vt": "str"
                  }
              ],
              "checkall": "true",
              "repair": false,
              "outputs": 1,
              "x": 1140,
              "y": 300,
              "wires": [
                  [
                      "464fd299.dcacdc"
                  ]
              ]
          },
          {
              "id": "fb848796.b4217",
              "type": "switch",
              "z": "154c36de.4e1c99",
              "name": "is false",
              "property": "payload",
              "propertyType": "msg",
              "rules": [
                  {
                      "t": "eq",
                      "v": "false",
                      "vt": "str"
                  }
              ],
              "checkall": "true",
              "repair": false,
              "outputs": 1,
              "x": 1140,
              "y": 360,
              "wires": [
                  [
                      "526acb03.ed338c"
                  ]
              ]
          },
          {
              "id": "7cd95404.4883ac",
              "type": "switch",
              "z": "154c36de.4e1c99",
              "name": "is false",
              "property": "payload",
              "propertyType": "msg",
              "rules": [
                  {
                      "t": "eq",
                      "v": "false",
                      "vt": "str"
                  }
              ],
              "checkall": "true",
              "repair": false,
              "outputs": 1,
              "x": 1140,
              "y": 420,
              "wires": [
                  [
                      "1fc79c25.3d0cc4"
                  ]
              ]
          },
          {
              "id": "cd68604d.b7ff2",
              "type": "switch",
              "z": "154c36de.4e1c99",
              "name": "is false",
              "property": "payload",
              "propertyType": "msg",
              "rules": [
                  {
                      "t": "eq",
                      "v": "false",
                      "vt": "str"
                  }
              ],
              "checkall": "true",
              "repair": false,
              "outputs": 1,
              "x": 1140,
              "y": 480,
              "wires": [
                  [
                      "4ceec192.334ad"
                  ]
              ]
          },
          {
              "id": "4e50075d.aa12a",
              "type": "switch",
              "z": "154c36de.4e1c99",
              "name": "is false",
              "property": "payload",
              "propertyType": "msg",
              "rules": [
                  {
                      "t": "eq",
                      "v": "false",
                      "vt": "str"
                  }
              ],
              "checkall": "true",
              "repair": false,
              "outputs": 1,
              "x": 1140,
              "y": 600,
              "wires": [
                  [
                      "3cd935a8.03c292"
                  ]
              ]
          },
          {
              "id": "bf499958.b5d638",
              "type": "ioBroker out",
              "z": "154c36de.4e1c99",
              "name": "Türgong.submit",
              "topic": "hm-rpc.0.PEQ0546620.2.SUBMIT",
              "ack": "false",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 1560,
              "y": 420,
              "wires": []
          },
          {
              "id": "464fd299.dcacdc",
              "type": "change",
              "z": "154c36de.4e1c99",
              "name": "Wohn_Fenster",
              "rules": [
                  {
                      "t": "set",
                      "p": "payload",
                      "pt": "msg",
                      "to": "1,1,108000,14",
                      "tot": "str"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 1300,
              "y": 240,
              "wires": [
                  [
                      "bf499958.b5d638"
                  ]
              ]
          },
          {
              "id": "526acb03.ed338c",
              "type": "change",
              "z": "154c36de.4e1c99",
              "name": "Bad_Klein_Fenster",
              "rules": [
                  {
                      "t": "set",
                      "p": "payload",
                      "pt": "msg",
                      "to": "1,1,108000,13",
                      "tot": "str"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 1310,
              "y": 360,
              "wires": [
                  [
                      "bf499958.b5d638"
                  ]
              ]
          },
          {
              "id": "1fc79c25.3d0cc4",
              "type": "change",
              "z": "154c36de.4e1c99",
              "name": "Bad_Gross_Fenster",
              "rules": [
                  {
                      "t": "set",
                      "p": "payload",
                      "pt": "msg",
                      "to": "1,1,108000,12",
                      "tot": "str"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 1320,
              "y": 420,
              "wires": [
                  [
                      "bf499958.b5d638"
                  ]
              ]
          },
          {
              "id": "4ceec192.334ad",
              "type": "change",
              "z": "154c36de.4e1c99",
              "name": "Dachboden_Fenster",
              "rules": [
                  {
                      "t": "set",
                      "p": "payload",
                      "pt": "msg",
                      "to": "1,1,108000,11",
                      "tot": "str"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 1320,
              "y": 480,
              "wires": [
                  [
                      "bf499958.b5d638"
                  ]
              ]
          },
          {
              "id": "3cd935a8.03c292",
              "type": "change",
              "z": "154c36de.4e1c99",
              "name": "Esszimmer_Fenster",
              "rules": [
                  {
                      "t": "set",
                      "p": "payload",
                      "pt": "msg",
                      "to": "1,1,108000,10",
                      "tot": "str"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 1320,
              "y": 600,
              "wires": [
                  [
                      "bf499958.b5d638"
                  ]
              ]
          }
      ]
      

      Von der Logik her bekomme ich das gerade nicht in meinen Kopf, wie ich das triggern kann, dass wenn mehrere Fenster geöffnet sind die Textbausteine nacheinander gesprochen werden. Hätte jemand von euch eine Idee?

      Danke euch! :)

      bahnuhrB Online
      bahnuhrB Online
      bahnuhr
      Forum Testing Most Active
      schrieb am zuletzt editiert von
      #2

      @hc-yami sagte in Sprachansage nacheinander abspielen?:

      Hätte jemand von euch eine Idee?

      Ja.
      du prüfst alle Fenster und schreibst die offenen in eine Text-Variable.

      Und diese liest du dann vor.


      Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
      Danke.
      gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge
      ScreenToGif :https://www.screentogif.com/downloads.html

      1 Antwort Letzte Antwort
      0
      • H Hc-Yami

        Guten Tag,
        ich habe derzeit folgenden Flow:

        71e5e78b-98a7-4a28-a865-ebfa078f6663-grafik.png

        [
            {
                "id": "154c36de.4e1c99",
                "type": "tab",
                "label": "Test",
                "disabled": false,
                "info": ""
            },
            {
                "id": "ecd68dbb.281c98",
                "type": "switch",
                "z": "154c36de.4e1c99",
                "name": "is true",
                "property": "payload",
                "propertyType": "msg",
                "rules": [
                    {
                        "t": "eq",
                        "v": "true",
                        "vt": "str"
                    }
                ],
                "checkall": "true",
                "repair": false,
                "outputs": 1,
                "x": 510,
                "y": 440,
                "wires": [
                    [
                        "8f6584dd.14364",
                        "1d6bf2b.855c60d",
                        "e195c177.b33438",
                        "31ee5820.93ef9",
                        "929101c6.f0486",
                        "ad77ff0.71654",
                        "a51a0880.f2d1c8"
                    ]
                ]
            },
            {
                "id": "8f6584dd.14364",
                "type": "ioBroker get",
                "z": "154c36de.4e1c99",
                "name": "Wohnzimmer_groß_Fensterkontakt.contact",
                "topic": "zigbee.0.00158d0004a019d0.contact",
                "attrname": "payload",
                "payloadType": "value",
                "x": 830,
                "y": 240,
                "wires": [
                    [
                        "2de6af3e.8086d8"
                    ]
                ]
            },
            {
                "id": "1d6bf2b.855c60d",
                "type": "ioBroker get",
                "z": "154c36de.4e1c99",
                "name": "Wohnzimmer_klein_Fensterkontakt.contact",
                "topic": "zigbee.0.00158d0004a043f6.contact",
                "attrname": "payload",
                "payloadType": "value",
                "x": 830,
                "y": 300,
                "wires": [
                    [
                        "cc9e8f91.ae4658"
                    ]
                ]
            },
            {
                "id": "e195c177.b33438",
                "type": "ioBroker get",
                "z": "154c36de.4e1c99",
                "name": "Badezimmer_klein_Fensterkontakt.contact",
                "topic": "zigbee.0.00158d00042cbb43.contact",
                "attrname": "payload",
                "payloadType": "value",
                "x": 830,
                "y": 360,
                "wires": [
                    [
                        "fb848796.b4217"
                    ]
                ]
            },
            {
                "id": "31ee5820.93ef9",
                "type": "ioBroker get",
                "z": "154c36de.4e1c99",
                "name": "Badezimmer_groß_Fensterkontakt.contact",
                "topic": "zigbee.0.00158d00049fee7f.contact",
                "attrname": "payload",
                "payloadType": "value",
                "x": 830,
                "y": 420,
                "wires": [
                    [
                        "7cd95404.4883ac"
                    ]
                ]
            },
            {
                "id": "ad77ff0.71654",
                "type": "ioBroker get",
                "z": "154c36de.4e1c99",
                "name": "Esszimmer_Fensterkontakt_rechts.contact",
                "topic": "zigbee.0.00158d0004a04457.contact",
                "attrname": "payload",
                "payloadType": "value",
                "x": 830,
                "y": 540,
                "wires": [
                    [
                        "4e50075d.aa12a"
                    ]
                ]
            },
            {
                "id": "a51a0880.f2d1c8",
                "type": "ioBroker get",
                "z": "154c36de.4e1c99",
                "name": "Esszimmer_Fensterkontakt_links.contact",
                "topic": "zigbee.0.00158d00042cbb68.contact",
                "attrname": "payload",
                "payloadType": "value",
                "x": 820,
                "y": 600,
                "wires": [
                    [
                        "4e50075d.aa12a"
                    ]
                ]
            },
            {
                "id": "929101c6.f0486",
                "type": "ioBroker get",
                "z": "154c36de.4e1c99",
                "name": "Dachboden_Fensterkontakt.contact",
                "topic": "zigbee.0.00158d0004a01914.contact",
                "attrname": "payload",
                "payloadType": "value",
                "x": 810,
                "y": 480,
                "wires": [
                    [
                        "cd68604d.b7ff2"
                    ]
                ]
            },
            {
                "id": "2de6af3e.8086d8",
                "type": "switch",
                "z": "154c36de.4e1c99",
                "name": "is false",
                "property": "payload",
                "propertyType": "msg",
                "rules": [
                    {
                        "t": "eq",
                        "v": "false",
                        "vt": "str"
                    }
                ],
                "checkall": "true",
                "repair": false,
                "outputs": 1,
                "x": 1140,
                "y": 240,
                "wires": [
                    [
                        "464fd299.dcacdc"
                    ]
                ]
            },
            {
                "id": "39561d1e.4a1a2a",
                "type": "rbe",
                "z": "154c36de.4e1c99",
                "name": "",
                "func": "rbe",
                "gap": "",
                "start": "",
                "inout": "out",
                "septopics": true,
                "property": "payload",
                "x": 390,
                "y": 440,
                "wires": [
                    [
                        "ecd68dbb.281c98"
                    ]
                ]
            },
            {
                "id": "704afdbf.8bed44",
                "type": "ioBroker in",
                "z": "154c36de.4e1c99",
                "name": "Wetterstation.regensensor",
                "topic": "hm-rpc.2.00275BE998F5E4.1.RAINING",
                "payloadType": "value",
                "onlyack": "",
                "func": "all",
                "gap": "",
                "x": 210,
                "y": 440,
                "wires": [
                    [
                        "39561d1e.4a1a2a"
                    ]
                ]
            },
            {
                "id": "cc9e8f91.ae4658",
                "type": "switch",
                "z": "154c36de.4e1c99",
                "name": "is false",
                "property": "payload",
                "propertyType": "msg",
                "rules": [
                    {
                        "t": "eq",
                        "v": "false",
                        "vt": "str"
                    }
                ],
                "checkall": "true",
                "repair": false,
                "outputs": 1,
                "x": 1140,
                "y": 300,
                "wires": [
                    [
                        "464fd299.dcacdc"
                    ]
                ]
            },
            {
                "id": "fb848796.b4217",
                "type": "switch",
                "z": "154c36de.4e1c99",
                "name": "is false",
                "property": "payload",
                "propertyType": "msg",
                "rules": [
                    {
                        "t": "eq",
                        "v": "false",
                        "vt": "str"
                    }
                ],
                "checkall": "true",
                "repair": false,
                "outputs": 1,
                "x": 1140,
                "y": 360,
                "wires": [
                    [
                        "526acb03.ed338c"
                    ]
                ]
            },
            {
                "id": "7cd95404.4883ac",
                "type": "switch",
                "z": "154c36de.4e1c99",
                "name": "is false",
                "property": "payload",
                "propertyType": "msg",
                "rules": [
                    {
                        "t": "eq",
                        "v": "false",
                        "vt": "str"
                    }
                ],
                "checkall": "true",
                "repair": false,
                "outputs": 1,
                "x": 1140,
                "y": 420,
                "wires": [
                    [
                        "1fc79c25.3d0cc4"
                    ]
                ]
            },
            {
                "id": "cd68604d.b7ff2",
                "type": "switch",
                "z": "154c36de.4e1c99",
                "name": "is false",
                "property": "payload",
                "propertyType": "msg",
                "rules": [
                    {
                        "t": "eq",
                        "v": "false",
                        "vt": "str"
                    }
                ],
                "checkall": "true",
                "repair": false,
                "outputs": 1,
                "x": 1140,
                "y": 480,
                "wires": [
                    [
                        "4ceec192.334ad"
                    ]
                ]
            },
            {
                "id": "4e50075d.aa12a",
                "type": "switch",
                "z": "154c36de.4e1c99",
                "name": "is false",
                "property": "payload",
                "propertyType": "msg",
                "rules": [
                    {
                        "t": "eq",
                        "v": "false",
                        "vt": "str"
                    }
                ],
                "checkall": "true",
                "repair": false,
                "outputs": 1,
                "x": 1140,
                "y": 600,
                "wires": [
                    [
                        "3cd935a8.03c292"
                    ]
                ]
            },
            {
                "id": "bf499958.b5d638",
                "type": "ioBroker out",
                "z": "154c36de.4e1c99",
                "name": "Türgong.submit",
                "topic": "hm-rpc.0.PEQ0546620.2.SUBMIT",
                "ack": "false",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 1560,
                "y": 420,
                "wires": []
            },
            {
                "id": "464fd299.dcacdc",
                "type": "change",
                "z": "154c36de.4e1c99",
                "name": "Wohn_Fenster",
                "rules": [
                    {
                        "t": "set",
                        "p": "payload",
                        "pt": "msg",
                        "to": "1,1,108000,14",
                        "tot": "str"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 1300,
                "y": 240,
                "wires": [
                    [
                        "bf499958.b5d638"
                    ]
                ]
            },
            {
                "id": "526acb03.ed338c",
                "type": "change",
                "z": "154c36de.4e1c99",
                "name": "Bad_Klein_Fenster",
                "rules": [
                    {
                        "t": "set",
                        "p": "payload",
                        "pt": "msg",
                        "to": "1,1,108000,13",
                        "tot": "str"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 1310,
                "y": 360,
                "wires": [
                    [
                        "bf499958.b5d638"
                    ]
                ]
            },
            {
                "id": "1fc79c25.3d0cc4",
                "type": "change",
                "z": "154c36de.4e1c99",
                "name": "Bad_Gross_Fenster",
                "rules": [
                    {
                        "t": "set",
                        "p": "payload",
                        "pt": "msg",
                        "to": "1,1,108000,12",
                        "tot": "str"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 1320,
                "y": 420,
                "wires": [
                    [
                        "bf499958.b5d638"
                    ]
                ]
            },
            {
                "id": "4ceec192.334ad",
                "type": "change",
                "z": "154c36de.4e1c99",
                "name": "Dachboden_Fenster",
                "rules": [
                    {
                        "t": "set",
                        "p": "payload",
                        "pt": "msg",
                        "to": "1,1,108000,11",
                        "tot": "str"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 1320,
                "y": 480,
                "wires": [
                    [
                        "bf499958.b5d638"
                    ]
                ]
            },
            {
                "id": "3cd935a8.03c292",
                "type": "change",
                "z": "154c36de.4e1c99",
                "name": "Esszimmer_Fenster",
                "rules": [
                    {
                        "t": "set",
                        "p": "payload",
                        "pt": "msg",
                        "to": "1,1,108000,10",
                        "tot": "str"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 1320,
                "y": 600,
                "wires": [
                    [
                        "bf499958.b5d638"
                    ]
                ]
            }
        ]
        

        Von der Logik her bekomme ich das gerade nicht in meinen Kopf, wie ich das triggern kann, dass wenn mehrere Fenster geöffnet sind die Textbausteine nacheinander gesprochen werden. Hätte jemand von euch eine Idee?

        Danke euch! :)

        mickymM Online
        mickymM Online
        mickym
        Most Active
        schrieb am zuletzt editiert von mickym
        #3

        @hc-yami Ich würde alle Nachrichten über eine JOIN Node in ein Objekt sammeln, anschließend das Objekt mit split wieder aufteilen und sequentiell analysieren und ggf. ausgeben.

        59b68565-70cc-4de5-a833-c3f8ccfb794c-image.png

        ggf. musst halt mit einer delay Node noch den Fluß bremsen.

        [
           {
               "id": "ecd68dbb.281c98",
               "type": "switch",
               "z": "154c36de.4e1c99",
               "name": "is true",
               "property": "payload",
               "propertyType": "msg",
               "rules": [
                   {
                       "t": "eq",
                       "v": "true",
                       "vt": "str"
                   }
               ],
               "checkall": "true",
               "repair": false,
               "outputs": 1,
               "x": 1150,
               "y": 440,
               "wires": [
                   [
                       "8f6584dd.14364",
                       "1d6bf2b.855c60d",
                       "e195c177.b33438",
                       "31ee5820.93ef9",
                       "929101c6.f0486",
                       "ad77ff0.71654",
                       "a51a0880.f2d1c8"
                   ]
               ]
           },
           {
               "id": "8f6584dd.14364",
               "type": "ioBroker get",
               "z": "154c36de.4e1c99",
               "name": "Wohnzimmer_groß_Fensterkontakt.contact",
               "topic": "zigbee.0.00158d0004a019d0.contact",
               "attrname": "payload",
               "payloadType": "value",
               "x": 1470,
               "y": 240,
               "wires": [
                   [
                       "801bfb52.4c3118"
                   ]
               ]
           },
           {
               "id": "1d6bf2b.855c60d",
               "type": "ioBroker get",
               "z": "154c36de.4e1c99",
               "name": "Wohnzimmer_klein_Fensterkontakt.contact",
               "topic": "zigbee.0.00158d0004a043f6.contact",
               "attrname": "payload",
               "payloadType": "value",
               "x": 1470,
               "y": 300,
               "wires": [
                   [
                       "801bfb52.4c3118"
                   ]
               ]
           },
           {
               "id": "e195c177.b33438",
               "type": "ioBroker get",
               "z": "154c36de.4e1c99",
               "name": "Badezimmer_klein_Fensterkontakt.contact",
               "topic": "zigbee.0.00158d00042cbb43.contact",
               "attrname": "payload",
               "payloadType": "value",
               "x": 1470,
               "y": 360,
               "wires": [
                   [
                       "801bfb52.4c3118"
                   ]
               ]
           },
           {
               "id": "31ee5820.93ef9",
               "type": "ioBroker get",
               "z": "154c36de.4e1c99",
               "name": "Badezimmer_groß_Fensterkontakt.contact",
               "topic": "zigbee.0.00158d00049fee7f.contact",
               "attrname": "payload",
               "payloadType": "value",
               "x": 1470,
               "y": 420,
               "wires": [
                   [
                       "801bfb52.4c3118"
                   ]
               ]
           },
           {
               "id": "ad77ff0.71654",
               "type": "ioBroker get",
               "z": "154c36de.4e1c99",
               "name": "Esszimmer_Fensterkontakt_rechts.contact",
               "topic": "zigbee.0.00158d0004a04457.contact",
               "attrname": "payload",
               "payloadType": "value",
               "x": 1470,
               "y": 540,
               "wires": [
                   [
                       "801bfb52.4c3118"
                   ]
               ]
           },
           {
               "id": "a51a0880.f2d1c8",
               "type": "ioBroker get",
               "z": "154c36de.4e1c99",
               "name": "Esszimmer_Fensterkontakt_links.contact",
               "topic": "zigbee.0.00158d00042cbb68.contact",
               "attrname": "payload",
               "payloadType": "value",
               "x": 1480,
               "y": 600,
               "wires": [
                   [
                       "801bfb52.4c3118"
                   ]
               ]
           },
           {
               "id": "929101c6.f0486",
               "type": "ioBroker get",
               "z": "154c36de.4e1c99",
               "name": "Dachboden_Fensterkontakt.contact",
               "topic": "zigbee.0.00158d0004a01914.contact",
               "attrname": "payload",
               "payloadType": "value",
               "x": 1500,
               "y": 480,
               "wires": [
                   [
                       "801bfb52.4c3118"
                   ]
               ]
           },
           {
               "id": "39561d1e.4a1a2a",
               "type": "rbe",
               "z": "154c36de.4e1c99",
               "name": "",
               "func": "rbe",
               "gap": "",
               "start": "",
               "inout": "out",
               "septopics": true,
               "property": "payload",
               "x": 1030,
               "y": 440,
               "wires": [
                   [
                       "ecd68dbb.281c98"
                   ]
               ]
           },
           {
               "id": "704afdbf.8bed44",
               "type": "ioBroker in",
               "z": "154c36de.4e1c99",
               "name": "Wetterstation.regensensor",
               "topic": "hm-rpc.2.00275BE998F5E4.1.RAINING",
               "payloadType": "value",
               "onlyack": "",
               "func": "all",
               "gap": "",
               "x": 850,
               "y": 440,
               "wires": [
                   [
                       "39561d1e.4a1a2a"
                   ]
               ]
           },
           {
               "id": "f15b3e5e.e63ae",
               "type": "switch",
               "z": "154c36de.4e1c99",
               "name": "is false",
               "property": "payload",
               "propertyType": "msg",
               "rules": [
                   {
                       "t": "eq",
                       "v": "false",
                       "vt": "str"
                   }
               ],
               "checkall": "true",
               "repair": false,
               "outputs": 1,
               "x": 2080,
               "y": 420,
               "wires": [
                   [
                       "d8f764ed.a48128"
                   ]
               ]
           },
           {
               "id": "68d3bd80.7ce234",
               "type": "ioBroker out",
               "z": "154c36de.4e1c99",
               "name": "Türgong.submit",
               "topic": "hm-rpc.0.PEQ0546620.2.SUBMIT",
               "ack": "false",
               "autoCreate": "false",
               "stateName": "",
               "role": "",
               "stateUnit": "",
               "stateMin": "",
               "stateMax": "",
               "x": 2760,
               "y": 460,
               "wires": []
           },
           {
               "id": "d08c2f3c.7a826",
               "type": "change",
               "z": "154c36de.4e1c99",
               "name": "Wohn_Fenster",
               "rules": [
                   {
                       "t": "set",
                       "p": "payload",
                       "pt": "msg",
                       "to": "1,1,108000,14",
                       "tot": "str"
                   }
               ],
               "action": "",
               "property": "",
               "from": "",
               "to": "",
               "reg": false,
               "x": 2440,
               "y": 240,
               "wires": [
                   [
                       "68d3bd80.7ce234"
                   ]
               ]
           },
           {
               "id": "b0550010.65479",
               "type": "change",
               "z": "154c36de.4e1c99",
               "name": "Bad_Klein_Fenster",
               "rules": [
                   {
                       "t": "set",
                       "p": "payload",
                       "pt": "msg",
                       "to": "1,1,108000,13",
                       "tot": "str"
                   }
               ],
               "action": "",
               "property": "",
               "from": "",
               "to": "",
               "reg": false,
               "x": 2450,
               "y": 360,
               "wires": [
                   [
                       "68d3bd80.7ce234"
                   ]
               ]
           },
           {
               "id": "cdb7ad5b.0facb",
               "type": "change",
               "z": "154c36de.4e1c99",
               "name": "Bad_Gross_Fenster",
               "rules": [
                   {
                       "t": "set",
                       "p": "payload",
                       "pt": "msg",
                       "to": "1,1,108000,12",
                       "tot": "str"
                   }
               ],
               "action": "",
               "property": "",
               "from": "",
               "to": "",
               "reg": false,
               "x": 2460,
               "y": 420,
               "wires": [
                   [
                       "68d3bd80.7ce234"
                   ]
               ]
           },
           {
               "id": "4e90f867.9646d8",
               "type": "change",
               "z": "154c36de.4e1c99",
               "name": "Dachboden_Fenster",
               "rules": [
                   {
                       "t": "set",
                       "p": "payload",
                       "pt": "msg",
                       "to": "1,1,108000,11",
                       "tot": "str"
                   }
               ],
               "action": "",
               "property": "",
               "from": "",
               "to": "",
               "reg": false,
               "x": 2460,
               "y": 480,
               "wires": [
                   [
                       "68d3bd80.7ce234"
                   ]
               ]
           },
           {
               "id": "35b07d6d.f92322",
               "type": "change",
               "z": "154c36de.4e1c99",
               "name": "Esszimmer_Fenster",
               "rules": [
                   {
                       "t": "set",
                       "p": "payload",
                       "pt": "msg",
                       "to": "1,1,108000,10",
                       "tot": "str"
                   }
               ],
               "action": "",
               "property": "",
               "from": "",
               "to": "",
               "reg": false,
               "x": 2460,
               "y": 600,
               "wires": [
                   [
                       "68d3bd80.7ce234"
                   ]
               ]
           },
           {
               "id": "801bfb52.4c3118",
               "type": "join",
               "z": "154c36de.4e1c99",
               "name": "",
               "mode": "custom",
               "build": "object",
               "property": "payload",
               "propertyType": "msg",
               "key": "topic",
               "joiner": "\\n",
               "joinerType": "str",
               "accumulate": false,
               "timeout": "",
               "count": "7",
               "reduceRight": false,
               "reduceExp": "",
               "reduceInit": "",
               "reduceInitType": "",
               "reduceFixup": "",
               "x": 1790,
               "y": 420,
               "wires": [
                   [
                       "2d1f6ec3.015222"
                   ]
               ]
           },
           {
               "id": "2d1f6ec3.015222",
               "type": "split",
               "z": "154c36de.4e1c99",
               "name": "",
               "splt": "\\n",
               "spltType": "str",
               "arraySplt": 1,
               "arraySpltType": "len",
               "stream": false,
               "addname": "topic",
               "x": 1930,
               "y": 420,
               "wires": [
                   [
                       "f15b3e5e.e63ae"
                   ]
               ]
           },
           {
               "id": "d8f764ed.a48128",
               "type": "switch",
               "z": "154c36de.4e1c99",
               "name": "",
               "property": "topic",
               "propertyType": "msg",
               "rules": [
                   {
                       "t": "eq",
                       "v": "zigbee.0.00158d0004a019d0.contact",
                       "vt": "str"
                   },
                   {
                       "t": "eq",
                       "v": "zigbee.0.00158d0004a043f6.contact",
                       "vt": "str"
                   },
                   {
                       "t": "eq",
                       "v": "zigbee.0.00158d00042cbb43.contact",
                       "vt": "str"
                   },
                   {
                       "t": "eq",
                       "v": "zigbee.0.00158d00049fee7f.contact",
                       "vt": "str"
                   },
                   {
                       "t": "eq",
                       "v": "zigbee.0.00158d0004a01914.contact",
                       "vt": "str"
                   },
                   {
                       "t": "eq",
                       "v": "zigbee.0.00158d0004a04457.contact",
                       "vt": "str"
                   },
                   {
                       "t": "eq",
                       "v": "zigbee.0.00158d00042cbb68.contact",
                       "vt": "str"
                   }
               ],
               "checkall": "true",
               "repair": false,
               "outputs": 7,
               "x": 2230,
               "y": 420,
               "wires": [
                   [
                       "d08c2f3c.7a826"
                   ],
                   [
                       "d08c2f3c.7a826"
                   ],
                   [
                       "b0550010.65479"
                   ],
                   [
                       "cdb7ad5b.0facb"
                   ],
                   [
                       "4e90f867.9646d8"
                   ],
                   [
                       "35b07d6d.f92322"
                   ],
                   [
                       "35b07d6d.f92322"
                   ]
               ]
           }
        ]
        

        Was Du als payload verschickst - kann ich natürlich nicht beurteilen: 1,1,108000,13

        Falls das noch nicht implementiert ist und ein anderer Flow - dann würde ich das Topic verwenden, um Dir den Text zusammenzustellen.

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

        H 1 Antwort Letzte Antwort
        0
        • mickymM mickym

          @hc-yami Ich würde alle Nachrichten über eine JOIN Node in ein Objekt sammeln, anschließend das Objekt mit split wieder aufteilen und sequentiell analysieren und ggf. ausgeben.

          59b68565-70cc-4de5-a833-c3f8ccfb794c-image.png

          ggf. musst halt mit einer delay Node noch den Fluß bremsen.

          [
             {
                 "id": "ecd68dbb.281c98",
                 "type": "switch",
                 "z": "154c36de.4e1c99",
                 "name": "is true",
                 "property": "payload",
                 "propertyType": "msg",
                 "rules": [
                     {
                         "t": "eq",
                         "v": "true",
                         "vt": "str"
                     }
                 ],
                 "checkall": "true",
                 "repair": false,
                 "outputs": 1,
                 "x": 1150,
                 "y": 440,
                 "wires": [
                     [
                         "8f6584dd.14364",
                         "1d6bf2b.855c60d",
                         "e195c177.b33438",
                         "31ee5820.93ef9",
                         "929101c6.f0486",
                         "ad77ff0.71654",
                         "a51a0880.f2d1c8"
                     ]
                 ]
             },
             {
                 "id": "8f6584dd.14364",
                 "type": "ioBroker get",
                 "z": "154c36de.4e1c99",
                 "name": "Wohnzimmer_groß_Fensterkontakt.contact",
                 "topic": "zigbee.0.00158d0004a019d0.contact",
                 "attrname": "payload",
                 "payloadType": "value",
                 "x": 1470,
                 "y": 240,
                 "wires": [
                     [
                         "801bfb52.4c3118"
                     ]
                 ]
             },
             {
                 "id": "1d6bf2b.855c60d",
                 "type": "ioBroker get",
                 "z": "154c36de.4e1c99",
                 "name": "Wohnzimmer_klein_Fensterkontakt.contact",
                 "topic": "zigbee.0.00158d0004a043f6.contact",
                 "attrname": "payload",
                 "payloadType": "value",
                 "x": 1470,
                 "y": 300,
                 "wires": [
                     [
                         "801bfb52.4c3118"
                     ]
                 ]
             },
             {
                 "id": "e195c177.b33438",
                 "type": "ioBroker get",
                 "z": "154c36de.4e1c99",
                 "name": "Badezimmer_klein_Fensterkontakt.contact",
                 "topic": "zigbee.0.00158d00042cbb43.contact",
                 "attrname": "payload",
                 "payloadType": "value",
                 "x": 1470,
                 "y": 360,
                 "wires": [
                     [
                         "801bfb52.4c3118"
                     ]
                 ]
             },
             {
                 "id": "31ee5820.93ef9",
                 "type": "ioBroker get",
                 "z": "154c36de.4e1c99",
                 "name": "Badezimmer_groß_Fensterkontakt.contact",
                 "topic": "zigbee.0.00158d00049fee7f.contact",
                 "attrname": "payload",
                 "payloadType": "value",
                 "x": 1470,
                 "y": 420,
                 "wires": [
                     [
                         "801bfb52.4c3118"
                     ]
                 ]
             },
             {
                 "id": "ad77ff0.71654",
                 "type": "ioBroker get",
                 "z": "154c36de.4e1c99",
                 "name": "Esszimmer_Fensterkontakt_rechts.contact",
                 "topic": "zigbee.0.00158d0004a04457.contact",
                 "attrname": "payload",
                 "payloadType": "value",
                 "x": 1470,
                 "y": 540,
                 "wires": [
                     [
                         "801bfb52.4c3118"
                     ]
                 ]
             },
             {
                 "id": "a51a0880.f2d1c8",
                 "type": "ioBroker get",
                 "z": "154c36de.4e1c99",
                 "name": "Esszimmer_Fensterkontakt_links.contact",
                 "topic": "zigbee.0.00158d00042cbb68.contact",
                 "attrname": "payload",
                 "payloadType": "value",
                 "x": 1480,
                 "y": 600,
                 "wires": [
                     [
                         "801bfb52.4c3118"
                     ]
                 ]
             },
             {
                 "id": "929101c6.f0486",
                 "type": "ioBroker get",
                 "z": "154c36de.4e1c99",
                 "name": "Dachboden_Fensterkontakt.contact",
                 "topic": "zigbee.0.00158d0004a01914.contact",
                 "attrname": "payload",
                 "payloadType": "value",
                 "x": 1500,
                 "y": 480,
                 "wires": [
                     [
                         "801bfb52.4c3118"
                     ]
                 ]
             },
             {
                 "id": "39561d1e.4a1a2a",
                 "type": "rbe",
                 "z": "154c36de.4e1c99",
                 "name": "",
                 "func": "rbe",
                 "gap": "",
                 "start": "",
                 "inout": "out",
                 "septopics": true,
                 "property": "payload",
                 "x": 1030,
                 "y": 440,
                 "wires": [
                     [
                         "ecd68dbb.281c98"
                     ]
                 ]
             },
             {
                 "id": "704afdbf.8bed44",
                 "type": "ioBroker in",
                 "z": "154c36de.4e1c99",
                 "name": "Wetterstation.regensensor",
                 "topic": "hm-rpc.2.00275BE998F5E4.1.RAINING",
                 "payloadType": "value",
                 "onlyack": "",
                 "func": "all",
                 "gap": "",
                 "x": 850,
                 "y": 440,
                 "wires": [
                     [
                         "39561d1e.4a1a2a"
                     ]
                 ]
             },
             {
                 "id": "f15b3e5e.e63ae",
                 "type": "switch",
                 "z": "154c36de.4e1c99",
                 "name": "is false",
                 "property": "payload",
                 "propertyType": "msg",
                 "rules": [
                     {
                         "t": "eq",
                         "v": "false",
                         "vt": "str"
                     }
                 ],
                 "checkall": "true",
                 "repair": false,
                 "outputs": 1,
                 "x": 2080,
                 "y": 420,
                 "wires": [
                     [
                         "d8f764ed.a48128"
                     ]
                 ]
             },
             {
                 "id": "68d3bd80.7ce234",
                 "type": "ioBroker out",
                 "z": "154c36de.4e1c99",
                 "name": "Türgong.submit",
                 "topic": "hm-rpc.0.PEQ0546620.2.SUBMIT",
                 "ack": "false",
                 "autoCreate": "false",
                 "stateName": "",
                 "role": "",
                 "stateUnit": "",
                 "stateMin": "",
                 "stateMax": "",
                 "x": 2760,
                 "y": 460,
                 "wires": []
             },
             {
                 "id": "d08c2f3c.7a826",
                 "type": "change",
                 "z": "154c36de.4e1c99",
                 "name": "Wohn_Fenster",
                 "rules": [
                     {
                         "t": "set",
                         "p": "payload",
                         "pt": "msg",
                         "to": "1,1,108000,14",
                         "tot": "str"
                     }
                 ],
                 "action": "",
                 "property": "",
                 "from": "",
                 "to": "",
                 "reg": false,
                 "x": 2440,
                 "y": 240,
                 "wires": [
                     [
                         "68d3bd80.7ce234"
                     ]
                 ]
             },
             {
                 "id": "b0550010.65479",
                 "type": "change",
                 "z": "154c36de.4e1c99",
                 "name": "Bad_Klein_Fenster",
                 "rules": [
                     {
                         "t": "set",
                         "p": "payload",
                         "pt": "msg",
                         "to": "1,1,108000,13",
                         "tot": "str"
                     }
                 ],
                 "action": "",
                 "property": "",
                 "from": "",
                 "to": "",
                 "reg": false,
                 "x": 2450,
                 "y": 360,
                 "wires": [
                     [
                         "68d3bd80.7ce234"
                     ]
                 ]
             },
             {
                 "id": "cdb7ad5b.0facb",
                 "type": "change",
                 "z": "154c36de.4e1c99",
                 "name": "Bad_Gross_Fenster",
                 "rules": [
                     {
                         "t": "set",
                         "p": "payload",
                         "pt": "msg",
                         "to": "1,1,108000,12",
                         "tot": "str"
                     }
                 ],
                 "action": "",
                 "property": "",
                 "from": "",
                 "to": "",
                 "reg": false,
                 "x": 2460,
                 "y": 420,
                 "wires": [
                     [
                         "68d3bd80.7ce234"
                     ]
                 ]
             },
             {
                 "id": "4e90f867.9646d8",
                 "type": "change",
                 "z": "154c36de.4e1c99",
                 "name": "Dachboden_Fenster",
                 "rules": [
                     {
                         "t": "set",
                         "p": "payload",
                         "pt": "msg",
                         "to": "1,1,108000,11",
                         "tot": "str"
                     }
                 ],
                 "action": "",
                 "property": "",
                 "from": "",
                 "to": "",
                 "reg": false,
                 "x": 2460,
                 "y": 480,
                 "wires": [
                     [
                         "68d3bd80.7ce234"
                     ]
                 ]
             },
             {
                 "id": "35b07d6d.f92322",
                 "type": "change",
                 "z": "154c36de.4e1c99",
                 "name": "Esszimmer_Fenster",
                 "rules": [
                     {
                         "t": "set",
                         "p": "payload",
                         "pt": "msg",
                         "to": "1,1,108000,10",
                         "tot": "str"
                     }
                 ],
                 "action": "",
                 "property": "",
                 "from": "",
                 "to": "",
                 "reg": false,
                 "x": 2460,
                 "y": 600,
                 "wires": [
                     [
                         "68d3bd80.7ce234"
                     ]
                 ]
             },
             {
                 "id": "801bfb52.4c3118",
                 "type": "join",
                 "z": "154c36de.4e1c99",
                 "name": "",
                 "mode": "custom",
                 "build": "object",
                 "property": "payload",
                 "propertyType": "msg",
                 "key": "topic",
                 "joiner": "\\n",
                 "joinerType": "str",
                 "accumulate": false,
                 "timeout": "",
                 "count": "7",
                 "reduceRight": false,
                 "reduceExp": "",
                 "reduceInit": "",
                 "reduceInitType": "",
                 "reduceFixup": "",
                 "x": 1790,
                 "y": 420,
                 "wires": [
                     [
                         "2d1f6ec3.015222"
                     ]
                 ]
             },
             {
                 "id": "2d1f6ec3.015222",
                 "type": "split",
                 "z": "154c36de.4e1c99",
                 "name": "",
                 "splt": "\\n",
                 "spltType": "str",
                 "arraySplt": 1,
                 "arraySpltType": "len",
                 "stream": false,
                 "addname": "topic",
                 "x": 1930,
                 "y": 420,
                 "wires": [
                     [
                         "f15b3e5e.e63ae"
                     ]
                 ]
             },
             {
                 "id": "d8f764ed.a48128",
                 "type": "switch",
                 "z": "154c36de.4e1c99",
                 "name": "",
                 "property": "topic",
                 "propertyType": "msg",
                 "rules": [
                     {
                         "t": "eq",
                         "v": "zigbee.0.00158d0004a019d0.contact",
                         "vt": "str"
                     },
                     {
                         "t": "eq",
                         "v": "zigbee.0.00158d0004a043f6.contact",
                         "vt": "str"
                     },
                     {
                         "t": "eq",
                         "v": "zigbee.0.00158d00042cbb43.contact",
                         "vt": "str"
                     },
                     {
                         "t": "eq",
                         "v": "zigbee.0.00158d00049fee7f.contact",
                         "vt": "str"
                     },
                     {
                         "t": "eq",
                         "v": "zigbee.0.00158d0004a01914.contact",
                         "vt": "str"
                     },
                     {
                         "t": "eq",
                         "v": "zigbee.0.00158d0004a04457.contact",
                         "vt": "str"
                     },
                     {
                         "t": "eq",
                         "v": "zigbee.0.00158d00042cbb68.contact",
                         "vt": "str"
                     }
                 ],
                 "checkall": "true",
                 "repair": false,
                 "outputs": 7,
                 "x": 2230,
                 "y": 420,
                 "wires": [
                     [
                         "d08c2f3c.7a826"
                     ],
                     [
                         "d08c2f3c.7a826"
                     ],
                     [
                         "b0550010.65479"
                     ],
                     [
                         "cdb7ad5b.0facb"
                     ],
                     [
                         "4e90f867.9646d8"
                     ],
                     [
                         "35b07d6d.f92322"
                     ],
                     [
                         "35b07d6d.f92322"
                     ]
                 ]
             }
          ]
          

          Was Du als payload verschickst - kann ich natürlich nicht beurteilen: 1,1,108000,13

          Falls das noch nicht implementiert ist und ein anderer Flow - dann würde ich das Topic verwenden, um Dir den Text zusammenzustellen.

          H Offline
          H Offline
          Hc-Yami
          schrieb am zuletzt editiert von
          #4

          @mickym @bahnuhr vielen Dank für eure Antworten!
          Mein Problem ist hier aber tatsächlich, dass ich einen Homematic Lautsprecher antriggere. Dieser spielt über die jeweiligen Werte einen Ton ab. In diesem Fall nun sowas wie: "Es fängt an zu Regnen und das Fenster im Wohnzimmer ist geöffnet!". Wenn nun mehr als zwei Inputs gleichzeitig an den Lautsprecher getriggert werden, arbeitet dieser diese nicht sequentiell ab, sondern spielt einfach den, der am schnellsten war ab. Die anderen werden nicht getriggert.

          Die Hauptfrage wäre also nun, wie ich dem Flow noch beibringen kann wie lange jede Ansage läuft und er dann diesen Zeitraum abwartet. Sorry das ich mich da nicht genau genug ausgedrückt habe.

          Grüße!

          mickymM 1 Antwort Letzte Antwort
          0
          • H Hc-Yami

            @mickym @bahnuhr vielen Dank für eure Antworten!
            Mein Problem ist hier aber tatsächlich, dass ich einen Homematic Lautsprecher antriggere. Dieser spielt über die jeweiligen Werte einen Ton ab. In diesem Fall nun sowas wie: "Es fängt an zu Regnen und das Fenster im Wohnzimmer ist geöffnet!". Wenn nun mehr als zwei Inputs gleichzeitig an den Lautsprecher getriggert werden, arbeitet dieser diese nicht sequentiell ab, sondern spielt einfach den, der am schnellsten war ab. Die anderen werden nicht getriggert.

            Die Hauptfrage wäre also nun, wie ich dem Flow noch beibringen kann wie lange jede Ansage läuft und er dann diesen Zeitraum abwartet. Sorry das ich mich da nicht genau genug ausgedrückt habe.

            Grüße!

            mickymM Online
            mickymM Online
            mickym
            Most Active
            schrieb am zuletzt editiert von mickym
            #5

            @hc-yami Also der Flow den ich gepostet habe schickt Dir die Nachrichten sequentiell. Da ich keinen Datenpunkt habe um zu sehen, wann der fertig ist, würde ich eben noch eine delay Node einarbeiten.

            42817ec0-6843-42a3-98c5-570ddd8dfe5a-image.png

            [
               {
                   "id": "ecd68dbb.281c98",
                   "type": "switch",
                   "z": "4c25207f.758a4",
                   "name": "is true",
                   "property": "payload",
                   "propertyType": "msg",
                   "rules": [
                       {
                           "t": "eq",
                           "v": "true",
                           "vt": "str"
                       }
                   ],
                   "checkall": "true",
                   "repair": false,
                   "outputs": 1,
                   "x": 470,
                   "y": 460,
                   "wires": [
                       [
                           "8f6584dd.14364",
                           "1d6bf2b.855c60d",
                           "e195c177.b33438",
                           "31ee5820.93ef9",
                           "929101c6.f0486",
                           "ad77ff0.71654",
                           "a51a0880.f2d1c8"
                       ]
                   ]
               },
               {
                   "id": "8f6584dd.14364",
                   "type": "ioBroker get",
                   "z": "4c25207f.758a4",
                   "name": "Wohnzimmer_groß_Fensterkontakt.contact",
                   "topic": "zigbee.0.00158d0004a019d0.contact",
                   "attrname": "payload",
                   "payloadType": "value",
                   "x": 790,
                   "y": 260,
                   "wires": [
                       [
                           "801bfb52.4c3118"
                       ]
                   ]
               },
               {
                   "id": "1d6bf2b.855c60d",
                   "type": "ioBroker get",
                   "z": "4c25207f.758a4",
                   "name": "Wohnzimmer_klein_Fensterkontakt.contact",
                   "topic": "zigbee.0.00158d0004a043f6.contact",
                   "attrname": "payload",
                   "payloadType": "value",
                   "x": 790,
                   "y": 320,
                   "wires": [
                       [
                           "801bfb52.4c3118"
                       ]
                   ]
               },
               {
                   "id": "e195c177.b33438",
                   "type": "ioBroker get",
                   "z": "4c25207f.758a4",
                   "name": "Badezimmer_klein_Fensterkontakt.contact",
                   "topic": "zigbee.0.00158d00042cbb43.contact",
                   "attrname": "payload",
                   "payloadType": "value",
                   "x": 790,
                   "y": 380,
                   "wires": [
                       [
                           "801bfb52.4c3118"
                       ]
                   ]
               },
               {
                   "id": "31ee5820.93ef9",
                   "type": "ioBroker get",
                   "z": "4c25207f.758a4",
                   "name": "Badezimmer_groß_Fensterkontakt.contact",
                   "topic": "zigbee.0.00158d00049fee7f.contact",
                   "attrname": "payload",
                   "payloadType": "value",
                   "x": 790,
                   "y": 440,
                   "wires": [
                       [
                           "801bfb52.4c3118"
                       ]
                   ]
               },
               {
                   "id": "ad77ff0.71654",
                   "type": "ioBroker get",
                   "z": "4c25207f.758a4",
                   "name": "Esszimmer_Fensterkontakt_rechts.contact",
                   "topic": "zigbee.0.00158d0004a04457.contact",
                   "attrname": "payload",
                   "payloadType": "value",
                   "x": 790,
                   "y": 560,
                   "wires": [
                       [
                           "801bfb52.4c3118"
                       ]
                   ]
               },
               {
                   "id": "a51a0880.f2d1c8",
                   "type": "ioBroker get",
                   "z": "4c25207f.758a4",
                   "name": "Esszimmer_Fensterkontakt_links.contact",
                   "topic": "zigbee.0.00158d00042cbb68.contact",
                   "attrname": "payload",
                   "payloadType": "value",
                   "x": 800,
                   "y": 620,
                   "wires": [
                       [
                           "801bfb52.4c3118"
                       ]
                   ]
               },
               {
                   "id": "929101c6.f0486",
                   "type": "ioBroker get",
                   "z": "4c25207f.758a4",
                   "name": "Dachboden_Fensterkontakt.contact",
                   "topic": "zigbee.0.00158d0004a01914.contact",
                   "attrname": "payload",
                   "payloadType": "value",
                   "x": 820,
                   "y": 500,
                   "wires": [
                       [
                           "801bfb52.4c3118"
                       ]
                   ]
               },
               {
                   "id": "39561d1e.4a1a2a",
                   "type": "rbe",
                   "z": "4c25207f.758a4",
                   "name": "",
                   "func": "rbe",
                   "gap": "",
                   "start": "",
                   "inout": "out",
                   "septopics": true,
                   "property": "payload",
                   "x": 350,
                   "y": 460,
                   "wires": [
                       [
                           "ecd68dbb.281c98"
                       ]
                   ]
               },
               {
                   "id": "704afdbf.8bed44",
                   "type": "ioBroker in",
                   "z": "4c25207f.758a4",
                   "name": "Wetterstation.regensensor",
                   "topic": "hm-rpc.2.00275BE998F5E4.1.RAINING",
                   "payloadType": "value",
                   "onlyack": "",
                   "func": "all",
                   "gap": "",
                   "x": 170,
                   "y": 460,
                   "wires": [
                       [
                           "39561d1e.4a1a2a"
                       ]
                   ]
               },
               {
                   "id": "f15b3e5e.e63ae",
                   "type": "switch",
                   "z": "4c25207f.758a4",
                   "name": "is false",
                   "property": "payload",
                   "propertyType": "msg",
                   "rules": [
                       {
                           "t": "eq",
                           "v": "false",
                           "vt": "str"
                       }
                   ],
                   "checkall": "true",
                   "repair": false,
                   "outputs": 1,
                   "x": 1400,
                   "y": 440,
                   "wires": [
                       [
                           "6bc75c0e.d5d824"
                       ]
                   ]
               },
               {
                   "id": "68d3bd80.7ce234",
                   "type": "ioBroker out",
                   "z": "4c25207f.758a4",
                   "name": "Türgong.submit",
                   "topic": "hm-rpc.0.PEQ0546620.2.SUBMIT",
                   "ack": "false",
                   "autoCreate": "false",
                   "stateName": "",
                   "role": "",
                   "stateUnit": "",
                   "stateMin": "",
                   "stateMax": "",
                   "x": 2280,
                   "y": 480,
                   "wires": []
               },
               {
                   "id": "d08c2f3c.7a826",
                   "type": "change",
                   "z": "4c25207f.758a4",
                   "name": "Wohn_Fenster",
                   "rules": [
                       {
                           "t": "set",
                           "p": "payload",
                           "pt": "msg",
                           "to": "1,1,108000,14",
                           "tot": "str"
                       }
                   ],
                   "action": "",
                   "property": "",
                   "from": "",
                   "to": "",
                   "reg": false,
                   "x": 1960,
                   "y": 260,
                   "wires": [
                       [
                           "68d3bd80.7ce234"
                       ]
                   ]
               },
               {
                   "id": "b0550010.65479",
                   "type": "change",
                   "z": "4c25207f.758a4",
                   "name": "Bad_Klein_Fenster",
                   "rules": [
                       {
                           "t": "set",
                           "p": "payload",
                           "pt": "msg",
                           "to": "1,1,108000,13",
                           "tot": "str"
                       }
                   ],
                   "action": "",
                   "property": "",
                   "from": "",
                   "to": "",
                   "reg": false,
                   "x": 1970,
                   "y": 380,
                   "wires": [
                       [
                           "68d3bd80.7ce234"
                       ]
                   ]
               },
               {
                   "id": "cdb7ad5b.0facb",
                   "type": "change",
                   "z": "4c25207f.758a4",
                   "name": "Bad_Gross_Fenster",
                   "rules": [
                       {
                           "t": "set",
                           "p": "payload",
                           "pt": "msg",
                           "to": "1,1,108000,12",
                           "tot": "str"
                       }
                   ],
                   "action": "",
                   "property": "",
                   "from": "",
                   "to": "",
                   "reg": false,
                   "x": 1980,
                   "y": 440,
                   "wires": [
                       [
                           "68d3bd80.7ce234"
                       ]
                   ]
               },
               {
                   "id": "4e90f867.9646d8",
                   "type": "change",
                   "z": "4c25207f.758a4",
                   "name": "Dachboden_Fenster",
                   "rules": [
                       {
                           "t": "set",
                           "p": "payload",
                           "pt": "msg",
                           "to": "1,1,108000,11",
                           "tot": "str"
                       }
                   ],
                   "action": "",
                   "property": "",
                   "from": "",
                   "to": "",
                   "reg": false,
                   "x": 1980,
                   "y": 500,
                   "wires": [
                       [
                           "68d3bd80.7ce234"
                       ]
                   ]
               },
               {
                   "id": "35b07d6d.f92322",
                   "type": "change",
                   "z": "4c25207f.758a4",
                   "name": "Esszimmer_Fenster",
                   "rules": [
                       {
                           "t": "set",
                           "p": "payload",
                           "pt": "msg",
                           "to": "1,1,108000,10",
                           "tot": "str"
                       }
                   ],
                   "action": "",
                   "property": "",
                   "from": "",
                   "to": "",
                   "reg": false,
                   "x": 1980,
                   "y": 620,
                   "wires": [
                       [
                           "68d3bd80.7ce234"
                       ]
                   ]
               },
               {
                   "id": "801bfb52.4c3118",
                   "type": "join",
                   "z": "4c25207f.758a4",
                   "name": "",
                   "mode": "custom",
                   "build": "object",
                   "property": "payload",
                   "propertyType": "msg",
                   "key": "topic",
                   "joiner": "\\n",
                   "joinerType": "str",
                   "accumulate": false,
                   "timeout": "",
                   "count": "7",
                   "reduceRight": false,
                   "reduceExp": "",
                   "reduceInit": "",
                   "reduceInitType": "",
                   "reduceFixup": "",
                   "x": 1110,
                   "y": 440,
                   "wires": [
                       [
                           "2d1f6ec3.015222"
                       ]
                   ]
               },
               {
                   "id": "2d1f6ec3.015222",
                   "type": "split",
                   "z": "4c25207f.758a4",
                   "name": "",
                   "splt": "\\n",
                   "spltType": "str",
                   "arraySplt": 1,
                   "arraySpltType": "len",
                   "stream": false,
                   "addname": "topic",
                   "x": 1250,
                   "y": 440,
                   "wires": [
                       [
                           "f15b3e5e.e63ae"
                       ]
                   ]
               },
               {
                   "id": "d8f764ed.a48128",
                   "type": "switch",
                   "z": "4c25207f.758a4",
                   "name": "",
                   "property": "topic",
                   "propertyType": "msg",
                   "rules": [
                       {
                           "t": "eq",
                           "v": "zigbee.0.00158d0004a019d0.contact",
                           "vt": "str"
                       },
                       {
                           "t": "eq",
                           "v": "zigbee.0.00158d0004a043f6.contact",
                           "vt": "str"
                       },
                       {
                           "t": "eq",
                           "v": "zigbee.0.00158d00042cbb43.contact",
                           "vt": "str"
                       },
                       {
                           "t": "eq",
                           "v": "zigbee.0.00158d00049fee7f.contact",
                           "vt": "str"
                       },
                       {
                           "t": "eq",
                           "v": "zigbee.0.00158d0004a01914.contact",
                           "vt": "str"
                       },
                       {
                           "t": "eq",
                           "v": "zigbee.0.00158d0004a04457.contact",
                           "vt": "str"
                       },
                       {
                           "t": "eq",
                           "v": "zigbee.0.00158d00042cbb68.contact",
                           "vt": "str"
                       }
                   ],
                   "checkall": "true",
                   "repair": false,
                   "outputs": 7,
                   "x": 1790,
                   "y": 440,
                   "wires": [
                       [
                           "d08c2f3c.7a826"
                       ],
                       [
                           "d08c2f3c.7a826"
                       ],
                       [
                           "b0550010.65479"
                       ],
                       [
                           "cdb7ad5b.0facb"
                       ],
                       [
                           "4e90f867.9646d8"
                       ],
                       [
                           "35b07d6d.f92322"
                       ],
                       [
                           "35b07d6d.f92322"
                       ]
                   ]
               },
               {
                   "id": "6bc75c0e.d5d824",
                   "type": "delay",
                   "z": "4c25207f.758a4",
                   "name": "",
                   "pauseType": "rate",
                   "timeout": "5",
                   "timeoutUnits": "seconds",
                   "rate": "1",
                   "nbRateUnits": "5",
                   "rateUnits": "second",
                   "randomFirst": "1",
                   "randomLast": "5",
                   "randomUnits": "seconds",
                   "drop": false,
                   "x": 1600,
                   "y": 440,
                   "wires": [
                       [
                           "d8f764ed.a48128"
                       ]
                   ]
               }
            ]
            

            Damit wird nur 1 Nachricht innerhalb von 5s geschickt - musst halt ggf. den Zeitraum noch vergrößern

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

            H 1 Antwort Letzte Antwort
            0
            • mickymM mickym

              @hc-yami Also der Flow den ich gepostet habe schickt Dir die Nachrichten sequentiell. Da ich keinen Datenpunkt habe um zu sehen, wann der fertig ist, würde ich eben noch eine delay Node einarbeiten.

              42817ec0-6843-42a3-98c5-570ddd8dfe5a-image.png

              [
                 {
                     "id": "ecd68dbb.281c98",
                     "type": "switch",
                     "z": "4c25207f.758a4",
                     "name": "is true",
                     "property": "payload",
                     "propertyType": "msg",
                     "rules": [
                         {
                             "t": "eq",
                             "v": "true",
                             "vt": "str"
                         }
                     ],
                     "checkall": "true",
                     "repair": false,
                     "outputs": 1,
                     "x": 470,
                     "y": 460,
                     "wires": [
                         [
                             "8f6584dd.14364",
                             "1d6bf2b.855c60d",
                             "e195c177.b33438",
                             "31ee5820.93ef9",
                             "929101c6.f0486",
                             "ad77ff0.71654",
                             "a51a0880.f2d1c8"
                         ]
                     ]
                 },
                 {
                     "id": "8f6584dd.14364",
                     "type": "ioBroker get",
                     "z": "4c25207f.758a4",
                     "name": "Wohnzimmer_groß_Fensterkontakt.contact",
                     "topic": "zigbee.0.00158d0004a019d0.contact",
                     "attrname": "payload",
                     "payloadType": "value",
                     "x": 790,
                     "y": 260,
                     "wires": [
                         [
                             "801bfb52.4c3118"
                         ]
                     ]
                 },
                 {
                     "id": "1d6bf2b.855c60d",
                     "type": "ioBroker get",
                     "z": "4c25207f.758a4",
                     "name": "Wohnzimmer_klein_Fensterkontakt.contact",
                     "topic": "zigbee.0.00158d0004a043f6.contact",
                     "attrname": "payload",
                     "payloadType": "value",
                     "x": 790,
                     "y": 320,
                     "wires": [
                         [
                             "801bfb52.4c3118"
                         ]
                     ]
                 },
                 {
                     "id": "e195c177.b33438",
                     "type": "ioBroker get",
                     "z": "4c25207f.758a4",
                     "name": "Badezimmer_klein_Fensterkontakt.contact",
                     "topic": "zigbee.0.00158d00042cbb43.contact",
                     "attrname": "payload",
                     "payloadType": "value",
                     "x": 790,
                     "y": 380,
                     "wires": [
                         [
                             "801bfb52.4c3118"
                         ]
                     ]
                 },
                 {
                     "id": "31ee5820.93ef9",
                     "type": "ioBroker get",
                     "z": "4c25207f.758a4",
                     "name": "Badezimmer_groß_Fensterkontakt.contact",
                     "topic": "zigbee.0.00158d00049fee7f.contact",
                     "attrname": "payload",
                     "payloadType": "value",
                     "x": 790,
                     "y": 440,
                     "wires": [
                         [
                             "801bfb52.4c3118"
                         ]
                     ]
                 },
                 {
                     "id": "ad77ff0.71654",
                     "type": "ioBroker get",
                     "z": "4c25207f.758a4",
                     "name": "Esszimmer_Fensterkontakt_rechts.contact",
                     "topic": "zigbee.0.00158d0004a04457.contact",
                     "attrname": "payload",
                     "payloadType": "value",
                     "x": 790,
                     "y": 560,
                     "wires": [
                         [
                             "801bfb52.4c3118"
                         ]
                     ]
                 },
                 {
                     "id": "a51a0880.f2d1c8",
                     "type": "ioBroker get",
                     "z": "4c25207f.758a4",
                     "name": "Esszimmer_Fensterkontakt_links.contact",
                     "topic": "zigbee.0.00158d00042cbb68.contact",
                     "attrname": "payload",
                     "payloadType": "value",
                     "x": 800,
                     "y": 620,
                     "wires": [
                         [
                             "801bfb52.4c3118"
                         ]
                     ]
                 },
                 {
                     "id": "929101c6.f0486",
                     "type": "ioBroker get",
                     "z": "4c25207f.758a4",
                     "name": "Dachboden_Fensterkontakt.contact",
                     "topic": "zigbee.0.00158d0004a01914.contact",
                     "attrname": "payload",
                     "payloadType": "value",
                     "x": 820,
                     "y": 500,
                     "wires": [
                         [
                             "801bfb52.4c3118"
                         ]
                     ]
                 },
                 {
                     "id": "39561d1e.4a1a2a",
                     "type": "rbe",
                     "z": "4c25207f.758a4",
                     "name": "",
                     "func": "rbe",
                     "gap": "",
                     "start": "",
                     "inout": "out",
                     "septopics": true,
                     "property": "payload",
                     "x": 350,
                     "y": 460,
                     "wires": [
                         [
                             "ecd68dbb.281c98"
                         ]
                     ]
                 },
                 {
                     "id": "704afdbf.8bed44",
                     "type": "ioBroker in",
                     "z": "4c25207f.758a4",
                     "name": "Wetterstation.regensensor",
                     "topic": "hm-rpc.2.00275BE998F5E4.1.RAINING",
                     "payloadType": "value",
                     "onlyack": "",
                     "func": "all",
                     "gap": "",
                     "x": 170,
                     "y": 460,
                     "wires": [
                         [
                             "39561d1e.4a1a2a"
                         ]
                     ]
                 },
                 {
                     "id": "f15b3e5e.e63ae",
                     "type": "switch",
                     "z": "4c25207f.758a4",
                     "name": "is false",
                     "property": "payload",
                     "propertyType": "msg",
                     "rules": [
                         {
                             "t": "eq",
                             "v": "false",
                             "vt": "str"
                         }
                     ],
                     "checkall": "true",
                     "repair": false,
                     "outputs": 1,
                     "x": 1400,
                     "y": 440,
                     "wires": [
                         [
                             "6bc75c0e.d5d824"
                         ]
                     ]
                 },
                 {
                     "id": "68d3bd80.7ce234",
                     "type": "ioBroker out",
                     "z": "4c25207f.758a4",
                     "name": "Türgong.submit",
                     "topic": "hm-rpc.0.PEQ0546620.2.SUBMIT",
                     "ack": "false",
                     "autoCreate": "false",
                     "stateName": "",
                     "role": "",
                     "stateUnit": "",
                     "stateMin": "",
                     "stateMax": "",
                     "x": 2280,
                     "y": 480,
                     "wires": []
                 },
                 {
                     "id": "d08c2f3c.7a826",
                     "type": "change",
                     "z": "4c25207f.758a4",
                     "name": "Wohn_Fenster",
                     "rules": [
                         {
                             "t": "set",
                             "p": "payload",
                             "pt": "msg",
                             "to": "1,1,108000,14",
                             "tot": "str"
                         }
                     ],
                     "action": "",
                     "property": "",
                     "from": "",
                     "to": "",
                     "reg": false,
                     "x": 1960,
                     "y": 260,
                     "wires": [
                         [
                             "68d3bd80.7ce234"
                         ]
                     ]
                 },
                 {
                     "id": "b0550010.65479",
                     "type": "change",
                     "z": "4c25207f.758a4",
                     "name": "Bad_Klein_Fenster",
                     "rules": [
                         {
                             "t": "set",
                             "p": "payload",
                             "pt": "msg",
                             "to": "1,1,108000,13",
                             "tot": "str"
                         }
                     ],
                     "action": "",
                     "property": "",
                     "from": "",
                     "to": "",
                     "reg": false,
                     "x": 1970,
                     "y": 380,
                     "wires": [
                         [
                             "68d3bd80.7ce234"
                         ]
                     ]
                 },
                 {
                     "id": "cdb7ad5b.0facb",
                     "type": "change",
                     "z": "4c25207f.758a4",
                     "name": "Bad_Gross_Fenster",
                     "rules": [
                         {
                             "t": "set",
                             "p": "payload",
                             "pt": "msg",
                             "to": "1,1,108000,12",
                             "tot": "str"
                         }
                     ],
                     "action": "",
                     "property": "",
                     "from": "",
                     "to": "",
                     "reg": false,
                     "x": 1980,
                     "y": 440,
                     "wires": [
                         [
                             "68d3bd80.7ce234"
                         ]
                     ]
                 },
                 {
                     "id": "4e90f867.9646d8",
                     "type": "change",
                     "z": "4c25207f.758a4",
                     "name": "Dachboden_Fenster",
                     "rules": [
                         {
                             "t": "set",
                             "p": "payload",
                             "pt": "msg",
                             "to": "1,1,108000,11",
                             "tot": "str"
                         }
                     ],
                     "action": "",
                     "property": "",
                     "from": "",
                     "to": "",
                     "reg": false,
                     "x": 1980,
                     "y": 500,
                     "wires": [
                         [
                             "68d3bd80.7ce234"
                         ]
                     ]
                 },
                 {
                     "id": "35b07d6d.f92322",
                     "type": "change",
                     "z": "4c25207f.758a4",
                     "name": "Esszimmer_Fenster",
                     "rules": [
                         {
                             "t": "set",
                             "p": "payload",
                             "pt": "msg",
                             "to": "1,1,108000,10",
                             "tot": "str"
                         }
                     ],
                     "action": "",
                     "property": "",
                     "from": "",
                     "to": "",
                     "reg": false,
                     "x": 1980,
                     "y": 620,
                     "wires": [
                         [
                             "68d3bd80.7ce234"
                         ]
                     ]
                 },
                 {
                     "id": "801bfb52.4c3118",
                     "type": "join",
                     "z": "4c25207f.758a4",
                     "name": "",
                     "mode": "custom",
                     "build": "object",
                     "property": "payload",
                     "propertyType": "msg",
                     "key": "topic",
                     "joiner": "\\n",
                     "joinerType": "str",
                     "accumulate": false,
                     "timeout": "",
                     "count": "7",
                     "reduceRight": false,
                     "reduceExp": "",
                     "reduceInit": "",
                     "reduceInitType": "",
                     "reduceFixup": "",
                     "x": 1110,
                     "y": 440,
                     "wires": [
                         [
                             "2d1f6ec3.015222"
                         ]
                     ]
                 },
                 {
                     "id": "2d1f6ec3.015222",
                     "type": "split",
                     "z": "4c25207f.758a4",
                     "name": "",
                     "splt": "\\n",
                     "spltType": "str",
                     "arraySplt": 1,
                     "arraySpltType": "len",
                     "stream": false,
                     "addname": "topic",
                     "x": 1250,
                     "y": 440,
                     "wires": [
                         [
                             "f15b3e5e.e63ae"
                         ]
                     ]
                 },
                 {
                     "id": "d8f764ed.a48128",
                     "type": "switch",
                     "z": "4c25207f.758a4",
                     "name": "",
                     "property": "topic",
                     "propertyType": "msg",
                     "rules": [
                         {
                             "t": "eq",
                             "v": "zigbee.0.00158d0004a019d0.contact",
                             "vt": "str"
                         },
                         {
                             "t": "eq",
                             "v": "zigbee.0.00158d0004a043f6.contact",
                             "vt": "str"
                         },
                         {
                             "t": "eq",
                             "v": "zigbee.0.00158d00042cbb43.contact",
                             "vt": "str"
                         },
                         {
                             "t": "eq",
                             "v": "zigbee.0.00158d00049fee7f.contact",
                             "vt": "str"
                         },
                         {
                             "t": "eq",
                             "v": "zigbee.0.00158d0004a01914.contact",
                             "vt": "str"
                         },
                         {
                             "t": "eq",
                             "v": "zigbee.0.00158d0004a04457.contact",
                             "vt": "str"
                         },
                         {
                             "t": "eq",
                             "v": "zigbee.0.00158d00042cbb68.contact",
                             "vt": "str"
                         }
                     ],
                     "checkall": "true",
                     "repair": false,
                     "outputs": 7,
                     "x": 1790,
                     "y": 440,
                     "wires": [
                         [
                             "d08c2f3c.7a826"
                         ],
                         [
                             "d08c2f3c.7a826"
                         ],
                         [
                             "b0550010.65479"
                         ],
                         [
                             "cdb7ad5b.0facb"
                         ],
                         [
                             "4e90f867.9646d8"
                         ],
                         [
                             "35b07d6d.f92322"
                         ],
                         [
                             "35b07d6d.f92322"
                         ]
                     ]
                 },
                 {
                     "id": "6bc75c0e.d5d824",
                     "type": "delay",
                     "z": "4c25207f.758a4",
                     "name": "",
                     "pauseType": "rate",
                     "timeout": "5",
                     "timeoutUnits": "seconds",
                     "rate": "1",
                     "nbRateUnits": "5",
                     "rateUnits": "second",
                     "randomFirst": "1",
                     "randomLast": "5",
                     "randomUnits": "seconds",
                     "drop": false,
                     "x": 1600,
                     "y": 440,
                     "wires": [
                         [
                             "d8f764ed.a48128"
                         ]
                     ]
                 }
              ]
              

              Damit wird nur 1 Nachricht innerhalb von 5s geschickt - musst halt ggf. den Zeitraum noch vergrößern

              H Offline
              H Offline
              Hc-Yami
              schrieb am zuletzt editiert von
              #6

              @mickym uh mega geil, danke dir! :)

              mickymM 1 Antwort Letzte Antwort
              0
              • H Hc-Yami

                @mickym uh mega geil, danke dir! :)

                mickymM Online
                mickymM Online
                mickym
                Most Active
                schrieb am zuletzt editiert von mickym
                #7

                @hc-yami Vielleicht wäre es sogar mit Deinem ursprünglichen Flow gegangen und es hätte gelangt da einfach die delay Node mit der Nachrichtenbegrenzung pro Zeit dazwischen zu klemmen (also vor die iobroker OUT Node).

                Kannst vielleicht mal ausprobieren - würde mich selbst interessieren. ;)

                EDIT:

                Habe es gerade selbst ausprobiert und in dem Fall haben wir viel zu kompliziert gedacht - das tut es auch:

                3b5f89f2-37fc-4e96-a355-1d7e2f549feb-image.png

                Ich lerne auch noch. ;)

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

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


                Support us

                ioBroker
                Community Adapters
                Donate

                766

                Online

                32.6k

                Benutzer

                82.2k

                Themen

                1.3m

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

                • Du hast noch kein Konto? Registrieren

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