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. Mehrfach Software Schalter!? in Node-Red für Heidelberg

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
    911

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.2k

Mehrfach Software Schalter!? in Node-Red für Heidelberg

Geplant Angeheftet Gesperrt Verschoben Node-Red
5 Beiträge 2 Kommentatoren 570 Aufrufe 2 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.
  • C Offline
    C Offline
    csh-de
    schrieb am zuletzt editiert von csh-de
    #1

    Hallo,

    ich habe über das wbec wlan (d1 mini) zugriff auf meine Heidelberg Wallbox und kann die in Node Red errechneten Überschuss Ströme an die Wallbox weiterleiten, klappt perfekt.

    Jetzt zur Fragestellung: es gibt Situationen wo ich das Auto sofort viel laden möchten oder es gar nicht laden soll solange im Haus der Verbrauch der PV voll ausgelastet ist.
    Im Moment muss ich immer an den Laptop und die Werte ändern im Flow. Ich hätte gerne Schalter im Dashboard.

    (genau gesagt muss ich immer in die Ampere Anpassung die Werte ändern:
    0-16A für nur Sonnenüberschuss oder
    6-16A für lade Minimum mit 6A egal wie viel Sonne + was von der PV kommt oder
    16-16A für maximal Ladestrom egal ob Netz oder PV)

    gibt es einen Schalter mit dem ich so etwas realisieren könnte?

    Danke für die Hilfe.

    so schaut es aus:
    Screenshot 2023-08-05 174000.png

    heidelberg.json

    mickymM 1 Antwort Letzte Antwort
    0
    • C csh-de

      Hallo,

      ich habe über das wbec wlan (d1 mini) zugriff auf meine Heidelberg Wallbox und kann die in Node Red errechneten Überschuss Ströme an die Wallbox weiterleiten, klappt perfekt.

      Jetzt zur Fragestellung: es gibt Situationen wo ich das Auto sofort viel laden möchten oder es gar nicht laden soll solange im Haus der Verbrauch der PV voll ausgelastet ist.
      Im Moment muss ich immer an den Laptop und die Werte ändern im Flow. Ich hätte gerne Schalter im Dashboard.

      (genau gesagt muss ich immer in die Ampere Anpassung die Werte ändern:
      0-16A für nur Sonnenüberschuss oder
      6-16A für lade Minimum mit 6A egal wie viel Sonne + was von der PV kommt oder
      16-16A für maximal Ladestrom egal ob Netz oder PV)

      gibt es einen Schalter mit dem ich so etwas realisieren könnte?

      Danke für die Hilfe.

      so schaut es aus:
      Screenshot 2023-08-05 174000.png

      heidelberg.json

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

      @csh-de Ehrlich gesagt verstehe ich glaub das Problem nicht. Im Moment hast Du 5 Buttons mit verschiedenen payloads.
      Kannst Du theoretisch auch mit einer DropDown Node machen oder einen Slider oder einer vInput Node zum Einstellen des Minimums machen, je nachdem ob du fixe Schritte oder alles variabel einstellen willst. Das speicherst Du im Flow und addierst das Minimum.

      6045551e-0e67-49e5-bb6d-667c65042496-image.png

      [
         {
             "id": "2de114b8a5bab99d",
             "type": "inject",
             "z": "0f6c6da0c2e7c7d5",
             "name": "",
             "props": [
                 {
                     "p": "payload"
                 },
                 {
                     "p": "topic",
                     "vt": "str"
                 }
             ],
             "repeat": "",
             "crontab": "",
             "once": false,
             "onceDelay": 0.1,
             "topic": "",
             "payload": "7",
             "payloadType": "num",
             "x": 190,
             "y": 540,
             "wires": [
                 [
                     "2a6284036825c84a"
                 ]
             ]
         },
         {
             "id": "3f7cf42b4b4f0126",
             "type": "inject",
             "z": "0f6c6da0c2e7c7d5",
             "name": "",
             "props": [
                 {
                     "p": "payload"
                 },
                 {
                     "p": "topic",
                     "vt": "str"
                 }
             ],
             "repeat": "",
             "crontab": "",
             "once": false,
             "onceDelay": 0.1,
             "topic": "",
             "payload": "5",
             "payloadType": "num",
             "x": 190,
             "y": 500,
             "wires": [
                 [
                     "2a6284036825c84a"
                 ]
             ]
         },
         {
             "id": "6987f8094e51bb42",
             "type": "inject",
             "z": "0f6c6da0c2e7c7d5",
             "name": "",
             "props": [
                 {
                     "p": "payload"
                 },
                 {
                     "p": "topic",
                     "vt": "str"
                 }
             ],
             "repeat": "",
             "crontab": "",
             "once": false,
             "onceDelay": 0.1,
             "topic": "",
             "payload": "10",
             "payloadType": "num",
             "x": 190,
             "y": 580,
             "wires": [
                 [
                     "2a6284036825c84a"
                 ]
             ]
         },
         {
             "id": "e5fb7dfb0a561157",
             "type": "inject",
             "z": "0f6c6da0c2e7c7d5",
             "name": "",
             "props": [
                 {
                     "p": "payload"
                 },
                 {
                     "p": "topic",
                     "vt": "str"
                 }
             ],
             "repeat": "",
             "crontab": "",
             "once": false,
             "onceDelay": 0.1,
             "topic": "",
             "payload": "-5",
             "payloadType": "num",
             "x": 190,
             "y": 460,
             "wires": [
                 [
                     "2a6284036825c84a"
                 ]
             ]
         },
         {
             "id": "fe349cde83c4a38f",
             "type": "range",
             "z": "0f6c6da0c2e7c7d5",
             "minin": "0",
             "maxin": "16",
             "minout": "0",
             "maxout": "16",
             "action": "clamp",
             "round": true,
             "property": "payload",
             "name": "Ampere Anpassung 0A-16A durch lassen",
             "x": 800,
             "y": 540,
             "wires": [
                 [
                     "032e04f534fea7c6"
                 ]
             ]
         },
         {
             "id": "032e04f534fea7c6",
             "type": "change",
             "z": "0f6c6da0c2e7c7d5",
             "name": "",
             "rules": [
                 {
                     "t": "set",
                     "p": "post",
                     "pt": "msg",
                     "to": "payload *10",
                     "tot": "jsonata"
                 }
             ],
             "action": "",
             "property": "",
             "from": "",
             "to": "",
             "reg": false,
             "x": 1080,
             "y": 540,
             "wires": [
                 [
                     "4ce9875280084eae",
                     "ed181533a83f5bb9"
                 ]
             ]
         },
         {
             "id": "4ce9875280084eae",
             "type": "http request",
             "z": "0f6c6da0c2e7c7d5",
             "d": true,
             "name": "Wert zur Wallbox senden",
             "method": "GET",
             "ret": "txt",
             "paytoqs": "ignore",
             "url": "http://wbec.local/json?currLim={{post}}",
             "tls": "",
             "persist": false,
             "proxy": "",
             "insecureHTTPParser": false,
             "authType": "",
             "senderr": false,
             "headers": [],
             "x": 1310,
             "y": 540,
             "wires": [
                 []
             ]
         },
         {
             "id": "bd1056748d9081ff",
             "type": "ui_button",
             "z": "0f6c6da0c2e7c7d5",
             "name": "",
             "group": "81b442cfd21bc903",
             "order": 0,
             "width": 0,
             "height": 0,
             "passthru": true,
             "label": "min (nur PV)",
             "tooltip": "",
             "color": "",
             "bgcolor": "",
             "className": "",
             "icon": "",
             "payload": "0",
             "payloadType": "num",
             "topic": "topic",
             "topicType": "msg",
             "x": 890,
             "y": 180,
             "wires": [
                 [
                     "48cd996d89b35ba7"
                 ]
             ]
         },
         {
             "id": "0bd6ca1e1b03e054",
             "type": "ui_button",
             "z": "0f6c6da0c2e7c7d5",
             "name": "",
             "group": "81b442cfd21bc903",
             "order": 0,
             "width": 0,
             "height": 0,
             "passthru": true,
             "label": "min  6A (+ PV)",
             "tooltip": "",
             "color": "",
             "bgcolor": "",
             "className": "",
             "icon": "",
             "payload": "6",
             "payloadType": "num",
             "topic": "payload",
             "topicType": "msg",
             "x": 900,
             "y": 220,
             "wires": [
                 [
                     "48cd996d89b35ba7"
                 ]
             ]
         },
         {
             "id": "33271dbdede3f329",
             "type": "ui_button",
             "z": "0f6c6da0c2e7c7d5",
             "name": "",
             "group": "81b442cfd21bc903",
             "order": 0,
             "width": 0,
             "height": 0,
             "passthru": false,
             "label": "min  8.5A (+ PV)",
             "tooltip": "",
             "color": "",
             "bgcolor": "",
             "className": "",
             "icon": "",
             "payload": "8.5",
             "payloadType": "num",
             "topic": "payload",
             "topicType": "msg",
             "x": 900,
             "y": 260,
             "wires": [
                 [
                     "48cd996d89b35ba7"
                 ]
             ]
         },
         {
             "id": "8df80d9e7ee7fe46",
             "type": "ui_button",
             "z": "0f6c6da0c2e7c7d5",
             "name": "",
             "group": "81b442cfd21bc903",
             "order": 0,
             "width": 0,
             "height": 0,
             "passthru": false,
             "label": "max",
             "tooltip": "",
             "color": "",
             "bgcolor": "",
             "className": "",
             "icon": "",
             "payload": "15.9",
             "payloadType": "num",
             "topic": "topic",
             "topicType": "msg",
             "x": 870,
             "y": 300,
             "wires": [
                 [
                     "48cd996d89b35ba7"
                 ]
             ]
         },
         {
             "id": "96958c38e7c0b537",
             "type": "ui_button",
             "z": "0f6c6da0c2e7c7d5",
             "name": "",
             "group": "81b442cfd21bc903",
             "order": 0,
             "width": 0,
             "height": 0,
             "passthru": false,
             "label": "erst Akku laden",
             "tooltip": "",
             "color": "",
             "bgcolor": "",
             "className": "",
             "icon": "",
             "payload": "-10",
             "payloadType": "num",
             "topic": "topic",
             "topicType": "msg",
             "x": 900,
             "y": 340,
             "wires": [
                 [
                     "48cd996d89b35ba7"
                 ]
             ]
         },
         {
             "id": "83f7e547e9b80e26",
             "type": "inject",
             "z": "0f6c6da0c2e7c7d5",
             "name": "",
             "props": [
                 {
                     "p": "payload"
                 },
                 {
                     "p": "topic",
                     "vt": "str"
                 }
             ],
             "repeat": "",
             "crontab": "",
             "once": false,
             "onceDelay": 0.1,
             "topic": "",
             "payload": "22",
             "payloadType": "num",
             "x": 190,
             "y": 620,
             "wires": [
                 [
                     "2a6284036825c84a"
                 ]
             ]
         },
         {
             "id": "7b5227f26f297d60",
             "type": "comment",
             "z": "0f6c6da0c2e7c7d5",
             "name": "Beispiel Zustände der PV (Ampere)",
             "info": "",
             "x": 300,
             "y": 400,
             "wires": []
         },
         {
             "id": "0268814d4516d18c",
             "type": "comment",
             "z": "0f6c6da0c2e7c7d5",
             "name": "Auto lädt nur wenn Sonne über 6A bringt. ",
             "info": "",
             "x": 620,
             "y": 400,
             "wires": []
         },
         {
             "id": "63b347ed40717091",
             "type": "comment",
             "z": "0f6c6da0c2e7c7d5",
             "name": "Solche oder änliche Schalter für das Deshboard!?",
             "info": "",
             "x": 620,
             "y": 180,
             "wires": []
         },
         {
             "id": "48cd996d89b35ba7",
             "type": "change",
             "z": "0f6c6da0c2e7c7d5",
             "name": "",
             "rules": [
                 {
                     "t": "set",
                     "p": "minimum",
                     "pt": "flow",
                     "to": "payload",
                     "tot": "msg"
                 }
             ],
             "action": "",
             "property": "",
             "from": "",
             "to": "",
             "reg": false,
             "x": 1150,
             "y": 260,
             "wires": [
                 []
             ]
         },
         {
             "id": "7b1c98132a6082fb",
             "type": "change",
             "z": "0f6c6da0c2e7c7d5",
             "name": "",
             "rules": [
                 {
                     "t": "set",
                     "p": "min",
                     "pt": "msg",
                     "to": "minimum",
                     "tot": "flow"
                 },
                 {
                     "t": "set",
                     "p": "payload",
                     "pt": "msg",
                     "to": "payload + min",
                     "tot": "jsonata"
                 }
             ],
             "action": "",
             "property": "",
             "from": "",
             "to": "",
             "reg": false,
             "x": 470,
             "y": 540,
             "wires": [
                 [
                     "fe349cde83c4a38f"
                 ]
             ]
         },
         {
             "id": "ed181533a83f5bb9",
             "type": "debug",
             "z": "0f6c6da0c2e7c7d5",
             "name": "msg.post",
             "active": true,
             "tosidebar": true,
             "console": false,
             "tostatus": false,
             "complete": "post",
             "targetType": "msg",
             "statusVal": "",
             "statusType": "auto",
             "x": 1280,
             "y": 480,
             "wires": []
         },
         {
             "id": "2a6284036825c84a",
             "type": "junction",
             "z": "0f6c6da0c2e7c7d5",
             "x": 320,
             "y": 540,
             "wires": [
                 [
                     "7b1c98132a6082fb"
                 ]
             ]
         },
         {
             "id": "81b442cfd21bc903",
             "type": "ui_group",
             "name": "Ladeeinstellung",
             "tab": "f39009d602e9336a",
             "order": 1,
             "disp": true,
             "width": "6",
             "collapse": false,
             "className": ""
         },
         {
             "id": "f39009d602e9336a",
             "type": "ui_tab",
             "name": "EPG",
             "icon": "dashboard",
             "order": 1,
             "disabled": false,
             "hidden": false
         }
      ]
      

      Wenn es arithmetisch nicht abbildbar ist, dann kannst Du noch zusätzlich mit switch nodes arbeiten.

      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.

      C 1 Antwort Letzte Antwort
      0
      • mickymM mickym

        @csh-de Ehrlich gesagt verstehe ich glaub das Problem nicht. Im Moment hast Du 5 Buttons mit verschiedenen payloads.
        Kannst Du theoretisch auch mit einer DropDown Node machen oder einen Slider oder einer vInput Node zum Einstellen des Minimums machen, je nachdem ob du fixe Schritte oder alles variabel einstellen willst. Das speicherst Du im Flow und addierst das Minimum.

        6045551e-0e67-49e5-bb6d-667c65042496-image.png

        [
           {
               "id": "2de114b8a5bab99d",
               "type": "inject",
               "z": "0f6c6da0c2e7c7d5",
               "name": "",
               "props": [
                   {
                       "p": "payload"
                   },
                   {
                       "p": "topic",
                       "vt": "str"
                   }
               ],
               "repeat": "",
               "crontab": "",
               "once": false,
               "onceDelay": 0.1,
               "topic": "",
               "payload": "7",
               "payloadType": "num",
               "x": 190,
               "y": 540,
               "wires": [
                   [
                       "2a6284036825c84a"
                   ]
               ]
           },
           {
               "id": "3f7cf42b4b4f0126",
               "type": "inject",
               "z": "0f6c6da0c2e7c7d5",
               "name": "",
               "props": [
                   {
                       "p": "payload"
                   },
                   {
                       "p": "topic",
                       "vt": "str"
                   }
               ],
               "repeat": "",
               "crontab": "",
               "once": false,
               "onceDelay": 0.1,
               "topic": "",
               "payload": "5",
               "payloadType": "num",
               "x": 190,
               "y": 500,
               "wires": [
                   [
                       "2a6284036825c84a"
                   ]
               ]
           },
           {
               "id": "6987f8094e51bb42",
               "type": "inject",
               "z": "0f6c6da0c2e7c7d5",
               "name": "",
               "props": [
                   {
                       "p": "payload"
                   },
                   {
                       "p": "topic",
                       "vt": "str"
                   }
               ],
               "repeat": "",
               "crontab": "",
               "once": false,
               "onceDelay": 0.1,
               "topic": "",
               "payload": "10",
               "payloadType": "num",
               "x": 190,
               "y": 580,
               "wires": [
                   [
                       "2a6284036825c84a"
                   ]
               ]
           },
           {
               "id": "e5fb7dfb0a561157",
               "type": "inject",
               "z": "0f6c6da0c2e7c7d5",
               "name": "",
               "props": [
                   {
                       "p": "payload"
                   },
                   {
                       "p": "topic",
                       "vt": "str"
                   }
               ],
               "repeat": "",
               "crontab": "",
               "once": false,
               "onceDelay": 0.1,
               "topic": "",
               "payload": "-5",
               "payloadType": "num",
               "x": 190,
               "y": 460,
               "wires": [
                   [
                       "2a6284036825c84a"
                   ]
               ]
           },
           {
               "id": "fe349cde83c4a38f",
               "type": "range",
               "z": "0f6c6da0c2e7c7d5",
               "minin": "0",
               "maxin": "16",
               "minout": "0",
               "maxout": "16",
               "action": "clamp",
               "round": true,
               "property": "payload",
               "name": "Ampere Anpassung 0A-16A durch lassen",
               "x": 800,
               "y": 540,
               "wires": [
                   [
                       "032e04f534fea7c6"
                   ]
               ]
           },
           {
               "id": "032e04f534fea7c6",
               "type": "change",
               "z": "0f6c6da0c2e7c7d5",
               "name": "",
               "rules": [
                   {
                       "t": "set",
                       "p": "post",
                       "pt": "msg",
                       "to": "payload *10",
                       "tot": "jsonata"
                   }
               ],
               "action": "",
               "property": "",
               "from": "",
               "to": "",
               "reg": false,
               "x": 1080,
               "y": 540,
               "wires": [
                   [
                       "4ce9875280084eae",
                       "ed181533a83f5bb9"
                   ]
               ]
           },
           {
               "id": "4ce9875280084eae",
               "type": "http request",
               "z": "0f6c6da0c2e7c7d5",
               "d": true,
               "name": "Wert zur Wallbox senden",
               "method": "GET",
               "ret": "txt",
               "paytoqs": "ignore",
               "url": "http://wbec.local/json?currLim={{post}}",
               "tls": "",
               "persist": false,
               "proxy": "",
               "insecureHTTPParser": false,
               "authType": "",
               "senderr": false,
               "headers": [],
               "x": 1310,
               "y": 540,
               "wires": [
                   []
               ]
           },
           {
               "id": "bd1056748d9081ff",
               "type": "ui_button",
               "z": "0f6c6da0c2e7c7d5",
               "name": "",
               "group": "81b442cfd21bc903",
               "order": 0,
               "width": 0,
               "height": 0,
               "passthru": true,
               "label": "min (nur PV)",
               "tooltip": "",
               "color": "",
               "bgcolor": "",
               "className": "",
               "icon": "",
               "payload": "0",
               "payloadType": "num",
               "topic": "topic",
               "topicType": "msg",
               "x": 890,
               "y": 180,
               "wires": [
                   [
                       "48cd996d89b35ba7"
                   ]
               ]
           },
           {
               "id": "0bd6ca1e1b03e054",
               "type": "ui_button",
               "z": "0f6c6da0c2e7c7d5",
               "name": "",
               "group": "81b442cfd21bc903",
               "order": 0,
               "width": 0,
               "height": 0,
               "passthru": true,
               "label": "min  6A (+ PV)",
               "tooltip": "",
               "color": "",
               "bgcolor": "",
               "className": "",
               "icon": "",
               "payload": "6",
               "payloadType": "num",
               "topic": "payload",
               "topicType": "msg",
               "x": 900,
               "y": 220,
               "wires": [
                   [
                       "48cd996d89b35ba7"
                   ]
               ]
           },
           {
               "id": "33271dbdede3f329",
               "type": "ui_button",
               "z": "0f6c6da0c2e7c7d5",
               "name": "",
               "group": "81b442cfd21bc903",
               "order": 0,
               "width": 0,
               "height": 0,
               "passthru": false,
               "label": "min  8.5A (+ PV)",
               "tooltip": "",
               "color": "",
               "bgcolor": "",
               "className": "",
               "icon": "",
               "payload": "8.5",
               "payloadType": "num",
               "topic": "payload",
               "topicType": "msg",
               "x": 900,
               "y": 260,
               "wires": [
                   [
                       "48cd996d89b35ba7"
                   ]
               ]
           },
           {
               "id": "8df80d9e7ee7fe46",
               "type": "ui_button",
               "z": "0f6c6da0c2e7c7d5",
               "name": "",
               "group": "81b442cfd21bc903",
               "order": 0,
               "width": 0,
               "height": 0,
               "passthru": false,
               "label": "max",
               "tooltip": "",
               "color": "",
               "bgcolor": "",
               "className": "",
               "icon": "",
               "payload": "15.9",
               "payloadType": "num",
               "topic": "topic",
               "topicType": "msg",
               "x": 870,
               "y": 300,
               "wires": [
                   [
                       "48cd996d89b35ba7"
                   ]
               ]
           },
           {
               "id": "96958c38e7c0b537",
               "type": "ui_button",
               "z": "0f6c6da0c2e7c7d5",
               "name": "",
               "group": "81b442cfd21bc903",
               "order": 0,
               "width": 0,
               "height": 0,
               "passthru": false,
               "label": "erst Akku laden",
               "tooltip": "",
               "color": "",
               "bgcolor": "",
               "className": "",
               "icon": "",
               "payload": "-10",
               "payloadType": "num",
               "topic": "topic",
               "topicType": "msg",
               "x": 900,
               "y": 340,
               "wires": [
                   [
                       "48cd996d89b35ba7"
                   ]
               ]
           },
           {
               "id": "83f7e547e9b80e26",
               "type": "inject",
               "z": "0f6c6da0c2e7c7d5",
               "name": "",
               "props": [
                   {
                       "p": "payload"
                   },
                   {
                       "p": "topic",
                       "vt": "str"
                   }
               ],
               "repeat": "",
               "crontab": "",
               "once": false,
               "onceDelay": 0.1,
               "topic": "",
               "payload": "22",
               "payloadType": "num",
               "x": 190,
               "y": 620,
               "wires": [
                   [
                       "2a6284036825c84a"
                   ]
               ]
           },
           {
               "id": "7b5227f26f297d60",
               "type": "comment",
               "z": "0f6c6da0c2e7c7d5",
               "name": "Beispiel Zustände der PV (Ampere)",
               "info": "",
               "x": 300,
               "y": 400,
               "wires": []
           },
           {
               "id": "0268814d4516d18c",
               "type": "comment",
               "z": "0f6c6da0c2e7c7d5",
               "name": "Auto lädt nur wenn Sonne über 6A bringt. ",
               "info": "",
               "x": 620,
               "y": 400,
               "wires": []
           },
           {
               "id": "63b347ed40717091",
               "type": "comment",
               "z": "0f6c6da0c2e7c7d5",
               "name": "Solche oder änliche Schalter für das Deshboard!?",
               "info": "",
               "x": 620,
               "y": 180,
               "wires": []
           },
           {
               "id": "48cd996d89b35ba7",
               "type": "change",
               "z": "0f6c6da0c2e7c7d5",
               "name": "",
               "rules": [
                   {
                       "t": "set",
                       "p": "minimum",
                       "pt": "flow",
                       "to": "payload",
                       "tot": "msg"
                   }
               ],
               "action": "",
               "property": "",
               "from": "",
               "to": "",
               "reg": false,
               "x": 1150,
               "y": 260,
               "wires": [
                   []
               ]
           },
           {
               "id": "7b1c98132a6082fb",
               "type": "change",
               "z": "0f6c6da0c2e7c7d5",
               "name": "",
               "rules": [
                   {
                       "t": "set",
                       "p": "min",
                       "pt": "msg",
                       "to": "minimum",
                       "tot": "flow"
                   },
                   {
                       "t": "set",
                       "p": "payload",
                       "pt": "msg",
                       "to": "payload + min",
                       "tot": "jsonata"
                   }
               ],
               "action": "",
               "property": "",
               "from": "",
               "to": "",
               "reg": false,
               "x": 470,
               "y": 540,
               "wires": [
                   [
                       "fe349cde83c4a38f"
                   ]
               ]
           },
           {
               "id": "ed181533a83f5bb9",
               "type": "debug",
               "z": "0f6c6da0c2e7c7d5",
               "name": "msg.post",
               "active": true,
               "tosidebar": true,
               "console": false,
               "tostatus": false,
               "complete": "post",
               "targetType": "msg",
               "statusVal": "",
               "statusType": "auto",
               "x": 1280,
               "y": 480,
               "wires": []
           },
           {
               "id": "2a6284036825c84a",
               "type": "junction",
               "z": "0f6c6da0c2e7c7d5",
               "x": 320,
               "y": 540,
               "wires": [
                   [
                       "7b1c98132a6082fb"
                   ]
               ]
           },
           {
               "id": "81b442cfd21bc903",
               "type": "ui_group",
               "name": "Ladeeinstellung",
               "tab": "f39009d602e9336a",
               "order": 1,
               "disp": true,
               "width": "6",
               "collapse": false,
               "className": ""
           },
           {
               "id": "f39009d602e9336a",
               "type": "ui_tab",
               "name": "EPG",
               "icon": "dashboard",
               "order": 1,
               "disabled": false,
               "hidden": false
           }
        ]
        

        Wenn es arithmetisch nicht abbildbar ist, dann kannst Du noch zusätzlich mit switch nodes arbeiten.

        C Offline
        C Offline
        csh-de
        schrieb am zuletzt editiert von
        #3

        @mickym Dankeschön, genau so ein Denkansatz hat mir gefehlt.

        neues Problem, wenn red node neustartet oder Stromausfall egal was lädt der gar nicht, erst auf Anweisung.
        Kann man da noch einen automatischen Start des ganzen auf sagen wir 6A minimum machen?

        mickymM 1 Antwort Letzte Antwort
        0
        • C csh-de

          @mickym Dankeschön, genau so ein Denkansatz hat mir gefehlt.

          neues Problem, wenn red node neustartet oder Stromausfall egal was lädt der gar nicht, erst auf Anweisung.
          Kann man da noch einen automatischen Start des ganzen auf sagen wir 6A minimum machen?

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

          @csh-de
          3 Möglichkeiten

          1. initialisiere die Kontextvariable mit einer Inject-Node.
          2. speichere den aktuellen Wert in einem Datenpunkt im iobroker
          3. speichere den Kontext im Dateisystem (wenn du NodeRed nicht innerhalb des iobrokers nutzt)

          Das mit der inject Node ist am einfachsten

          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.

          C 1 Antwort Letzte Antwort
          0
          • mickymM mickym

            @csh-de
            3 Möglichkeiten

            1. initialisiere die Kontextvariable mit einer Inject-Node.
            2. speichere den aktuellen Wert in einem Datenpunkt im iobroker
            3. speichere den Kontext im Dateisystem (wenn du NodeRed nicht innerhalb des iobrokers nutzt)

            Das mit der inject Node ist am einfachsten

            C Offline
            C Offline
            csh-de
            schrieb am zuletzt editiert von
            #5

            @mickym Ganz lieben Dank!!!

            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

            723

            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