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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Node-Red
  5. Spezielle Node oder Flow gesucht

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

Spezielle Node oder Flow gesucht

Scheduled Pinned Locked Moved Node-Red
3 Posts 2 Posters 316 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • frankthegreatF Offline
    frankthegreatF Offline
    frankthegreat
    wrote on last edited by
    #1

    Moin, sorry für die Überschrift. Mir ist gerade nix besseres eingefallen :face_with_rolling_eyes:

    Konkret suche ich eine Node, die true/false am Eingang bekommt. Intern sollte ein Timer einstellbar sein, der true oder false erst nach Ablauf der Zeit zum Ausgang rausschickt.
    Allerdings soll zB. das "false" nur geschickt werden, wenn nicht innerhalb der einstellbaren Zeit ein "true" kommt.
    Also das "false" soll nur raussenden, wenn kein "true" innerhalb der Zeit kommt. Kommt das "true", soll nix passieren.

    Gibt es da was oder muß ein Flow gebastelt werden?
    Steh gerade etwas aufm' Schlauch. :disappointed:

    Vl. kann mich jemand in die richtige Richtung schubsen.

    mickymM 1 Reply Last reply
    0
    • frankthegreatF frankthegreat

      Moin, sorry für die Überschrift. Mir ist gerade nix besseres eingefallen :face_with_rolling_eyes:

      Konkret suche ich eine Node, die true/false am Eingang bekommt. Intern sollte ein Timer einstellbar sein, der true oder false erst nach Ablauf der Zeit zum Ausgang rausschickt.
      Allerdings soll zB. das "false" nur geschickt werden, wenn nicht innerhalb der einstellbaren Zeit ein "true" kommt.
      Also das "false" soll nur raussenden, wenn kein "true" innerhalb der Zeit kommt. Kommt das "true", soll nix passieren.

      Gibt es da was oder muß ein Flow gebastelt werden?
      Steh gerade etwas aufm' Schlauch. :disappointed:

      Vl. kann mich jemand in die richtige Richtung schubsen.

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

      @frankthegreat Das kann alles die trigger Node

      266a24d7-a7ff-492f-91bb-3c6a3a89e7fa-image.png

      [
         {
             "id": "46218d5eaf7159e6",
             "type": "inject",
             "z": "7e6af0015415146d",
             "name": "",
             "props": [
                 {
                     "p": "payload"
                 }
             ],
             "repeat": "",
             "crontab": "",
             "once": false,
             "onceDelay": 0.1,
             "topic": "",
             "payload": "true",
             "payloadType": "bool",
             "x": 190,
             "y": 6920,
             "wires": [
                 [
                     "c03d59c81da9eefe"
                 ]
             ]
         },
         {
             "id": "506183199ed34c19",
             "type": "inject",
             "z": "7e6af0015415146d",
             "name": "",
             "props": [
                 {
                     "p": "payload"
                 }
             ],
             "repeat": "",
             "crontab": "",
             "once": false,
             "onceDelay": 0.1,
             "topic": "",
             "payload": "false",
             "payloadType": "bool",
             "x": 190,
             "y": 6960,
             "wires": [
                 [
                     "c03d59c81da9eefe"
                 ]
             ]
         },
         {
             "id": "c03d59c81da9eefe",
             "type": "trigger",
             "z": "7e6af0015415146d",
             "name": "",
             "op1": "",
             "op2": "false",
             "op1type": "nul",
             "op2type": "bool",
             "duration": "5",
             "extend": true,
             "overrideDelay": false,
             "units": "s",
             "reset": "true",
             "bytopic": "all",
             "topic": "topic",
             "outputs": 1,
             "x": 380,
             "y": 6940,
             "wires": [
                 [
                     "a87a0d327f0c3a95"
                 ]
             ]
         },
         {
             "id": "a87a0d327f0c3a95",
             "type": "debug",
             "z": "7e6af0015415146d",
             "name": "Nur false nach 5 Sekunden",
             "active": true,
             "tosidebar": true,
             "console": false,
             "tostatus": false,
             "complete": "payload",
             "targetType": "msg",
             "statusVal": "",
             "statusType": "auto",
             "x": 620,
             "y": 6940,
             "wires": []
         }
      ]
      

      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.

      frankthegreatF 1 Reply Last reply
      1
      • mickymM mickym

        @frankthegreat Das kann alles die trigger Node

        266a24d7-a7ff-492f-91bb-3c6a3a89e7fa-image.png

        [
           {
               "id": "46218d5eaf7159e6",
               "type": "inject",
               "z": "7e6af0015415146d",
               "name": "",
               "props": [
                   {
                       "p": "payload"
                   }
               ],
               "repeat": "",
               "crontab": "",
               "once": false,
               "onceDelay": 0.1,
               "topic": "",
               "payload": "true",
               "payloadType": "bool",
               "x": 190,
               "y": 6920,
               "wires": [
                   [
                       "c03d59c81da9eefe"
                   ]
               ]
           },
           {
               "id": "506183199ed34c19",
               "type": "inject",
               "z": "7e6af0015415146d",
               "name": "",
               "props": [
                   {
                       "p": "payload"
                   }
               ],
               "repeat": "",
               "crontab": "",
               "once": false,
               "onceDelay": 0.1,
               "topic": "",
               "payload": "false",
               "payloadType": "bool",
               "x": 190,
               "y": 6960,
               "wires": [
                   [
                       "c03d59c81da9eefe"
                   ]
               ]
           },
           {
               "id": "c03d59c81da9eefe",
               "type": "trigger",
               "z": "7e6af0015415146d",
               "name": "",
               "op1": "",
               "op2": "false",
               "op1type": "nul",
               "op2type": "bool",
               "duration": "5",
               "extend": true,
               "overrideDelay": false,
               "units": "s",
               "reset": "true",
               "bytopic": "all",
               "topic": "topic",
               "outputs": 1,
               "x": 380,
               "y": 6940,
               "wires": [
                   [
                       "a87a0d327f0c3a95"
                   ]
               ]
           },
           {
               "id": "a87a0d327f0c3a95",
               "type": "debug",
               "z": "7e6af0015415146d",
               "name": "Nur false nach 5 Sekunden",
               "active": true,
               "tosidebar": true,
               "console": false,
               "tostatus": false,
               "complete": "payload",
               "targetType": "msg",
               "statusVal": "",
               "statusType": "auto",
               "x": 620,
               "y": 6940,
               "wires": []
           }
        ]
        

        frankthegreatF Offline
        frankthegreatF Offline
        frankthegreat
        wrote on last edited by
        #3

        @mickym Ahhhhh, bin blind :anguished:
        Hatte den "trigger" zwar schon in der Mache...kam bei mir aber nix gescheites raus.

        Aber so läuft es jetzt wie gewünscht...supi, vielen Dank :+1:

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        Support us

        ioBroker
        Community Adapters
        Donate

        423

        Online

        32.6k

        Users

        82.1k

        Topics

        1.3m

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

        • Don't have an account? Register

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