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. ioBroker out ack==true setzen

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    9
    1
    98

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

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

ioBroker out ack==true setzen

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

    Hallo zusammen,

    ich experimetiere gerade mit Node-RED im Zusammenspiel mit ioBroker. Jetzt habe ich leider nirgends gefunden ob und wie man bei dem Knoten "ioBroker out" den Wert acknowlegded auf true setzen kann.

    Vielleicht kann da ja jemand weiter helfen? Besten Dank.

    H mickymM 2 Replies Last reply
    0
    • AxelRHDA AxelRHD

      Hallo zusammen,

      ich experimetiere gerade mit Node-RED im Zusammenspiel mit ioBroker. Jetzt habe ich leider nirgends gefunden ob und wie man bei dem Knoten "ioBroker out" den Wert acknowlegded auf true setzen kann.

      Vielleicht kann da ja jemand weiter helfen? Besten Dank.

      H Offline
      H Offline
      Hc-Yami
      wrote on last edited by
      #2

      @AxelRHD Hey die Frage verstehe ich nicht ganz. Kannst du mal ein Foto machen oder den Flow posten?

      1 Reply Last reply
      0
      • AxelRHDA AxelRHD

        Hallo zusammen,

        ich experimetiere gerade mit Node-RED im Zusammenspiel mit ioBroker. Jetzt habe ich leider nirgends gefunden ob und wie man bei dem Knoten "ioBroker out" den Wert acknowlegded auf true setzen kann.

        Vielleicht kann da ja jemand weiter helfen? Besten Dank.

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

        @AxelRHD Das ist einfach. Wenn Du value setzt ist ack gleich true, bei command ist ack gleich false.

        Hiermit kannst Du testen:

        [
            {
                "id": "49aa0ad5.53b3b4",
                "type": "ioBroker out",
                "z": "6e170384.60c96c",
                "name": "test",
                "topic": "0_userdata.0.test",
                "ack": "false",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 1490,
                "y": 640,
                "wires": []
            },
            {
                "id": "6c45636c.1b696c",
                "type": "inject",
                "z": "6e170384.60c96c",
                "name": "",
                "props": [
                    {
                        "p": "payload"
                    },
                    {
                        "p": "topic",
                        "vt": "str"
                    }
                ],
                "repeat": "",
                "crontab": "",
                "once": false,
                "onceDelay": 0.1,
                "topic": "",
                "payload": "test",
                "payloadType": "str",
                "x": 1330,
                "y": 640,
                "wires": [
                    [
                        "49aa0ad5.53b3b4"
                    ]
                ]
            },
            {
                "id": "f0ca83d6.d1312",
                "type": "debug",
                "z": "6e170384.60c96c",
                "name": "",
                "active": true,
                "tosidebar": true,
                "console": false,
                "tostatus": false,
                "complete": "payload",
                "targetType": "msg",
                "statusVal": "",
                "statusType": "auto",
                "x": 1670,
                "y": 580,
                "wires": []
            },
            {
                "id": "c27a0537.3243f8",
                "type": "ioBroker get",
                "z": "6e170384.60c96c",
                "name": "test",
                "topic": "0_userdata.0.test",
                "attrname": "payload",
                "payloadType": "object",
                "x": 1500,
                "y": 580,
                "wires": [
                    [
                        "f0ca83d6.d1312"
                    ]
                ]
            },
            {
                "id": "12184eb7.895281",
                "type": "inject",
                "z": "6e170384.60c96c",
                "name": "",
                "props": [
                    {
                        "p": "payload"
                    },
                    {
                        "p": "topic",
                        "vt": "str"
                    }
                ],
                "repeat": "",
                "crontab": "",
                "once": false,
                "onceDelay": 0.1,
                "topic": "",
                "payload": "true",
                "payloadType": "bool",
                "x": 1320,
                "y": 580,
                "wires": [
                    [
                        "c27a0537.3243f8"
                    ]
                ]
            }
        ]
        

        screen.png

        screen.png

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

        AxelRHDA 1 Reply Last reply
        0
        • mickymM mickym

          @AxelRHD Das ist einfach. Wenn Du value setzt ist ack gleich true, bei command ist ack gleich false.

          Hiermit kannst Du testen:

          [
              {
                  "id": "49aa0ad5.53b3b4",
                  "type": "ioBroker out",
                  "z": "6e170384.60c96c",
                  "name": "test",
                  "topic": "0_userdata.0.test",
                  "ack": "false",
                  "autoCreate": "false",
                  "stateName": "",
                  "role": "",
                  "payloadType": "",
                  "readonly": "",
                  "stateUnit": "",
                  "stateMin": "",
                  "stateMax": "",
                  "x": 1490,
                  "y": 640,
                  "wires": []
              },
              {
                  "id": "6c45636c.1b696c",
                  "type": "inject",
                  "z": "6e170384.60c96c",
                  "name": "",
                  "props": [
                      {
                          "p": "payload"
                      },
                      {
                          "p": "topic",
                          "vt": "str"
                      }
                  ],
                  "repeat": "",
                  "crontab": "",
                  "once": false,
                  "onceDelay": 0.1,
                  "topic": "",
                  "payload": "test",
                  "payloadType": "str",
                  "x": 1330,
                  "y": 640,
                  "wires": [
                      [
                          "49aa0ad5.53b3b4"
                      ]
                  ]
              },
              {
                  "id": "f0ca83d6.d1312",
                  "type": "debug",
                  "z": "6e170384.60c96c",
                  "name": "",
                  "active": true,
                  "tosidebar": true,
                  "console": false,
                  "tostatus": false,
                  "complete": "payload",
                  "targetType": "msg",
                  "statusVal": "",
                  "statusType": "auto",
                  "x": 1670,
                  "y": 580,
                  "wires": []
              },
              {
                  "id": "c27a0537.3243f8",
                  "type": "ioBroker get",
                  "z": "6e170384.60c96c",
                  "name": "test",
                  "topic": "0_userdata.0.test",
                  "attrname": "payload",
                  "payloadType": "object",
                  "x": 1500,
                  "y": 580,
                  "wires": [
                      [
                          "f0ca83d6.d1312"
                      ]
                  ]
              },
              {
                  "id": "12184eb7.895281",
                  "type": "inject",
                  "z": "6e170384.60c96c",
                  "name": "",
                  "props": [
                      {
                          "p": "payload"
                      },
                      {
                          "p": "topic",
                          "vt": "str"
                      }
                  ],
                  "repeat": "",
                  "crontab": "",
                  "once": false,
                  "onceDelay": 0.1,
                  "topic": "",
                  "payload": "true",
                  "payloadType": "bool",
                  "x": 1320,
                  "y": 580,
                  "wires": [
                      [
                          "c27a0537.3243f8"
                      ]
                  ]
              }
          ]
          

          screen.png

          screen.png

          AxelRHDA Offline
          AxelRHDA Offline
          AxelRHD
          wrote on last edited by
          #4

          @mickym sagte in ioBroker out ack==true setzen:

          @AxelRHD Das ist einfach. Wenn Du value setzt ist ack gleich true, bei command ist ack gleich false.

          Hiermit kannst Du testen:

          [
              {
                  "id": "49aa0ad5.53b3b4",
                  "type": "ioBroker out",
                  "z": "6e170384.60c96c",
                  "name": "test",
                  "topic": "0_userdata.0.test",
                  "ack": "false",
                  "autoCreate": "false",
                  "stateName": "",
                  "role": "",
                  "payloadType": "",
                  "readonly": "",
                  "stateUnit": "",
                  "stateMin": "",
                  "stateMax": "",
                  "x": 1490,
                  "y": 640,
                  "wires": []
              },
              {
                  "id": "6c45636c.1b696c",
                  "type": "inject",
                  "z": "6e170384.60c96c",
                  "name": "",
                  "props": [
                      {
                          "p": "payload"
                      },
                      {
                          "p": "topic",
                          "vt": "str"
                      }
                  ],
                  "repeat": "",
                  "crontab": "",
                  "once": false,
                  "onceDelay": 0.1,
                  "topic": "",
                  "payload": "test",
                  "payloadType": "str",
                  "x": 1330,
                  "y": 640,
                  "wires": [
                      [
                          "49aa0ad5.53b3b4"
                      ]
                  ]
              },
              {
                  "id": "f0ca83d6.d1312",
                  "type": "debug",
                  "z": "6e170384.60c96c",
                  "name": "",
                  "active": true,
                  "tosidebar": true,
                  "console": false,
                  "tostatus": false,
                  "complete": "payload",
                  "targetType": "msg",
                  "statusVal": "",
                  "statusType": "auto",
                  "x": 1670,
                  "y": 580,
                  "wires": []
              },
              {
                  "id": "c27a0537.3243f8",
                  "type": "ioBroker get",
                  "z": "6e170384.60c96c",
                  "name": "test",
                  "topic": "0_userdata.0.test",
                  "attrname": "payload",
                  "payloadType": "object",
                  "x": 1500,
                  "y": 580,
                  "wires": [
                      [
                          "f0ca83d6.d1312"
                      ]
                  ]
              },
              {
                  "id": "12184eb7.895281",
                  "type": "inject",
                  "z": "6e170384.60c96c",
                  "name": "",
                  "props": [
                      {
                          "p": "payload"
                      },
                      {
                          "p": "topic",
                          "vt": "str"
                      }
                  ],
                  "repeat": "",
                  "crontab": "",
                  "once": false,
                  "onceDelay": 0.1,
                  "topic": "",
                  "payload": "true",
                  "payloadType": "bool",
                  "x": 1320,
                  "y": 580,
                  "wires": [
                      [
                          "c27a0537.3243f8"
                      ]
                  ]
              }
          ]
          

          screen.png

          screen.png

          Vielen Dank für den Input. Sehe ich das richtig, dass hier das ganze Objekt übegeben werden muss? Schade, dass man nicht einfach den payload und ack als zusätzlichen key in der message übergeben kann. Nimmst du dann schon am Eingang das ganze Objekt auf?

          mickymM 1 Reply Last reply
          0
          • AxelRHDA AxelRHD

            @mickym sagte in ioBroker out ack==true setzen:

            @AxelRHD Das ist einfach. Wenn Du value setzt ist ack gleich true, bei command ist ack gleich false.

            Hiermit kannst Du testen:

            [
                {
                    "id": "49aa0ad5.53b3b4",
                    "type": "ioBroker out",
                    "z": "6e170384.60c96c",
                    "name": "test",
                    "topic": "0_userdata.0.test",
                    "ack": "false",
                    "autoCreate": "false",
                    "stateName": "",
                    "role": "",
                    "payloadType": "",
                    "readonly": "",
                    "stateUnit": "",
                    "stateMin": "",
                    "stateMax": "",
                    "x": 1490,
                    "y": 640,
                    "wires": []
                },
                {
                    "id": "6c45636c.1b696c",
                    "type": "inject",
                    "z": "6e170384.60c96c",
                    "name": "",
                    "props": [
                        {
                            "p": "payload"
                        },
                        {
                            "p": "topic",
                            "vt": "str"
                        }
                    ],
                    "repeat": "",
                    "crontab": "",
                    "once": false,
                    "onceDelay": 0.1,
                    "topic": "",
                    "payload": "test",
                    "payloadType": "str",
                    "x": 1330,
                    "y": 640,
                    "wires": [
                        [
                            "49aa0ad5.53b3b4"
                        ]
                    ]
                },
                {
                    "id": "f0ca83d6.d1312",
                    "type": "debug",
                    "z": "6e170384.60c96c",
                    "name": "",
                    "active": true,
                    "tosidebar": true,
                    "console": false,
                    "tostatus": false,
                    "complete": "payload",
                    "targetType": "msg",
                    "statusVal": "",
                    "statusType": "auto",
                    "x": 1670,
                    "y": 580,
                    "wires": []
                },
                {
                    "id": "c27a0537.3243f8",
                    "type": "ioBroker get",
                    "z": "6e170384.60c96c",
                    "name": "test",
                    "topic": "0_userdata.0.test",
                    "attrname": "payload",
                    "payloadType": "object",
                    "x": 1500,
                    "y": 580,
                    "wires": [
                        [
                            "f0ca83d6.d1312"
                        ]
                    ]
                },
                {
                    "id": "12184eb7.895281",
                    "type": "inject",
                    "z": "6e170384.60c96c",
                    "name": "",
                    "props": [
                        {
                            "p": "payload"
                        },
                        {
                            "p": "topic",
                            "vt": "str"
                        }
                    ],
                    "repeat": "",
                    "crontab": "",
                    "once": false,
                    "onceDelay": 0.1,
                    "topic": "",
                    "payload": "true",
                    "payloadType": "bool",
                    "x": 1320,
                    "y": 580,
                    "wires": [
                        [
                            "c27a0537.3243f8"
                        ]
                    ]
                }
            ]
            

            screen.png

            screen.png

            Vielen Dank für den Input. Sehe ich das richtig, dass hier das ganze Objekt übegeben werden muss? Schade, dass man nicht einfach den payload und ack als zusätzlichen key in der message übergeben kann. Nimmst du dann schon am Eingang das ganze Objekt auf?

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

            @AxelRHD Nein das ist nur zu Demonstration. Einfach den payload als value (ack=true) oder command (ack=false) schreiben.

            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.

            AxelRHDA 1 Reply Last reply
            0
            • mickymM mickym

              @AxelRHD Nein das ist nur zu Demonstration. Einfach den payload als value (ack=true) oder command (ack=false) schreiben.

              AxelRHDA Offline
              AxelRHDA Offline
              AxelRHD
              wrote on last edited by
              #6

              @mickym sagte in ioBroker out ack==true setzen:

              @AxelRHD Nein das ist nur zu Demonstration. Einfach den payload als value (ack=true) oder command (ack=false) schreiben.

              Aaah. Jetzt verstehe ich. Dann ist der Wert ein String mit ack in Klammern. Das werde ich bei Gelegenheit ausprobieren. Danke für die Erläuterung.

              mickymM 1 Reply Last reply
              0
              • AxelRHDA AxelRHD

                @mickym sagte in ioBroker out ack==true setzen:

                @AxelRHD Nein das ist nur zu Demonstration. Einfach den payload als value (ack=true) oder command (ack=false) schreiben.

                Aaah. Jetzt verstehe ich. Dann ist der Wert ein String mit ack in Klammern. Das werde ich bei Gelegenheit ausprobieren. Danke für die Erläuterung.

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

                @AxelRHD Nee ich glaube Du denkst zu kompliziert. Der payload wird geschrieben - in dem iobroker out node - steuerst Du über den Type ob ack =true oder false gesetzt wird.

                screen.png

                command = ack=false
                value = ack =true

                Da ist nichts mit Klammern etc.

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

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


                Support us

                ioBroker
                Community Adapters
                Donate

                314

                Online

                32.7k

                Users

                82.4k

                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