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. Node-Red Node warte x bis rechnung

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    15
    1
    856

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    1.9k

Node-Red Node warte x bis rechnung

Geplant Angeheftet Gesperrt Verschoben Node-Red
22 Beiträge 2 Kommentatoren 1.9k 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.
  • AphofisA Aphofis

    Ich habe da eine Schaltung, die den Wasserverbrauch meiner Kaffee Maschine errechnen soll.
    Dazu gibt es Datenpunkte
    Wie
    Tages Zähler (wird täglich um 0 Uhr zurückgesetzt)
    Jahres Zähler (wird jährlich zurückgesetzt)
    Zähler aktuell (wird nach Beendigung der Rechnung zurückgesetzt)
    Dort werden die Werte eingetragen. Nun habe ich das Problem das meine Kaffee Maschine innerhalb von 2 min. Mehrmals den Wert des durchfluss Messers
    Erhöht bzw. Wasser gepumpt wird.
    Dadurch wird immer nur der erste Pump Wert ab True errechnet und ist somit ein falsches Ergebnis.
    Ist es möglich wenn der Schwimmer True ist das eine Zeit x zB Delay eingetragen werden kann und erst dann die Berechnung ausgelöst wird und auch erst danach
    Der Exec Befehl zum Resetten des Counters an das ESP8266 mit tasmota gesendet wird

    geschildG Online
    geschildG Online
    geschild
    schrieb am zuletzt editiert von
    #2

    @aphofis Es gibt einen <delay> node.

    AphofisA 1 Antwort Letzte Antwort
    0
    • geschildG geschild

      @aphofis Es gibt einen <delay> node.

      AphofisA Offline
      AphofisA Offline
      Aphofis
      schrieb am zuletzt editiert von Aphofis
      #3

      es geht um diese Steuerung
      Screenshot 2025-02-11 041530.png

      [
          {
              "id": "efe34eea5033bd9a",
              "type": "tab",
              "label": "Wasser Tank Kaffee",
              "disabled": false,
              "info": "",
              "env": []
          },
          {
              "id": "30f4aba72489c1cf",
              "type": "junction",
              "z": "efe34eea5033bd9a",
              "x": 1170,
              "y": 320,
              "wires": [
                  [
                      "7f716c13b12cdd93",
                      "12cc2ff5a1f6d421"
                  ]
              ]
          },
          {
              "id": "2316b6df848c8f8d",
              "type": "junction",
              "z": "efe34eea5033bd9a",
              "x": 1170,
              "y": 420,
              "wires": [
                  [
                      "764d024b5505a398",
                      "3a22548fb8d2b1dd"
                  ]
              ]
          },
          {
              "id": "8f4f5a36c46d3b98",
              "type": "junction",
              "z": "efe34eea5033bd9a",
              "x": 1270,
              "y": 240,
              "wires": [
                  [
                      "095b1b2f109bb7b0"
                  ]
              ]
          },
          {
              "id": "25d6066ec41e0810",
              "type": "ioBroker get",
              "z": "efe34eea5033bd9a",
              "name": "jahr",
              "topic": "0_userdata.0.Kaffeemaschine.Wasser_Jahr",
              "attrname": "jahr",
              "payloadType": "value",
              "errOnInvalidState": "nothing",
              "x": 650,
              "y": 100,
              "wires": [
                  [
                      "bf810174e9b222a7"
                  ]
              ]
          },
          {
              "id": "bf810174e9b222a7",
              "type": "ioBroker get",
              "z": "efe34eea5033bd9a",
              "name": "gesamt",
              "topic": "0_userdata.0.Kaffeemaschine.Wasser_Gesamt",
              "attrname": "gesamt",
              "payloadType": "value",
              "errOnInvalidState": "nothing",
              "x": 780,
              "y": 100,
              "wires": [
                  [
                      "3664f7b5a5769f66"
                  ]
              ]
          },
          {
              "id": "095b1b2f109bb7b0",
              "type": "debug",
              "z": "efe34eea5033bd9a",
              "name": "Ausgabe Objekt",
              "active": true,
              "tosidebar": true,
              "console": false,
              "tostatus": false,
              "complete": "true",
              "targetType": "full",
              "statusVal": "",
              "statusType": "auto",
              "x": 1390,
              "y": 240,
              "wires": []
          },
          {
              "id": "c417b4bc23498fa7",
              "type": "change",
              "z": "efe34eea5033bd9a",
              "name": "",
              "rules": [
                  {
                      "t": "set",
                      "p": "durchfluss",
                      "pt": "msg",
                      "to": "$round(durchfluss / 2.207,2)",
                      "tot": "jsonata"
                  },
                  {
                      "t": "set",
                      "p": "jahr",
                      "pt": "msg",
                      "to": "$round(durchfluss  / 1000 + jahr,2)",
                      "tot": "jsonata"
                  },
                  {
                      "t": "set",
                      "p": "gesamt",
                      "pt": "msg",
                      "to": "$round(durchfluss  / 1000 + gesamt,2)",
                      "tot": "jsonata"
                  },
                  {
                      "t": "set",
                      "p": "tag",
                      "pt": "msg",
                      "to": "$round(durchfluss  + tag,2)",
                      "tot": "jsonata"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 1130,
              "y": 100,
              "wires": [
                  [
                      "afb39228d6eabee9",
                      "c04459cd6653eced",
                      "25c9928a201b2ac8",
                      "b861fb76169dc96c",
                      "8f4f5a36c46d3b98"
                  ]
              ]
          },
          {
              "id": "ecb74bda0780b896",
              "type": "ioBroker get",
              "z": "efe34eea5033bd9a",
              "name": "durchfluss",
              "topic": "0_userdata.0.Kaffeemaschine.Wasser_Durchfluss",
              "attrname": "durchfluss",
              "payloadType": "value",
              "errOnInvalidState": "nothing",
              "x": 390,
              "y": 100,
              "wires": [
                  [
                      "a15d0703802c1030"
                  ]
              ]
          },
          {
              "id": "3d3b7964ed8752d3",
              "type": "ioBroker out",
              "z": "efe34eea5033bd9a",
              "name": "durchfluss",
              "topic": "0_userdata.0.Kaffeemaschine.Wasser_Durchfluss",
              "ack": "false",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "payloadType": "",
              "readonly": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 1560,
              "y": 40,
              "wires": []
          },
          {
              "id": "f3384399d1a4d23a",
              "type": "ioBroker out",
              "z": "efe34eea5033bd9a",
              "name": "tag",
              "topic": "0_userdata.0.Kaffeemaschine.Wasser_Tag",
              "ack": "false",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "payloadType": "",
              "readonly": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 1540,
              "y": 90,
              "wires": []
          },
          {
              "id": "c8c398a3628565a9",
              "type": "ioBroker out",
              "z": "efe34eea5033bd9a",
              "name": "jahr",
              "topic": "0_userdata.0.Kaffeemaschine.Wasser_Jahr",
              "ack": "false",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "payloadType": "",
              "readonly": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 1540,
              "y": 140,
              "wires": []
          },
          {
              "id": "42b7bbdc8107ecd0",
              "type": "ioBroker out",
              "z": "efe34eea5033bd9a",
              "name": "gesamt",
              "topic": "0_userdata.0.Kaffeemaschine.Wasser_Gesamt",
              "ack": "false",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "payloadType": "",
              "readonly": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 1550,
              "y": 190,
              "wires": []
          },
          {
              "id": "a15d0703802c1030",
              "type": "ioBroker get",
              "z": "efe34eea5033bd9a",
              "name": "tag",
              "topic": "0_userdata.0.Kaffeemaschine.Wasser_Tag",
              "attrname": "tag",
              "payloadType": "value",
              "errOnInvalidState": "nothing",
              "x": 530,
              "y": 100,
              "wires": [
                  [
                      "25d6066ec41e0810"
                  ]
              ]
          },
          {
              "id": "c04459cd6653eced",
              "type": "change",
              "z": "efe34eea5033bd9a",
              "name": "",
              "rules": [
                  {
                      "t": "set",
                      "p": "payload",
                      "pt": "msg",
                      "to": "durchfluss",
                      "tot": "msg"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 1380,
              "y": 40,
              "wires": [
                  [
                      "3d3b7964ed8752d3"
                  ]
              ]
          },
          {
              "id": "25c9928a201b2ac8",
              "type": "change",
              "z": "efe34eea5033bd9a",
              "name": "",
              "rules": [
                  {
                      "t": "set",
                      "p": "payload",
                      "pt": "msg",
                      "to": "tag",
                      "tot": "msg"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 1380,
              "y": 90,
              "wires": [
                  [
                      "f3384399d1a4d23a"
                  ]
              ]
          },
          {
              "id": "b861fb76169dc96c",
              "type": "change",
              "z": "efe34eea5033bd9a",
              "name": "",
              "rules": [
                  {
                      "t": "set",
                      "p": "payload",
                      "pt": "msg",
                      "to": "jahr",
                      "tot": "msg"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 1380,
              "y": 140,
              "wires": [
                  [
                      "c8c398a3628565a9"
                  ]
              ]
          },
          {
              "id": "afb39228d6eabee9",
              "type": "change",
              "z": "efe34eea5033bd9a",
              "name": "",
              "rules": [
                  {
                      "t": "set",
                      "p": "payload",
                      "pt": "msg",
                      "to": "gesamt",
                      "tot": "msg"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 1380,
              "y": 190,
              "wires": [
                  [
                      "42b7bbdc8107ecd0"
                  ]
              ]
          },
          {
              "id": "c07e1d24aa7d1966",
              "type": "ioBroker out",
              "z": "efe34eea5033bd9a",
              "name": "Magnetventil",
              "topic": "sonoff.0.GordonX-Home-Kaffeemaschine.POWER2",
              "ack": "false",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "payloadType": "",
              "readonly": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 270,
              "y": 160,
              "wires": []
          },
          {
              "id": "137f0e98a73b8945",
              "type": "ioBroker in",
              "z": "efe34eea5033bd9a",
              "name": "Schwimmer",
              "attrname": "payload",
              "topic": "sonoff.0.GordonX-Home-Kaffeemaschine.POWER1",
              "payloadType": "value",
              "onlyack": "",
              "func": "all",
              "gap": "",
              "fireOnStart": "false",
              "outFormat": "MQTT",
              "x": 100,
              "y": 110,
              "wires": [
                  [
                      "97812e7ccbba9b9e",
                      "c07e1d24aa7d1966"
                  ]
              ]
          },
          {
              "id": "97812e7ccbba9b9e",
              "type": "switch",
              "z": "efe34eea5033bd9a",
              "name": "",
              "property": "payload",
              "propertyType": "msg",
              "rules": [
                  {
                      "t": "eq",
                      "v": "false",
                      "vt": "str"
                  }
              ],
              "checkall": "true",
              "repair": false,
              "outputs": 1,
              "x": 250,
              "y": 100,
              "wires": [
                  [
                      "ecb74bda0780b896",
                      "872ffd8996c54e0a"
                  ]
              ]
          },
          {
              "id": "12cc2ff5a1f6d421",
              "type": "debug",
              "z": "efe34eea5033bd9a",
              "name": "Tag Reset",
              "active": true,
              "tosidebar": true,
              "console": false,
              "tostatus": false,
              "complete": "payload",
              "targetType": "msg",
              "statusVal": "",
              "statusType": "auto",
              "x": 1260,
              "y": 300,
              "wires": []
          },
          {
              "id": "7f716c13b12cdd93",
              "type": "ioBroker out",
              "z": "efe34eea5033bd9a",
              "name": "tag",
              "topic": "0_userdata.0.Kaffeemaschine.Wasser_Tag",
              "ack": "true",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "payloadType": "",
              "readonly": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 1250,
              "y": 340,
              "wires": []
          },
          {
              "id": "46a25557fd2da3d8",
              "type": "http request",
              "z": "efe34eea5033bd9a",
              "name": "Senden",
              "method": "GET",
              "ret": "txt",
              "paytoqs": "ignore",
              "url": "http://192.168.0.96/cm?user=user&password=password&cmnd=counter1%200",
              "tls": "",
              "persist": false,
              "proxy": "",
              "insecureHTTPParser": false,
              "authType": "",
              "senderr": false,
              "headers": [],
              "x": 960,
              "y": 60,
              "wires": [
                  [
                      "cfaf466849f13561"
                  ]
              ]
          },
          {
              "id": "2d7aec80e427d3e3",
              "type": "change",
              "z": "efe34eea5033bd9a",
              "name": "Aqua Counter Reset",
              "rules": [
                  {
                      "t": "set",
                      "p": "url",
                      "pt": "msg",
                      "to": "payload",
                      "tot": "msg"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 630,
              "y": 60,
              "wires": [
                  [
                      "838a5dd3045a4fce"
                  ]
              ]
          },
          {
              "id": "cfaf466849f13561",
              "type": "debug",
              "z": "efe34eea5033bd9a",
              "name": "Ausgabe Reset",
              "active": true,
              "tosidebar": true,
              "console": false,
              "tostatus": false,
              "complete": "payload",
              "targetType": "msg",
              "statusVal": "",
              "statusType": "auto",
              "x": 1120,
              "y": 60,
              "wires": []
          },
          {
              "id": "872ffd8996c54e0a",
              "type": "delay",
              "z": "efe34eea5033bd9a",
              "name": "Verzögerung",
              "pauseType": "delay",
              "timeout": "1",
              "timeoutUnits": "seconds",
              "rate": "1",
              "nbRateUnits": "1",
              "rateUnits": "second",
              "randomFirst": "1",
              "randomLast": "5",
              "randomUnits": "seconds",
              "drop": false,
              "allowrate": false,
              "outputs": 1,
              "x": 410,
              "y": 60,
              "wires": [
                  [
                      "2d7aec80e427d3e3"
                  ]
              ]
          },
          {
              "id": "3a22548fb8d2b1dd",
              "type": "debug",
              "z": "efe34eea5033bd9a",
              "name": "Jahr Reset",
              "active": true,
              "tosidebar": true,
              "console": false,
              "tostatus": false,
              "complete": "payload",
              "targetType": "msg",
              "statusVal": "",
              "statusType": "auto",
              "x": 1270,
              "y": 400,
              "wires": []
          },
          {
              "id": "764d024b5505a398",
              "type": "ioBroker out",
              "z": "efe34eea5033bd9a",
              "name": "Jahr",
              "topic": "0_userdata.0.Kaffeemaschine.Wasser_Jahr",
              "ack": "true",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "payloadType": "",
              "readonly": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 1250,
              "y": 440,
              "wires": []
          },
          {
              "id": "79b489efc045707d",
              "type": "change",
              "z": "efe34eea5033bd9a",
              "name": "Tag Reset",
              "rules": [
                  {
                      "t": "set",
                      "p": "payload",
                      "pt": "msg",
                      "to": "0",
                      "tot": "num"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 510,
              "y": 320,
              "wires": [
                  [
                      "30f4aba72489c1cf"
                  ]
              ]
          },
          {
              "id": "4ac693b14e01393d",
              "type": "change",
              "z": "efe34eea5033bd9a",
              "name": "Jahr Reset",
              "rules": [
                  {
                      "t": "set",
                      "p": "payload",
                      "pt": "msg",
                      "to": "0",
                      "tot": "num"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 520,
              "y": 420,
              "wires": [
                  [
                      "2316b6df848c8f8d"
                  ]
              ]
          },
          {
              "id": "5e6ff0947ccd4d30",
              "type": "inject",
              "z": "efe34eea5033bd9a",
              "name": "Counter Reset Manuell",
              "props": [
                  {
                      "p": "payload"
                  }
              ],
              "repeat": "",
              "crontab": "",
              "once": false,
              "onceDelay": 0.1,
              "topic": "",
              "payload": "true",
              "payloadType": "bool",
              "x": 150,
              "y": 60,
              "wires": [
                  [
                      "872ffd8996c54e0a"
                  ]
              ]
          },
          {
              "id": "5b3b7bf0abaacad3",
              "type": "cronplus",
              "z": "efe34eea5033bd9a",
              "name": "Aqua Tag Reset",
              "outputField": "payload",
              "timeZone": "",
              "storeName": "",
              "commandResponseMsgOutput": "output1",
              "defaultLocation": "",
              "defaultLocationType": "default",
              "outputs": 1,
              "options": [
                  {
                      "name": "Zeitplan",
                      "topic": "Counter Aqua Reset",
                      "payloadType": "default",
                      "payload": "",
                      "expressionType": "cron",
                      "expression": "0 0 0 * * ? *",
                      "location": "",
                      "offset": "0",
                      "solarType": "all",
                      "solarEvents": "sunrise,sunset"
                  }
              ],
              "x": 310,
              "y": 320,
              "wires": [
                  [
                      "79b489efc045707d"
                  ]
              ]
          },
          {
              "id": "0814162ae49074ad",
              "type": "cronplus",
              "z": "efe34eea5033bd9a",
              "name": "Aqua Jahr Reset",
              "outputField": "payload",
              "timeZone": "",
              "storeName": "",
              "commandResponseMsgOutput": "output1",
              "defaultLocation": "",
              "defaultLocationType": "default",
              "outputs": 1,
              "options": [
                  {
                      "name": "Zeitplan",
                      "topic": "Counter Aqua Reset",
                      "payloadType": "default",
                      "payload": "",
                      "expressionType": "cron",
                      "expression": "0 0 0 31 12 ? *",
                      "location": "",
                      "offset": "0",
                      "solarType": "all",
                      "solarEvents": "sunrise,sunset"
                  }
              ],
              "x": 320,
              "y": 420,
              "wires": [
                  [
                      "4ac693b14e01393d"
                  ]
              ]
          },
          {
              "id": "3664f7b5a5769f66",
              "type": "delay",
              "z": "efe34eea5033bd9a",
              "name": "warten",
              "pauseType": "delay",
              "timeout": "30",
              "timeoutUnits": "seconds",
              "rate": "1",
              "nbRateUnits": "1",
              "rateUnits": "second",
              "randomFirst": "1",
              "randomLast": "5",
              "randomUnits": "seconds",
              "drop": false,
              "allowrate": false,
              "outputs": 1,
              "x": 930,
              "y": 100,
              "wires": [
                  [
                      "c417b4bc23498fa7"
                  ]
              ]
          },
          {
              "id": "838a5dd3045a4fce",
              "type": "delay",
              "z": "efe34eea5033bd9a",
              "name": "warten",
              "pauseType": "delay",
              "timeout": "70",
              "timeoutUnits": "seconds",
              "rate": "1",
              "nbRateUnits": "1",
              "rateUnits": "second",
              "randomFirst": "1",
              "randomLast": "5",
              "randomUnits": "seconds",
              "drop": false,
              "allowrate": false,
              "outputs": 1,
              "x": 810,
              "y": 60,
              "wires": [
                  [
                      "46a25557fd2da3d8"
                  ]
              ]
          }
      ]
      

      Ob das nun mit dem Delay so richtig ist weiß ich nicht
      und was zum Beispiel komisch ist,
      eine ähnliche Steuerung fürs aquarium soll das selbe machen trägt aber überhaupt nichts in die datenpunkte ein bzw wird nicht ausgelöst. in der Steuerung hatte ich die delay noch nicht eingebaut, da diese eh nicht reagiert.
      Screenshot 2025-02-11 042003.png

      [
          {
              "id": "e96d40e5c03c8e73",
              "type": "tab",
              "label": "Wasser Aquarium",
              "disabled": false,
              "info": "",
              "env": []
          },
          {
              "id": "45a6e580b60ac2db",
              "type": "junction",
              "z": "e96d40e5c03c8e73",
              "x": 790,
              "y": 340,
              "wires": [
                  [
                      "eaeec2f4b2ca281f",
                      "aa28b192152fbef2"
                  ]
              ]
          },
          {
              "id": "e55b14fd0d28d156",
              "type": "junction",
              "z": "e96d40e5c03c8e73",
              "x": 810,
              "y": 440,
              "wires": [
                  [
                      "72a5c2949b417e99",
                      "14caa704f34116a9"
                  ]
              ]
          },
          {
              "id": "8c50dad878f1363c",
              "type": "junction",
              "z": "e96d40e5c03c8e73",
              "x": 1100,
              "y": 250,
              "wires": [
                  [
                      "071f99aa6aae94c4"
                  ]
              ]
          },
          {
              "id": "7014354310596b03",
              "type": "junction",
              "z": "e96d40e5c03c8e73",
              "x": 200,
              "y": 190,
              "wires": [
                  [
                      "01ada18cbb3de587"
                  ]
              ]
          },
          {
              "id": "8fbb9f181c70628a",
              "type": "ioBroker get",
              "z": "e96d40e5c03c8e73",
              "name": "jahr",
              "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Jahr",
              "attrname": "jahr",
              "payloadType": "value",
              "errOnInvalidState": "nothing",
              "x": 630,
              "y": 120,
              "wires": [
                  [
                      "fea33a2388b19fea"
                  ]
              ]
          },
          {
              "id": "fea33a2388b19fea",
              "type": "ioBroker get",
              "z": "e96d40e5c03c8e73",
              "name": "gesamt",
              "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasser_Gesamt",
              "attrname": "gesamt",
              "payloadType": "value",
              "errOnInvalidState": "nothing",
              "x": 760,
              "y": 120,
              "wires": [
                  [
                      "1a1876d6fd414b64"
                  ]
              ]
          },
          {
              "id": "071f99aa6aae94c4",
              "type": "debug",
              "z": "e96d40e5c03c8e73",
              "name": "Ausgabe Objekt",
              "active": true,
              "tosidebar": true,
              "console": false,
              "tostatus": false,
              "complete": "true",
              "targetType": "full",
              "statusVal": "",
              "statusType": "auto",
              "x": 1440,
              "y": 250,
              "wires": []
          },
          {
              "id": "1a1876d6fd414b64",
              "type": "change",
              "z": "e96d40e5c03c8e73",
              "name": "",
              "rules": [
                  {
                      "t": "set",
                      "p": "durchfluss",
                      "pt": "msg",
                      "to": "$round(durchfluss * 5.182,2)",
                      "tot": "jsonata"
                  },
                  {
                      "t": "set",
                      "p": "jahr",
                      "pt": "msg",
                      "to": "$round(durchfluss  / 1000 + jahr,2)",
                      "tot": "jsonata"
                  },
                  {
                      "t": "set",
                      "p": "gesamt",
                      "pt": "msg",
                      "to": "$round(durchfluss  / 1000 + gesamt,2)",
                      "tot": "jsonata"
                  },
                  {
                      "t": "set",
                      "p": "tag",
                      "pt": "msg",
                      "to": "$round(durchfluss  + tag,2)",
                      "tot": "jsonata"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 930,
              "y": 120,
              "wires": [
                  [
                      "44ef0e4042c6ce50",
                      "d608be45b53e2d65",
                      "1c4049c837709955",
                      "eeea6be93ef84e68",
                      "8c50dad878f1363c"
                  ]
              ]
          },
          {
              "id": "0fdf123af6451d89",
              "type": "ioBroker get",
              "z": "e96d40e5c03c8e73",
              "name": "durchfluss",
              "topic": "sonoff.0.Aqua_Float.SENSOR.COUNTER.C1",
              "attrname": "durchfluss",
              "payloadType": "value",
              "errOnInvalidState": "nothing",
              "x": 370,
              "y": 120,
              "wires": [
                  [
                      "d202759fc6e6dce3"
                  ]
              ]
          },
          {
              "id": "d71bb0083fe22676",
              "type": "ioBroker out",
              "z": "e96d40e5c03c8e73",
              "name": "durchfluss",
              "topic": "sonoff.0.Aqua_Float.SENSOR.COUNTER.C1",
              "ack": "false",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "payloadType": "",
              "readonly": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 1430,
              "y": 90,
              "wires": []
          },
          {
              "id": "b2f8630fc2e72c50",
              "type": "ioBroker out",
              "z": "e96d40e5c03c8e73",
              "name": "tag",
              "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Tag",
              "ack": "false",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "payloadType": "",
              "readonly": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 1410,
              "y": 140,
              "wires": []
          },
          {
              "id": "3d07bf7fb1e614bd",
              "type": "ioBroker out",
              "z": "e96d40e5c03c8e73",
              "name": "jahr",
              "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Jahr",
              "ack": "false",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "payloadType": "",
              "readonly": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 1410,
              "y": 190,
              "wires": []
          },
          {
              "id": "c87cb1a919d6871f",
              "type": "ioBroker out",
              "z": "e96d40e5c03c8e73",
              "name": "gesamt",
              "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasser_Gesamt",
              "ack": "false",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "payloadType": "",
              "readonly": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 1420,
              "y": 40,
              "wires": []
          },
          {
              "id": "d202759fc6e6dce3",
              "type": "ioBroker get",
              "z": "e96d40e5c03c8e73",
              "name": "tag",
              "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Tag",
              "attrname": "tag",
              "payloadType": "value",
              "errOnInvalidState": "nothing",
              "x": 510,
              "y": 120,
              "wires": [
                  [
                      "8fbb9f181c70628a"
                  ]
              ]
          },
          {
              "id": "d608be45b53e2d65",
              "type": "change",
              "z": "e96d40e5c03c8e73",
              "name": "",
              "rules": [
                  {
                      "t": "set",
                      "p": "payload",
                      "pt": "msg",
                      "to": "durchfluss",
                      "tot": "msg"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 1200,
              "y": 90,
              "wires": [
                  [
                      "d71bb0083fe22676"
                  ]
              ]
          },
          {
              "id": "1c4049c837709955",
              "type": "change",
              "z": "e96d40e5c03c8e73",
              "name": "",
              "rules": [
                  {
                      "t": "set",
                      "p": "payload",
                      "pt": "msg",
                      "to": "tag",
                      "tot": "msg"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 1200,
              "y": 140,
              "wires": [
                  [
                      "b2f8630fc2e72c50"
                  ]
              ]
          },
          {
              "id": "eeea6be93ef84e68",
              "type": "change",
              "z": "e96d40e5c03c8e73",
              "name": "",
              "rules": [
                  {
                      "t": "set",
                      "p": "payload",
                      "pt": "msg",
                      "to": "jahr",
                      "tot": "msg"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 1200,
              "y": 190,
              "wires": [
                  [
                      "3d07bf7fb1e614bd"
                  ]
              ]
          },
          {
              "id": "44ef0e4042c6ce50",
              "type": "change",
              "z": "e96d40e5c03c8e73",
              "name": "",
              "rules": [
                  {
                      "t": "set",
                      "p": "payload",
                      "pt": "msg",
                      "to": "gesamt",
                      "tot": "msg"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 1200,
              "y": 40,
              "wires": [
                  [
                      "c87cb1a919d6871f"
                  ]
              ]
          },
          {
              "id": "01ada18cbb3de587",
              "type": "ioBroker out",
              "z": "e96d40e5c03c8e73",
              "name": "Magnetventil",
              "topic": "sonoff.0.Aqua_Control.POWER1",
              "ack": "false",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "payloadType": "",
              "readonly": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 400,
              "y": 190,
              "wires": []
          },
          {
              "id": "76f52673b56e07fc",
              "type": "ioBroker in",
              "z": "e96d40e5c03c8e73",
              "name": "Schwimmer",
              "attrname": "payload",
              "topic": "sonoff.0.Aqua_Float.POWER1",
              "payloadType": "value",
              "onlyack": "",
              "func": "all",
              "gap": "",
              "fireOnStart": "true",
              "outFormat": "MQTT",
              "x": 80,
              "y": 130,
              "wires": [
                  [
                      "7014354310596b03",
                      "62ed674bc6e01184"
                  ]
              ]
          },
          {
              "id": "62ed674bc6e01184",
              "type": "switch",
              "z": "e96d40e5c03c8e73",
              "name": "",
              "property": "payload",
              "propertyType": "msg",
              "rules": [
                  {
                      "t": "eq",
                      "v": "false",
                      "vt": "str"
                  }
              ],
              "checkall": "true",
              "repair": false,
              "outputs": 1,
              "x": 230,
              "y": 120,
              "wires": [
                  [
                      "0fdf123af6451d89",
                      "70154cd4.de1444"
                  ]
              ]
          },
          {
              "id": "aa28b192152fbef2",
              "type": "debug",
              "z": "e96d40e5c03c8e73",
              "name": "Tag Reset",
              "active": true,
              "tosidebar": true,
              "console": false,
              "tostatus": false,
              "complete": "payload",
              "targetType": "msg",
              "statusVal": "",
              "statusType": "auto",
              "x": 920,
              "y": 320,
              "wires": []
          },
          {
              "id": "eaeec2f4b2ca281f",
              "type": "ioBroker out",
              "z": "e96d40e5c03c8e73",
              "name": "tag",
              "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Tag",
              "ack": "false",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "payloadType": "",
              "readonly": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 910,
              "y": 360,
              "wires": []
          },
          {
              "id": "b36aa30.3a7276",
              "type": "http request",
              "z": "e96d40e5c03c8e73",
              "name": "Senden",
              "method": "GET",
              "ret": "txt",
              "paytoqs": "ignore",
              "url": "http://192.168.0.71/cm?user=user&password=password&cmnd=counter1%200",
              "tls": "",
              "persist": false,
              "proxy": "",
              "insecureHTTPParser": false,
              "authType": "",
              "senderr": false,
              "headers": [],
              "x": 620,
              "y": 40,
              "wires": [
                  [
                      "1ef9987c.956c78"
                  ]
              ]
          },
          {
              "id": "70154cd4.de1444",
              "type": "change",
              "z": "e96d40e5c03c8e73",
              "name": "Aqua Counter Reset",
              "rules": [
                  {
                      "t": "set",
                      "p": "url",
                      "pt": "msg",
                      "to": "payload",
                      "tot": "msg"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 440,
              "y": 40,
              "wires": [
                  [
                      "b36aa30.3a7276"
                  ]
              ]
          },
          {
              "id": "1ef9987c.956c78",
              "type": "debug",
              "z": "e96d40e5c03c8e73",
              "name": "Ausgabe Reset",
              "active": true,
              "tosidebar": true,
              "console": false,
              "tostatus": false,
              "complete": "payload",
              "targetType": "msg",
              "statusVal": "",
              "statusType": "auto",
              "x": 830,
              "y": 40,
              "wires": []
          },
          {
              "id": "14caa704f34116a9",
              "type": "debug",
              "z": "e96d40e5c03c8e73",
              "name": "Jahr Reset",
              "active": true,
              "tosidebar": true,
              "console": false,
              "tostatus": false,
              "complete": "payload",
              "targetType": "msg",
              "statusVal": "",
              "statusType": "auto",
              "x": 930,
              "y": 420,
              "wires": []
          },
          {
              "id": "72a5c2949b417e99",
              "type": "ioBroker out",
              "z": "e96d40e5c03c8e73",
              "name": "Jahr",
              "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Jahr",
              "ack": "false",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "payloadType": "",
              "readonly": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 910,
              "y": 460,
              "wires": []
          },
          {
              "id": "a940876997af3dcb",
              "type": "change",
              "z": "e96d40e5c03c8e73",
              "name": "Tag Reset",
              "rules": [
                  {
                      "t": "set",
                      "p": "payload",
                      "pt": "msg",
                      "to": "0",
                      "tot": "num"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 270,
              "y": 340,
              "wires": [
                  [
                      "45a6e580b60ac2db"
                  ]
              ]
          },
          {
              "id": "4d69e63349514e4c",
              "type": "change",
              "z": "e96d40e5c03c8e73",
              "name": "Jahr Reset",
              "rules": [
                  {
                      "t": "set",
                      "p": "payload",
                      "pt": "msg",
                      "to": "0",
                      "tot": "num"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 310,
              "y": 440,
              "wires": [
                  [
                      "e55b14fd0d28d156"
                  ]
              ]
          },
          {
              "id": "fac4c1272808e6f3",
              "type": "inject",
              "z": "e96d40e5c03c8e73",
              "name": "",
              "props": [
                  {
                      "p": "payload"
                  },
                  {
                      "p": "topic",
                      "vt": "str"
                  }
              ],
              "repeat": "",
              "crontab": "",
              "once": false,
              "onceDelay": 0.1,
              "topic": "",
              "payload": "true",
              "payloadType": "bool",
              "x": 210,
              "y": 40,
              "wires": [
                  [
                      "70154cd4.de1444"
                  ]
              ]
          },
          {
              "id": "b0a30850739bc81a",
              "type": "cronplus",
              "z": "e96d40e5c03c8e73",
              "name": "Aqua Tag Reset",
              "outputField": "payload",
              "timeZone": "",
              "storeName": "",
              "commandResponseMsgOutput": "output1",
              "defaultLocation": "",
              "defaultLocationType": "default",
              "outputs": 1,
              "options": [
                  {
                      "name": "Zeitplan",
                      "topic": "Counter Aqua Reset",
                      "payloadType": "default",
                      "payload": "",
                      "expressionType": "cron",
                      "expression": "0 0 0 * * ? *",
                      "location": "",
                      "offset": "0",
                      "solarType": "all",
                      "solarEvents": "sunrise,sunset"
                  }
              ],
              "x": 100,
              "y": 340,
              "wires": [
                  [
                      "a940876997af3dcb"
                  ]
              ]
          },
          {
              "id": "1e4f358a474147d7",
              "type": "cronplus",
              "z": "e96d40e5c03c8e73",
              "name": "Aqua Jahr Reset",
              "outputField": "payload",
              "timeZone": "",
              "storeName": "",
              "commandResponseMsgOutput": "output1",
              "defaultLocation": "",
              "defaultLocationType": "default",
              "outputs": 1,
              "options": [
                  {
                      "name": "Zeitplan",
                      "topic": "Counter Aqua Reset",
                      "payloadType": "default",
                      "payload": "",
                      "expressionType": "cron",
                      "expression": "0 0 0 31 12 ? *",
                      "location": "",
                      "offset": "0",
                      "solarType": "all",
                      "solarEvents": "sunrise,sunset"
                  }
              ],
              "x": 110,
              "y": 440,
              "wires": [
                  [
                      "4d69e63349514e4c"
                  ]
              ]
          }
      ]
      

      Wasser Tag ist zB bei beiden Steuerungen leer bzw wird dort nichts eingetragen.

      geschildG 1 Antwort Letzte Antwort
      0
      • AphofisA Aphofis

        es geht um diese Steuerung
        Screenshot 2025-02-11 041530.png

        [
            {
                "id": "efe34eea5033bd9a",
                "type": "tab",
                "label": "Wasser Tank Kaffee",
                "disabled": false,
                "info": "",
                "env": []
            },
            {
                "id": "30f4aba72489c1cf",
                "type": "junction",
                "z": "efe34eea5033bd9a",
                "x": 1170,
                "y": 320,
                "wires": [
                    [
                        "7f716c13b12cdd93",
                        "12cc2ff5a1f6d421"
                    ]
                ]
            },
            {
                "id": "2316b6df848c8f8d",
                "type": "junction",
                "z": "efe34eea5033bd9a",
                "x": 1170,
                "y": 420,
                "wires": [
                    [
                        "764d024b5505a398",
                        "3a22548fb8d2b1dd"
                    ]
                ]
            },
            {
                "id": "8f4f5a36c46d3b98",
                "type": "junction",
                "z": "efe34eea5033bd9a",
                "x": 1270,
                "y": 240,
                "wires": [
                    [
                        "095b1b2f109bb7b0"
                    ]
                ]
            },
            {
                "id": "25d6066ec41e0810",
                "type": "ioBroker get",
                "z": "efe34eea5033bd9a",
                "name": "jahr",
                "topic": "0_userdata.0.Kaffeemaschine.Wasser_Jahr",
                "attrname": "jahr",
                "payloadType": "value",
                "errOnInvalidState": "nothing",
                "x": 650,
                "y": 100,
                "wires": [
                    [
                        "bf810174e9b222a7"
                    ]
                ]
            },
            {
                "id": "bf810174e9b222a7",
                "type": "ioBroker get",
                "z": "efe34eea5033bd9a",
                "name": "gesamt",
                "topic": "0_userdata.0.Kaffeemaschine.Wasser_Gesamt",
                "attrname": "gesamt",
                "payloadType": "value",
                "errOnInvalidState": "nothing",
                "x": 780,
                "y": 100,
                "wires": [
                    [
                        "3664f7b5a5769f66"
                    ]
                ]
            },
            {
                "id": "095b1b2f109bb7b0",
                "type": "debug",
                "z": "efe34eea5033bd9a",
                "name": "Ausgabe Objekt",
                "active": true,
                "tosidebar": true,
                "console": false,
                "tostatus": false,
                "complete": "true",
                "targetType": "full",
                "statusVal": "",
                "statusType": "auto",
                "x": 1390,
                "y": 240,
                "wires": []
            },
            {
                "id": "c417b4bc23498fa7",
                "type": "change",
                "z": "efe34eea5033bd9a",
                "name": "",
                "rules": [
                    {
                        "t": "set",
                        "p": "durchfluss",
                        "pt": "msg",
                        "to": "$round(durchfluss / 2.207,2)",
                        "tot": "jsonata"
                    },
                    {
                        "t": "set",
                        "p": "jahr",
                        "pt": "msg",
                        "to": "$round(durchfluss  / 1000 + jahr,2)",
                        "tot": "jsonata"
                    },
                    {
                        "t": "set",
                        "p": "gesamt",
                        "pt": "msg",
                        "to": "$round(durchfluss  / 1000 + gesamt,2)",
                        "tot": "jsonata"
                    },
                    {
                        "t": "set",
                        "p": "tag",
                        "pt": "msg",
                        "to": "$round(durchfluss  + tag,2)",
                        "tot": "jsonata"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 1130,
                "y": 100,
                "wires": [
                    [
                        "afb39228d6eabee9",
                        "c04459cd6653eced",
                        "25c9928a201b2ac8",
                        "b861fb76169dc96c",
                        "8f4f5a36c46d3b98"
                    ]
                ]
            },
            {
                "id": "ecb74bda0780b896",
                "type": "ioBroker get",
                "z": "efe34eea5033bd9a",
                "name": "durchfluss",
                "topic": "0_userdata.0.Kaffeemaschine.Wasser_Durchfluss",
                "attrname": "durchfluss",
                "payloadType": "value",
                "errOnInvalidState": "nothing",
                "x": 390,
                "y": 100,
                "wires": [
                    [
                        "a15d0703802c1030"
                    ]
                ]
            },
            {
                "id": "3d3b7964ed8752d3",
                "type": "ioBroker out",
                "z": "efe34eea5033bd9a",
                "name": "durchfluss",
                "topic": "0_userdata.0.Kaffeemaschine.Wasser_Durchfluss",
                "ack": "false",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 1560,
                "y": 40,
                "wires": []
            },
            {
                "id": "f3384399d1a4d23a",
                "type": "ioBroker out",
                "z": "efe34eea5033bd9a",
                "name": "tag",
                "topic": "0_userdata.0.Kaffeemaschine.Wasser_Tag",
                "ack": "false",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 1540,
                "y": 90,
                "wires": []
            },
            {
                "id": "c8c398a3628565a9",
                "type": "ioBroker out",
                "z": "efe34eea5033bd9a",
                "name": "jahr",
                "topic": "0_userdata.0.Kaffeemaschine.Wasser_Jahr",
                "ack": "false",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 1540,
                "y": 140,
                "wires": []
            },
            {
                "id": "42b7bbdc8107ecd0",
                "type": "ioBroker out",
                "z": "efe34eea5033bd9a",
                "name": "gesamt",
                "topic": "0_userdata.0.Kaffeemaschine.Wasser_Gesamt",
                "ack": "false",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 1550,
                "y": 190,
                "wires": []
            },
            {
                "id": "a15d0703802c1030",
                "type": "ioBroker get",
                "z": "efe34eea5033bd9a",
                "name": "tag",
                "topic": "0_userdata.0.Kaffeemaschine.Wasser_Tag",
                "attrname": "tag",
                "payloadType": "value",
                "errOnInvalidState": "nothing",
                "x": 530,
                "y": 100,
                "wires": [
                    [
                        "25d6066ec41e0810"
                    ]
                ]
            },
            {
                "id": "c04459cd6653eced",
                "type": "change",
                "z": "efe34eea5033bd9a",
                "name": "",
                "rules": [
                    {
                        "t": "set",
                        "p": "payload",
                        "pt": "msg",
                        "to": "durchfluss",
                        "tot": "msg"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 1380,
                "y": 40,
                "wires": [
                    [
                        "3d3b7964ed8752d3"
                    ]
                ]
            },
            {
                "id": "25c9928a201b2ac8",
                "type": "change",
                "z": "efe34eea5033bd9a",
                "name": "",
                "rules": [
                    {
                        "t": "set",
                        "p": "payload",
                        "pt": "msg",
                        "to": "tag",
                        "tot": "msg"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 1380,
                "y": 90,
                "wires": [
                    [
                        "f3384399d1a4d23a"
                    ]
                ]
            },
            {
                "id": "b861fb76169dc96c",
                "type": "change",
                "z": "efe34eea5033bd9a",
                "name": "",
                "rules": [
                    {
                        "t": "set",
                        "p": "payload",
                        "pt": "msg",
                        "to": "jahr",
                        "tot": "msg"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 1380,
                "y": 140,
                "wires": [
                    [
                        "c8c398a3628565a9"
                    ]
                ]
            },
            {
                "id": "afb39228d6eabee9",
                "type": "change",
                "z": "efe34eea5033bd9a",
                "name": "",
                "rules": [
                    {
                        "t": "set",
                        "p": "payload",
                        "pt": "msg",
                        "to": "gesamt",
                        "tot": "msg"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 1380,
                "y": 190,
                "wires": [
                    [
                        "42b7bbdc8107ecd0"
                    ]
                ]
            },
            {
                "id": "c07e1d24aa7d1966",
                "type": "ioBroker out",
                "z": "efe34eea5033bd9a",
                "name": "Magnetventil",
                "topic": "sonoff.0.GordonX-Home-Kaffeemaschine.POWER2",
                "ack": "false",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 270,
                "y": 160,
                "wires": []
            },
            {
                "id": "137f0e98a73b8945",
                "type": "ioBroker in",
                "z": "efe34eea5033bd9a",
                "name": "Schwimmer",
                "attrname": "payload",
                "topic": "sonoff.0.GordonX-Home-Kaffeemaschine.POWER1",
                "payloadType": "value",
                "onlyack": "",
                "func": "all",
                "gap": "",
                "fireOnStart": "false",
                "outFormat": "MQTT",
                "x": 100,
                "y": 110,
                "wires": [
                    [
                        "97812e7ccbba9b9e",
                        "c07e1d24aa7d1966"
                    ]
                ]
            },
            {
                "id": "97812e7ccbba9b9e",
                "type": "switch",
                "z": "efe34eea5033bd9a",
                "name": "",
                "property": "payload",
                "propertyType": "msg",
                "rules": [
                    {
                        "t": "eq",
                        "v": "false",
                        "vt": "str"
                    }
                ],
                "checkall": "true",
                "repair": false,
                "outputs": 1,
                "x": 250,
                "y": 100,
                "wires": [
                    [
                        "ecb74bda0780b896",
                        "872ffd8996c54e0a"
                    ]
                ]
            },
            {
                "id": "12cc2ff5a1f6d421",
                "type": "debug",
                "z": "efe34eea5033bd9a",
                "name": "Tag Reset",
                "active": true,
                "tosidebar": true,
                "console": false,
                "tostatus": false,
                "complete": "payload",
                "targetType": "msg",
                "statusVal": "",
                "statusType": "auto",
                "x": 1260,
                "y": 300,
                "wires": []
            },
            {
                "id": "7f716c13b12cdd93",
                "type": "ioBroker out",
                "z": "efe34eea5033bd9a",
                "name": "tag",
                "topic": "0_userdata.0.Kaffeemaschine.Wasser_Tag",
                "ack": "true",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 1250,
                "y": 340,
                "wires": []
            },
            {
                "id": "46a25557fd2da3d8",
                "type": "http request",
                "z": "efe34eea5033bd9a",
                "name": "Senden",
                "method": "GET",
                "ret": "txt",
                "paytoqs": "ignore",
                "url": "http://192.168.0.96/cm?user=user&password=password&cmnd=counter1%200",
                "tls": "",
                "persist": false,
                "proxy": "",
                "insecureHTTPParser": false,
                "authType": "",
                "senderr": false,
                "headers": [],
                "x": 960,
                "y": 60,
                "wires": [
                    [
                        "cfaf466849f13561"
                    ]
                ]
            },
            {
                "id": "2d7aec80e427d3e3",
                "type": "change",
                "z": "efe34eea5033bd9a",
                "name": "Aqua Counter Reset",
                "rules": [
                    {
                        "t": "set",
                        "p": "url",
                        "pt": "msg",
                        "to": "payload",
                        "tot": "msg"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 630,
                "y": 60,
                "wires": [
                    [
                        "838a5dd3045a4fce"
                    ]
                ]
            },
            {
                "id": "cfaf466849f13561",
                "type": "debug",
                "z": "efe34eea5033bd9a",
                "name": "Ausgabe Reset",
                "active": true,
                "tosidebar": true,
                "console": false,
                "tostatus": false,
                "complete": "payload",
                "targetType": "msg",
                "statusVal": "",
                "statusType": "auto",
                "x": 1120,
                "y": 60,
                "wires": []
            },
            {
                "id": "872ffd8996c54e0a",
                "type": "delay",
                "z": "efe34eea5033bd9a",
                "name": "Verzögerung",
                "pauseType": "delay",
                "timeout": "1",
                "timeoutUnits": "seconds",
                "rate": "1",
                "nbRateUnits": "1",
                "rateUnits": "second",
                "randomFirst": "1",
                "randomLast": "5",
                "randomUnits": "seconds",
                "drop": false,
                "allowrate": false,
                "outputs": 1,
                "x": 410,
                "y": 60,
                "wires": [
                    [
                        "2d7aec80e427d3e3"
                    ]
                ]
            },
            {
                "id": "3a22548fb8d2b1dd",
                "type": "debug",
                "z": "efe34eea5033bd9a",
                "name": "Jahr Reset",
                "active": true,
                "tosidebar": true,
                "console": false,
                "tostatus": false,
                "complete": "payload",
                "targetType": "msg",
                "statusVal": "",
                "statusType": "auto",
                "x": 1270,
                "y": 400,
                "wires": []
            },
            {
                "id": "764d024b5505a398",
                "type": "ioBroker out",
                "z": "efe34eea5033bd9a",
                "name": "Jahr",
                "topic": "0_userdata.0.Kaffeemaschine.Wasser_Jahr",
                "ack": "true",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 1250,
                "y": 440,
                "wires": []
            },
            {
                "id": "79b489efc045707d",
                "type": "change",
                "z": "efe34eea5033bd9a",
                "name": "Tag Reset",
                "rules": [
                    {
                        "t": "set",
                        "p": "payload",
                        "pt": "msg",
                        "to": "0",
                        "tot": "num"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 510,
                "y": 320,
                "wires": [
                    [
                        "30f4aba72489c1cf"
                    ]
                ]
            },
            {
                "id": "4ac693b14e01393d",
                "type": "change",
                "z": "efe34eea5033bd9a",
                "name": "Jahr Reset",
                "rules": [
                    {
                        "t": "set",
                        "p": "payload",
                        "pt": "msg",
                        "to": "0",
                        "tot": "num"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 520,
                "y": 420,
                "wires": [
                    [
                        "2316b6df848c8f8d"
                    ]
                ]
            },
            {
                "id": "5e6ff0947ccd4d30",
                "type": "inject",
                "z": "efe34eea5033bd9a",
                "name": "Counter Reset Manuell",
                "props": [
                    {
                        "p": "payload"
                    }
                ],
                "repeat": "",
                "crontab": "",
                "once": false,
                "onceDelay": 0.1,
                "topic": "",
                "payload": "true",
                "payloadType": "bool",
                "x": 150,
                "y": 60,
                "wires": [
                    [
                        "872ffd8996c54e0a"
                    ]
                ]
            },
            {
                "id": "5b3b7bf0abaacad3",
                "type": "cronplus",
                "z": "efe34eea5033bd9a",
                "name": "Aqua Tag Reset",
                "outputField": "payload",
                "timeZone": "",
                "storeName": "",
                "commandResponseMsgOutput": "output1",
                "defaultLocation": "",
                "defaultLocationType": "default",
                "outputs": 1,
                "options": [
                    {
                        "name": "Zeitplan",
                        "topic": "Counter Aqua Reset",
                        "payloadType": "default",
                        "payload": "",
                        "expressionType": "cron",
                        "expression": "0 0 0 * * ? *",
                        "location": "",
                        "offset": "0",
                        "solarType": "all",
                        "solarEvents": "sunrise,sunset"
                    }
                ],
                "x": 310,
                "y": 320,
                "wires": [
                    [
                        "79b489efc045707d"
                    ]
                ]
            },
            {
                "id": "0814162ae49074ad",
                "type": "cronplus",
                "z": "efe34eea5033bd9a",
                "name": "Aqua Jahr Reset",
                "outputField": "payload",
                "timeZone": "",
                "storeName": "",
                "commandResponseMsgOutput": "output1",
                "defaultLocation": "",
                "defaultLocationType": "default",
                "outputs": 1,
                "options": [
                    {
                        "name": "Zeitplan",
                        "topic": "Counter Aqua Reset",
                        "payloadType": "default",
                        "payload": "",
                        "expressionType": "cron",
                        "expression": "0 0 0 31 12 ? *",
                        "location": "",
                        "offset": "0",
                        "solarType": "all",
                        "solarEvents": "sunrise,sunset"
                    }
                ],
                "x": 320,
                "y": 420,
                "wires": [
                    [
                        "4ac693b14e01393d"
                    ]
                ]
            },
            {
                "id": "3664f7b5a5769f66",
                "type": "delay",
                "z": "efe34eea5033bd9a",
                "name": "warten",
                "pauseType": "delay",
                "timeout": "30",
                "timeoutUnits": "seconds",
                "rate": "1",
                "nbRateUnits": "1",
                "rateUnits": "second",
                "randomFirst": "1",
                "randomLast": "5",
                "randomUnits": "seconds",
                "drop": false,
                "allowrate": false,
                "outputs": 1,
                "x": 930,
                "y": 100,
                "wires": [
                    [
                        "c417b4bc23498fa7"
                    ]
                ]
            },
            {
                "id": "838a5dd3045a4fce",
                "type": "delay",
                "z": "efe34eea5033bd9a",
                "name": "warten",
                "pauseType": "delay",
                "timeout": "70",
                "timeoutUnits": "seconds",
                "rate": "1",
                "nbRateUnits": "1",
                "rateUnits": "second",
                "randomFirst": "1",
                "randomLast": "5",
                "randomUnits": "seconds",
                "drop": false,
                "allowrate": false,
                "outputs": 1,
                "x": 810,
                "y": 60,
                "wires": [
                    [
                        "46a25557fd2da3d8"
                    ]
                ]
            }
        ]
        

        Ob das nun mit dem Delay so richtig ist weiß ich nicht
        und was zum Beispiel komisch ist,
        eine ähnliche Steuerung fürs aquarium soll das selbe machen trägt aber überhaupt nichts in die datenpunkte ein bzw wird nicht ausgelöst. in der Steuerung hatte ich die delay noch nicht eingebaut, da diese eh nicht reagiert.
        Screenshot 2025-02-11 042003.png

        [
            {
                "id": "e96d40e5c03c8e73",
                "type": "tab",
                "label": "Wasser Aquarium",
                "disabled": false,
                "info": "",
                "env": []
            },
            {
                "id": "45a6e580b60ac2db",
                "type": "junction",
                "z": "e96d40e5c03c8e73",
                "x": 790,
                "y": 340,
                "wires": [
                    [
                        "eaeec2f4b2ca281f",
                        "aa28b192152fbef2"
                    ]
                ]
            },
            {
                "id": "e55b14fd0d28d156",
                "type": "junction",
                "z": "e96d40e5c03c8e73",
                "x": 810,
                "y": 440,
                "wires": [
                    [
                        "72a5c2949b417e99",
                        "14caa704f34116a9"
                    ]
                ]
            },
            {
                "id": "8c50dad878f1363c",
                "type": "junction",
                "z": "e96d40e5c03c8e73",
                "x": 1100,
                "y": 250,
                "wires": [
                    [
                        "071f99aa6aae94c4"
                    ]
                ]
            },
            {
                "id": "7014354310596b03",
                "type": "junction",
                "z": "e96d40e5c03c8e73",
                "x": 200,
                "y": 190,
                "wires": [
                    [
                        "01ada18cbb3de587"
                    ]
                ]
            },
            {
                "id": "8fbb9f181c70628a",
                "type": "ioBroker get",
                "z": "e96d40e5c03c8e73",
                "name": "jahr",
                "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Jahr",
                "attrname": "jahr",
                "payloadType": "value",
                "errOnInvalidState": "nothing",
                "x": 630,
                "y": 120,
                "wires": [
                    [
                        "fea33a2388b19fea"
                    ]
                ]
            },
            {
                "id": "fea33a2388b19fea",
                "type": "ioBroker get",
                "z": "e96d40e5c03c8e73",
                "name": "gesamt",
                "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasser_Gesamt",
                "attrname": "gesamt",
                "payloadType": "value",
                "errOnInvalidState": "nothing",
                "x": 760,
                "y": 120,
                "wires": [
                    [
                        "1a1876d6fd414b64"
                    ]
                ]
            },
            {
                "id": "071f99aa6aae94c4",
                "type": "debug",
                "z": "e96d40e5c03c8e73",
                "name": "Ausgabe Objekt",
                "active": true,
                "tosidebar": true,
                "console": false,
                "tostatus": false,
                "complete": "true",
                "targetType": "full",
                "statusVal": "",
                "statusType": "auto",
                "x": 1440,
                "y": 250,
                "wires": []
            },
            {
                "id": "1a1876d6fd414b64",
                "type": "change",
                "z": "e96d40e5c03c8e73",
                "name": "",
                "rules": [
                    {
                        "t": "set",
                        "p": "durchfluss",
                        "pt": "msg",
                        "to": "$round(durchfluss * 5.182,2)",
                        "tot": "jsonata"
                    },
                    {
                        "t": "set",
                        "p": "jahr",
                        "pt": "msg",
                        "to": "$round(durchfluss  / 1000 + jahr,2)",
                        "tot": "jsonata"
                    },
                    {
                        "t": "set",
                        "p": "gesamt",
                        "pt": "msg",
                        "to": "$round(durchfluss  / 1000 + gesamt,2)",
                        "tot": "jsonata"
                    },
                    {
                        "t": "set",
                        "p": "tag",
                        "pt": "msg",
                        "to": "$round(durchfluss  + tag,2)",
                        "tot": "jsonata"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 930,
                "y": 120,
                "wires": [
                    [
                        "44ef0e4042c6ce50",
                        "d608be45b53e2d65",
                        "1c4049c837709955",
                        "eeea6be93ef84e68",
                        "8c50dad878f1363c"
                    ]
                ]
            },
            {
                "id": "0fdf123af6451d89",
                "type": "ioBroker get",
                "z": "e96d40e5c03c8e73",
                "name": "durchfluss",
                "topic": "sonoff.0.Aqua_Float.SENSOR.COUNTER.C1",
                "attrname": "durchfluss",
                "payloadType": "value",
                "errOnInvalidState": "nothing",
                "x": 370,
                "y": 120,
                "wires": [
                    [
                        "d202759fc6e6dce3"
                    ]
                ]
            },
            {
                "id": "d71bb0083fe22676",
                "type": "ioBroker out",
                "z": "e96d40e5c03c8e73",
                "name": "durchfluss",
                "topic": "sonoff.0.Aqua_Float.SENSOR.COUNTER.C1",
                "ack": "false",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 1430,
                "y": 90,
                "wires": []
            },
            {
                "id": "b2f8630fc2e72c50",
                "type": "ioBroker out",
                "z": "e96d40e5c03c8e73",
                "name": "tag",
                "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Tag",
                "ack": "false",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 1410,
                "y": 140,
                "wires": []
            },
            {
                "id": "3d07bf7fb1e614bd",
                "type": "ioBroker out",
                "z": "e96d40e5c03c8e73",
                "name": "jahr",
                "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Jahr",
                "ack": "false",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 1410,
                "y": 190,
                "wires": []
            },
            {
                "id": "c87cb1a919d6871f",
                "type": "ioBroker out",
                "z": "e96d40e5c03c8e73",
                "name": "gesamt",
                "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasser_Gesamt",
                "ack": "false",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 1420,
                "y": 40,
                "wires": []
            },
            {
                "id": "d202759fc6e6dce3",
                "type": "ioBroker get",
                "z": "e96d40e5c03c8e73",
                "name": "tag",
                "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Tag",
                "attrname": "tag",
                "payloadType": "value",
                "errOnInvalidState": "nothing",
                "x": 510,
                "y": 120,
                "wires": [
                    [
                        "8fbb9f181c70628a"
                    ]
                ]
            },
            {
                "id": "d608be45b53e2d65",
                "type": "change",
                "z": "e96d40e5c03c8e73",
                "name": "",
                "rules": [
                    {
                        "t": "set",
                        "p": "payload",
                        "pt": "msg",
                        "to": "durchfluss",
                        "tot": "msg"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 1200,
                "y": 90,
                "wires": [
                    [
                        "d71bb0083fe22676"
                    ]
                ]
            },
            {
                "id": "1c4049c837709955",
                "type": "change",
                "z": "e96d40e5c03c8e73",
                "name": "",
                "rules": [
                    {
                        "t": "set",
                        "p": "payload",
                        "pt": "msg",
                        "to": "tag",
                        "tot": "msg"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 1200,
                "y": 140,
                "wires": [
                    [
                        "b2f8630fc2e72c50"
                    ]
                ]
            },
            {
                "id": "eeea6be93ef84e68",
                "type": "change",
                "z": "e96d40e5c03c8e73",
                "name": "",
                "rules": [
                    {
                        "t": "set",
                        "p": "payload",
                        "pt": "msg",
                        "to": "jahr",
                        "tot": "msg"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 1200,
                "y": 190,
                "wires": [
                    [
                        "3d07bf7fb1e614bd"
                    ]
                ]
            },
            {
                "id": "44ef0e4042c6ce50",
                "type": "change",
                "z": "e96d40e5c03c8e73",
                "name": "",
                "rules": [
                    {
                        "t": "set",
                        "p": "payload",
                        "pt": "msg",
                        "to": "gesamt",
                        "tot": "msg"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 1200,
                "y": 40,
                "wires": [
                    [
                        "c87cb1a919d6871f"
                    ]
                ]
            },
            {
                "id": "01ada18cbb3de587",
                "type": "ioBroker out",
                "z": "e96d40e5c03c8e73",
                "name": "Magnetventil",
                "topic": "sonoff.0.Aqua_Control.POWER1",
                "ack": "false",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 400,
                "y": 190,
                "wires": []
            },
            {
                "id": "76f52673b56e07fc",
                "type": "ioBroker in",
                "z": "e96d40e5c03c8e73",
                "name": "Schwimmer",
                "attrname": "payload",
                "topic": "sonoff.0.Aqua_Float.POWER1",
                "payloadType": "value",
                "onlyack": "",
                "func": "all",
                "gap": "",
                "fireOnStart": "true",
                "outFormat": "MQTT",
                "x": 80,
                "y": 130,
                "wires": [
                    [
                        "7014354310596b03",
                        "62ed674bc6e01184"
                    ]
                ]
            },
            {
                "id": "62ed674bc6e01184",
                "type": "switch",
                "z": "e96d40e5c03c8e73",
                "name": "",
                "property": "payload",
                "propertyType": "msg",
                "rules": [
                    {
                        "t": "eq",
                        "v": "false",
                        "vt": "str"
                    }
                ],
                "checkall": "true",
                "repair": false,
                "outputs": 1,
                "x": 230,
                "y": 120,
                "wires": [
                    [
                        "0fdf123af6451d89",
                        "70154cd4.de1444"
                    ]
                ]
            },
            {
                "id": "aa28b192152fbef2",
                "type": "debug",
                "z": "e96d40e5c03c8e73",
                "name": "Tag Reset",
                "active": true,
                "tosidebar": true,
                "console": false,
                "tostatus": false,
                "complete": "payload",
                "targetType": "msg",
                "statusVal": "",
                "statusType": "auto",
                "x": 920,
                "y": 320,
                "wires": []
            },
            {
                "id": "eaeec2f4b2ca281f",
                "type": "ioBroker out",
                "z": "e96d40e5c03c8e73",
                "name": "tag",
                "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Tag",
                "ack": "false",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 910,
                "y": 360,
                "wires": []
            },
            {
                "id": "b36aa30.3a7276",
                "type": "http request",
                "z": "e96d40e5c03c8e73",
                "name": "Senden",
                "method": "GET",
                "ret": "txt",
                "paytoqs": "ignore",
                "url": "http://192.168.0.71/cm?user=user&password=password&cmnd=counter1%200",
                "tls": "",
                "persist": false,
                "proxy": "",
                "insecureHTTPParser": false,
                "authType": "",
                "senderr": false,
                "headers": [],
                "x": 620,
                "y": 40,
                "wires": [
                    [
                        "1ef9987c.956c78"
                    ]
                ]
            },
            {
                "id": "70154cd4.de1444",
                "type": "change",
                "z": "e96d40e5c03c8e73",
                "name": "Aqua Counter Reset",
                "rules": [
                    {
                        "t": "set",
                        "p": "url",
                        "pt": "msg",
                        "to": "payload",
                        "tot": "msg"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 440,
                "y": 40,
                "wires": [
                    [
                        "b36aa30.3a7276"
                    ]
                ]
            },
            {
                "id": "1ef9987c.956c78",
                "type": "debug",
                "z": "e96d40e5c03c8e73",
                "name": "Ausgabe Reset",
                "active": true,
                "tosidebar": true,
                "console": false,
                "tostatus": false,
                "complete": "payload",
                "targetType": "msg",
                "statusVal": "",
                "statusType": "auto",
                "x": 830,
                "y": 40,
                "wires": []
            },
            {
                "id": "14caa704f34116a9",
                "type": "debug",
                "z": "e96d40e5c03c8e73",
                "name": "Jahr Reset",
                "active": true,
                "tosidebar": true,
                "console": false,
                "tostatus": false,
                "complete": "payload",
                "targetType": "msg",
                "statusVal": "",
                "statusType": "auto",
                "x": 930,
                "y": 420,
                "wires": []
            },
            {
                "id": "72a5c2949b417e99",
                "type": "ioBroker out",
                "z": "e96d40e5c03c8e73",
                "name": "Jahr",
                "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Jahr",
                "ack": "false",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 910,
                "y": 460,
                "wires": []
            },
            {
                "id": "a940876997af3dcb",
                "type": "change",
                "z": "e96d40e5c03c8e73",
                "name": "Tag Reset",
                "rules": [
                    {
                        "t": "set",
                        "p": "payload",
                        "pt": "msg",
                        "to": "0",
                        "tot": "num"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 270,
                "y": 340,
                "wires": [
                    [
                        "45a6e580b60ac2db"
                    ]
                ]
            },
            {
                "id": "4d69e63349514e4c",
                "type": "change",
                "z": "e96d40e5c03c8e73",
                "name": "Jahr Reset",
                "rules": [
                    {
                        "t": "set",
                        "p": "payload",
                        "pt": "msg",
                        "to": "0",
                        "tot": "num"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 310,
                "y": 440,
                "wires": [
                    [
                        "e55b14fd0d28d156"
                    ]
                ]
            },
            {
                "id": "fac4c1272808e6f3",
                "type": "inject",
                "z": "e96d40e5c03c8e73",
                "name": "",
                "props": [
                    {
                        "p": "payload"
                    },
                    {
                        "p": "topic",
                        "vt": "str"
                    }
                ],
                "repeat": "",
                "crontab": "",
                "once": false,
                "onceDelay": 0.1,
                "topic": "",
                "payload": "true",
                "payloadType": "bool",
                "x": 210,
                "y": 40,
                "wires": [
                    [
                        "70154cd4.de1444"
                    ]
                ]
            },
            {
                "id": "b0a30850739bc81a",
                "type": "cronplus",
                "z": "e96d40e5c03c8e73",
                "name": "Aqua Tag Reset",
                "outputField": "payload",
                "timeZone": "",
                "storeName": "",
                "commandResponseMsgOutput": "output1",
                "defaultLocation": "",
                "defaultLocationType": "default",
                "outputs": 1,
                "options": [
                    {
                        "name": "Zeitplan",
                        "topic": "Counter Aqua Reset",
                        "payloadType": "default",
                        "payload": "",
                        "expressionType": "cron",
                        "expression": "0 0 0 * * ? *",
                        "location": "",
                        "offset": "0",
                        "solarType": "all",
                        "solarEvents": "sunrise,sunset"
                    }
                ],
                "x": 100,
                "y": 340,
                "wires": [
                    [
                        "a940876997af3dcb"
                    ]
                ]
            },
            {
                "id": "1e4f358a474147d7",
                "type": "cronplus",
                "z": "e96d40e5c03c8e73",
                "name": "Aqua Jahr Reset",
                "outputField": "payload",
                "timeZone": "",
                "storeName": "",
                "commandResponseMsgOutput": "output1",
                "defaultLocation": "",
                "defaultLocationType": "default",
                "outputs": 1,
                "options": [
                    {
                        "name": "Zeitplan",
                        "topic": "Counter Aqua Reset",
                        "payloadType": "default",
                        "payload": "",
                        "expressionType": "cron",
                        "expression": "0 0 0 31 12 ? *",
                        "location": "",
                        "offset": "0",
                        "solarType": "all",
                        "solarEvents": "sunrise,sunset"
                    }
                ],
                "x": 110,
                "y": 440,
                "wires": [
                    [
                        "4d69e63349514e4c"
                    ]
                ]
            }
        ]
        

        Wasser Tag ist zB bei beiden Steuerungen leer bzw wird dort nichts eingetragen.

        geschildG Online
        geschildG Online
        geschild
        schrieb am zuletzt editiert von geschild
        #4

        @aphofis Ich muss zugeben, dass ich deinen Gesamtaufbau noch nicht verstanden habe.
        Meine Vorstellung:
        Du hast eine Filterkaffemaschine.
        Normalerweise füllt man Wasser in Tank, Kaffee in den Filter und einschalten.
        Du machst es irgendwie anders.
        Es gibt es ein sonoff-Gerät (Power1, Power2), mit tasmota.
        Ein Schwimmerschalter geht auf einen Button1 und ist verknüpft mit Relais1, sodass du den Schwimmerschalter mit Power1 abfragen kannst.
        Er liefert true/false.
        Der Schwimmerschalter schaltet ein Magnetventil (Power2).
        Ein Durchflussmesser liefert einen analogen? Wert.

        ... erste Pump Wert ab True... ? True vom Schwimmerschalter?

        Ist der ESP8266 der über <senden> angesprochen wird, der gleiche, der auch Power1, Power2 beinhaltet ?
        Kannst du mal eine Skizze/Foto deines Aufbaus posten.

        AphofisA 1 Antwort Letzte Antwort
        0
        • geschildG geschild

          @aphofis Ich muss zugeben, dass ich deinen Gesamtaufbau noch nicht verstanden habe.
          Meine Vorstellung:
          Du hast eine Filterkaffemaschine.
          Normalerweise füllt man Wasser in Tank, Kaffee in den Filter und einschalten.
          Du machst es irgendwie anders.
          Es gibt es ein sonoff-Gerät (Power1, Power2), mit tasmota.
          Ein Schwimmerschalter geht auf einen Button1 und ist verknüpft mit Relais1, sodass du den Schwimmerschalter mit Power1 abfragen kannst.
          Er liefert true/false.
          Der Schwimmerschalter schaltet ein Magnetventil (Power2).
          Ein Durchflussmesser liefert einen analogen? Wert.

          ... erste Pump Wert ab True... ? True vom Schwimmerschalter?

          Ist der ESP8266 der über <senden> angesprochen wird, der gleiche, der auch Power1, Power2 beinhaltet ?
          Kannst du mal eine Skizze/Foto deines Aufbaus posten.

          AphofisA Offline
          AphofisA Offline
          Aphofis
          schrieb am zuletzt editiert von Aphofis
          #5

          @geschild sagte in Node-Red Node warte x bis rechnung:

          ussmesser liefert einen analogen? Wert.

          genao so ist es.
          Auf einem ESP8266 mit Tasmota ist Power1 Power2
          Power1 ist der Schwimmschalter.
          Power2 ist an einem Relai das Magnetventil.
          Meine Kaffeemaschine hat einen direkten Wasseranschluß.
          in dem Druckschlauch sitzt ein Durchflussmesser der auch in dieser Steuerung aus dem Pulse von dem was an Wasser durch den Sensor läuft errechnet. Bzw. kalibriert.
          Nur reagiert die Steuerung nicht auf den Schwimmer.
          Wenn sie das tun sollte dann muss sie das innerhalb von 500ms machen denn es gibt innerhalb mehrerer sekunden eine aktivierung des schwimmers. Der Schwimmer sitzt in meinem Wassertank und Magnetventil sitzt hinter der Kaffeemaschine in einem Gehäuse.
          Es muss also entweder wenn schwimmer true sagen wir mal 30 sekunden gewartet werden dann soll er puls wert aus einem datenpunkt genommen werden ausgerechnet werden und zu Zähler Tag und zu Zähler Jahr dazu addiert werden. der Zähler Tag soll um 0 Uhr tählich resettet werden und der Zähler Jahr soll einmal ende jedes Jahres resettet werden. Der Datenpunkt Zähler gesamt da soll immer nur dazu addiert werden.
          Der Wasser druchfluss Zähler soll den ermittelten und ausgerechneten Wert dann in die jeweiligen Datenpunkte schreiben und nach dem Pump vorgang resettet werden. und der esp soll auch per exec befehl einmal der counter auf null gestellt werden oder per Webseiten aufruf counter1 = 0
          Also wie gesagt entweder soll die steuerung bei schwimmer true
          30 sek warten, den wert aus waser durchfluss nehmen alles ausrechnen und die reset durchführen oder muss nach jedem schwimmer true innerhalb von 500ms ausrechnen und die Datenpunkte aktualisieren.
          Ja, es sitzt alles an dem einen ESP angeschlossen.
          Damit keine sauerei passiert, laufen die 12 volt minus leitung des magnet ventils über ein relai durch den Schwimmer damit die steuerung keinen schabernack treibt.
          Es soll der schwimmer abgegriffen werden bei true rechnen und schreiben oder bei true 30 sek warten dann rechnen und schreiben

          ESP


          Screenshot 2025-02-12 192820.png

          Datenpunkte Daten

          Screenshot 2025-02-12 192741.png

          Datenpunkte Sonoff (Tasmota) Gerät

          Screenshot 2025-02-12 193035.png

          geschildG 1 Antwort Letzte Antwort
          0
          • AphofisA Aphofis

            @geschild sagte in Node-Red Node warte x bis rechnung:

            ussmesser liefert einen analogen? Wert.

            genao so ist es.
            Auf einem ESP8266 mit Tasmota ist Power1 Power2
            Power1 ist der Schwimmschalter.
            Power2 ist an einem Relai das Magnetventil.
            Meine Kaffeemaschine hat einen direkten Wasseranschluß.
            in dem Druckschlauch sitzt ein Durchflussmesser der auch in dieser Steuerung aus dem Pulse von dem was an Wasser durch den Sensor läuft errechnet. Bzw. kalibriert.
            Nur reagiert die Steuerung nicht auf den Schwimmer.
            Wenn sie das tun sollte dann muss sie das innerhalb von 500ms machen denn es gibt innerhalb mehrerer sekunden eine aktivierung des schwimmers. Der Schwimmer sitzt in meinem Wassertank und Magnetventil sitzt hinter der Kaffeemaschine in einem Gehäuse.
            Es muss also entweder wenn schwimmer true sagen wir mal 30 sekunden gewartet werden dann soll er puls wert aus einem datenpunkt genommen werden ausgerechnet werden und zu Zähler Tag und zu Zähler Jahr dazu addiert werden. der Zähler Tag soll um 0 Uhr tählich resettet werden und der Zähler Jahr soll einmal ende jedes Jahres resettet werden. Der Datenpunkt Zähler gesamt da soll immer nur dazu addiert werden.
            Der Wasser druchfluss Zähler soll den ermittelten und ausgerechneten Wert dann in die jeweiligen Datenpunkte schreiben und nach dem Pump vorgang resettet werden. und der esp soll auch per exec befehl einmal der counter auf null gestellt werden oder per Webseiten aufruf counter1 = 0
            Also wie gesagt entweder soll die steuerung bei schwimmer true
            30 sek warten, den wert aus waser durchfluss nehmen alles ausrechnen und die reset durchführen oder muss nach jedem schwimmer true innerhalb von 500ms ausrechnen und die Datenpunkte aktualisieren.
            Ja, es sitzt alles an dem einen ESP angeschlossen.
            Damit keine sauerei passiert, laufen die 12 volt minus leitung des magnet ventils über ein relai durch den Schwimmer damit die steuerung keinen schabernack treibt.
            Es soll der schwimmer abgegriffen werden bei true rechnen und schreiben oder bei true 30 sek warten dann rechnen und schreiben

            ESP


            Screenshot 2025-02-12 192820.png

            Datenpunkte Daten

            Screenshot 2025-02-12 192741.png

            Datenpunkte Sonoff (Tasmota) Gerät

            Screenshot 2025-02-12 193035.png

            geschildG Online
            geschildG Online
            geschild
            schrieb am zuletzt editiert von
            #6

            @aphofis So langsam verstehe ich deinen Aufbau. Handelt es sich um eine normale Haushaltskaffemaschine oder eher um ein Industriegerät?

            Nur reagiert die Steuerung nicht auf den Schwimmer.
            Wenn sie das tun sollte dann muss sie das innerhalb von 500ms machen denn es gibt innerhalb mehrerer sekunden eine aktivierung des schwimmers

            Wie muss ich mir den Schwimmerschalter vorstellen ? Mechanische Schwimmer (Ball mit Hebel) oder Magnetkontakt ?
            Dieser meldet true, wenn der Wassertank leer ist?

            Kannst du mal das tasmota template posten?
            Laufen sonst noch irgendwelche Rulse oder scripte.

            Ich frage so genau, da ich dir keine falschen Tipps geben möchte, weil ich etwas nicht richtig verstanden habe.

            AphofisA 1 Antwort Letzte Antwort
            0
            • geschildG geschild

              @aphofis So langsam verstehe ich deinen Aufbau. Handelt es sich um eine normale Haushaltskaffemaschine oder eher um ein Industriegerät?

              Nur reagiert die Steuerung nicht auf den Schwimmer.
              Wenn sie das tun sollte dann muss sie das innerhalb von 500ms machen denn es gibt innerhalb mehrerer sekunden eine aktivierung des schwimmers

              Wie muss ich mir den Schwimmerschalter vorstellen ? Mechanische Schwimmer (Ball mit Hebel) oder Magnetkontakt ?
              Dieser meldet true, wenn der Wassertank leer ist?

              Kannst du mal das tasmota template posten?
              Laufen sonst noch irgendwelche Rulse oder scripte.

              Ich frage so genau, da ich dir keine falschen Tipps geben möchte, weil ich etwas nicht richtig verstanden habe.

              AphofisA Offline
              AphofisA Offline
              Aphofis
              schrieb am zuletzt editiert von Aphofis
              #7

              @geschild ist eine SIEMENS EQ6 plus s700
              So ein Schwimmer ist es.


              Screenshot 2025-02-12 203144.png

              Mein Tasmota Template

              {"NAME":"GordonX-Home-Kaffee","GPIO":[1,1,1,1,1,1,1,1,1,1,1,1,1,1],"FLAG":0,"BASE":18}
              


              Friendly Name

              Screenshot 2025-02-12 203406.png

              Geräte

              Screenshot 2025-02-12 203508.png

              Nein auf dem Tasmota läuft ausschließlich die Kaffee maschine.
              Rules oder Scripte habe ich nicht am laufen.
              Quatsch alles gut, freue mich ja wenn ich meine mega mini sorge mit jemandem teilen kann. :face_with_head_bandage: :grinning:

              geschildG 1 Antwort Letzte Antwort
              0
              • AphofisA Aphofis

                @geschild ist eine SIEMENS EQ6 plus s700
                So ein Schwimmer ist es.


                Screenshot 2025-02-12 203144.png

                Mein Tasmota Template

                {"NAME":"GordonX-Home-Kaffee","GPIO":[1,1,1,1,1,1,1,1,1,1,1,1,1,1],"FLAG":0,"BASE":18}
                


                Friendly Name

                Screenshot 2025-02-12 203406.png

                Geräte

                Screenshot 2025-02-12 203508.png

                Nein auf dem Tasmota läuft ausschließlich die Kaffee maschine.
                Rules oder Scripte habe ich nicht am laufen.
                Quatsch alles gut, freue mich ja wenn ich meine mega mini sorge mit jemandem teilen kann. :face_with_head_bandage: :grinning:

                geschildG Online
                geschildG Online
                geschild
                schrieb am zuletzt editiert von geschild
                #8

                @aphofis Der Schwimmer hängt in dem kleinen schmalen Wassertank an der Seite?
                Schwimmer unten = true (Tank leer), aber er "tanzt" unten ein wenig, sodass mehrere true-false-true kommen ?

                Dein template und der screenshot Geräte stimmen nicht überein.

                Ich hab die Vorlage mal nachgestellt -> template: {"NAME":"GordonX-Home-Kaffee","GPIO":[1,1,1,1,1,1,1,1,224,160,352,225,1,1],"FLAG":0,"BASE":18}

                Ist dein ESP8266 ein Wemos D1? Hast du schon mal selber mit z.B. Arduino programmiert?

                AphofisA 1 Antwort Letzte Antwort
                0
                • geschildG geschild

                  @aphofis Der Schwimmer hängt in dem kleinen schmalen Wassertank an der Seite?
                  Schwimmer unten = true (Tank leer), aber er "tanzt" unten ein wenig, sodass mehrere true-false-true kommen ?

                  Dein template und der screenshot Geräte stimmen nicht überein.

                  Ich hab die Vorlage mal nachgestellt -> template: {"NAME":"GordonX-Home-Kaffee","GPIO":[1,1,1,1,1,1,1,1,224,160,352,225,1,1],"FLAG":0,"BASE":18}

                  Ist dein ESP8266 ein Wemos D1? Hast du schon mal selber mit z.B. Arduino programmiert?

                  AphofisA Offline
                  AphofisA Offline
                  Aphofis
                  schrieb am zuletzt editiert von
                  #9

                  @geschild
                  Naja noch ist er im oberen drittel. Kommt aber noch ein Adapter gedruckt, damit der schwimmer niedriger ist und nicht so biel Wasser im Tank ist und ja unten ist true oben ist false
                  Ne die Maschine produziert halt nur schluck weise heisses wasser und zieht dann immer nur ein wenig, man könnte das Problem auch mit einem schwimmer lösen der einen längeren Hals hat aber da bin ich erst gerade eben drauf gekommen.
                  Müsste mal gucken hab glaube ich noch einen aus Edelstahl neu rumliegen.
                  Kann man mal testen.
                  Ich kann dir nur das schicken, was mein Tasmota auswirft auch in der Konole sieht mein Template so aus wie das was ich geschickt hatte.
                  Arduino ist lange her! hab irgendwo auch noch zwei liegen. das wollte ich eigentlich eher nicht eigentlich wollte ich das Node-Red node anpassen.
                  Hintergrund, des ganzen mein Aquarium hat selben aufbau würde dort auch gerne wissen, wie viel verdunstungs Wasser das Becken schluckt. Hatte mal ein 1000 Liter Meerwasser Becken. Dort lief eine Blockly Steuerung und ein Durchflussmesser direkt als Rohr Adapter im 32mm Rohr.
                  Dann nach 5 Jahren Betrieb Wasserschaden von der oberen Wohnung ist kontinuierlich gefiltertes Rigips und Dämmungs Leitungswasser ins Becken gelaufen viele Korallen und Fische kaputt, tot oder veralgt konnte nicht gegen an arbeiten. Becken abgebaut alles verkauft hab jetzt ein 110 Liter Becken. Das 1000 Liter steht noch und wartet. Wollte erst neue Wohnung dann 1000 Liter wieder aufbauen mit Süßwasser und dann weiß ich schon mal was der Wasserverbrauch ca ist. Klar größeres becken größere Wasseroberfläche etc.
                  Doch die Werte zu Wissen wäre schon Top. Nur halt gerne in Node-Red.
                  Und die ESPs machen ja was sie sollen. Habe damit auch schon selbst gebaute Dosierpumpen betrieben im ml bereich und ms bereich und das funzte dank @paul53 auch bombastisch gut. Nur ist mir Blockly suspekt ich verstehe da viele Schaltungen nicht, da finde ich Node-Red strukturierter komme damit noch sehr schlecht klar.
                  Es ist ein NodeMCU ESP8266 V3

                  So nun kennst du den gesamten Hintergrund.
                  ESP
                  Schwimmer
                  Magnetventil
                  Durchflussmesser.
                  Steuerung muss laufen.
                  Man könnte auch nur eine Schaltung bauen die den Puls Wert bei true/false errechnet und in einen Datenpunkt als ml schreibt und der eigentlichen Steuerung kann man sagen bei true warte 60 sekunden dann rechnen und werte in die Datenpunkte addieren und rechnungs Datenpunkt für die kalibrierung leeren.

                  geschildG 2 Antworten Letzte Antwort
                  0
                  • AphofisA Aphofis

                    @geschild
                    Naja noch ist er im oberen drittel. Kommt aber noch ein Adapter gedruckt, damit der schwimmer niedriger ist und nicht so biel Wasser im Tank ist und ja unten ist true oben ist false
                    Ne die Maschine produziert halt nur schluck weise heisses wasser und zieht dann immer nur ein wenig, man könnte das Problem auch mit einem schwimmer lösen der einen längeren Hals hat aber da bin ich erst gerade eben drauf gekommen.
                    Müsste mal gucken hab glaube ich noch einen aus Edelstahl neu rumliegen.
                    Kann man mal testen.
                    Ich kann dir nur das schicken, was mein Tasmota auswirft auch in der Konole sieht mein Template so aus wie das was ich geschickt hatte.
                    Arduino ist lange her! hab irgendwo auch noch zwei liegen. das wollte ich eigentlich eher nicht eigentlich wollte ich das Node-Red node anpassen.
                    Hintergrund, des ganzen mein Aquarium hat selben aufbau würde dort auch gerne wissen, wie viel verdunstungs Wasser das Becken schluckt. Hatte mal ein 1000 Liter Meerwasser Becken. Dort lief eine Blockly Steuerung und ein Durchflussmesser direkt als Rohr Adapter im 32mm Rohr.
                    Dann nach 5 Jahren Betrieb Wasserschaden von der oberen Wohnung ist kontinuierlich gefiltertes Rigips und Dämmungs Leitungswasser ins Becken gelaufen viele Korallen und Fische kaputt, tot oder veralgt konnte nicht gegen an arbeiten. Becken abgebaut alles verkauft hab jetzt ein 110 Liter Becken. Das 1000 Liter steht noch und wartet. Wollte erst neue Wohnung dann 1000 Liter wieder aufbauen mit Süßwasser und dann weiß ich schon mal was der Wasserverbrauch ca ist. Klar größeres becken größere Wasseroberfläche etc.
                    Doch die Werte zu Wissen wäre schon Top. Nur halt gerne in Node-Red.
                    Und die ESPs machen ja was sie sollen. Habe damit auch schon selbst gebaute Dosierpumpen betrieben im ml bereich und ms bereich und das funzte dank @paul53 auch bombastisch gut. Nur ist mir Blockly suspekt ich verstehe da viele Schaltungen nicht, da finde ich Node-Red strukturierter komme damit noch sehr schlecht klar.
                    Es ist ein NodeMCU ESP8266 V3

                    So nun kennst du den gesamten Hintergrund.
                    ESP
                    Schwimmer
                    Magnetventil
                    Durchflussmesser.
                    Steuerung muss laufen.
                    Man könnte auch nur eine Schaltung bauen die den Puls Wert bei true/false errechnet und in einen Datenpunkt als ml schreibt und der eigentlichen Steuerung kann man sagen bei true warte 60 sekunden dann rechnen und werte in die Datenpunkte addieren und rechnungs Datenpunkt für die kalibrierung leeren.

                    geschildG Online
                    geschildG Online
                    geschild
                    schrieb am zuletzt editiert von
                    #10

                    @aphofis said in Node-Red Node warte x bis rechnung:

                    NodeMCU ESP8266 V3

                    Alles klar. Ich denke drüber nach und melde mich wieder.

                    zu: "So nun kennst du den gesamten Hintergrund"

                    Ich gehöre nicht zu den Leuten, die sich anmaßen zu beurteilen warum jemand etwas macht.
                    Jede hat gute Gründe. Mich interessiert nur das Problem und die Lösung.

                    AphofisA 1 Antwort Letzte Antwort
                    0
                    • geschildG geschild

                      @aphofis said in Node-Red Node warte x bis rechnung:

                      NodeMCU ESP8266 V3

                      Alles klar. Ich denke drüber nach und melde mich wieder.

                      zu: "So nun kennst du den gesamten Hintergrund"

                      Ich gehöre nicht zu den Leuten, die sich anmaßen zu beurteilen warum jemand etwas macht.
                      Jede hat gute Gründe. Mich interessiert nur das Problem und die Lösung.

                      AphofisA Offline
                      AphofisA Offline
                      Aphofis
                      schrieb am zuletzt editiert von
                      #11

                      @geschild
                      Ne dachte auch nicht aber dann weisst du das es nicht ganz banal ist eine Kaffeemaschine zu messen.

                      geschildG 1 Antwort Letzte Antwort
                      0
                      • AphofisA Aphofis

                        @geschild
                        Naja noch ist er im oberen drittel. Kommt aber noch ein Adapter gedruckt, damit der schwimmer niedriger ist und nicht so biel Wasser im Tank ist und ja unten ist true oben ist false
                        Ne die Maschine produziert halt nur schluck weise heisses wasser und zieht dann immer nur ein wenig, man könnte das Problem auch mit einem schwimmer lösen der einen längeren Hals hat aber da bin ich erst gerade eben drauf gekommen.
                        Müsste mal gucken hab glaube ich noch einen aus Edelstahl neu rumliegen.
                        Kann man mal testen.
                        Ich kann dir nur das schicken, was mein Tasmota auswirft auch in der Konole sieht mein Template so aus wie das was ich geschickt hatte.
                        Arduino ist lange her! hab irgendwo auch noch zwei liegen. das wollte ich eigentlich eher nicht eigentlich wollte ich das Node-Red node anpassen.
                        Hintergrund, des ganzen mein Aquarium hat selben aufbau würde dort auch gerne wissen, wie viel verdunstungs Wasser das Becken schluckt. Hatte mal ein 1000 Liter Meerwasser Becken. Dort lief eine Blockly Steuerung und ein Durchflussmesser direkt als Rohr Adapter im 32mm Rohr.
                        Dann nach 5 Jahren Betrieb Wasserschaden von der oberen Wohnung ist kontinuierlich gefiltertes Rigips und Dämmungs Leitungswasser ins Becken gelaufen viele Korallen und Fische kaputt, tot oder veralgt konnte nicht gegen an arbeiten. Becken abgebaut alles verkauft hab jetzt ein 110 Liter Becken. Das 1000 Liter steht noch und wartet. Wollte erst neue Wohnung dann 1000 Liter wieder aufbauen mit Süßwasser und dann weiß ich schon mal was der Wasserverbrauch ca ist. Klar größeres becken größere Wasseroberfläche etc.
                        Doch die Werte zu Wissen wäre schon Top. Nur halt gerne in Node-Red.
                        Und die ESPs machen ja was sie sollen. Habe damit auch schon selbst gebaute Dosierpumpen betrieben im ml bereich und ms bereich und das funzte dank @paul53 auch bombastisch gut. Nur ist mir Blockly suspekt ich verstehe da viele Schaltungen nicht, da finde ich Node-Red strukturierter komme damit noch sehr schlecht klar.
                        Es ist ein NodeMCU ESP8266 V3

                        So nun kennst du den gesamten Hintergrund.
                        ESP
                        Schwimmer
                        Magnetventil
                        Durchflussmesser.
                        Steuerung muss laufen.
                        Man könnte auch nur eine Schaltung bauen die den Puls Wert bei true/false errechnet und in einen Datenpunkt als ml schreibt und der eigentlichen Steuerung kann man sagen bei true warte 60 sekunden dann rechnen und werte in die Datenpunkte addieren und rechnungs Datenpunkt für die kalibrierung leeren.

                        geschildG Online
                        geschildG Online
                        geschild
                        schrieb am zuletzt editiert von geschild
                        #12

                        @aphofis Noch mehr Fragen: Der Schwimmerschalter schaltet im nodered direkt das Magnetventil. Wenn der Tankfüllstand im Bereich MInimum ist, schaltet der Schwimmerschalter bei jedem Schluck der Kaffeemaschine etwas hin und her, bis er stabil true sendet. Richtig? Das Magnetventl klappert dann etwas? Hat der Schwimmerschalter eine Hysterese, also, dass das Wasser im Tank sichtbar steigen muss, bis er wieder stabil false zeigt?

                        1 Antwort Letzte Antwort
                        0
                        • AphofisA Aphofis

                          @geschild
                          Ne dachte auch nicht aber dann weisst du das es nicht ganz banal ist eine Kaffeemaschine zu messen.

                          geschildG Online
                          geschildG Online
                          geschild
                          schrieb am zuletzt editiert von geschild
                          #13

                          @aphofis Hier mal ein erster Vorschlag: Schwimmer entprellen.json

                          Die beiden Inject simulieren den Schwimmerschalter.

                          Simulation Tank wird leer:
                          Inject true-false-true-false-true führt 2sek nach dem letzten 'true' zu einem 'true' am [Debug-Magnetschalter ein}.

                          Simulation Tank wird voll:
                          Inject false-true-false-true-false führt 2sek nach dem letzten 'false zu einem 'false' am [Debug-Magnetschalter aus]
                          und zu einem 'true' am [Debug-Counter lesen]
                          Man könnte den [Debug-Counter lesen] auch noch etwas verzögern, damit beim Lesen der Magnetschalter sicher geschlossen hat.

                          1 Antwort Letzte Antwort
                          0
                          • AphofisA Offline
                            AphofisA Offline
                            Aphofis
                            schrieb am zuletzt editiert von Aphofis
                            #14

                            @geschild
                            Ne es ist schon ein true signal da und dann auch false. nur halt ich sag mal innerhalb 500 ms wird true false geschaltet.
                            Der Schwimmer ist halt sehr genau.
                            Kannst du deinen letzten Post auch noch mal für nicht konforme Programmierer erklären !?

                            Kann man es nicht einfach so umstellen, das wenn schwimmer true dann warte 3 min dann rechne aus und schreibe in die datenpunkte setze durchfluss auf null und schicke http get an das tasmota um den counter zu resetten !?

                            geschildG 1 Antwort Letzte Antwort
                            0
                            • AphofisA Aphofis

                              @geschild
                              Ne es ist schon ein true signal da und dann auch false. nur halt ich sag mal innerhalb 500 ms wird true false geschaltet.
                              Der Schwimmer ist halt sehr genau.
                              Kannst du deinen letzten Post auch noch mal für nicht konforme Programmierer erklären !?

                              Kann man es nicht einfach so umstellen, das wenn schwimmer true dann warte 3 min dann rechne aus und schreibe in die datenpunkte setze durchfluss auf null und schicke http get an das tasmota um den counter zu resetten !?

                              geschildG Online
                              geschildG Online
                              geschild
                              schrieb am zuletzt editiert von
                              #15

                              @aphofis Hier mal das ganze in deinen flow eingebunden: Kaffemaschine neu.json

                              AphofisA 1 Antwort Letzte Antwort
                              0
                              • geschildG geschild

                                @aphofis Hier mal das ganze in deinen flow eingebunden: Kaffemaschine neu.json

                                AphofisA Offline
                                AphofisA Offline
                                Aphofis
                                schrieb am zuletzt editiert von Aphofis
                                #16

                                Ich guck mir das mal an.
                                Mal sehen ob ich das verstehe.
                                Vielen Dank schon mal
                                Dann mache ich mir doch mal einen Kaffee!!! :grin:
                                Also man sieht das die Steuerung arbeitet und die Delays anspringen aber es wird nichts in die Datenpunkte geschrieben & Tasmota Counter wird nicht zurück gesetzt.

                                Screenshot 2025-02-15 015136.png

                                Wo holt sich denn die Steuerung denn den Wert von dem Counter

                                sonoff.0.GordonX-Home-Kaffeemaschine.SENSOR.COUNTER.C1
                                

                                und rechnet den um und schreibt den in

                                0_userdata.0.Kaffeemaschine.Wasser_Durchfluss
                                

                                Nach der ganzen Wartezeit, muss der Durchfluss doch erstmal den wert vom Counter bekommen ich glaub das fehlt da irgenwie.

                                AphofisA 1 Antwort Letzte Antwort
                                0
                                • AphofisA Aphofis

                                  Ich guck mir das mal an.
                                  Mal sehen ob ich das verstehe.
                                  Vielen Dank schon mal
                                  Dann mache ich mir doch mal einen Kaffee!!! :grin:
                                  Also man sieht das die Steuerung arbeitet und die Delays anspringen aber es wird nichts in die Datenpunkte geschrieben & Tasmota Counter wird nicht zurück gesetzt.

                                  Screenshot 2025-02-15 015136.png

                                  Wo holt sich denn die Steuerung denn den Wert von dem Counter

                                  sonoff.0.GordonX-Home-Kaffeemaschine.SENSOR.COUNTER.C1
                                  

                                  und rechnet den um und schreibt den in

                                  0_userdata.0.Kaffeemaschine.Wasser_Durchfluss
                                  

                                  Nach der ganzen Wartezeit, muss der Durchfluss doch erstmal den wert vom Counter bekommen ich glaub das fehlt da irgenwie.

                                  AphofisA Offline
                                  AphofisA Offline
                                  Aphofis
                                  schrieb am zuletzt editiert von Aphofis
                                  #17

                                  Ich glaube im ersten durchfluss muss nicht der Datenpunkt durchfluss rein
                                  da muss glaube ich der counter rein und in der ersten rechnung wird ja der durchfluss mit dem counter wert errechnet also von puls in ml umgerechnet.

                                  Screenshot 2025-02-15 020110.png

                                  Also schnell austrinken und dann noch einen Kaffe hinterher produzieren.

                                  Jetzt wurde der durchfluss wert mit dem counter errechnet. vermutlich weil auf true false geprüft wird nur jetzt ist die frage wo wird dann nach der wartezeit der datenpunkt durchfluss resettet auf 0 !?

                                  Screenshot 2025-02-15 020522.png
                                  Die Werte sehen gut aus und kommt mit der Kaffee Menge auch hin.
                                  Werde Sonntag das Magnet ventil noch mal kalibrieren.

                                  AphofisA 1 Antwort Letzte Antwort
                                  0
                                  • AphofisA Aphofis

                                    Ich glaube im ersten durchfluss muss nicht der Datenpunkt durchfluss rein
                                    da muss glaube ich der counter rein und in der ersten rechnung wird ja der durchfluss mit dem counter wert errechnet also von puls in ml umgerechnet.

                                    Screenshot 2025-02-15 020110.png

                                    Also schnell austrinken und dann noch einen Kaffe hinterher produzieren.

                                    Jetzt wurde der durchfluss wert mit dem counter errechnet. vermutlich weil auf true false geprüft wird nur jetzt ist die frage wo wird dann nach der wartezeit der datenpunkt durchfluss resettet auf 0 !?

                                    Screenshot 2025-02-15 020522.png
                                    Die Werte sehen gut aus und kommt mit der Kaffee Menge auch hin.
                                    Werde Sonntag das Magnet ventil noch mal kalibrieren.

                                    AphofisA Offline
                                    AphofisA Offline
                                    Aphofis
                                    schrieb am zuletzt editiert von Aphofis
                                    #18

                                    So scheint es jetzt zu laufen !? Teste ich morgen noch mal genauer. Ob die delays ok sind weil die maschine beim einschalten ja schon den counter füllt. ab da laufen die delays ja schon also muss so lange laufen bis alles erledigt ist und man dann natürlich auf den zweiten Kaffe warten muss.

                                    Screenshot 2025-02-15 030712.png

                                    [
                                        {
                                            "id": "57f47df45469191a",
                                            "type": "tab",
                                            "label": "Wasertank Kaffe Neu",
                                            "disabled": false,
                                            "info": "",
                                            "env": []
                                        },
                                        {
                                            "id": "6b79e98a03c7d558",
                                            "type": "junction",
                                            "z": "57f47df45469191a",
                                            "x": 430,
                                            "y": 40,
                                            "wires": [
                                                [
                                                    "2abe9b4e2b8bd59f",
                                                    "1c8289437f02d28d"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "60f2c9666867f1f5",
                                            "type": "junction",
                                            "z": "57f47df45469191a",
                                            "x": 430,
                                            "y": 140,
                                            "wires": [
                                                [
                                                    "34cdcca2b8430dbe",
                                                    "513f1580376329e8"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "542411bf741f2b08",
                                            "type": "junction",
                                            "z": "57f47df45469191a",
                                            "x": 940,
                                            "y": 380,
                                            "wires": [
                                                [
                                                    "f6b34918e00ee539"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "13649107c9018426",
                                            "type": "ioBroker get",
                                            "z": "57f47df45469191a",
                                            "name": "jahr",
                                            "topic": "0_userdata.0.Kaffeemaschine.Wasser_Jahr",
                                            "attrname": "jahr",
                                            "payloadType": "value",
                                            "errOnInvalidState": "nothing",
                                            "x": 245,
                                            "y": 700,
                                            "wires": [
                                                [
                                                    "e9153c66d116c53b"
                                                ]
                                            ],
                                            "l": false
                                        },
                                        {
                                            "id": "e9153c66d116c53b",
                                            "type": "ioBroker get",
                                            "z": "57f47df45469191a",
                                            "name": "gesamt",
                                            "topic": "0_userdata.0.Kaffeemaschine.Wasser_Gesamt",
                                            "attrname": "gesamt",
                                            "payloadType": "value",
                                            "errOnInvalidState": "nothing",
                                            "x": 335,
                                            "y": 700,
                                            "wires": [
                                                [
                                                    "ca70e8a2d1e42876"
                                                ]
                                            ],
                                            "l": false
                                        },
                                        {
                                            "id": "cbbafc18c7a28016",
                                            "type": "debug",
                                            "z": "57f47df45469191a",
                                            "name": "Ausgabe Rechnung",
                                            "active": true,
                                            "tosidebar": true,
                                            "console": false,
                                            "tostatus": false,
                                            "complete": "true",
                                            "targetType": "full",
                                            "statusVal": "",
                                            "statusType": "auto",
                                            "x": 850,
                                            "y": 840,
                                            "wires": []
                                        },
                                        {
                                            "id": "44b5924ef3efb629",
                                            "type": "change",
                                            "z": "57f47df45469191a",
                                            "name": "rechnung",
                                            "rules": [
                                                {
                                                    "t": "set",
                                                    "p": "durchfluss",
                                                    "pt": "msg",
                                                    "to": "$round(durchfluss / 2.207,2)",
                                                    "tot": "jsonata"
                                                },
                                                {
                                                    "t": "set",
                                                    "p": "jahr",
                                                    "pt": "msg",
                                                    "to": "$round(durchfluss  / 1000 + jahr,2)",
                                                    "tot": "jsonata"
                                                },
                                                {
                                                    "t": "set",
                                                    "p": "gesamt",
                                                    "pt": "msg",
                                                    "to": "$round(durchfluss  / 1000 + gesamt,2)",
                                                    "tot": "jsonata"
                                                },
                                                {
                                                    "t": "set",
                                                    "p": "tag",
                                                    "pt": "msg",
                                                    "to": "$round(durchfluss  + tag,2)",
                                                    "tot": "jsonata"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 600,
                                            "y": 700,
                                            "wires": [
                                                [
                                                    "3cadfd8c1dbfa20b",
                                                    "5e2dc84502fe15bc",
                                                    "9dd3ce02d730f224",
                                                    "f789b44727c86701",
                                                    "cbbafc18c7a28016"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "65e798b0af11b036",
                                            "type": "ioBroker get",
                                            "z": "57f47df45469191a",
                                            "name": "count",
                                            "topic": "sonoff.0.GordonX-Home-Kaffeemaschine.SENSOR.COUNTER.C1",
                                            "attrname": "durchfluss",
                                            "payloadType": "value",
                                            "errOnInvalidState": "nothing",
                                            "x": 65,
                                            "y": 700,
                                            "wires": [
                                                [
                                                    "7fe41aeac2afc960"
                                                ]
                                            ],
                                            "l": false
                                        },
                                        {
                                            "id": "2f31af30b00a2e0d",
                                            "type": "ioBroker out",
                                            "z": "57f47df45469191a",
                                            "name": "durchfl.",
                                            "topic": "0_userdata.0.Kaffeemaschine.Wasser_Durchfluss",
                                            "ack": "false",
                                            "autoCreate": "false",
                                            "stateName": "",
                                            "role": "",
                                            "payloadType": "",
                                            "readonly": "",
                                            "stateUnit": "",
                                            "stateMin": "",
                                            "stateMax": "",
                                            "x": 1060,
                                            "y": 600,
                                            "wires": []
                                        },
                                        {
                                            "id": "1e60f0c6483fb618",
                                            "type": "ioBroker out",
                                            "z": "57f47df45469191a",
                                            "name": "tag",
                                            "topic": "0_userdata.0.Kaffeemaschine.Wasser_Tag",
                                            "ack": "false",
                                            "autoCreate": "false",
                                            "stateName": "",
                                            "role": "",
                                            "payloadType": "",
                                            "readonly": "",
                                            "stateUnit": "",
                                            "stateMin": "",
                                            "stateMax": "",
                                            "x": 1050,
                                            "y": 660,
                                            "wires": []
                                        },
                                        {
                                            "id": "b3ba72380c43f293",
                                            "type": "ioBroker out",
                                            "z": "57f47df45469191a",
                                            "name": "jahr",
                                            "topic": "0_userdata.0.Kaffeemaschine.Wasser_Jahr",
                                            "ack": "false",
                                            "autoCreate": "false",
                                            "stateName": "",
                                            "role": "",
                                            "payloadType": "",
                                            "readonly": "",
                                            "stateUnit": "",
                                            "stateMin": "",
                                            "stateMax": "",
                                            "x": 1050,
                                            "y": 720,
                                            "wires": []
                                        },
                                        {
                                            "id": "12a33a4a325f5704",
                                            "type": "ioBroker out",
                                            "z": "57f47df45469191a",
                                            "name": "gesamt",
                                            "topic": "0_userdata.0.Kaffeemaschine.Wasser_Gesamt",
                                            "ack": "false",
                                            "autoCreate": "false",
                                            "stateName": "",
                                            "role": "",
                                            "payloadType": "",
                                            "readonly": "",
                                            "stateUnit": "",
                                            "stateMin": "",
                                            "stateMax": "",
                                            "x": 1060,
                                            "y": 780,
                                            "wires": []
                                        },
                                        {
                                            "id": "7fe41aeac2afc960",
                                            "type": "ioBroker get",
                                            "z": "57f47df45469191a",
                                            "name": "tag",
                                            "topic": "0_userdata.0.Kaffeemaschine.Wasser_Tag",
                                            "attrname": "tag",
                                            "payloadType": "value",
                                            "errOnInvalidState": "nothing",
                                            "x": 155,
                                            "y": 700,
                                            "wires": [
                                                [
                                                    "13649107c9018426"
                                                ]
                                            ],
                                            "l": false
                                        },
                                        {
                                            "id": "5e2dc84502fe15bc",
                                            "type": "change",
                                            "z": "57f47df45469191a",
                                            "name": "",
                                            "rules": [
                                                {
                                                    "t": "set",
                                                    "p": "payload",
                                                    "pt": "msg",
                                                    "to": "durchfluss",
                                                    "tot": "msg"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 850,
                                            "y": 600,
                                            "wires": [
                                                [
                                                    "2f31af30b00a2e0d"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "9dd3ce02d730f224",
                                            "type": "change",
                                            "z": "57f47df45469191a",
                                            "name": "",
                                            "rules": [
                                                {
                                                    "t": "set",
                                                    "p": "payload",
                                                    "pt": "msg",
                                                    "to": "tag",
                                                    "tot": "msg"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 850,
                                            "y": 660,
                                            "wires": [
                                                [
                                                    "1e60f0c6483fb618"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "f789b44727c86701",
                                            "type": "change",
                                            "z": "57f47df45469191a",
                                            "name": "",
                                            "rules": [
                                                {
                                                    "t": "set",
                                                    "p": "payload",
                                                    "pt": "msg",
                                                    "to": "jahr",
                                                    "tot": "msg"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 850,
                                            "y": 720,
                                            "wires": [
                                                [
                                                    "b3ba72380c43f293"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "3cadfd8c1dbfa20b",
                                            "type": "change",
                                            "z": "57f47df45469191a",
                                            "name": "",
                                            "rules": [
                                                {
                                                    "t": "set",
                                                    "p": "payload",
                                                    "pt": "msg",
                                                    "to": "gesamt",
                                                    "tot": "msg"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 850,
                                            "y": 780,
                                            "wires": [
                                                [
                                                    "12a33a4a325f5704"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "f6b34918e00ee539",
                                            "type": "ioBroker out",
                                            "z": "57f47df45469191a",
                                            "name": "Magnetventil",
                                            "topic": "sonoff.0.GordonX-Home-Kaffeemaschine.POWER2",
                                            "ack": "false",
                                            "autoCreate": "false",
                                            "stateName": "",
                                            "role": "",
                                            "payloadType": "",
                                            "readonly": "",
                                            "stateUnit": "",
                                            "stateMin": "",
                                            "stateMax": "",
                                            "x": 1170,
                                            "y": 380,
                                            "wires": []
                                        },
                                        {
                                            "id": "a7aee810793358d4",
                                            "type": "ioBroker in",
                                            "z": "57f47df45469191a",
                                            "name": "Schwimmer",
                                            "attrname": "payload",
                                            "topic": "sonoff.0.GordonX-Home-Kaffeemaschine.POWER1",
                                            "payloadType": "value",
                                            "onlyack": "",
                                            "func": "all",
                                            "gap": "",
                                            "fireOnStart": "false",
                                            "outFormat": "MQTT",
                                            "x": 110,
                                            "y": 440,
                                            "wires": [
                                                [
                                                    "f60ac0ca806c32a9",
                                                    "bd9e4c4480c0d54e",
                                                    "f80b36ef40dba067"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "1c8289437f02d28d",
                                            "type": "debug",
                                            "z": "57f47df45469191a",
                                            "name": "Tag Reset",
                                            "active": true,
                                            "tosidebar": true,
                                            "console": false,
                                            "tostatus": false,
                                            "complete": "payload",
                                            "targetType": "msg",
                                            "statusVal": "",
                                            "statusType": "auto",
                                            "x": 520,
                                            "y": 20,
                                            "wires": []
                                        },
                                        {
                                            "id": "2abe9b4e2b8bd59f",
                                            "type": "ioBroker out",
                                            "z": "57f47df45469191a",
                                            "name": "tag",
                                            "topic": "0_userdata.0.Kaffeemaschine.Wasser_Tag",
                                            "ack": "true",
                                            "autoCreate": "false",
                                            "stateName": "",
                                            "role": "",
                                            "payloadType": "",
                                            "readonly": "",
                                            "stateUnit": "",
                                            "stateMin": "",
                                            "stateMax": "",
                                            "x": 510,
                                            "y": 60,
                                            "wires": []
                                        },
                                        {
                                            "id": "204ce8ed94afc854",
                                            "type": "http request",
                                            "z": "57f47df45469191a",
                                            "name": "Senden",
                                            "method": "GET",
                                            "ret": "txt",
                                            "paytoqs": "ignore",
                                            "url": "http://192.168.0.96/cm?user=user&password=password&cmnd=counter1%200",
                                            "tls": "",
                                            "persist": false,
                                            "proxy": "",
                                            "insecureHTTPParser": false,
                                            "authType": "",
                                            "senderr": false,
                                            "headers": [],
                                            "x": 1120,
                                            "y": 240,
                                            "wires": [
                                                [
                                                    "fc91906f018dd65d"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "df44712c5b90825f",
                                            "type": "change",
                                            "z": "57f47df45469191a",
                                            "name": "Aqua Counter Reset",
                                            "rules": [
                                                {
                                                    "t": "set",
                                                    "p": "url",
                                                    "pt": "msg",
                                                    "to": "payload",
                                                    "tot": "msg"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 760,
                                            "y": 240,
                                            "wires": [
                                                [
                                                    "e47538d2c25a955b"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "fc91906f018dd65d",
                                            "type": "debug",
                                            "z": "57f47df45469191a",
                                            "name": "Ausgabe Reset",
                                            "active": true,
                                            "tosidebar": true,
                                            "console": false,
                                            "tostatus": false,
                                            "complete": "payload",
                                            "targetType": "msg",
                                            "statusVal": "",
                                            "statusType": "auto",
                                            "x": 1280,
                                            "y": 240,
                                            "wires": []
                                        },
                                        {
                                            "id": "c2a42c63f9bd1067",
                                            "type": "delay",
                                            "z": "57f47df45469191a",
                                            "name": "warte 60sek",
                                            "pauseType": "delay",
                                            "timeout": "1",
                                            "timeoutUnits": "seconds",
                                            "rate": "1",
                                            "nbRateUnits": "1",
                                            "rateUnits": "second",
                                            "randomFirst": "1",
                                            "randomLast": "5",
                                            "randomUnits": "seconds",
                                            "drop": false,
                                            "allowrate": false,
                                            "outputs": 1,
                                            "x": 570,
                                            "y": 240,
                                            "wires": [
                                                [
                                                    "df44712c5b90825f"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "513f1580376329e8",
                                            "type": "debug",
                                            "z": "57f47df45469191a",
                                            "name": "Jahr Reset",
                                            "active": true,
                                            "tosidebar": true,
                                            "console": false,
                                            "tostatus": false,
                                            "complete": "payload",
                                            "targetType": "msg",
                                            "statusVal": "",
                                            "statusType": "auto",
                                            "x": 530,
                                            "y": 120,
                                            "wires": []
                                        },
                                        {
                                            "id": "34cdcca2b8430dbe",
                                            "type": "ioBroker out",
                                            "z": "57f47df45469191a",
                                            "name": "Jahr",
                                            "topic": "0_userdata.0.Kaffeemaschine.Wasser_Jahr",
                                            "ack": "true",
                                            "autoCreate": "false",
                                            "stateName": "",
                                            "role": "",
                                            "payloadType": "",
                                            "readonly": "",
                                            "stateUnit": "",
                                            "stateMin": "",
                                            "stateMax": "",
                                            "x": 510,
                                            "y": 160,
                                            "wires": []
                                        },
                                        {
                                            "id": "9eb9d437d9e6e723",
                                            "type": "change",
                                            "z": "57f47df45469191a",
                                            "name": "Tag Reset",
                                            "rules": [
                                                {
                                                    "t": "set",
                                                    "p": "payload",
                                                    "pt": "msg",
                                                    "to": "0",
                                                    "tot": "num"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 320,
                                            "y": 40,
                                            "wires": [
                                                [
                                                    "6b79e98a03c7d558"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "40f2e95147eee6e4",
                                            "type": "change",
                                            "z": "57f47df45469191a",
                                            "name": "Jahr Reset",
                                            "rules": [
                                                {
                                                    "t": "set",
                                                    "p": "payload",
                                                    "pt": "msg",
                                                    "to": "0",
                                                    "tot": "num"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 330,
                                            "y": 140,
                                            "wires": [
                                                [
                                                    "60f2c9666867f1f5"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "4bc79cd25cf2de2c",
                                            "type": "inject",
                                            "z": "57f47df45469191a",
                                            "name": "Counter Reset Manuell",
                                            "props": [
                                                {
                                                    "p": "payload"
                                                }
                                            ],
                                            "repeat": "",
                                            "crontab": "",
                                            "once": false,
                                            "onceDelay": 0.1,
                                            "topic": "",
                                            "payload": "true",
                                            "payloadType": "bool",
                                            "x": 320,
                                            "y": 240,
                                            "wires": [
                                                [
                                                    "c2a42c63f9bd1067"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "ca70e8a2d1e42876",
                                            "type": "delay",
                                            "z": "57f47df45469191a",
                                            "name": "warte 30sek",
                                            "pauseType": "delay",
                                            "timeout": "30",
                                            "timeoutUnits": "seconds",
                                            "rate": "1",
                                            "nbRateUnits": "1",
                                            "rateUnits": "second",
                                            "randomFirst": "1",
                                            "randomLast": "5",
                                            "randomUnits": "seconds",
                                            "drop": false,
                                            "allowrate": false,
                                            "outputs": 1,
                                            "x": 450,
                                            "y": 700,
                                            "wires": [
                                                [
                                                    "44b5924ef3efb629"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "e47538d2c25a955b",
                                            "type": "delay",
                                            "z": "57f47df45469191a",
                                            "name": "warte 70sek",
                                            "pauseType": "delay",
                                            "timeout": "1",
                                            "timeoutUnits": "seconds",
                                            "rate": "1",
                                            "nbRateUnits": "1",
                                            "rateUnits": "second",
                                            "randomFirst": "1",
                                            "randomLast": "5",
                                            "randomUnits": "seconds",
                                            "drop": false,
                                            "allowrate": false,
                                            "outputs": 1,
                                            "x": 950,
                                            "y": 240,
                                            "wires": [
                                                [
                                                    "204ce8ed94afc854"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "42e9bb25fbc436e5",
                                            "type": "cronplus",
                                            "z": "57f47df45469191a",
                                            "name": "Aqua Tag Reset",
                                            "outputField": "payload",
                                            "timeZone": "",
                                            "storeName": "",
                                            "commandResponseMsgOutput": "output1",
                                            "defaultLocation": "",
                                            "defaultLocationType": "default",
                                            "outputs": 1,
                                            "options": [
                                                {
                                                    "name": "Zeitplan",
                                                    "topic": "Counter Aqua Reset",
                                                    "payloadType": "default",
                                                    "payload": "",
                                                    "expressionType": "cron",
                                                    "expression": "0 0 0 * * ? *",
                                                    "location": "",
                                                    "offset": "0",
                                                    "solarType": "all",
                                                    "solarEvents": "sunrise,sunset"
                                                }
                                            ],
                                            "x": 120,
                                            "y": 40,
                                            "wires": [
                                                [
                                                    "9eb9d437d9e6e723"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "16bbc7cef0219d28",
                                            "type": "cronplus",
                                            "z": "57f47df45469191a",
                                            "name": "Aqua Jahr Reset",
                                            "outputField": "payload",
                                            "timeZone": "",
                                            "storeName": "",
                                            "commandResponseMsgOutput": "output1",
                                            "defaultLocation": "",
                                            "defaultLocationType": "default",
                                            "outputs": 1,
                                            "options": [
                                                {
                                                    "name": "Zeitplan",
                                                    "topic": "Counter Aqua Reset",
                                                    "payloadType": "default",
                                                    "payload": "",
                                                    "expressionType": "cron",
                                                    "expression": "0 0 0 31 12 ? *",
                                                    "location": "",
                                                    "offset": "0",
                                                    "solarType": "all",
                                                    "solarEvents": "sunrise,sunset"
                                                }
                                            ],
                                            "x": 130,
                                            "y": 140,
                                            "wires": [
                                                [
                                                    "40f2e95147eee6e4"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "9ea6bd731fca5dc3",
                                            "type": "trigger",
                                            "z": "57f47df45469191a",
                                            "name": "Triggger nach 2sek stabil true",
                                            "op1": "",
                                            "op2": "true",
                                            "op1type": "nul",
                                            "op2type": "bool",
                                            "duration": "2000",
                                            "extend": false,
                                            "overrideDelay": false,
                                            "units": "ms",
                                            "reset": "",
                                            "bytopic": "all",
                                            "topic": "topic",
                                            "outputs": 2,
                                            "x": 630,
                                            "y": 420,
                                            "wires": [
                                                [],
                                                [
                                                    "88bc1672bac70da9",
                                                    "542411bf741f2b08"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "88bc1672bac70da9",
                                            "type": "debug",
                                            "z": "57f47df45469191a",
                                            "name": "Magnetschalter ein",
                                            "active": true,
                                            "tosidebar": true,
                                            "console": false,
                                            "tostatus": false,
                                            "complete": "payload",
                                            "targetType": "msg",
                                            "statusVal": "",
                                            "statusType": "auto",
                                            "x": 910,
                                            "y": 340,
                                            "wires": []
                                        },
                                        {
                                            "id": "f60ac0ca806c32a9",
                                            "type": "function",
                                            "z": "57f47df45469191a",
                                            "name": "true->Start-false->Reset Trigger",
                                            "func": "let news = msg.payload;\n\nif(news == true){\n    msg.payload = true;\n    return msg;\n}\nif(news == false){\n    msg.reset = true;\n    return msg;\n}\n",
                                            "outputs": 1,
                                            "timeout": 0,
                                            "noerr": 0,
                                            "initialize": "",
                                            "finalize": "",
                                            "libs": [],
                                            "x": 350,
                                            "y": 420,
                                            "wires": [
                                                [
                                                    "9ea6bd731fca5dc3"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "5f9ad613d80393e6",
                                            "type": "trigger",
                                            "z": "57f47df45469191a",
                                            "name": "Trigger nach 2sek stabli false",
                                            "op1": "",
                                            "op2": "true",
                                            "op1type": "nul",
                                            "op2type": "bool",
                                            "duration": "2000",
                                            "extend": false,
                                            "overrideDelay": false,
                                            "units": "ms",
                                            "reset": "",
                                            "bytopic": "all",
                                            "topic": "topic",
                                            "outputs": 2,
                                            "x": 620,
                                            "y": 480,
                                            "wires": [
                                                [],
                                                [
                                                    "120a6dd3771ba5a4",
                                                    "46e8b52eb69c4015"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "b17cb1d4b5701144",
                                            "type": "debug",
                                            "z": "57f47df45469191a",
                                            "name": "Counter lesen",
                                            "active": true,
                                            "tosidebar": true,
                                            "console": false,
                                            "tostatus": false,
                                            "complete": "payload",
                                            "targetType": "msg",
                                            "statusVal": "",
                                            "statusType": "auto",
                                            "x": 1180,
                                            "y": 480,
                                            "wires": []
                                        },
                                        {
                                            "id": "bd9e4c4480c0d54e",
                                            "type": "function",
                                            "z": "57f47df45469191a",
                                            "name": "false->Start-true->Reset Trigger",
                                            "func": "let news = msg.payload;\n\nif(news == false){\n    msg.payload = true;\n    return msg;\n}\nif(news == true){\n    msg.reset = true;\n    return msg;\n}\n",
                                            "outputs": 1,
                                            "timeout": 0,
                                            "noerr": 0,
                                            "initialize": "",
                                            "finalize": "",
                                            "libs": [],
                                            "x": 350,
                                            "y": 480,
                                            "wires": [
                                                [
                                                    "5f9ad613d80393e6"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "120a6dd3771ba5a4",
                                            "type": "change",
                                            "z": "57f47df45469191a",
                                            "name": "true -> false",
                                            "rules": [
                                                {
                                                    "t": "change",
                                                    "p": "payload",
                                                    "pt": "msg",
                                                    "from": "true",
                                                    "fromt": "bool",
                                                    "to": "false",
                                                    "tot": "bool"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 970,
                                            "y": 440,
                                            "wires": [
                                                [
                                                    "66ebfbae27154f3d",
                                                    "f6b34918e00ee539"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "66ebfbae27154f3d",
                                            "type": "debug",
                                            "z": "57f47df45469191a",
                                            "name": "Magnetschalter aus",
                                            "active": true,
                                            "tosidebar": true,
                                            "console": false,
                                            "tostatus": false,
                                            "complete": "payload",
                                            "targetType": "msg",
                                            "statusVal": "",
                                            "statusType": "auto",
                                            "x": 1190,
                                            "y": 440,
                                            "wires": []
                                        },
                                        {
                                            "id": "46e8b52eb69c4015",
                                            "type": "delay",
                                            "z": "57f47df45469191a",
                                            "name": "warte 1s",
                                            "pauseType": "delay",
                                            "timeout": "1",
                                            "timeoutUnits": "seconds",
                                            "rate": "1",
                                            "nbRateUnits": "1",
                                            "rateUnits": "second",
                                            "randomFirst": "1",
                                            "randomLast": "5",
                                            "randomUnits": "seconds",
                                            "drop": false,
                                            "allowrate": false,
                                            "outputs": 1,
                                            "x": 960,
                                            "y": 500,
                                            "wires": [
                                                [
                                                    "b17cb1d4b5701144",
                                                    "a0caeaab1081c8ab"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "a0caeaab1081c8ab",
                                            "type": "link out",
                                            "z": "57f47df45469191a",
                                            "name": "link out 1",
                                            "mode": "link",
                                            "links": [
                                                "7c5bf6467d2f9344"
                                            ],
                                            "x": 1115,
                                            "y": 520,
                                            "wires": []
                                        },
                                        {
                                            "id": "7c5bf6467d2f9344",
                                            "type": "link in",
                                            "z": "57f47df45469191a",
                                            "name": "link in 1",
                                            "links": [
                                                "a0caeaab1081c8ab"
                                            ],
                                            "x": 65,
                                            "y": 600,
                                            "wires": [
                                                [
                                                    "65e798b0af11b036"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "c8e12936e353427e",
                                            "type": "ioBroker out",
                                            "z": "57f47df45469191a",
                                            "name": "durchfl.",
                                            "topic": "0_userdata.0.Kaffeemaschine.Wasser_Durchfluss",
                                            "ack": "true",
                                            "autoCreate": "false",
                                            "stateName": "",
                                            "role": "",
                                            "payloadType": "",
                                            "readonly": "",
                                            "stateUnit": "",
                                            "stateMin": "",
                                            "stateMax": "",
                                            "x": 580,
                                            "y": 540,
                                            "wires": []
                                        },
                                        {
                                            "id": "f80b36ef40dba067",
                                            "type": "delay",
                                            "z": "57f47df45469191a",
                                            "name": "warte 70s",
                                            "pauseType": "delay",
                                            "timeout": "70",
                                            "timeoutUnits": "seconds",
                                            "rate": "1",
                                            "nbRateUnits": "1",
                                            "rateUnits": "second",
                                            "randomFirst": "1",
                                            "randomLast": "5",
                                            "randomUnits": "seconds",
                                            "drop": false,
                                            "allowrate": false,
                                            "outputs": 1,
                                            "x": 280,
                                            "y": 540,
                                            "wires": [
                                                [
                                                    "40da82c58be24d99"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "40da82c58be24d99",
                                            "type": "change",
                                            "z": "57f47df45469191a",
                                            "name": "Tag Reset",
                                            "rules": [
                                                {
                                                    "t": "set",
                                                    "p": "payload",
                                                    "pt": "msg",
                                                    "to": "0",
                                                    "tot": "num"
                                                }
                                            ],
                                            "action": "",
                                            "property": "",
                                            "from": "",
                                            "to": "",
                                            "reg": false,
                                            "x": 420,
                                            "y": 540,
                                            "wires": [
                                                [
                                                    "c8e12936e353427e"
                                                ]
                                            ]
                                        }
                                    ]
                                    

                                    Screenshot 2025-02-15 030038.png

                                    geschildG 1 Antwort Letzte Antwort
                                    0
                                    • AphofisA Aphofis

                                      So scheint es jetzt zu laufen !? Teste ich morgen noch mal genauer. Ob die delays ok sind weil die maschine beim einschalten ja schon den counter füllt. ab da laufen die delays ja schon also muss so lange laufen bis alles erledigt ist und man dann natürlich auf den zweiten Kaffe warten muss.

                                      Screenshot 2025-02-15 030712.png

                                      [
                                          {
                                              "id": "57f47df45469191a",
                                              "type": "tab",
                                              "label": "Wasertank Kaffe Neu",
                                              "disabled": false,
                                              "info": "",
                                              "env": []
                                          },
                                          {
                                              "id": "6b79e98a03c7d558",
                                              "type": "junction",
                                              "z": "57f47df45469191a",
                                              "x": 430,
                                              "y": 40,
                                              "wires": [
                                                  [
                                                      "2abe9b4e2b8bd59f",
                                                      "1c8289437f02d28d"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "60f2c9666867f1f5",
                                              "type": "junction",
                                              "z": "57f47df45469191a",
                                              "x": 430,
                                              "y": 140,
                                              "wires": [
                                                  [
                                                      "34cdcca2b8430dbe",
                                                      "513f1580376329e8"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "542411bf741f2b08",
                                              "type": "junction",
                                              "z": "57f47df45469191a",
                                              "x": 940,
                                              "y": 380,
                                              "wires": [
                                                  [
                                                      "f6b34918e00ee539"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "13649107c9018426",
                                              "type": "ioBroker get",
                                              "z": "57f47df45469191a",
                                              "name": "jahr",
                                              "topic": "0_userdata.0.Kaffeemaschine.Wasser_Jahr",
                                              "attrname": "jahr",
                                              "payloadType": "value",
                                              "errOnInvalidState": "nothing",
                                              "x": 245,
                                              "y": 700,
                                              "wires": [
                                                  [
                                                      "e9153c66d116c53b"
                                                  ]
                                              ],
                                              "l": false
                                          },
                                          {
                                              "id": "e9153c66d116c53b",
                                              "type": "ioBroker get",
                                              "z": "57f47df45469191a",
                                              "name": "gesamt",
                                              "topic": "0_userdata.0.Kaffeemaschine.Wasser_Gesamt",
                                              "attrname": "gesamt",
                                              "payloadType": "value",
                                              "errOnInvalidState": "nothing",
                                              "x": 335,
                                              "y": 700,
                                              "wires": [
                                                  [
                                                      "ca70e8a2d1e42876"
                                                  ]
                                              ],
                                              "l": false
                                          },
                                          {
                                              "id": "cbbafc18c7a28016",
                                              "type": "debug",
                                              "z": "57f47df45469191a",
                                              "name": "Ausgabe Rechnung",
                                              "active": true,
                                              "tosidebar": true,
                                              "console": false,
                                              "tostatus": false,
                                              "complete": "true",
                                              "targetType": "full",
                                              "statusVal": "",
                                              "statusType": "auto",
                                              "x": 850,
                                              "y": 840,
                                              "wires": []
                                          },
                                          {
                                              "id": "44b5924ef3efb629",
                                              "type": "change",
                                              "z": "57f47df45469191a",
                                              "name": "rechnung",
                                              "rules": [
                                                  {
                                                      "t": "set",
                                                      "p": "durchfluss",
                                                      "pt": "msg",
                                                      "to": "$round(durchfluss / 2.207,2)",
                                                      "tot": "jsonata"
                                                  },
                                                  {
                                                      "t": "set",
                                                      "p": "jahr",
                                                      "pt": "msg",
                                                      "to": "$round(durchfluss  / 1000 + jahr,2)",
                                                      "tot": "jsonata"
                                                  },
                                                  {
                                                      "t": "set",
                                                      "p": "gesamt",
                                                      "pt": "msg",
                                                      "to": "$round(durchfluss  / 1000 + gesamt,2)",
                                                      "tot": "jsonata"
                                                  },
                                                  {
                                                      "t": "set",
                                                      "p": "tag",
                                                      "pt": "msg",
                                                      "to": "$round(durchfluss  + tag,2)",
                                                      "tot": "jsonata"
                                                  }
                                              ],
                                              "action": "",
                                              "property": "",
                                              "from": "",
                                              "to": "",
                                              "reg": false,
                                              "x": 600,
                                              "y": 700,
                                              "wires": [
                                                  [
                                                      "3cadfd8c1dbfa20b",
                                                      "5e2dc84502fe15bc",
                                                      "9dd3ce02d730f224",
                                                      "f789b44727c86701",
                                                      "cbbafc18c7a28016"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "65e798b0af11b036",
                                              "type": "ioBroker get",
                                              "z": "57f47df45469191a",
                                              "name": "count",
                                              "topic": "sonoff.0.GordonX-Home-Kaffeemaschine.SENSOR.COUNTER.C1",
                                              "attrname": "durchfluss",
                                              "payloadType": "value",
                                              "errOnInvalidState": "nothing",
                                              "x": 65,
                                              "y": 700,
                                              "wires": [
                                                  [
                                                      "7fe41aeac2afc960"
                                                  ]
                                              ],
                                              "l": false
                                          },
                                          {
                                              "id": "2f31af30b00a2e0d",
                                              "type": "ioBroker out",
                                              "z": "57f47df45469191a",
                                              "name": "durchfl.",
                                              "topic": "0_userdata.0.Kaffeemaschine.Wasser_Durchfluss",
                                              "ack": "false",
                                              "autoCreate": "false",
                                              "stateName": "",
                                              "role": "",
                                              "payloadType": "",
                                              "readonly": "",
                                              "stateUnit": "",
                                              "stateMin": "",
                                              "stateMax": "",
                                              "x": 1060,
                                              "y": 600,
                                              "wires": []
                                          },
                                          {
                                              "id": "1e60f0c6483fb618",
                                              "type": "ioBroker out",
                                              "z": "57f47df45469191a",
                                              "name": "tag",
                                              "topic": "0_userdata.0.Kaffeemaschine.Wasser_Tag",
                                              "ack": "false",
                                              "autoCreate": "false",
                                              "stateName": "",
                                              "role": "",
                                              "payloadType": "",
                                              "readonly": "",
                                              "stateUnit": "",
                                              "stateMin": "",
                                              "stateMax": "",
                                              "x": 1050,
                                              "y": 660,
                                              "wires": []
                                          },
                                          {
                                              "id": "b3ba72380c43f293",
                                              "type": "ioBroker out",
                                              "z": "57f47df45469191a",
                                              "name": "jahr",
                                              "topic": "0_userdata.0.Kaffeemaschine.Wasser_Jahr",
                                              "ack": "false",
                                              "autoCreate": "false",
                                              "stateName": "",
                                              "role": "",
                                              "payloadType": "",
                                              "readonly": "",
                                              "stateUnit": "",
                                              "stateMin": "",
                                              "stateMax": "",
                                              "x": 1050,
                                              "y": 720,
                                              "wires": []
                                          },
                                          {
                                              "id": "12a33a4a325f5704",
                                              "type": "ioBroker out",
                                              "z": "57f47df45469191a",
                                              "name": "gesamt",
                                              "topic": "0_userdata.0.Kaffeemaschine.Wasser_Gesamt",
                                              "ack": "false",
                                              "autoCreate": "false",
                                              "stateName": "",
                                              "role": "",
                                              "payloadType": "",
                                              "readonly": "",
                                              "stateUnit": "",
                                              "stateMin": "",
                                              "stateMax": "",
                                              "x": 1060,
                                              "y": 780,
                                              "wires": []
                                          },
                                          {
                                              "id": "7fe41aeac2afc960",
                                              "type": "ioBroker get",
                                              "z": "57f47df45469191a",
                                              "name": "tag",
                                              "topic": "0_userdata.0.Kaffeemaschine.Wasser_Tag",
                                              "attrname": "tag",
                                              "payloadType": "value",
                                              "errOnInvalidState": "nothing",
                                              "x": 155,
                                              "y": 700,
                                              "wires": [
                                                  [
                                                      "13649107c9018426"
                                                  ]
                                              ],
                                              "l": false
                                          },
                                          {
                                              "id": "5e2dc84502fe15bc",
                                              "type": "change",
                                              "z": "57f47df45469191a",
                                              "name": "",
                                              "rules": [
                                                  {
                                                      "t": "set",
                                                      "p": "payload",
                                                      "pt": "msg",
                                                      "to": "durchfluss",
                                                      "tot": "msg"
                                                  }
                                              ],
                                              "action": "",
                                              "property": "",
                                              "from": "",
                                              "to": "",
                                              "reg": false,
                                              "x": 850,
                                              "y": 600,
                                              "wires": [
                                                  [
                                                      "2f31af30b00a2e0d"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "9dd3ce02d730f224",
                                              "type": "change",
                                              "z": "57f47df45469191a",
                                              "name": "",
                                              "rules": [
                                                  {
                                                      "t": "set",
                                                      "p": "payload",
                                                      "pt": "msg",
                                                      "to": "tag",
                                                      "tot": "msg"
                                                  }
                                              ],
                                              "action": "",
                                              "property": "",
                                              "from": "",
                                              "to": "",
                                              "reg": false,
                                              "x": 850,
                                              "y": 660,
                                              "wires": [
                                                  [
                                                      "1e60f0c6483fb618"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "f789b44727c86701",
                                              "type": "change",
                                              "z": "57f47df45469191a",
                                              "name": "",
                                              "rules": [
                                                  {
                                                      "t": "set",
                                                      "p": "payload",
                                                      "pt": "msg",
                                                      "to": "jahr",
                                                      "tot": "msg"
                                                  }
                                              ],
                                              "action": "",
                                              "property": "",
                                              "from": "",
                                              "to": "",
                                              "reg": false,
                                              "x": 850,
                                              "y": 720,
                                              "wires": [
                                                  [
                                                      "b3ba72380c43f293"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "3cadfd8c1dbfa20b",
                                              "type": "change",
                                              "z": "57f47df45469191a",
                                              "name": "",
                                              "rules": [
                                                  {
                                                      "t": "set",
                                                      "p": "payload",
                                                      "pt": "msg",
                                                      "to": "gesamt",
                                                      "tot": "msg"
                                                  }
                                              ],
                                              "action": "",
                                              "property": "",
                                              "from": "",
                                              "to": "",
                                              "reg": false,
                                              "x": 850,
                                              "y": 780,
                                              "wires": [
                                                  [
                                                      "12a33a4a325f5704"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "f6b34918e00ee539",
                                              "type": "ioBroker out",
                                              "z": "57f47df45469191a",
                                              "name": "Magnetventil",
                                              "topic": "sonoff.0.GordonX-Home-Kaffeemaschine.POWER2",
                                              "ack": "false",
                                              "autoCreate": "false",
                                              "stateName": "",
                                              "role": "",
                                              "payloadType": "",
                                              "readonly": "",
                                              "stateUnit": "",
                                              "stateMin": "",
                                              "stateMax": "",
                                              "x": 1170,
                                              "y": 380,
                                              "wires": []
                                          },
                                          {
                                              "id": "a7aee810793358d4",
                                              "type": "ioBroker in",
                                              "z": "57f47df45469191a",
                                              "name": "Schwimmer",
                                              "attrname": "payload",
                                              "topic": "sonoff.0.GordonX-Home-Kaffeemaschine.POWER1",
                                              "payloadType": "value",
                                              "onlyack": "",
                                              "func": "all",
                                              "gap": "",
                                              "fireOnStart": "false",
                                              "outFormat": "MQTT",
                                              "x": 110,
                                              "y": 440,
                                              "wires": [
                                                  [
                                                      "f60ac0ca806c32a9",
                                                      "bd9e4c4480c0d54e",
                                                      "f80b36ef40dba067"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "1c8289437f02d28d",
                                              "type": "debug",
                                              "z": "57f47df45469191a",
                                              "name": "Tag Reset",
                                              "active": true,
                                              "tosidebar": true,
                                              "console": false,
                                              "tostatus": false,
                                              "complete": "payload",
                                              "targetType": "msg",
                                              "statusVal": "",
                                              "statusType": "auto",
                                              "x": 520,
                                              "y": 20,
                                              "wires": []
                                          },
                                          {
                                              "id": "2abe9b4e2b8bd59f",
                                              "type": "ioBroker out",
                                              "z": "57f47df45469191a",
                                              "name": "tag",
                                              "topic": "0_userdata.0.Kaffeemaschine.Wasser_Tag",
                                              "ack": "true",
                                              "autoCreate": "false",
                                              "stateName": "",
                                              "role": "",
                                              "payloadType": "",
                                              "readonly": "",
                                              "stateUnit": "",
                                              "stateMin": "",
                                              "stateMax": "",
                                              "x": 510,
                                              "y": 60,
                                              "wires": []
                                          },
                                          {
                                              "id": "204ce8ed94afc854",
                                              "type": "http request",
                                              "z": "57f47df45469191a",
                                              "name": "Senden",
                                              "method": "GET",
                                              "ret": "txt",
                                              "paytoqs": "ignore",
                                              "url": "http://192.168.0.96/cm?user=user&password=password&cmnd=counter1%200",
                                              "tls": "",
                                              "persist": false,
                                              "proxy": "",
                                              "insecureHTTPParser": false,
                                              "authType": "",
                                              "senderr": false,
                                              "headers": [],
                                              "x": 1120,
                                              "y": 240,
                                              "wires": [
                                                  [
                                                      "fc91906f018dd65d"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "df44712c5b90825f",
                                              "type": "change",
                                              "z": "57f47df45469191a",
                                              "name": "Aqua Counter Reset",
                                              "rules": [
                                                  {
                                                      "t": "set",
                                                      "p": "url",
                                                      "pt": "msg",
                                                      "to": "payload",
                                                      "tot": "msg"
                                                  }
                                              ],
                                              "action": "",
                                              "property": "",
                                              "from": "",
                                              "to": "",
                                              "reg": false,
                                              "x": 760,
                                              "y": 240,
                                              "wires": [
                                                  [
                                                      "e47538d2c25a955b"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "fc91906f018dd65d",
                                              "type": "debug",
                                              "z": "57f47df45469191a",
                                              "name": "Ausgabe Reset",
                                              "active": true,
                                              "tosidebar": true,
                                              "console": false,
                                              "tostatus": false,
                                              "complete": "payload",
                                              "targetType": "msg",
                                              "statusVal": "",
                                              "statusType": "auto",
                                              "x": 1280,
                                              "y": 240,
                                              "wires": []
                                          },
                                          {
                                              "id": "c2a42c63f9bd1067",
                                              "type": "delay",
                                              "z": "57f47df45469191a",
                                              "name": "warte 60sek",
                                              "pauseType": "delay",
                                              "timeout": "1",
                                              "timeoutUnits": "seconds",
                                              "rate": "1",
                                              "nbRateUnits": "1",
                                              "rateUnits": "second",
                                              "randomFirst": "1",
                                              "randomLast": "5",
                                              "randomUnits": "seconds",
                                              "drop": false,
                                              "allowrate": false,
                                              "outputs": 1,
                                              "x": 570,
                                              "y": 240,
                                              "wires": [
                                                  [
                                                      "df44712c5b90825f"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "513f1580376329e8",
                                              "type": "debug",
                                              "z": "57f47df45469191a",
                                              "name": "Jahr Reset",
                                              "active": true,
                                              "tosidebar": true,
                                              "console": false,
                                              "tostatus": false,
                                              "complete": "payload",
                                              "targetType": "msg",
                                              "statusVal": "",
                                              "statusType": "auto",
                                              "x": 530,
                                              "y": 120,
                                              "wires": []
                                          },
                                          {
                                              "id": "34cdcca2b8430dbe",
                                              "type": "ioBroker out",
                                              "z": "57f47df45469191a",
                                              "name": "Jahr",
                                              "topic": "0_userdata.0.Kaffeemaschine.Wasser_Jahr",
                                              "ack": "true",
                                              "autoCreate": "false",
                                              "stateName": "",
                                              "role": "",
                                              "payloadType": "",
                                              "readonly": "",
                                              "stateUnit": "",
                                              "stateMin": "",
                                              "stateMax": "",
                                              "x": 510,
                                              "y": 160,
                                              "wires": []
                                          },
                                          {
                                              "id": "9eb9d437d9e6e723",
                                              "type": "change",
                                              "z": "57f47df45469191a",
                                              "name": "Tag Reset",
                                              "rules": [
                                                  {
                                                      "t": "set",
                                                      "p": "payload",
                                                      "pt": "msg",
                                                      "to": "0",
                                                      "tot": "num"
                                                  }
                                              ],
                                              "action": "",
                                              "property": "",
                                              "from": "",
                                              "to": "",
                                              "reg": false,
                                              "x": 320,
                                              "y": 40,
                                              "wires": [
                                                  [
                                                      "6b79e98a03c7d558"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "40f2e95147eee6e4",
                                              "type": "change",
                                              "z": "57f47df45469191a",
                                              "name": "Jahr Reset",
                                              "rules": [
                                                  {
                                                      "t": "set",
                                                      "p": "payload",
                                                      "pt": "msg",
                                                      "to": "0",
                                                      "tot": "num"
                                                  }
                                              ],
                                              "action": "",
                                              "property": "",
                                              "from": "",
                                              "to": "",
                                              "reg": false,
                                              "x": 330,
                                              "y": 140,
                                              "wires": [
                                                  [
                                                      "60f2c9666867f1f5"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "4bc79cd25cf2de2c",
                                              "type": "inject",
                                              "z": "57f47df45469191a",
                                              "name": "Counter Reset Manuell",
                                              "props": [
                                                  {
                                                      "p": "payload"
                                                  }
                                              ],
                                              "repeat": "",
                                              "crontab": "",
                                              "once": false,
                                              "onceDelay": 0.1,
                                              "topic": "",
                                              "payload": "true",
                                              "payloadType": "bool",
                                              "x": 320,
                                              "y": 240,
                                              "wires": [
                                                  [
                                                      "c2a42c63f9bd1067"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "ca70e8a2d1e42876",
                                              "type": "delay",
                                              "z": "57f47df45469191a",
                                              "name": "warte 30sek",
                                              "pauseType": "delay",
                                              "timeout": "30",
                                              "timeoutUnits": "seconds",
                                              "rate": "1",
                                              "nbRateUnits": "1",
                                              "rateUnits": "second",
                                              "randomFirst": "1",
                                              "randomLast": "5",
                                              "randomUnits": "seconds",
                                              "drop": false,
                                              "allowrate": false,
                                              "outputs": 1,
                                              "x": 450,
                                              "y": 700,
                                              "wires": [
                                                  [
                                                      "44b5924ef3efb629"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "e47538d2c25a955b",
                                              "type": "delay",
                                              "z": "57f47df45469191a",
                                              "name": "warte 70sek",
                                              "pauseType": "delay",
                                              "timeout": "1",
                                              "timeoutUnits": "seconds",
                                              "rate": "1",
                                              "nbRateUnits": "1",
                                              "rateUnits": "second",
                                              "randomFirst": "1",
                                              "randomLast": "5",
                                              "randomUnits": "seconds",
                                              "drop": false,
                                              "allowrate": false,
                                              "outputs": 1,
                                              "x": 950,
                                              "y": 240,
                                              "wires": [
                                                  [
                                                      "204ce8ed94afc854"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "42e9bb25fbc436e5",
                                              "type": "cronplus",
                                              "z": "57f47df45469191a",
                                              "name": "Aqua Tag Reset",
                                              "outputField": "payload",
                                              "timeZone": "",
                                              "storeName": "",
                                              "commandResponseMsgOutput": "output1",
                                              "defaultLocation": "",
                                              "defaultLocationType": "default",
                                              "outputs": 1,
                                              "options": [
                                                  {
                                                      "name": "Zeitplan",
                                                      "topic": "Counter Aqua Reset",
                                                      "payloadType": "default",
                                                      "payload": "",
                                                      "expressionType": "cron",
                                                      "expression": "0 0 0 * * ? *",
                                                      "location": "",
                                                      "offset": "0",
                                                      "solarType": "all",
                                                      "solarEvents": "sunrise,sunset"
                                                  }
                                              ],
                                              "x": 120,
                                              "y": 40,
                                              "wires": [
                                                  [
                                                      "9eb9d437d9e6e723"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "16bbc7cef0219d28",
                                              "type": "cronplus",
                                              "z": "57f47df45469191a",
                                              "name": "Aqua Jahr Reset",
                                              "outputField": "payload",
                                              "timeZone": "",
                                              "storeName": "",
                                              "commandResponseMsgOutput": "output1",
                                              "defaultLocation": "",
                                              "defaultLocationType": "default",
                                              "outputs": 1,
                                              "options": [
                                                  {
                                                      "name": "Zeitplan",
                                                      "topic": "Counter Aqua Reset",
                                                      "payloadType": "default",
                                                      "payload": "",
                                                      "expressionType": "cron",
                                                      "expression": "0 0 0 31 12 ? *",
                                                      "location": "",
                                                      "offset": "0",
                                                      "solarType": "all",
                                                      "solarEvents": "sunrise,sunset"
                                                  }
                                              ],
                                              "x": 130,
                                              "y": 140,
                                              "wires": [
                                                  [
                                                      "40f2e95147eee6e4"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "9ea6bd731fca5dc3",
                                              "type": "trigger",
                                              "z": "57f47df45469191a",
                                              "name": "Triggger nach 2sek stabil true",
                                              "op1": "",
                                              "op2": "true",
                                              "op1type": "nul",
                                              "op2type": "bool",
                                              "duration": "2000",
                                              "extend": false,
                                              "overrideDelay": false,
                                              "units": "ms",
                                              "reset": "",
                                              "bytopic": "all",
                                              "topic": "topic",
                                              "outputs": 2,
                                              "x": 630,
                                              "y": 420,
                                              "wires": [
                                                  [],
                                                  [
                                                      "88bc1672bac70da9",
                                                      "542411bf741f2b08"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "88bc1672bac70da9",
                                              "type": "debug",
                                              "z": "57f47df45469191a",
                                              "name": "Magnetschalter ein",
                                              "active": true,
                                              "tosidebar": true,
                                              "console": false,
                                              "tostatus": false,
                                              "complete": "payload",
                                              "targetType": "msg",
                                              "statusVal": "",
                                              "statusType": "auto",
                                              "x": 910,
                                              "y": 340,
                                              "wires": []
                                          },
                                          {
                                              "id": "f60ac0ca806c32a9",
                                              "type": "function",
                                              "z": "57f47df45469191a",
                                              "name": "true->Start-false->Reset Trigger",
                                              "func": "let news = msg.payload;\n\nif(news == true){\n    msg.payload = true;\n    return msg;\n}\nif(news == false){\n    msg.reset = true;\n    return msg;\n}\n",
                                              "outputs": 1,
                                              "timeout": 0,
                                              "noerr": 0,
                                              "initialize": "",
                                              "finalize": "",
                                              "libs": [],
                                              "x": 350,
                                              "y": 420,
                                              "wires": [
                                                  [
                                                      "9ea6bd731fca5dc3"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "5f9ad613d80393e6",
                                              "type": "trigger",
                                              "z": "57f47df45469191a",
                                              "name": "Trigger nach 2sek stabli false",
                                              "op1": "",
                                              "op2": "true",
                                              "op1type": "nul",
                                              "op2type": "bool",
                                              "duration": "2000",
                                              "extend": false,
                                              "overrideDelay": false,
                                              "units": "ms",
                                              "reset": "",
                                              "bytopic": "all",
                                              "topic": "topic",
                                              "outputs": 2,
                                              "x": 620,
                                              "y": 480,
                                              "wires": [
                                                  [],
                                                  [
                                                      "120a6dd3771ba5a4",
                                                      "46e8b52eb69c4015"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "b17cb1d4b5701144",
                                              "type": "debug",
                                              "z": "57f47df45469191a",
                                              "name": "Counter lesen",
                                              "active": true,
                                              "tosidebar": true,
                                              "console": false,
                                              "tostatus": false,
                                              "complete": "payload",
                                              "targetType": "msg",
                                              "statusVal": "",
                                              "statusType": "auto",
                                              "x": 1180,
                                              "y": 480,
                                              "wires": []
                                          },
                                          {
                                              "id": "bd9e4c4480c0d54e",
                                              "type": "function",
                                              "z": "57f47df45469191a",
                                              "name": "false->Start-true->Reset Trigger",
                                              "func": "let news = msg.payload;\n\nif(news == false){\n    msg.payload = true;\n    return msg;\n}\nif(news == true){\n    msg.reset = true;\n    return msg;\n}\n",
                                              "outputs": 1,
                                              "timeout": 0,
                                              "noerr": 0,
                                              "initialize": "",
                                              "finalize": "",
                                              "libs": [],
                                              "x": 350,
                                              "y": 480,
                                              "wires": [
                                                  [
                                                      "5f9ad613d80393e6"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "120a6dd3771ba5a4",
                                              "type": "change",
                                              "z": "57f47df45469191a",
                                              "name": "true -> false",
                                              "rules": [
                                                  {
                                                      "t": "change",
                                                      "p": "payload",
                                                      "pt": "msg",
                                                      "from": "true",
                                                      "fromt": "bool",
                                                      "to": "false",
                                                      "tot": "bool"
                                                  }
                                              ],
                                              "action": "",
                                              "property": "",
                                              "from": "",
                                              "to": "",
                                              "reg": false,
                                              "x": 970,
                                              "y": 440,
                                              "wires": [
                                                  [
                                                      "66ebfbae27154f3d",
                                                      "f6b34918e00ee539"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "66ebfbae27154f3d",
                                              "type": "debug",
                                              "z": "57f47df45469191a",
                                              "name": "Magnetschalter aus",
                                              "active": true,
                                              "tosidebar": true,
                                              "console": false,
                                              "tostatus": false,
                                              "complete": "payload",
                                              "targetType": "msg",
                                              "statusVal": "",
                                              "statusType": "auto",
                                              "x": 1190,
                                              "y": 440,
                                              "wires": []
                                          },
                                          {
                                              "id": "46e8b52eb69c4015",
                                              "type": "delay",
                                              "z": "57f47df45469191a",
                                              "name": "warte 1s",
                                              "pauseType": "delay",
                                              "timeout": "1",
                                              "timeoutUnits": "seconds",
                                              "rate": "1",
                                              "nbRateUnits": "1",
                                              "rateUnits": "second",
                                              "randomFirst": "1",
                                              "randomLast": "5",
                                              "randomUnits": "seconds",
                                              "drop": false,
                                              "allowrate": false,
                                              "outputs": 1,
                                              "x": 960,
                                              "y": 500,
                                              "wires": [
                                                  [
                                                      "b17cb1d4b5701144",
                                                      "a0caeaab1081c8ab"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "a0caeaab1081c8ab",
                                              "type": "link out",
                                              "z": "57f47df45469191a",
                                              "name": "link out 1",
                                              "mode": "link",
                                              "links": [
                                                  "7c5bf6467d2f9344"
                                              ],
                                              "x": 1115,
                                              "y": 520,
                                              "wires": []
                                          },
                                          {
                                              "id": "7c5bf6467d2f9344",
                                              "type": "link in",
                                              "z": "57f47df45469191a",
                                              "name": "link in 1",
                                              "links": [
                                                  "a0caeaab1081c8ab"
                                              ],
                                              "x": 65,
                                              "y": 600,
                                              "wires": [
                                                  [
                                                      "65e798b0af11b036"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "c8e12936e353427e",
                                              "type": "ioBroker out",
                                              "z": "57f47df45469191a",
                                              "name": "durchfl.",
                                              "topic": "0_userdata.0.Kaffeemaschine.Wasser_Durchfluss",
                                              "ack": "true",
                                              "autoCreate": "false",
                                              "stateName": "",
                                              "role": "",
                                              "payloadType": "",
                                              "readonly": "",
                                              "stateUnit": "",
                                              "stateMin": "",
                                              "stateMax": "",
                                              "x": 580,
                                              "y": 540,
                                              "wires": []
                                          },
                                          {
                                              "id": "f80b36ef40dba067",
                                              "type": "delay",
                                              "z": "57f47df45469191a",
                                              "name": "warte 70s",
                                              "pauseType": "delay",
                                              "timeout": "70",
                                              "timeoutUnits": "seconds",
                                              "rate": "1",
                                              "nbRateUnits": "1",
                                              "rateUnits": "second",
                                              "randomFirst": "1",
                                              "randomLast": "5",
                                              "randomUnits": "seconds",
                                              "drop": false,
                                              "allowrate": false,
                                              "outputs": 1,
                                              "x": 280,
                                              "y": 540,
                                              "wires": [
                                                  [
                                                      "40da82c58be24d99"
                                                  ]
                                              ]
                                          },
                                          {
                                              "id": "40da82c58be24d99",
                                              "type": "change",
                                              "z": "57f47df45469191a",
                                              "name": "Tag Reset",
                                              "rules": [
                                                  {
                                                      "t": "set",
                                                      "p": "payload",
                                                      "pt": "msg",
                                                      "to": "0",
                                                      "tot": "num"
                                                  }
                                              ],
                                              "action": "",
                                              "property": "",
                                              "from": "",
                                              "to": "",
                                              "reg": false,
                                              "x": 420,
                                              "y": 540,
                                              "wires": [
                                                  [
                                                      "c8e12936e353427e"
                                                  ]
                                              ]
                                          }
                                      ]
                                      

                                      Screenshot 2025-02-15 030038.png

                                      geschildG Online
                                      geschildG Online
                                      geschild
                                      schrieb am zuletzt editiert von
                                      #19

                                      @aphofis Klingt, als wenn's in die richtige Richtung geht. Feinheiten klären wir dann morgen.

                                      1 Antwort Letzte Antwort
                                      0
                                      • AphofisA Offline
                                        AphofisA Offline
                                        Aphofis
                                        schrieb am zuletzt editiert von Aphofis
                                        #20

                                        Es scheint bei der Kaffeemaschiene alles zu laufen. Nur die Node vom Aquarium bekomme ich nicht hin.
                                        Die Steuerung muss ja nur auf den Schwimmer reagieren und wenn schwimmer true ist vllt 10 sek warten um dann die rechnung aus zu lösen und 11 sek um dann den druchfluss reset und ESP Counter reset auszulösen.
                                        Das Magnetventil wird ja durch den Schwimmer ein und ausgeschaltet.

                                        Screenshot 2025-02-16 230601.png

                                        [
                                            {
                                                "id": "e96d40e5c03c8e73",
                                                "type": "tab",
                                                "label": "Wasser Aquarium",
                                                "disabled": false,
                                                "info": "",
                                                "env": []
                                            },
                                            {
                                                "id": "a33e443616fc222a",
                                                "type": "junction",
                                                "z": "e96d40e5c03c8e73",
                                                "x": 490,
                                                "y": 640,
                                                "wires": [
                                                    [
                                                        "60d53c22716069e9",
                                                        "d068ec15abcaade1"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "386107c00f1d7619",
                                                "type": "junction",
                                                "z": "e96d40e5c03c8e73",
                                                "x": 490,
                                                "y": 760,
                                                "wires": [
                                                    [
                                                        "8ef2203079f36296",
                                                        "29b1c7a13367c06a"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "eaa54aa4d4524f13",
                                                "type": "ioBroker get",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "jahr",
                                                "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Jahr",
                                                "attrname": "jahr",
                                                "payloadType": "value",
                                                "errOnInvalidState": "nothing",
                                                "x": 410,
                                                "y": 520,
                                                "wires": [
                                                    [
                                                        "4d1b142f05cab694"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "4d1b142f05cab694",
                                                "type": "ioBroker get",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "gesamt",
                                                "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasser_Gesamt",
                                                "attrname": "gesamt",
                                                "payloadType": "value",
                                                "errOnInvalidState": "nothing",
                                                "x": 540,
                                                "y": 520,
                                                "wires": [
                                                    [
                                                        "5fd63c6641e9671f"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "ab094d747fb4d4a2",
                                                "type": "debug",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "Ausgabe Rechnung",
                                                "active": true,
                                                "tosidebar": true,
                                                "console": false,
                                                "tostatus": false,
                                                "complete": "true",
                                                "targetType": "full",
                                                "statusVal": "",
                                                "statusType": "auto",
                                                "x": 1100,
                                                "y": 780,
                                                "wires": []
                                            },
                                            {
                                                "id": "54048569a59a81bb",
                                                "type": "change",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "rechnung",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "durchfluss",
                                                        "pt": "msg",
                                                        "to": "$round(durchfluss / 2.207,2)",
                                                        "tot": "jsonata"
                                                    },
                                                    {
                                                        "t": "set",
                                                        "p": "jahr",
                                                        "pt": "msg",
                                                        "to": "$round(durchfluss  / 1000 + jahr,2)",
                                                        "tot": "jsonata"
                                                    },
                                                    {
                                                        "t": "set",
                                                        "p": "gesamt",
                                                        "pt": "msg",
                                                        "to": "$round(durchfluss  / 1000 + gesamt,2)",
                                                        "tot": "jsonata"
                                                    },
                                                    {
                                                        "t": "set",
                                                        "p": "tag",
                                                        "pt": "msg",
                                                        "to": "$round(durchfluss  + tag,2)",
                                                        "tot": "jsonata"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 840,
                                                "y": 520,
                                                "wires": [
                                                    [
                                                        "c0b45921777999b9",
                                                        "39aa9bd9d6bd2aba",
                                                        "1ff4be2b8a9ab574",
                                                        "0299ee6b90129254",
                                                        "ab094d747fb4d4a2"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "9ee03dcc9a9f622a",
                                                "type": "ioBroker get",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "count",
                                                "topic": "sonoff.0.Aqua_Float.SENSOR.COUNTER.C1",
                                                "attrname": "durchfluss",
                                                "payloadType": "value",
                                                "errOnInvalidState": "nothing",
                                                "x": 170,
                                                "y": 520,
                                                "wires": [
                                                    [
                                                        "229c64f2f419668b"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "b24e06dbb8e9ac50",
                                                "type": "ioBroker out",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "durchfl.",
                                                "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasser_Counter",
                                                "ack": "false",
                                                "autoCreate": "false",
                                                "stateName": "",
                                                "role": "",
                                                "payloadType": "",
                                                "readonly": "",
                                                "stateUnit": "",
                                                "stateMin": "",
                                                "stateMax": "",
                                                "x": 1290,
                                                "y": 580,
                                                "wires": [],
                                                "icon": "node-red-contrib-calc/calculator.png"
                                            },
                                            {
                                                "id": "c6281d6865cd92d2",
                                                "type": "ioBroker out",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "tag",
                                                "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Tag",
                                                "ack": "false",
                                                "autoCreate": "false",
                                                "stateName": "",
                                                "role": "",
                                                "payloadType": "",
                                                "readonly": "",
                                                "stateUnit": "",
                                                "stateMin": "",
                                                "stateMax": "",
                                                "x": 1280,
                                                "y": 460,
                                                "wires": [],
                                                "icon": "node-red-contrib-calc/calculator.png"
                                            },
                                            {
                                                "id": "afcca7e9867b3ebb",
                                                "type": "ioBroker out",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "jahr",
                                                "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Jahr",
                                                "ack": "false",
                                                "autoCreate": "false",
                                                "stateName": "",
                                                "role": "",
                                                "payloadType": "",
                                                "readonly": "",
                                                "stateUnit": "",
                                                "stateMin": "",
                                                "stateMax": "",
                                                "x": 1280,
                                                "y": 520,
                                                "wires": [],
                                                "icon": "node-red-contrib-calc/calculator.png"
                                            },
                                            {
                                                "id": "be2423fc891d456a",
                                                "type": "ioBroker out",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "gesamt",
                                                "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasser_Gesamt",
                                                "ack": "false",
                                                "autoCreate": "false",
                                                "stateName": "",
                                                "role": "",
                                                "payloadType": "",
                                                "readonly": "",
                                                "stateUnit": "",
                                                "stateMin": "",
                                                "stateMax": "",
                                                "x": 1290,
                                                "y": 640,
                                                "wires": [],
                                                "icon": "node-red-contrib-calc/calculator.png"
                                            },
                                            {
                                                "id": "229c64f2f419668b",
                                                "type": "ioBroker get",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "tag",
                                                "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Tag",
                                                "attrname": "tag",
                                                "payloadType": "value",
                                                "errOnInvalidState": "nothing",
                                                "x": 290,
                                                "y": 520,
                                                "wires": [
                                                    [
                                                        "eaa54aa4d4524f13"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "39aa9bd9d6bd2aba",
                                                "type": "change",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "payload",
                                                        "pt": "msg",
                                                        "to": "durchfluss",
                                                        "tot": "msg"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 1120,
                                                "y": 580,
                                                "wires": [
                                                    [
                                                        "b24e06dbb8e9ac50"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "1ff4be2b8a9ab574",
                                                "type": "change",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "payload",
                                                        "pt": "msg",
                                                        "to": "tag",
                                                        "tot": "msg"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 1110,
                                                "y": 460,
                                                "wires": [
                                                    [
                                                        "c6281d6865cd92d2"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "0299ee6b90129254",
                                                "type": "change",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "payload",
                                                        "pt": "msg",
                                                        "to": "jahr",
                                                        "tot": "msg"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 1110,
                                                "y": 520,
                                                "wires": [
                                                    [
                                                        "afcca7e9867b3ebb"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "c0b45921777999b9",
                                                "type": "change",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "payload",
                                                        "pt": "msg",
                                                        "to": "gesamt",
                                                        "tot": "msg"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 1120,
                                                "y": 640,
                                                "wires": [
                                                    [
                                                        "be2423fc891d456a"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "9e57e652668d85fa",
                                                "type": "ioBroker in",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "Aquarium Schwimmer",
                                                "attrname": "payload",
                                                "topic": "sonoff.0.Aqua_Float.POWER1",
                                                "payloadType": "value",
                                                "onlyack": "",
                                                "func": "all",
                                                "gap": "",
                                                "fireOnStart": "false",
                                                "outFormat": "MQTT",
                                                "x": 100,
                                                "y": 220,
                                                "wires": [
                                                    [
                                                        "f1c7fb20f85acbee",
                                                        "c0dfdd7212b9892f",
                                                        "472ee6a39b3d21f3",
                                                        "6eab2c58acf1cbd5",
                                                        "d272c6eba743cc72"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "e47c6d731c3e73c6",
                                                "type": "http request",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "Senden",
                                                "method": "GET",
                                                "ret": "txt",
                                                "paytoqs": "ignore",
                                                "url": "http://192.168.0.71/cm?user=user&password=password&cmnd=counter1%200",
                                                "tls": "",
                                                "persist": false,
                                                "proxy": "",
                                                "insecureHTTPParser": false,
                                                "authType": "",
                                                "senderr": false,
                                                "headers": [],
                                                "x": 980,
                                                "y": 40,
                                                "wires": [
                                                    [
                                                        "eb76397a7e0ab011"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "a4e19115fa06a55b",
                                                "type": "change",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "Aqua Counter Reset",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "url",
                                                        "pt": "msg",
                                                        "to": "payload",
                                                        "tot": "msg"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 620,
                                                "y": 40,
                                                "wires": [
                                                    [
                                                        "6ed396444b677b10"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "eb76397a7e0ab011",
                                                "type": "debug",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "Ausgabe Reset",
                                                "active": true,
                                                "tosidebar": true,
                                                "console": false,
                                                "tostatus": false,
                                                "complete": "payload",
                                                "targetType": "msg",
                                                "statusVal": "",
                                                "statusType": "auto",
                                                "x": 1140,
                                                "y": 40,
                                                "wires": []
                                            },
                                            {
                                                "id": "d272c6eba743cc72",
                                                "type": "delay",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "warte 1sek",
                                                "pauseType": "delay",
                                                "timeout": "1",
                                                "timeoutUnits": "seconds",
                                                "rate": "1",
                                                "nbRateUnits": "1",
                                                "rateUnits": "second",
                                                "randomFirst": "1",
                                                "randomLast": "5",
                                                "randomUnits": "seconds",
                                                "drop": false,
                                                "allowrate": false,
                                                "outputs": 1,
                                                "x": 430,
                                                "y": 40,
                                                "wires": [
                                                    [
                                                        "a4e19115fa06a55b"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "d068ec15abcaade1",
                                                "type": "debug",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "Jahr Reset",
                                                "active": true,
                                                "tosidebar": true,
                                                "console": false,
                                                "tostatus": false,
                                                "complete": "payload",
                                                "targetType": "msg",
                                                "statusVal": "",
                                                "statusType": "auto",
                                                "x": 590,
                                                "y": 620,
                                                "wires": []
                                            },
                                            {
                                                "id": "60d53c22716069e9",
                                                "type": "ioBroker out",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "Jahr",
                                                "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Jahr",
                                                "ack": "true",
                                                "autoCreate": "false",
                                                "stateName": "",
                                                "role": "",
                                                "payloadType": "",
                                                "readonly": "",
                                                "stateUnit": "",
                                                "stateMin": "",
                                                "stateMax": "",
                                                "x": 570,
                                                "y": 660,
                                                "wires": []
                                            },
                                            {
                                                "id": "c414e941c9432637",
                                                "type": "change",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "Jahr Reset",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "payload",
                                                        "pt": "msg",
                                                        "to": "0",
                                                        "tot": "num"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 390,
                                                "y": 640,
                                                "wires": [
                                                    [
                                                        "a33e443616fc222a"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "ddd069f4381994d0",
                                                "type": "inject",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "Counter Reset Manuell",
                                                "props": [
                                                    {
                                                        "p": "payload"
                                                    }
                                                ],
                                                "repeat": "",
                                                "crontab": "",
                                                "once": false,
                                                "onceDelay": 0.1,
                                                "topic": "",
                                                "payload": "true",
                                                "payloadType": "bool",
                                                "x": 180,
                                                "y": 40,
                                                "wires": [
                                                    [
                                                        "d272c6eba743cc72"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "5fd63c6641e9671f",
                                                "type": "delay",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "warte 5sek",
                                                "pauseType": "delay",
                                                "timeout": "5",
                                                "timeoutUnits": "seconds",
                                                "rate": "1",
                                                "nbRateUnits": "1",
                                                "rateUnits": "second",
                                                "randomFirst": "1",
                                                "randomLast": "5",
                                                "randomUnits": "seconds",
                                                "drop": false,
                                                "allowrate": false,
                                                "outputs": 1,
                                                "x": 690,
                                                "y": 520,
                                                "wires": [
                                                    [
                                                        "54048569a59a81bb"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "6ed396444b677b10",
                                                "type": "delay",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "warte 6sek",
                                                "pauseType": "delay",
                                                "timeout": "6",
                                                "timeoutUnits": "seconds",
                                                "rate": "1",
                                                "nbRateUnits": "1",
                                                "rateUnits": "second",
                                                "randomFirst": "1",
                                                "randomLast": "5",
                                                "randomUnits": "seconds",
                                                "drop": false,
                                                "allowrate": false,
                                                "outputs": 1,
                                                "x": 810,
                                                "y": 40,
                                                "wires": [
                                                    [
                                                        "e47c6d731c3e73c6"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "f4fba734f82a61ca",
                                                "type": "cronplus",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "Aqua Jahr Reset",
                                                "outputField": "payload",
                                                "timeZone": "",
                                                "storeName": "",
                                                "commandResponseMsgOutput": "output1",
                                                "defaultLocation": "",
                                                "defaultLocationType": "default",
                                                "outputs": 1,
                                                "options": [
                                                    {
                                                        "name": "Zeitplan",
                                                        "topic": "Counter Aqua Reset",
                                                        "payloadType": "default",
                                                        "payload": "",
                                                        "expressionType": "cron",
                                                        "expression": "0 0 0 31 12 ? *",
                                                        "location": "",
                                                        "offset": "0",
                                                        "solarType": "all",
                                                        "solarEvents": "sunrise,sunset"
                                                    }
                                                ],
                                                "x": 190,
                                                "y": 640,
                                                "wires": [
                                                    [
                                                        "c414e941c9432637"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "53715765e5ba3798",
                                                "type": "debug",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "Counter lesen",
                                                "active": true,
                                                "tosidebar": true,
                                                "console": false,
                                                "tostatus": false,
                                                "complete": "payload",
                                                "targetType": "msg",
                                                "statusVal": "",
                                                "statusType": "auto",
                                                "x": 1160,
                                                "y": 260,
                                                "wires": []
                                            },
                                            {
                                                "id": "49a24c8dbf3069a7",
                                                "type": "delay",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "warte 1s",
                                                "pauseType": "delay",
                                                "timeout": "1",
                                                "timeoutUnits": "seconds",
                                                "rate": "1",
                                                "nbRateUnits": "1",
                                                "rateUnits": "second",
                                                "randomFirst": "1",
                                                "randomLast": "5",
                                                "randomUnits": "seconds",
                                                "drop": false,
                                                "allowrate": false,
                                                "outputs": 1,
                                                "x": 940,
                                                "y": 260,
                                                "wires": [
                                                    [
                                                        "53715765e5ba3798",
                                                        "bda78f206532ead4"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "bda78f206532ead4",
                                                "type": "link out",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "link out 2",
                                                "mode": "link",
                                                "links": [
                                                    "7303186ce79854c1"
                                                ],
                                                "x": 1075,
                                                "y": 360,
                                                "wires": []
                                            },
                                            {
                                                "id": "7303186ce79854c1",
                                                "type": "link in",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "link in 2",
                                                "links": [
                                                    "bda78f206532ead4"
                                                ],
                                                "x": 75,
                                                "y": 520,
                                                "wires": [
                                                    [
                                                        "9ee03dcc9a9f622a"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "7c892b7636e3d9d8",
                                                "type": "ioBroker out",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "durchfl.",
                                                "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasser_Counter",
                                                "ack": "true",
                                                "autoCreate": "false",
                                                "stateName": "",
                                                "role": "",
                                                "payloadType": "",
                                                "readonly": "",
                                                "stateUnit": "",
                                                "stateMin": "",
                                                "stateMax": "",
                                                "x": 640,
                                                "y": 280,
                                                "wires": []
                                            },
                                            {
                                                "id": "f1c7fb20f85acbee",
                                                "type": "delay",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "warte 4s",
                                                "pauseType": "delay",
                                                "timeout": "4",
                                                "timeoutUnits": "seconds",
                                                "rate": "1",
                                                "nbRateUnits": "1",
                                                "rateUnits": "second",
                                                "randomFirst": "1",
                                                "randomLast": "5",
                                                "randomUnits": "seconds",
                                                "drop": false,
                                                "allowrate": false,
                                                "outputs": 1,
                                                "x": 340,
                                                "y": 280,
                                                "wires": [
                                                    [
                                                        "3879868e12e9ddb2"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "3879868e12e9ddb2",
                                                "type": "change",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "durchfl.Reset",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "payload",
                                                        "pt": "msg",
                                                        "to": "0",
                                                        "tot": "num"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 490,
                                                "y": 280,
                                                "wires": [
                                                    [
                                                        "7c892b7636e3d9d8"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "29b1c7a13367c06a",
                                                "type": "debug",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "Tag Reset",
                                                "active": true,
                                                "tosidebar": true,
                                                "console": false,
                                                "tostatus": false,
                                                "complete": "payload",
                                                "targetType": "msg",
                                                "statusVal": "",
                                                "statusType": "auto",
                                                "x": 580,
                                                "y": 740,
                                                "wires": []
                                            },
                                            {
                                                "id": "8ef2203079f36296",
                                                "type": "ioBroker out",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "tag",
                                                "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Tag",
                                                "ack": "true",
                                                "autoCreate": "false",
                                                "stateName": "",
                                                "role": "",
                                                "payloadType": "",
                                                "readonly": "",
                                                "stateUnit": "",
                                                "stateMin": "",
                                                "stateMax": "",
                                                "x": 570,
                                                "y": 780,
                                                "wires": []
                                            },
                                            {
                                                "id": "fcf7480806fc8018",
                                                "type": "change",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "Tag Reset",
                                                "rules": [
                                                    {
                                                        "t": "set",
                                                        "p": "payload",
                                                        "pt": "msg",
                                                        "to": "0",
                                                        "tot": "num"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 380,
                                                "y": 760,
                                                "wires": [
                                                    [
                                                        "386107c00f1d7619"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "d5126388d3b02e0c",
                                                "type": "cronplus",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "Aqua Tag Reset",
                                                "outputField": "payload",
                                                "timeZone": "",
                                                "storeName": "",
                                                "commandResponseMsgOutput": "output1",
                                                "defaultLocation": "",
                                                "defaultLocationType": "default",
                                                "outputs": 1,
                                                "options": [
                                                    {
                                                        "name": "Zeitplan",
                                                        "topic": "Counter Aqua Reset",
                                                        "payloadType": "default",
                                                        "payload": "",
                                                        "expressionType": "cron",
                                                        "expression": "0 0 0 * * ? *",
                                                        "location": "",
                                                        "offset": "0",
                                                        "solarType": "all",
                                                        "solarEvents": "sunrise,sunset"
                                                    }
                                                ],
                                                "x": 180,
                                                "y": 760,
                                                "wires": [
                                                    [
                                                        "fcf7480806fc8018"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "c0dfdd7212b9892f",
                                                "type": "debug",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "Aquarium Schwimmer",
                                                "active": true,
                                                "tosidebar": true,
                                                "console": false,
                                                "tostatus": false,
                                                "complete": "payload",
                                                "targetType": "msg",
                                                "statusVal": "",
                                                "statusType": "auto",
                                                "x": 360,
                                                "y": 340,
                                                "wires": []
                                            },
                                            {
                                                "id": "6eab2c58acf1cbd5",
                                                "type": "function",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "true->Start-false->Reset Trigger",
                                                "func": "let news = msg.payload;\n\nif(news == true){\n    msg.payload = true;\n    return msg;\n}\nif(news == false){\n    msg.reset = true;\n    return msg;\n}\n",
                                                "outputs": 1,
                                                "timeout": 0,
                                                "noerr": 0,
                                                "initialize": "",
                                                "finalize": "",
                                                "libs": [],
                                                "x": 390,
                                                "y": 160,
                                                "wires": [
                                                    [
                                                        "bef576295b23f014"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "a93e73afeac53427",
                                                "type": "debug",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "Magnetschalter ein",
                                                "active": true,
                                                "tosidebar": true,
                                                "console": false,
                                                "tostatus": false,
                                                "complete": "payload",
                                                "targetType": "msg",
                                                "statusVal": "",
                                                "statusType": "auto",
                                                "x": 1170,
                                                "y": 120,
                                                "wires": []
                                            },
                                            {
                                                "id": "b221e87bcb4925b3",
                                                "type": "ioBroker out",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "Magnetventil",
                                                "topic": "sonoff.0.GordonX-Home-Kaffeemaschine.POWER2",
                                                "ack": "false",
                                                "autoCreate": "false",
                                                "stateName": "",
                                                "role": "",
                                                "payloadType": "",
                                                "readonly": "",
                                                "stateUnit": "",
                                                "stateMin": "",
                                                "stateMax": "",
                                                "x": 1150,
                                                "y": 160,
                                                "wires": []
                                            },
                                            {
                                                "id": "ad3b00386df37a23",
                                                "type": "change",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "true -> false",
                                                "rules": [
                                                    {
                                                        "t": "change",
                                                        "p": "payload",
                                                        "pt": "msg",
                                                        "from": "true",
                                                        "fromt": "bool",
                                                        "to": "false",
                                                        "tot": "bool"
                                                    }
                                                ],
                                                "action": "",
                                                "property": "",
                                                "from": "",
                                                "to": "",
                                                "reg": false,
                                                "x": 950,
                                                "y": 200,
                                                "wires": [
                                                    [
                                                        "b221e87bcb4925b3",
                                                        "e3a33291c8476a30"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "e3a33291c8476a30",
                                                "type": "debug",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "Magnetschalter aus",
                                                "active": true,
                                                "tosidebar": true,
                                                "console": false,
                                                "tostatus": false,
                                                "complete": "payload",
                                                "targetType": "msg",
                                                "statusVal": "",
                                                "statusType": "auto",
                                                "x": 1170,
                                                "y": 220,
                                                "wires": []
                                            },
                                            {
                                                "id": "472ee6a39b3d21f3",
                                                "type": "function",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "false->Start-true->Reset Trigger",
                                                "func": "let news = msg.payload;\n\nif(news == false){\n    msg.payload = true;\n    return msg;\n}\nif(news == true){\n    msg.reset = true;\n    return msg;\n}\n",
                                                "outputs": 1,
                                                "timeout": 0,
                                                "noerr": 0,
                                                "initialize": "",
                                                "finalize": "",
                                                "libs": [],
                                                "x": 390,
                                                "y": 220,
                                                "wires": [
                                                    [
                                                        "c581b3043d9c3910"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "c581b3043d9c3910",
                                                "type": "trigger",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "Trigger nach 2sek stabli false",
                                                "op1": "",
                                                "op2": "true",
                                                "op1type": "nul",
                                                "op2type": "bool",
                                                "duration": "2",
                                                "extend": false,
                                                "overrideDelay": false,
                                                "units": "s",
                                                "reset": "",
                                                "bytopic": "all",
                                                "topic": "topic",
                                                "outputs": 2,
                                                "x": 680,
                                                "y": 220,
                                                "wires": [
                                                    [],
                                                    [
                                                        "ad3b00386df37a23",
                                                        "49a24c8dbf3069a7"
                                                    ]
                                                ]
                                            },
                                            {
                                                "id": "bef576295b23f014",
                                                "type": "trigger",
                                                "z": "e96d40e5c03c8e73",
                                                "name": "Triggger nach 2sek stabil true",
                                                "op1": "",
                                                "op2": "true",
                                                "op1type": "nul",
                                                "op2type": "bool",
                                                "duration": "2",
                                                "extend": false,
                                                "overrideDelay": false,
                                                "units": "s",
                                                "reset": "",
                                                "bytopic": "all",
                                                "topic": "topic",
                                                "outputs": 2,
                                                "x": 690,
                                                "y": 160,
                                                "wires": [
                                                    [],
                                                    [
                                                        "b221e87bcb4925b3",
                                                        "a93e73afeac53427"
                                                    ]
                                                ]
                                            }
                                        ]
                                        

                                        1 Antwort Letzte Antwort
                                        0
                                        • AphofisA Offline
                                          AphofisA Offline
                                          Aphofis
                                          schrieb am zuletzt editiert von
                                          #21

                                          kennt sich denn keiner bei Node-Red soweit aus um mir sagen zu können, warum das bei der Kaffeemaschine funktioniert und beim Aquarium nicht !?
                                          Der Unterschied ist halt das die Steuerung bei der Kaffeemaschine das Magnetventil per Relais mit dem Schwimmer schaltet und beim Aquarium läuft das Magnetventil Minus über den Schwimmer also muss die Steuerung nur den Schwimmer true Zustand abgreifen, 1 min warten und erst dann ausrechnen wenn die true false true phase vorbei ist. erst dann lohnt sich eine Rechnung da dass wasser nur in kurzen schüben aufgefüllt wird. erst dann rechnung und dann erst reset vom ESP Counter und Durchfluss Datenpunkt.

                                          AphofisA 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

                                          789

                                          Online

                                          32.6k

                                          Benutzer

                                          82.0k

                                          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