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. Node Red Victron mqqt schreiben

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Node Red Victron mqqt schreiben

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Mousenray @mickym last edited by Mousenray

      @mickym
      ja das value müsste noch weg, eine zahl reicht. zum visualisieren!

      MEGA! Danke Dir!!!!!

      mickym 1 Reply Last reply Reply Quote 0
      • mickym
        mickym Most Active @Mousenray last edited by

        @mousenray sagte in Node Red Victron mqqt schreiben:

        ja das value müsste noch weg, eine zahl reicht. zum visualisieren!

        Na dann musst an der payload ja gar nichts machen - und stellst das auf on release ein. Dann kommt nur der letzte Wert als Zahl raus.

        M 1 Reply Last reply Reply Quote 0
        • M
          Mousenray @mickym last edited by

          @mickym

          Brauche da noch mal Hilfe, ich möchte das sich der Status des Set Points mit ändert.
          Also das mir Änderungen die ich zb an der Wallbox app mache, am Slider mit aktualisiert wird.

          Danke

          [
              {
                  "id": "642daddb926630e9",
                  "type": "mqtt out",
                  "z": "2f5fbbe5e47e3e01",
                  "name": "",
                  "topic": "W/d41243d30***/evcharger/40/SetCurrent",
                  "qos": "",
                  "retain": "",
                  "respTopic": "",
                  "contentType": "",
                  "userProps": "",
                  "correl": "",
                  "expiry": "",
                  "broker": "1701f33596afcf6b",
                  "x": 1300,
                  "y": 360,
                  "wires": []
              },
              {
                  "id": "30244ef6f2cc7914",
                  "type": "ui_slider",
                  "z": "2f5fbbe5e47e3e01",
                  "name": "",
                  "label": "Ladestrom",
                  "tooltip": "",
                  "group": "8ff3d45936e216f8",
                  "order": 2,
                  "width": 0,
                  "height": 0,
                  "passthru": false,
                  "outs": "end",
                  "topic": "topic",
                  "topicType": "msg",
                  "min": "6",
                  "max": "20",
                  "step": "1",
                  "x": 810,
                  "y": 360,
                  "wires": [
                      [
                          "213726cc8c3e9702"
                      ]
                  ]
              },
              {
                  "id": "213726cc8c3e9702",
                  "type": "change",
                  "z": "2f5fbbe5e47e3e01",
                  "name": "",
                  "rules": [
                      {
                          "t": "move",
                          "p": "payload",
                          "pt": "msg",
                          "to": "payload.value",
                          "tot": "msg"
                      }
                  ],
                  "action": "",
                  "property": "",
                  "from": "",
                  "to": "",
                  "reg": false,
                  "x": 1020,
                  "y": 360,
                  "wires": [
                      [
                          "642daddb926630e9"
                      ]
                  ]
              },
              {
                  "id": "591497b3edade42f",
                  "type": "mqtt in",
                  "z": "2f5fbbe5e47e3e01",
                  "name": "",
                  "topic": "N/d41243d30***/evcharger/40/SetCurrent",
                  "qos": "0",
                  "datatype": "auto",
                  "broker": "1701f33596afcf6b",
                  "nl": false,
                  "rap": false,
                  "inputs": 0,
                  "x": 240,
                  "y": 360,
                  "wires": [
                      [
                          "9a88850298e6a618",
                          "8411957fdc0fda6a"
                      ]
                  ]
              },
              {
                  "id": "9a88850298e6a618",
                  "type": "change",
                  "z": "2f5fbbe5e47e3e01",
                  "name": "",
                  "rules": [
                      {
                          "t": "set",
                          "p": "payload.value",
                          "pt": "msg",
                          "to": "payload",
                          "tot": "msg"
                      }
                  ],
                  "action": "",
                  "property": "",
                  "from": "",
                  "to": "",
                  "reg": false,
                  "x": 570,
                  "y": 360,
                  "wires": [
                      [
                          "30244ef6f2cc7914",
                          "0760f3a27eaa442e"
                      ]
                  ]
              },
              {
                  "id": "0760f3a27eaa442e",
                  "type": "debug",
                  "z": "2f5fbbe5e47e3e01",
                  "name": "debug 69",
                  "active": true,
                  "tosidebar": true,
                  "console": false,
                  "tostatus": false,
                  "complete": "false",
                  "statusVal": "",
                  "statusType": "auto",
                  "x": 720,
                  "y": 500,
                  "wires": []
              },
              {
                  "id": "8411957fdc0fda6a",
                  "type": "debug",
                  "z": "2f5fbbe5e47e3e01",
                  "name": "debug 70",
                  "active": true,
                  "tosidebar": true,
                  "console": false,
                  "tostatus": false,
                  "complete": "false",
                  "statusVal": "",
                  "statusType": "auto",
                  "x": 460,
                  "y": 520,
                  "wires": []
              },
              {
                  "id": "1701f33596afcf6b",
                  "type": "mqtt-broker",
                  "name": "mosquitto-on-alarm",
                  "broker": "192.168.10.22",
                  "port": "1883",
                  "clientid": "",
                  "autoConnect": true,
                  "usetls": false,
                  "protocolVersion": "4",
                  "keepalive": "60",
                  "cleansession": true,
                  "birthTopic": "",
                  "birthQos": "0",
                  "birthPayload": "",
                  "birthMsg": {},
                  "closeTopic": "",
                  "closeQos": "0",
                  "closePayload": "",
                  "closeMsg": {},
                  "willTopic": "",
                  "willQos": "0",
                  "willPayload": "",
                  "willMsg": {},
                  "userProps": "",
                  "sessionExpiry": ""
              },
              {
                  "id": "8ff3d45936e216f8",
                  "type": "ui_group",
                  "name": "Wallbox",
                  "tab": "0469c04257b5af1f",
                  "order": 1,
                  "disp": true,
                  "width": "6",
                  "collapse": false
              },
              {
                  "id": "0469c04257b5af1f",
                  "type": "ui_tab",
                  "name": "Wallbox",
                  "icon": "dashboard",
                  "order": 5,
                  "disabled": false,
                  "hidden": false
              }
          ]
          
          1 Reply Last reply Reply Quote 0
          • mickym
            mickym Most Active last edited by

            @mousenray Umdrehen,

            Du willst am Eingang die payload auf payload.value setzen

            Also umdrehen:

            43401c26-5fe3-43c1-9485-cb97fb75abbd-image.png

            M 1 Reply Last reply Reply Quote 0
            • M
              Mousenray @mickym last edited by

              @mickym

              Das habe ich versucht, geht nicht

              mickym 1 Reply Last reply Reply Quote 0
              • mickym
                mickym Most Active @Mousenray last edited by

                @mousenray Dann poste was aus der mqtt rauskommt also debug 70

                M 1 Reply Last reply Reply Quote 0
                • M
                  Mousenray @mickym last edited by

                  @mickym

                  "{"value": 10}"

                  mickym 1 Reply Last reply Reply Quote 0
                  • mickym
                    mickym Most Active @Mousenray last edited by mickym

                    @mousenray Ja dann geht das . was ich gepostet habe - poste das debug Fenster als Screenshot mit der debug 70 Node. 😉

                    Ansonsten geht das:

                    8451071f-8e02-41e5-9ddf-35f78e8245e5-image.png

                    Ach so ich sehe Du hast was falsch in der mqtt-Node konfiguriert:

                    20a1dee5-34d3-4b81-a78e-b00424c90ceb-image.png

                    Warum auch immer. 😉

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      Mousenray @mickym last edited by

                      @mickym

                      16.3.2023, 20:23:16node: 283daac876b30898
                      msg : string[53]
                      "Cannot set property of non-object type: payload.value"

                      16.3.2023, 20:25:40node: debug 69
                      N/d41243d30486/evcharger/40/SetCurrent : msg.payload : undefined
                      undefined

                      das sagt die node.

                      screen muss ich schauen wie das hier geht

                      M mickym 2 Replies Last reply Reply Quote 0
                      • M
                        Mousenray @Mousenray last edited by

                        @mickym

                        ja das war es, Danke!!!!

                        1 Reply Last reply Reply Quote 0
                        • mickym
                          mickym Most Active @Mousenray last edited by

                          @mousenray Nochmal die mqtt Node muss das Objekt analysieren.

                          a8cc72c2-95ac-4e0e-94e5-cc4cea189bac-image.png

                          Im debug 70 steht das Objekt - im debug 69 nur noch der Wert.

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

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          1.0k
                          Online

                          31.7k
                          Users

                          79.7k
                          Topics

                          1.3m
                          Posts

                          2
                          19
                          984
                          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