Navigation

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

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Anlegen eines States

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

      Ne weile nicht mit NR gearbeitet und schon krieg ich nichts mehr hin;-(
      Versuche gerade einen State in einem Simpel Testflow anzulegen:

      [
          {
              "id": "6c3839cd2252f637",
              "type": "ioBroker out",
              "z": "e24fe565e148a8ed",
              "name": "Example state",
              "topic": "",
              "ack": "false",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "payloadType": "",
              "readonly": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 700,
              "y": 1060,
              "wires": []
          },
          {
              "id": "6fd0f150edb831da",
              "type": "change",
              "z": "e24fe565e148a8ed",
              "name": "",
              "rules": [
                  {
                      "t": "set",
                      "p": "topic",
                      "pt": "msg",
                      "to": "node-red.0.fems.test",
                      "tot": "str"
                  },
                  {
                      "t": "set",
                      "p": "stateUnit",
                      "pt": "msg",
                      "to": "W",
                      "tot": "str"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 690,
              "y": 980,
              "wires": [
                  [
                      "6c3839cd2252f637"
                  ]
              ]
          },
          {
              "id": "d57c5f0cbdf89dbe",
              "type": "inject",
              "z": "e24fe565e148a8ed",
              "name": "",
              "props": [
                  {
                      "p": "payload"
                  },
                  {
                      "p": "topic",
                      "vt": "str"
                  }
              ],
              "repeat": "",
              "crontab": "",
              "once": false,
              "onceDelay": 0.1,
              "topic": "",
              "payload": "",
              "payloadType": "date",
              "x": 460,
              "y": 980,
              "wires": [
                  [
                      "6fd0f150edb831da"
                  ]
              ]
          }
      ]
      

      Im Log finde ich:

      6c3839cd2252f637: Automatic objects creation is not enabled. You can enable it in the node configuration
      6c3839cd2252f637: "ioBroker out" Cannot set state of non-existing object "node-red.0.fems.test".
      

      Wo kann ich denn das erlauben? In der nr-Instace finde ich nur:

      Erstellung von Fremdobjekten erlauben
      

      Und das hab ich mal erlaubt. Obwohl ich mir nicht sicher bin, das das damit zu tun hat.

      Kann jemand helfen?

      Kommando zurück. Die Einstellung im iob-Out war nicht auf

      create states...
      

      Obwohl ich schwören könnte... Werd halt alt ;-(

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

      Support us

      ioBroker
      Community Adapters
      Donate

      1.1k
      Online

      31.7k
      Users

      79.7k
      Topics

      1.3m
      Posts

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