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. Wasserregulierung Aquarium

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.0k

Wasserregulierung Aquarium

Geplant Angeheftet Gesperrt Verschoben Node-Red
150 Beiträge 3 Kommentatoren 16.7k Aufrufe 3 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.
  • mickymM Online
    mickymM Online
    mickym
    Most Active
    schrieb am zuletzt editiert von
    #129

    so das kann doch nicht so lange dauern? - Ich würde mich dann nämlich erst mal verabschieden. Aber das solltest Du ja nun selbst hinbekommen.

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

    1 Antwort Letzte Antwort
    0
    • mickymM Online
      mickymM Online
      mickym
      Most Active
      schrieb am zuletzt editiert von
      #130

      Na gut - dann gute N8. :sleeping_accommodation:

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

      AphofisA 1 Antwort Letzte Antwort
      0
      • mickymM mickym

        Na gut - dann gute N8. :sleeping_accommodation:

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

        @mickym
        Musste ein wenig umstellen
        so siehts jetzt aus und erst wenn schwimmer false ist wird getriggert
        10.png

        [
            {
                "id": "e96d40e5c03c8e73",
                "type": "tab",
                "label": "Wasserstand Aquarium",
                "disabled": false,
                "info": "",
                "env": []
            },
            {
                "id": "8fbb9f181c70628a",
                "type": "ioBroker get",
                "z": "e96d40e5c03c8e73",
                "name": "jahr",
                "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Jahr",
                "attrname": "jahr",
                "payloadType": "value",
                "errOnInvalidState": "nothing",
                "x": 770,
                "y": 90,
                "wires": [
                    [
                        "fea33a2388b19fea"
                    ]
                ]
            },
            {
                "id": "fea33a2388b19fea",
                "type": "ioBroker get",
                "z": "e96d40e5c03c8e73",
                "name": "gesamt",
                "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Gesamt",
                "attrname": "gesamt",
                "payloadType": "value",
                "errOnInvalidState": "nothing",
                "x": 900,
                "y": 90,
                "wires": [
                    [
                        "9a39688816db1eb6"
                    ]
                ]
            },
            {
                "id": "66eeec1e6f2be7b4",
                "type": "inject",
                "z": "e96d40e5c03c8e73",
                "name": "",
                "props": [
                    {
                        "p": "payload"
                    }
                ],
                "repeat": "",
                "crontab": "",
                "once": false,
                "onceDelay": 0.1,
                "topic": "",
                "payload": "daten",
                "payloadType": "msg",
                "x": 110,
                "y": 40,
                "wires": [
                    [
                        "0fdf123af6451d89"
                    ]
                ]
            },
            {
                "id": "071f99aa6aae94c4",
                "type": "debug",
                "z": "e96d40e5c03c8e73",
                "name": "Teste Berechnung",
                "active": true,
                "tosidebar": true,
                "console": false,
                "tostatus": false,
                "complete": "true",
                "targetType": "full",
                "statusVal": "",
                "statusType": "auto",
                "x": 940,
                "y": 380,
                "wires": []
            },
            {
                "id": "1a1876d6fd414b64",
                "type": "change",
                "z": "e96d40e5c03c8e73",
                "name": "",
                "rules": [
                    {
                        "t": "set",
                        "p": "durchfluss",
                        "pt": "msg",
                        "to": "$round(durchfluss * 5.1,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": 550,
                "y": 190,
                "wires": [
                    [
                        "071f99aa6aae94c4",
                        "d608be45b53e2d65",
                        "1c4049c837709955",
                        "eeea6be93ef84e68",
                        "44ef0e4042c6ce50"
                    ]
                ]
            },
            {
                "id": "0fdf123af6451d89",
                "type": "ioBroker get",
                "z": "e96d40e5c03c8e73",
                "name": "durchfluss",
                "topic": "0_userdata.0.Test_Wasser.Test_Durchfluss",
                "attrname": "durchfluss",
                "payloadType": "value",
                "errOnInvalidState": "nothing",
                "x": 510,
                "y": 90,
                "wires": [
                    [
                        "d202759fc6e6dce3"
                    ]
                ]
            },
            {
                "id": "d71bb0083fe22676",
                "type": "ioBroker out",
                "z": "e96d40e5c03c8e73",
                "name": "durchfluss",
                "topic": "0_userdata.0.Test_Wasser.Test_Durchfluss",
                "ack": "true",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 1170,
                "y": 240,
                "wires": []
            },
            {
                "id": "b2f8630fc2e72c50",
                "type": "ioBroker out",
                "z": "e96d40e5c03c8e73",
                "name": "tag",
                "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Tag",
                "ack": "true",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 1150,
                "y": 290,
                "wires": []
            },
            {
                "id": "3d07bf7fb1e614bd",
                "type": "ioBroker out",
                "z": "e96d40e5c03c8e73",
                "name": "jahr",
                "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Jahr",
                "ack": "true",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 1150,
                "y": 340,
                "wires": []
            },
            {
                "id": "c87cb1a919d6871f",
                "type": "ioBroker out",
                "z": "e96d40e5c03c8e73",
                "name": "gesamt",
                "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Gesamt",
                "ack": "true",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 1160,
                "y": 190,
                "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": 650,
                "y": 90,
                "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": 940,
                "y": 240,
                "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": 940,
                "y": 290,
                "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": 940,
                "y": 340,
                "wires": [
                    [
                        "3d07bf7fb1e614bd"
                    ]
                ]
            },
            {
                "id": "44ef0e4042c6ce50",
                "type": "change",
                "z": "e96d40e5c03c8e73",
                "name": "",
                "rules": [
                    {
                        "t": "set",
                        "p": "payload",
                        "pt": "msg",
                        "to": "durchfluss",
                        "tot": "msg"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 940,
                "y": 190,
                "wires": [
                    [
                        "c87cb1a919d6871f"
                    ]
                ]
            },
            {
                "id": "9a39688816db1eb6",
                "type": "link out",
                "z": "e96d40e5c03c8e73",
                "name": "link out 1",
                "mode": "link",
                "links": [
                    "0fa0de1398efaa3b"
                ],
                "x": 1005,
                "y": 90,
                "wires": []
            },
            {
                "id": "0fa0de1398efaa3b",
                "type": "link in",
                "z": "e96d40e5c03c8e73",
                "name": "link in 1",
                "links": [
                    "9a39688816db1eb6"
                ],
                "x": 425,
                "y": 190,
                "wires": [
                    [
                        "1a1876d6fd414b64"
                    ]
                ]
            },
            {
                "id": "01ada18cbb3de587",
                "type": "ioBroker out",
                "z": "e96d40e5c03c8e73",
                "name": "Magnetventil",
                "topic": "0_userdata.0.Test_Wasser.Test_Magnetventil",
                "ack": "false",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 290,
                "y": 150,
                "wires": []
            },
            {
                "id": "76f52673b56e07fc",
                "type": "ioBroker in",
                "z": "e96d40e5c03c8e73",
                "name": "Schwimmer",
                "attrname": "payload",
                "topic": "0_userdata.0.Test_Wasser.Test_Schwimmer",
                "payloadType": "value",
                "onlyack": "",
                "func": "all",
                "gap": "",
                "fireOnStart": "false",
                "outFormat": "MQTT",
                "x": 100,
                "y": 90,
                "wires": [
                    [
                        "62ed674bc6e01184",
                        "01ada18cbb3de587"
                    ]
                ]
            },
            {
                "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": 270,
                "y": 90,
                "wires": [
                    [
                        "0fdf123af6451d89"
                    ]
                ]
            }
        ]
        

        AphofisA mickymM 2 Antworten Letzte Antwort
        0
        • AphofisA Aphofis

          @mickym
          Musste ein wenig umstellen
          so siehts jetzt aus und erst wenn schwimmer false ist wird getriggert
          10.png

          [
              {
                  "id": "e96d40e5c03c8e73",
                  "type": "tab",
                  "label": "Wasserstand Aquarium",
                  "disabled": false,
                  "info": "",
                  "env": []
              },
              {
                  "id": "8fbb9f181c70628a",
                  "type": "ioBroker get",
                  "z": "e96d40e5c03c8e73",
                  "name": "jahr",
                  "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Jahr",
                  "attrname": "jahr",
                  "payloadType": "value",
                  "errOnInvalidState": "nothing",
                  "x": 770,
                  "y": 90,
                  "wires": [
                      [
                          "fea33a2388b19fea"
                      ]
                  ]
              },
              {
                  "id": "fea33a2388b19fea",
                  "type": "ioBroker get",
                  "z": "e96d40e5c03c8e73",
                  "name": "gesamt",
                  "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Gesamt",
                  "attrname": "gesamt",
                  "payloadType": "value",
                  "errOnInvalidState": "nothing",
                  "x": 900,
                  "y": 90,
                  "wires": [
                      [
                          "9a39688816db1eb6"
                      ]
                  ]
              },
              {
                  "id": "66eeec1e6f2be7b4",
                  "type": "inject",
                  "z": "e96d40e5c03c8e73",
                  "name": "",
                  "props": [
                      {
                          "p": "payload"
                      }
                  ],
                  "repeat": "",
                  "crontab": "",
                  "once": false,
                  "onceDelay": 0.1,
                  "topic": "",
                  "payload": "daten",
                  "payloadType": "msg",
                  "x": 110,
                  "y": 40,
                  "wires": [
                      [
                          "0fdf123af6451d89"
                      ]
                  ]
              },
              {
                  "id": "071f99aa6aae94c4",
                  "type": "debug",
                  "z": "e96d40e5c03c8e73",
                  "name": "Teste Berechnung",
                  "active": true,
                  "tosidebar": true,
                  "console": false,
                  "tostatus": false,
                  "complete": "true",
                  "targetType": "full",
                  "statusVal": "",
                  "statusType": "auto",
                  "x": 940,
                  "y": 380,
                  "wires": []
              },
              {
                  "id": "1a1876d6fd414b64",
                  "type": "change",
                  "z": "e96d40e5c03c8e73",
                  "name": "",
                  "rules": [
                      {
                          "t": "set",
                          "p": "durchfluss",
                          "pt": "msg",
                          "to": "$round(durchfluss * 5.1,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": 550,
                  "y": 190,
                  "wires": [
                      [
                          "071f99aa6aae94c4",
                          "d608be45b53e2d65",
                          "1c4049c837709955",
                          "eeea6be93ef84e68",
                          "44ef0e4042c6ce50"
                      ]
                  ]
              },
              {
                  "id": "0fdf123af6451d89",
                  "type": "ioBroker get",
                  "z": "e96d40e5c03c8e73",
                  "name": "durchfluss",
                  "topic": "0_userdata.0.Test_Wasser.Test_Durchfluss",
                  "attrname": "durchfluss",
                  "payloadType": "value",
                  "errOnInvalidState": "nothing",
                  "x": 510,
                  "y": 90,
                  "wires": [
                      [
                          "d202759fc6e6dce3"
                      ]
                  ]
              },
              {
                  "id": "d71bb0083fe22676",
                  "type": "ioBroker out",
                  "z": "e96d40e5c03c8e73",
                  "name": "durchfluss",
                  "topic": "0_userdata.0.Test_Wasser.Test_Durchfluss",
                  "ack": "true",
                  "autoCreate": "false",
                  "stateName": "",
                  "role": "",
                  "payloadType": "",
                  "readonly": "",
                  "stateUnit": "",
                  "stateMin": "",
                  "stateMax": "",
                  "x": 1170,
                  "y": 240,
                  "wires": []
              },
              {
                  "id": "b2f8630fc2e72c50",
                  "type": "ioBroker out",
                  "z": "e96d40e5c03c8e73",
                  "name": "tag",
                  "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Tag",
                  "ack": "true",
                  "autoCreate": "false",
                  "stateName": "",
                  "role": "",
                  "payloadType": "",
                  "readonly": "",
                  "stateUnit": "",
                  "stateMin": "",
                  "stateMax": "",
                  "x": 1150,
                  "y": 290,
                  "wires": []
              },
              {
                  "id": "3d07bf7fb1e614bd",
                  "type": "ioBroker out",
                  "z": "e96d40e5c03c8e73",
                  "name": "jahr",
                  "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Jahr",
                  "ack": "true",
                  "autoCreate": "false",
                  "stateName": "",
                  "role": "",
                  "payloadType": "",
                  "readonly": "",
                  "stateUnit": "",
                  "stateMin": "",
                  "stateMax": "",
                  "x": 1150,
                  "y": 340,
                  "wires": []
              },
              {
                  "id": "c87cb1a919d6871f",
                  "type": "ioBroker out",
                  "z": "e96d40e5c03c8e73",
                  "name": "gesamt",
                  "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Gesamt",
                  "ack": "true",
                  "autoCreate": "false",
                  "stateName": "",
                  "role": "",
                  "payloadType": "",
                  "readonly": "",
                  "stateUnit": "",
                  "stateMin": "",
                  "stateMax": "",
                  "x": 1160,
                  "y": 190,
                  "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": 650,
                  "y": 90,
                  "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": 940,
                  "y": 240,
                  "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": 940,
                  "y": 290,
                  "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": 940,
                  "y": 340,
                  "wires": [
                      [
                          "3d07bf7fb1e614bd"
                      ]
                  ]
              },
              {
                  "id": "44ef0e4042c6ce50",
                  "type": "change",
                  "z": "e96d40e5c03c8e73",
                  "name": "",
                  "rules": [
                      {
                          "t": "set",
                          "p": "payload",
                          "pt": "msg",
                          "to": "durchfluss",
                          "tot": "msg"
                      }
                  ],
                  "action": "",
                  "property": "",
                  "from": "",
                  "to": "",
                  "reg": false,
                  "x": 940,
                  "y": 190,
                  "wires": [
                      [
                          "c87cb1a919d6871f"
                      ]
                  ]
              },
              {
                  "id": "9a39688816db1eb6",
                  "type": "link out",
                  "z": "e96d40e5c03c8e73",
                  "name": "link out 1",
                  "mode": "link",
                  "links": [
                      "0fa0de1398efaa3b"
                  ],
                  "x": 1005,
                  "y": 90,
                  "wires": []
              },
              {
                  "id": "0fa0de1398efaa3b",
                  "type": "link in",
                  "z": "e96d40e5c03c8e73",
                  "name": "link in 1",
                  "links": [
                      "9a39688816db1eb6"
                  ],
                  "x": 425,
                  "y": 190,
                  "wires": [
                      [
                          "1a1876d6fd414b64"
                      ]
                  ]
              },
              {
                  "id": "01ada18cbb3de587",
                  "type": "ioBroker out",
                  "z": "e96d40e5c03c8e73",
                  "name": "Magnetventil",
                  "topic": "0_userdata.0.Test_Wasser.Test_Magnetventil",
                  "ack": "false",
                  "autoCreate": "false",
                  "stateName": "",
                  "role": "",
                  "payloadType": "",
                  "readonly": "",
                  "stateUnit": "",
                  "stateMin": "",
                  "stateMax": "",
                  "x": 290,
                  "y": 150,
                  "wires": []
              },
              {
                  "id": "76f52673b56e07fc",
                  "type": "ioBroker in",
                  "z": "e96d40e5c03c8e73",
                  "name": "Schwimmer",
                  "attrname": "payload",
                  "topic": "0_userdata.0.Test_Wasser.Test_Schwimmer",
                  "payloadType": "value",
                  "onlyack": "",
                  "func": "all",
                  "gap": "",
                  "fireOnStart": "false",
                  "outFormat": "MQTT",
                  "x": 100,
                  "y": 90,
                  "wires": [
                      [
                          "62ed674bc6e01184",
                          "01ada18cbb3de587"
                      ]
                  ]
              },
              {
                  "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": 270,
                  "y": 90,
                  "wires": [
                      [
                          "0fdf123af6451d89"
                      ]
                  ]
              }
          ]
          

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

          Jetzt fehlt ja noch das täglich um null uhr Tages Datenpunkt auf null gesetzt wird und Jahreszähler am 31.12. null uhr auf null gesetzt wird.
          Dann noch die Telegram ausgabe und das http get was den flowmeter auf dem esp resettet.

          mickymM 1 Antwort Letzte Antwort
          0
          • AphofisA Aphofis

            @mickym
            Musste ein wenig umstellen
            so siehts jetzt aus und erst wenn schwimmer false ist wird getriggert
            10.png

            [
                {
                    "id": "e96d40e5c03c8e73",
                    "type": "tab",
                    "label": "Wasserstand Aquarium",
                    "disabled": false,
                    "info": "",
                    "env": []
                },
                {
                    "id": "8fbb9f181c70628a",
                    "type": "ioBroker get",
                    "z": "e96d40e5c03c8e73",
                    "name": "jahr",
                    "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Jahr",
                    "attrname": "jahr",
                    "payloadType": "value",
                    "errOnInvalidState": "nothing",
                    "x": 770,
                    "y": 90,
                    "wires": [
                        [
                            "fea33a2388b19fea"
                        ]
                    ]
                },
                {
                    "id": "fea33a2388b19fea",
                    "type": "ioBroker get",
                    "z": "e96d40e5c03c8e73",
                    "name": "gesamt",
                    "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Gesamt",
                    "attrname": "gesamt",
                    "payloadType": "value",
                    "errOnInvalidState": "nothing",
                    "x": 900,
                    "y": 90,
                    "wires": [
                        [
                            "9a39688816db1eb6"
                        ]
                    ]
                },
                {
                    "id": "66eeec1e6f2be7b4",
                    "type": "inject",
                    "z": "e96d40e5c03c8e73",
                    "name": "",
                    "props": [
                        {
                            "p": "payload"
                        }
                    ],
                    "repeat": "",
                    "crontab": "",
                    "once": false,
                    "onceDelay": 0.1,
                    "topic": "",
                    "payload": "daten",
                    "payloadType": "msg",
                    "x": 110,
                    "y": 40,
                    "wires": [
                        [
                            "0fdf123af6451d89"
                        ]
                    ]
                },
                {
                    "id": "071f99aa6aae94c4",
                    "type": "debug",
                    "z": "e96d40e5c03c8e73",
                    "name": "Teste Berechnung",
                    "active": true,
                    "tosidebar": true,
                    "console": false,
                    "tostatus": false,
                    "complete": "true",
                    "targetType": "full",
                    "statusVal": "",
                    "statusType": "auto",
                    "x": 940,
                    "y": 380,
                    "wires": []
                },
                {
                    "id": "1a1876d6fd414b64",
                    "type": "change",
                    "z": "e96d40e5c03c8e73",
                    "name": "",
                    "rules": [
                        {
                            "t": "set",
                            "p": "durchfluss",
                            "pt": "msg",
                            "to": "$round(durchfluss * 5.1,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": 550,
                    "y": 190,
                    "wires": [
                        [
                            "071f99aa6aae94c4",
                            "d608be45b53e2d65",
                            "1c4049c837709955",
                            "eeea6be93ef84e68",
                            "44ef0e4042c6ce50"
                        ]
                    ]
                },
                {
                    "id": "0fdf123af6451d89",
                    "type": "ioBroker get",
                    "z": "e96d40e5c03c8e73",
                    "name": "durchfluss",
                    "topic": "0_userdata.0.Test_Wasser.Test_Durchfluss",
                    "attrname": "durchfluss",
                    "payloadType": "value",
                    "errOnInvalidState": "nothing",
                    "x": 510,
                    "y": 90,
                    "wires": [
                        [
                            "d202759fc6e6dce3"
                        ]
                    ]
                },
                {
                    "id": "d71bb0083fe22676",
                    "type": "ioBroker out",
                    "z": "e96d40e5c03c8e73",
                    "name": "durchfluss",
                    "topic": "0_userdata.0.Test_Wasser.Test_Durchfluss",
                    "ack": "true",
                    "autoCreate": "false",
                    "stateName": "",
                    "role": "",
                    "payloadType": "",
                    "readonly": "",
                    "stateUnit": "",
                    "stateMin": "",
                    "stateMax": "",
                    "x": 1170,
                    "y": 240,
                    "wires": []
                },
                {
                    "id": "b2f8630fc2e72c50",
                    "type": "ioBroker out",
                    "z": "e96d40e5c03c8e73",
                    "name": "tag",
                    "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Tag",
                    "ack": "true",
                    "autoCreate": "false",
                    "stateName": "",
                    "role": "",
                    "payloadType": "",
                    "readonly": "",
                    "stateUnit": "",
                    "stateMin": "",
                    "stateMax": "",
                    "x": 1150,
                    "y": 290,
                    "wires": []
                },
                {
                    "id": "3d07bf7fb1e614bd",
                    "type": "ioBroker out",
                    "z": "e96d40e5c03c8e73",
                    "name": "jahr",
                    "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Jahr",
                    "ack": "true",
                    "autoCreate": "false",
                    "stateName": "",
                    "role": "",
                    "payloadType": "",
                    "readonly": "",
                    "stateUnit": "",
                    "stateMin": "",
                    "stateMax": "",
                    "x": 1150,
                    "y": 340,
                    "wires": []
                },
                {
                    "id": "c87cb1a919d6871f",
                    "type": "ioBroker out",
                    "z": "e96d40e5c03c8e73",
                    "name": "gesamt",
                    "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Gesamt",
                    "ack": "true",
                    "autoCreate": "false",
                    "stateName": "",
                    "role": "",
                    "payloadType": "",
                    "readonly": "",
                    "stateUnit": "",
                    "stateMin": "",
                    "stateMax": "",
                    "x": 1160,
                    "y": 190,
                    "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": 650,
                    "y": 90,
                    "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": 940,
                    "y": 240,
                    "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": 940,
                    "y": 290,
                    "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": 940,
                    "y": 340,
                    "wires": [
                        [
                            "3d07bf7fb1e614bd"
                        ]
                    ]
                },
                {
                    "id": "44ef0e4042c6ce50",
                    "type": "change",
                    "z": "e96d40e5c03c8e73",
                    "name": "",
                    "rules": [
                        {
                            "t": "set",
                            "p": "payload",
                            "pt": "msg",
                            "to": "durchfluss",
                            "tot": "msg"
                        }
                    ],
                    "action": "",
                    "property": "",
                    "from": "",
                    "to": "",
                    "reg": false,
                    "x": 940,
                    "y": 190,
                    "wires": [
                        [
                            "c87cb1a919d6871f"
                        ]
                    ]
                },
                {
                    "id": "9a39688816db1eb6",
                    "type": "link out",
                    "z": "e96d40e5c03c8e73",
                    "name": "link out 1",
                    "mode": "link",
                    "links": [
                        "0fa0de1398efaa3b"
                    ],
                    "x": 1005,
                    "y": 90,
                    "wires": []
                },
                {
                    "id": "0fa0de1398efaa3b",
                    "type": "link in",
                    "z": "e96d40e5c03c8e73",
                    "name": "link in 1",
                    "links": [
                        "9a39688816db1eb6"
                    ],
                    "x": 425,
                    "y": 190,
                    "wires": [
                        [
                            "1a1876d6fd414b64"
                        ]
                    ]
                },
                {
                    "id": "01ada18cbb3de587",
                    "type": "ioBroker out",
                    "z": "e96d40e5c03c8e73",
                    "name": "Magnetventil",
                    "topic": "0_userdata.0.Test_Wasser.Test_Magnetventil",
                    "ack": "false",
                    "autoCreate": "false",
                    "stateName": "",
                    "role": "",
                    "payloadType": "",
                    "readonly": "",
                    "stateUnit": "",
                    "stateMin": "",
                    "stateMax": "",
                    "x": 290,
                    "y": 150,
                    "wires": []
                },
                {
                    "id": "76f52673b56e07fc",
                    "type": "ioBroker in",
                    "z": "e96d40e5c03c8e73",
                    "name": "Schwimmer",
                    "attrname": "payload",
                    "topic": "0_userdata.0.Test_Wasser.Test_Schwimmer",
                    "payloadType": "value",
                    "onlyack": "",
                    "func": "all",
                    "gap": "",
                    "fireOnStart": "false",
                    "outFormat": "MQTT",
                    "x": 100,
                    "y": 90,
                    "wires": [
                        [
                            "62ed674bc6e01184",
                            "01ada18cbb3de587"
                        ]
                    ]
                },
                {
                    "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": 270,
                    "y": 90,
                    "wires": [
                        [
                            "0fdf123af6451d89"
                        ]
                    ]
                }
            ]
            

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

            @aphofis Ja sollte ja so funktionieren. Ich hätte ohne link Nodes - alles einfach dahinter gehängt.

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

            1 Antwort Letzte Antwort
            0
            • AphofisA Aphofis

              Jetzt fehlt ja noch das täglich um null uhr Tages Datenpunkt auf null gesetzt wird und Jahreszähler am 31.12. null uhr auf null gesetzt wird.
              Dann noch die Telegram ausgabe und das http get was den flowmeter auf dem esp resettet.

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

              @aphofis sagte in Wasserregulierung Aquarium:

              Jetzt fehlt ja noch das täglich um null uhr Tages Datenpunkt auf null gesetzt wird und Jahreszähler am 31.12. null uhr auf null gesetzt wird.
              Dann noch die Telegram ausgabe und das http get was den flowmeter auf dem esp resettet.

              Ja da installiere dir mal die Chronplus Node. Das machen wir aber morgen.

              https://flows.nodered.org/node/node-red-contrib-cron-plus

              Aber bitte über den Palettenmanager installieren. (Den Haken im NodeRed Adapter rausmachen)

              e5ea77fc-e008-4607-9983-9d0ff5ac8f8b-image.png

              Die Warnung kannst Du ignorieren, wenn Du im backit up die separate Sicherung für NodeRed anhakst.

              b2ba0fd6-5a5c-497e-96d6-1bd441ef3359-image.png

              So jetzt endgültig gute Nacht. Der Rest morgen.

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

              AphofisA 1 Antwort Letzte Antwort
              1
              • mickymM mickym

                @aphofis sagte in Wasserregulierung Aquarium:

                Jetzt fehlt ja noch das täglich um null uhr Tages Datenpunkt auf null gesetzt wird und Jahreszähler am 31.12. null uhr auf null gesetzt wird.
                Dann noch die Telegram ausgabe und das http get was den flowmeter auf dem esp resettet.

                Ja da installiere dir mal die Chronplus Node. Das machen wir aber morgen.

                https://flows.nodered.org/node/node-red-contrib-cron-plus

                Aber bitte über den Palettenmanager installieren. (Den Haken im NodeRed Adapter rausmachen)

                e5ea77fc-e008-4607-9983-9d0ff5ac8f8b-image.png

                Die Warnung kannst Du ignorieren, wenn Du im backit up die separate Sicherung für NodeRed anhakst.

                b2ba0fd6-5a5c-497e-96d6-1bd441ef3359-image.png

                So jetzt endgültig gute Nacht. Der Rest morgen.

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

                @mickym
                Ich denke ich hab alles alleine hinbekommen.
                Counter vorher
                Screenshot 2024-08-17 070600.png
                danach
                Screenshot 2024-08-17 070837.png
                Wird auf false getriggert mit 2 sek verzögerung, weil der Wasserdurchflussmesser immer noch minimal nach pulst.

                Vorher
                Screenshot 2024-08-17 070629.png danach auch erst auf false in die Datenpunkte aktualisiert
                Screenshot 2024-08-17 070826.png
                das dann die aktuelle Flow kannst du ja noch mal drüber gucken, ob ich alles Richtig gemacht habe. Auch die Cronjob setzen die Datenpunkte auf 0
                Screenshot 2024-08-17 070703.png
                Screenshot 2024-08-17 070852.png


                [
                {
                "id": "e96d40e5c03c8e73",
                "type": "tab",
                "label": "Wasserstand Aquarium",
                "disabled": false,
                "info": "",
                "env": []
                },
                {
                "id": "45a6e580b60ac2db",
                "type": "junction",
                "z": "e96d40e5c03c8e73",
                "x": 820,
                "y": 530,
                "wires": [
                [
                "eaeec2f4b2ca281f",
                "aa28b192152fbef2"
                ]
                ]
                },
                {
                "id": "e55b14fd0d28d156",
                "type": "junction",
                "z": "e96d40e5c03c8e73",
                "x": 820,
                "y": 630,
                "wires": [
                [
                "72a5c2949b417e99",
                "14caa704f34116a9"
                ]
                ]
                },
                {
                "id": "8c50dad878f1363c",
                "type": "junction",
                "z": "e96d40e5c03c8e73",
                "x": 610,
                "y": 470,
                "wires": [
                [
                "071f99aa6aae94c4"
                ]
                ]
                },
                {
                "id": "7014354310596b03",
                "type": "junction",
                "z": "e96d40e5c03c8e73",
                "x": 200,
                "y": 150,
                "wires": [
                [
                "01ada18cbb3de587"
                ]
                ]
                },
                {
                "id": "8fbb9f181c70628a",
                "type": "ioBroker get",
                "z": "e96d40e5c03c8e73",
                "name": "jahr",
                "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Jahr",
                "attrname": "jahr",
                "payloadType": "value",
                "errOnInvalidState": "nothing",
                "x": 660,
                "y": 90,
                "wires": [
                [
                "fea33a2388b19fea"
                ]
                ]
                },
                {
                "id": "fea33a2388b19fea",
                "type": "ioBroker get",
                "z": "e96d40e5c03c8e73",
                "name": "gesamt",
                "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Gesamt",
                "attrname": "gesamt",
                "payloadType": "value",
                "errOnInvalidState": "nothing",
                "x": 790,
                "y": 90,
                "wires": [
                [
                "9a39688816db1eb6"
                ]
                ]
                },
                {
                "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": 950,
                "y": 470,
                "wires": []
                },
                {
                "id": "1a1876d6fd414b64",
                "type": "change",
                "z": "e96d40e5c03c8e73",
                "name": "",
                "rules": [
                {
                "t": "set",
                "p": "durchfluss",
                "pt": "msg",
                "to": "$round(durchfluss * 5.1,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": 440,
                "y": 340,
                "wires": [
                [
                "44ef0e4042c6ce50",
                "d608be45b53e2d65",
                "1c4049c837709955",
                "eeea6be93ef84e68",
                "8c50dad878f1363c"
                ]
                ]
                },
                {
                "id": "0fdf123af6451d89",
                "type": "ioBroker get",
                "z": "e96d40e5c03c8e73",
                "name": "durchfluss",
                "topic": "0_userdata.0.Test_Wasser.Test_Durchfluss",
                "attrname": "durchfluss",
                "payloadType": "value",
                "errOnInvalidState": "nothing",
                "x": 400,
                "y": 90,
                "wires": [
                [
                "d202759fc6e6dce3"
                ]
                ]
                },
                {
                "id": "d71bb0083fe22676",
                "type": "ioBroker out",
                "z": "e96d40e5c03c8e73",
                "name": "durchfluss",
                "topic": "0_userdata.0.Test_Wasser.Test_Durchfluss",
                "ack": "true",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 940,
                "y": 310,
                "wires": []
                },
                {
                "id": "b2f8630fc2e72c50",
                "type": "ioBroker out",
                "z": "e96d40e5c03c8e73",
                "name": "tag",
                "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Tag",
                "ack": "true",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 920,
                "y": 360,
                "wires": []
                },
                {
                "id": "3d07bf7fb1e614bd",
                "type": "ioBroker out",
                "z": "e96d40e5c03c8e73",
                "name": "jahr",
                "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Jahr",
                "ack": "true",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 920,
                "y": 410,
                "wires": []
                },
                {
                "id": "c87cb1a919d6871f",
                "type": "ioBroker out",
                "z": "e96d40e5c03c8e73",
                "name": "gesamt",
                "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Gesamt",
                "ack": "true",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 930,
                "y": 260,
                "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": 540,
                "y": 90,
                "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": 710,
                "y": 310,
                "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": 710,
                "y": 360,
                "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": 710,
                "y": 410,
                "wires": [
                [
                "3d07bf7fb1e614bd"
                ]
                ]
                },
                {
                "id": "44ef0e4042c6ce50",
                "type": "change",
                "z": "e96d40e5c03c8e73",
                "name": "",
                "rules": [
                {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "durchfluss",
                "tot": "msg"
                }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 710,
                "y": 260,
                "wires": [
                [
                "c87cb1a919d6871f"
                ]
                ]
                },
                {
                "id": "9a39688816db1eb6",
                "type": "link out",
                "z": "e96d40e5c03c8e73",
                "name": "link out 1",
                "mode": "link",
                "links": [
                "0fa0de1398efaa3b"
                ],
                "x": 885,
                "y": 90,
                "wires": [],
                "icon": "node-red-contrib-calc/calculator.png"
                },
                {
                "id": "0fa0de1398efaa3b",
                "type": "link in",
                "z": "e96d40e5c03c8e73",
                "name": "link in 1",
                "links": [
                "9a39688816db1eb6"
                ],
                "x": 315,
                "y": 340,
                "wires": [
                [
                "1a1876d6fd414b64"
                ]
                ],
                "icon": "node-red-contrib-calc/calculator.png"
                },
                {
                "id": "01ada18cbb3de587",
                "type": "ioBroker out",
                "z": "e96d40e5c03c8e73",
                "name": "Magnetventil",
                "topic": "0_userdata.0.Test_Wasser.Test_Magnetventil",
                "ack": "false",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 690,
                "y": 150,
                "wires": []
                },
                {
                "id": "76f52673b56e07fc",
                "type": "ioBroker in",
                "z": "e96d40e5c03c8e73",
                "name": "Schwimmer",
                "attrname": "payload",
                "topic": "0_userdata.0.Test_Wasser.Test_Schwimmer",
                "payloadType": "value",
                "onlyack": "",
                "func": "all",
                "gap": "",
                "fireOnStart": "false",
                "outFormat": "MQTT",
                "x": 80,
                "y": 90,
                "wires": [
                [
                "62ed674bc6e01184",
                "7014354310596b03"
                ]
                ]
                },
                {
                "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": 90,
                "wires": [
                [
                "0fdf123af6451d89",
                "5b6621237a1f62be"
                ]
                ]
                },
                {
                "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": 110,
                "y": 530,
                "wires": [
                [
                "a940876997af3dcb"
                ]
                ]
                },
                {
                "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": 930,
                "y": 510,
                "wires": []
                },
                {
                "id": "eaeec2f4b2ca281f",
                "type": "ioBroker out",
                "z": "e96d40e5c03c8e73",
                "name": "tag",
                "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Tag",
                "ack": "true",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 920,
                "y": 550,
                "wires": []
                },
                {
                "id": "b36aa30.3a7276",
                "type": "http request",
                "z": "e96d40e5c03c8e73",
                "name": "Senden",
                "method": "GET",
                "ret": "txt",
                "paytoqs": "ignore",
                "url": "http://192.168.0.96/cm?user=benutzername&password=Passwort&cmnd=counter1 0",
                "tls": "",
                "persist": false,
                "proxy": "",
                "insecureHTTPParser": false,
                "authType": "",
                "senderr": false,
                "headers": [],
                "x": 790,
                "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": 610,
                "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": 950,
                "y": 40,
                "wires": []
                },
                {
                "id": "5b6621237a1f62be",
                "type": "delay",
                "z": "e96d40e5c03c8e73",
                "name": "Verzögerung",
                "pauseType": "delay",
                "timeout": "2",
                "timeoutUnits": "seconds",
                "rate": "1",
                "nbRateUnits": "1",
                "rateUnits": "second",
                "randomFirst": "1",
                "randomLast": "5",
                "randomUnits": "seconds",
                "drop": false,
                "allowrate": false,
                "outputs": 1,
                "x": 420,
                "y": 40,
                "wires": [
                [
                "70154cd4.de1444"
                ]
                ]
                },
                {
                "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": 120,
                "y": 630,
                "wires": [
                [
                "4d69e63349514e4c"
                ]
                ]
                },
                {
                "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": 940,
                "y": 610,
                "wires": []
                },
                {
                "id": "72a5c2949b417e99",
                "type": "ioBroker out",
                "z": "e96d40e5c03c8e73",
                "name": "Jahr",
                "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Jahr",
                "ack": "true",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 920,
                "y": 650,
                "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": 280,
                "y": 530,
                "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": 320,
                "y": 630,
                "wires": [
                [
                "e55b14fd0d28d156"
                ]
                ]
                }
                ]

                [/s]
                AphofisA 1 Antwort Letzte Antwort
                0
                • AphofisA Aphofis

                  @mickym
                  Ich denke ich hab alles alleine hinbekommen.
                  Counter vorher
                  Screenshot 2024-08-17 070600.png
                  danach
                  Screenshot 2024-08-17 070837.png
                  Wird auf false getriggert mit 2 sek verzögerung, weil der Wasserdurchflussmesser immer noch minimal nach pulst.

                  Vorher
                  Screenshot 2024-08-17 070629.png danach auch erst auf false in die Datenpunkte aktualisiert
                  Screenshot 2024-08-17 070826.png
                  das dann die aktuelle Flow kannst du ja noch mal drüber gucken, ob ich alles Richtig gemacht habe. Auch die Cronjob setzen die Datenpunkte auf 0
                  Screenshot 2024-08-17 070703.png
                  Screenshot 2024-08-17 070852.png


                  [
                  {
                  "id": "e96d40e5c03c8e73",
                  "type": "tab",
                  "label": "Wasserstand Aquarium",
                  "disabled": false,
                  "info": "",
                  "env": []
                  },
                  {
                  "id": "45a6e580b60ac2db",
                  "type": "junction",
                  "z": "e96d40e5c03c8e73",
                  "x": 820,
                  "y": 530,
                  "wires": [
                  [
                  "eaeec2f4b2ca281f",
                  "aa28b192152fbef2"
                  ]
                  ]
                  },
                  {
                  "id": "e55b14fd0d28d156",
                  "type": "junction",
                  "z": "e96d40e5c03c8e73",
                  "x": 820,
                  "y": 630,
                  "wires": [
                  [
                  "72a5c2949b417e99",
                  "14caa704f34116a9"
                  ]
                  ]
                  },
                  {
                  "id": "8c50dad878f1363c",
                  "type": "junction",
                  "z": "e96d40e5c03c8e73",
                  "x": 610,
                  "y": 470,
                  "wires": [
                  [
                  "071f99aa6aae94c4"
                  ]
                  ]
                  },
                  {
                  "id": "7014354310596b03",
                  "type": "junction",
                  "z": "e96d40e5c03c8e73",
                  "x": 200,
                  "y": 150,
                  "wires": [
                  [
                  "01ada18cbb3de587"
                  ]
                  ]
                  },
                  {
                  "id": "8fbb9f181c70628a",
                  "type": "ioBroker get",
                  "z": "e96d40e5c03c8e73",
                  "name": "jahr",
                  "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Jahr",
                  "attrname": "jahr",
                  "payloadType": "value",
                  "errOnInvalidState": "nothing",
                  "x": 660,
                  "y": 90,
                  "wires": [
                  [
                  "fea33a2388b19fea"
                  ]
                  ]
                  },
                  {
                  "id": "fea33a2388b19fea",
                  "type": "ioBroker get",
                  "z": "e96d40e5c03c8e73",
                  "name": "gesamt",
                  "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Gesamt",
                  "attrname": "gesamt",
                  "payloadType": "value",
                  "errOnInvalidState": "nothing",
                  "x": 790,
                  "y": 90,
                  "wires": [
                  [
                  "9a39688816db1eb6"
                  ]
                  ]
                  },
                  {
                  "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": 950,
                  "y": 470,
                  "wires": []
                  },
                  {
                  "id": "1a1876d6fd414b64",
                  "type": "change",
                  "z": "e96d40e5c03c8e73",
                  "name": "",
                  "rules": [
                  {
                  "t": "set",
                  "p": "durchfluss",
                  "pt": "msg",
                  "to": "$round(durchfluss * 5.1,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": 440,
                  "y": 340,
                  "wires": [
                  [
                  "44ef0e4042c6ce50",
                  "d608be45b53e2d65",
                  "1c4049c837709955",
                  "eeea6be93ef84e68",
                  "8c50dad878f1363c"
                  ]
                  ]
                  },
                  {
                  "id": "0fdf123af6451d89",
                  "type": "ioBroker get",
                  "z": "e96d40e5c03c8e73",
                  "name": "durchfluss",
                  "topic": "0_userdata.0.Test_Wasser.Test_Durchfluss",
                  "attrname": "durchfluss",
                  "payloadType": "value",
                  "errOnInvalidState": "nothing",
                  "x": 400,
                  "y": 90,
                  "wires": [
                  [
                  "d202759fc6e6dce3"
                  ]
                  ]
                  },
                  {
                  "id": "d71bb0083fe22676",
                  "type": "ioBroker out",
                  "z": "e96d40e5c03c8e73",
                  "name": "durchfluss",
                  "topic": "0_userdata.0.Test_Wasser.Test_Durchfluss",
                  "ack": "true",
                  "autoCreate": "false",
                  "stateName": "",
                  "role": "",
                  "payloadType": "",
                  "readonly": "",
                  "stateUnit": "",
                  "stateMin": "",
                  "stateMax": "",
                  "x": 940,
                  "y": 310,
                  "wires": []
                  },
                  {
                  "id": "b2f8630fc2e72c50",
                  "type": "ioBroker out",
                  "z": "e96d40e5c03c8e73",
                  "name": "tag",
                  "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Tag",
                  "ack": "true",
                  "autoCreate": "false",
                  "stateName": "",
                  "role": "",
                  "payloadType": "",
                  "readonly": "",
                  "stateUnit": "",
                  "stateMin": "",
                  "stateMax": "",
                  "x": 920,
                  "y": 360,
                  "wires": []
                  },
                  {
                  "id": "3d07bf7fb1e614bd",
                  "type": "ioBroker out",
                  "z": "e96d40e5c03c8e73",
                  "name": "jahr",
                  "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Jahr",
                  "ack": "true",
                  "autoCreate": "false",
                  "stateName": "",
                  "role": "",
                  "payloadType": "",
                  "readonly": "",
                  "stateUnit": "",
                  "stateMin": "",
                  "stateMax": "",
                  "x": 920,
                  "y": 410,
                  "wires": []
                  },
                  {
                  "id": "c87cb1a919d6871f",
                  "type": "ioBroker out",
                  "z": "e96d40e5c03c8e73",
                  "name": "gesamt",
                  "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Gesamt",
                  "ack": "true",
                  "autoCreate": "false",
                  "stateName": "",
                  "role": "",
                  "payloadType": "",
                  "readonly": "",
                  "stateUnit": "",
                  "stateMin": "",
                  "stateMax": "",
                  "x": 930,
                  "y": 260,
                  "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": 540,
                  "y": 90,
                  "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": 710,
                  "y": 310,
                  "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": 710,
                  "y": 360,
                  "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": 710,
                  "y": 410,
                  "wires": [
                  [
                  "3d07bf7fb1e614bd"
                  ]
                  ]
                  },
                  {
                  "id": "44ef0e4042c6ce50",
                  "type": "change",
                  "z": "e96d40e5c03c8e73",
                  "name": "",
                  "rules": [
                  {
                  "t": "set",
                  "p": "payload",
                  "pt": "msg",
                  "to": "durchfluss",
                  "tot": "msg"
                  }
                  ],
                  "action": "",
                  "property": "",
                  "from": "",
                  "to": "",
                  "reg": false,
                  "x": 710,
                  "y": 260,
                  "wires": [
                  [
                  "c87cb1a919d6871f"
                  ]
                  ]
                  },
                  {
                  "id": "9a39688816db1eb6",
                  "type": "link out",
                  "z": "e96d40e5c03c8e73",
                  "name": "link out 1",
                  "mode": "link",
                  "links": [
                  "0fa0de1398efaa3b"
                  ],
                  "x": 885,
                  "y": 90,
                  "wires": [],
                  "icon": "node-red-contrib-calc/calculator.png"
                  },
                  {
                  "id": "0fa0de1398efaa3b",
                  "type": "link in",
                  "z": "e96d40e5c03c8e73",
                  "name": "link in 1",
                  "links": [
                  "9a39688816db1eb6"
                  ],
                  "x": 315,
                  "y": 340,
                  "wires": [
                  [
                  "1a1876d6fd414b64"
                  ]
                  ],
                  "icon": "node-red-contrib-calc/calculator.png"
                  },
                  {
                  "id": "01ada18cbb3de587",
                  "type": "ioBroker out",
                  "z": "e96d40e5c03c8e73",
                  "name": "Magnetventil",
                  "topic": "0_userdata.0.Test_Wasser.Test_Magnetventil",
                  "ack": "false",
                  "autoCreate": "false",
                  "stateName": "",
                  "role": "",
                  "payloadType": "",
                  "readonly": "",
                  "stateUnit": "",
                  "stateMin": "",
                  "stateMax": "",
                  "x": 690,
                  "y": 150,
                  "wires": []
                  },
                  {
                  "id": "76f52673b56e07fc",
                  "type": "ioBroker in",
                  "z": "e96d40e5c03c8e73",
                  "name": "Schwimmer",
                  "attrname": "payload",
                  "topic": "0_userdata.0.Test_Wasser.Test_Schwimmer",
                  "payloadType": "value",
                  "onlyack": "",
                  "func": "all",
                  "gap": "",
                  "fireOnStart": "false",
                  "outFormat": "MQTT",
                  "x": 80,
                  "y": 90,
                  "wires": [
                  [
                  "62ed674bc6e01184",
                  "7014354310596b03"
                  ]
                  ]
                  },
                  {
                  "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": 90,
                  "wires": [
                  [
                  "0fdf123af6451d89",
                  "5b6621237a1f62be"
                  ]
                  ]
                  },
                  {
                  "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": 110,
                  "y": 530,
                  "wires": [
                  [
                  "a940876997af3dcb"
                  ]
                  ]
                  },
                  {
                  "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": 930,
                  "y": 510,
                  "wires": []
                  },
                  {
                  "id": "eaeec2f4b2ca281f",
                  "type": "ioBroker out",
                  "z": "e96d40e5c03c8e73",
                  "name": "tag",
                  "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Tag",
                  "ack": "true",
                  "autoCreate": "false",
                  "stateName": "",
                  "role": "",
                  "payloadType": "",
                  "readonly": "",
                  "stateUnit": "",
                  "stateMin": "",
                  "stateMax": "",
                  "x": 920,
                  "y": 550,
                  "wires": []
                  },
                  {
                  "id": "b36aa30.3a7276",
                  "type": "http request",
                  "z": "e96d40e5c03c8e73",
                  "name": "Senden",
                  "method": "GET",
                  "ret": "txt",
                  "paytoqs": "ignore",
                  "url": "http://192.168.0.96/cm?user=benutzername&password=Passwort&cmnd=counter1 0",
                  "tls": "",
                  "persist": false,
                  "proxy": "",
                  "insecureHTTPParser": false,
                  "authType": "",
                  "senderr": false,
                  "headers": [],
                  "x": 790,
                  "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": 610,
                  "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": 950,
                  "y": 40,
                  "wires": []
                  },
                  {
                  "id": "5b6621237a1f62be",
                  "type": "delay",
                  "z": "e96d40e5c03c8e73",
                  "name": "Verzögerung",
                  "pauseType": "delay",
                  "timeout": "2",
                  "timeoutUnits": "seconds",
                  "rate": "1",
                  "nbRateUnits": "1",
                  "rateUnits": "second",
                  "randomFirst": "1",
                  "randomLast": "5",
                  "randomUnits": "seconds",
                  "drop": false,
                  "allowrate": false,
                  "outputs": 1,
                  "x": 420,
                  "y": 40,
                  "wires": [
                  [
                  "70154cd4.de1444"
                  ]
                  ]
                  },
                  {
                  "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": 120,
                  "y": 630,
                  "wires": [
                  [
                  "4d69e63349514e4c"
                  ]
                  ]
                  },
                  {
                  "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": 940,
                  "y": 610,
                  "wires": []
                  },
                  {
                  "id": "72a5c2949b417e99",
                  "type": "ioBroker out",
                  "z": "e96d40e5c03c8e73",
                  "name": "Jahr",
                  "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Jahr",
                  "ack": "true",
                  "autoCreate": "false",
                  "stateName": "",
                  "role": "",
                  "payloadType": "",
                  "readonly": "",
                  "stateUnit": "",
                  "stateMin": "",
                  "stateMax": "",
                  "x": 920,
                  "y": 650,
                  "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": 280,
                  "y": 530,
                  "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": 320,
                  "y": 630,
                  "wires": [
                  [
                  "e55b14fd0d28d156"
                  ]
                  ]
                  }
                  ]

                  [/s]
                  AphofisA Offline
                  AphofisA Offline
                  Aphofis
                  schrieb am zuletzt editiert von
                  #136

                  Da hat mir doch einer hier richtig viel beigebracht.
                  Wenn du das OK gibst, dann ändere ich die Datenpunkte auf die vom Aquarium und dupliziere die Flow und mache das selbe dann für den Wassertank von meiner Kaffee Maschine.
                  Stinkt zwar etwas aber etwas bin ich schon stolz auf mich.
                  War aber auch viel Geduld und Beharlichkeit deinerseits.
                  Also vielen vielen dank. Keine Angst die nächste Flow wartet. Wenn ich komplett weg will von Blockly aber es ist ja auch nicht mehr das 1000 Liter Meerwasser ich möchte auch nicht über 170 nSteuerungen umbauen die mir @paul53 alle programmiert hatte.
                  Also Hut ab und ein großes Dankeschön und hast du einen Youtube Channel oder dergleichen!? Würde mich da gerne noch anderweitig bedanken. :grinning:

                  AphofisA 1 Antwort Letzte Antwort
                  0
                  • AphofisA Aphofis

                    Da hat mir doch einer hier richtig viel beigebracht.
                    Wenn du das OK gibst, dann ändere ich die Datenpunkte auf die vom Aquarium und dupliziere die Flow und mache das selbe dann für den Wassertank von meiner Kaffee Maschine.
                    Stinkt zwar etwas aber etwas bin ich schon stolz auf mich.
                    War aber auch viel Geduld und Beharlichkeit deinerseits.
                    Also vielen vielen dank. Keine Angst die nächste Flow wartet. Wenn ich komplett weg will von Blockly aber es ist ja auch nicht mehr das 1000 Liter Meerwasser ich möchte auch nicht über 170 nSteuerungen umbauen die mir @paul53 alle programmiert hatte.
                    Also Hut ab und ein großes Dankeschön und hast du einen Youtube Channel oder dergleichen!? Würde mich da gerne noch anderweitig bedanken. :grinning:

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

                    Noch ein Mini Problem, wenn man einen Kaffee macht, sind es immer nur kurze schübe hintereinander sprich es müssten entweder alle werte für 10 sek in eine liste geschrieben werden und dann erst ausgerechnet werden weil der Druck so hoch ist das dass was die Maschine verbraucht minimal ist. also den ausrechnugs Trigger vllt erweitern um ein Delay und die gesammelten werte aus dem counter dann erst zusammenrechnen. Ähnlich wird es beim Aquarium sein.

                    mickymM 1 Antwort Letzte Antwort
                    0
                    • AphofisA Aphofis

                      Noch ein Mini Problem, wenn man einen Kaffee macht, sind es immer nur kurze schübe hintereinander sprich es müssten entweder alle werte für 10 sek in eine liste geschrieben werden und dann erst ausgerechnet werden weil der Druck so hoch ist das dass was die Maschine verbraucht minimal ist. also den ausrechnugs Trigger vllt erweitern um ein Delay und die gesammelten werte aus dem counter dann erst zusammenrechnen. Ähnlich wird es beim Aquarium sein.

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

                      @aphofis sagte in ["erfolgreich", "gelöst"] Wasserregulierung Aquarium:

                      Noch ein Mini Problem, wenn man einen Kaffee macht, sind es immer nur kurze schübe hintereinander sprich es müssten entweder alle werte für 10 sek in eine liste geschrieben werden und dann erst ausgerechnet werden weil der Druck so hoch ist das dass was die Maschine verbraucht minimal ist. also den ausrechnugs Trigger vllt erweitern um ein Delay und die gesammelten werte aus dem counter dann erst zusammenrechnen. Ähnlich wird es beim Aquarium sein.

                      Na ja das verstehe ich jetzt nicht. Wenn die Schübe so kurz sind, dass der Durchfluss gar nicht registriert wird, dann bringt auch ein Aufsummieren in Listen nichts. Wenn Du Angst hast, dass Nachrichten verloren gehen, weil die Ausrechnung zu lange dauert, dann gibts darauf nur 2 Dinge zu sagen.

                      1. Wenn die Trigger unter 250 ms kommen, dann wirst Du die auch nicht in Listen speichern können.
                      2. Wenn es Dir nur um den Rest geht, dann begrenze einfach die Nachrichtenrate mit einer Delay Node, dann kann das ganz gemütlich aber gerechnet werden, auch wenn die Mengen im halb Sekundentakt eintreffen.

                      Das Zusammenfassen in Listen über einen Zeitraum x macht nur Sinn, wenn Du der Meinung bist, dass die Durchflussmengen unter 0,01 liegen, aber das glaube ich nicht, dass das sowieso so genau erfasst werden kann.

                      Erst wenn Du meinst Du kommst mit einer Begrenzung nicht aus, dann könnte man hier mit einer function Node selbst programmieren, über den flow context addieren (da brauchst doch keine Listen oder Arrays) oder mit einer aggregator Node arbeiten. Am einfachsten ist sicher hier mit der aggregator Node zu arbeiten, die ist am flexibelsten und am vielseitigsten.

                      Dein FLOW ist übrigens nicht importierbar, wenn er nicht in CodeTags ist. Ein Spoiler reicht NICHT!
                      Ansonsten schauts gut aus - nur dass ich mit einer cronplus Node und eine switch NOde gearbeitet hätte, aber so gehts natürlich auch. Ausserdem würde ich den Jahrespunkt entweder am 1.1. um 0:00 Uhr setzen oder am 31.12. um 23:59, aber nicht um 0:00 Uhr.

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

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

                        @mickym
                        noch mal eine dumme Frage,
                        bei allen steht ja der payload ihrer eigenschaft.
                        also durchfluss ~ durchfluss
                        tag ~ tag usw. doch bei gesamt steht auch durchfluss in der change node für gesamt
                        wie ist denn da die verarbeitung zu verstehen.
                        Screenshot 2024-08-18 085846.png

                        [
                            {
                                "id": "1a1876d6fd414b64",
                                "type": "change",
                                "z": "e96d40e5c03c8e73",
                                "name": "",
                                "rules": [
                                    {
                                        "t": "set",
                                        "p": "durchfluss",
                                        "pt": "msg",
                                        "to": "$round(durchfluss * 5.1,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": 440,
                                "y": 340,
                                "wires": [
                                    [
                                        "44ef0e4042c6ce50",
                                        "d608be45b53e2d65",
                                        "1c4049c837709955",
                                        "eeea6be93ef84e68",
                                        "8c50dad878f1363c"
                                    ]
                                ]
                            },
                            {
                                "id": "d71bb0083fe22676",
                                "type": "ioBroker out",
                                "z": "e96d40e5c03c8e73",
                                "name": "durchfluss",
                                "topic": "sonoff.0.Aqua_Float.SENSOR.COUNTER.C1",
                                "ack": "true",
                                "autoCreate": "false",
                                "stateName": "",
                                "role": "",
                                "payloadType": "",
                                "readonly": "",
                                "stateUnit": "",
                                "stateMin": "",
                                "stateMax": "",
                                "x": 940,
                                "y": 310,
                                "wires": []
                            },
                            {
                                "id": "b2f8630fc2e72c50",
                                "type": "ioBroker out",
                                "z": "e96d40e5c03c8e73",
                                "name": "tag",
                                "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Tag",
                                "ack": "true",
                                "autoCreate": "false",
                                "stateName": "",
                                "role": "",
                                "payloadType": "",
                                "readonly": "",
                                "stateUnit": "",
                                "stateMin": "",
                                "stateMax": "",
                                "x": 920,
                                "y": 360,
                                "wires": []
                            },
                            {
                                "id": "3d07bf7fb1e614bd",
                                "type": "ioBroker out",
                                "z": "e96d40e5c03c8e73",
                                "name": "jahr",
                                "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Jahr",
                                "ack": "true",
                                "autoCreate": "false",
                                "stateName": "",
                                "role": "",
                                "payloadType": "",
                                "readonly": "",
                                "stateUnit": "",
                                "stateMin": "",
                                "stateMax": "",
                                "x": 920,
                                "y": 410,
                                "wires": []
                            },
                            {
                                "id": "c87cb1a919d6871f",
                                "type": "ioBroker out",
                                "z": "e96d40e5c03c8e73",
                                "name": "gesamt",
                                "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Gesamt",
                                "ack": "true",
                                "autoCreate": "false",
                                "stateName": "",
                                "role": "",
                                "payloadType": "",
                                "readonly": "",
                                "stateUnit": "",
                                "stateMin": "",
                                "stateMax": "",
                                "x": 930,
                                "y": 260,
                                "wires": []
                            },
                            {
                                "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": 710,
                                "y": 310,
                                "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": 710,
                                "y": 360,
                                "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": 710,
                                "y": 410,
                                "wires": [
                                    [
                                        "3d07bf7fb1e614bd"
                                    ]
                                ]
                            },
                            {
                                "id": "44ef0e4042c6ce50",
                                "type": "change",
                                "z": "e96d40e5c03c8e73",
                                "name": "",
                                "rules": [
                                    {
                                        "t": "set",
                                        "p": "payload",
                                        "pt": "msg",
                                        "to": "durchfluss",
                                        "tot": "msg"
                                    }
                                ],
                                "action": "",
                                "property": "",
                                "from": "",
                                "to": "",
                                "reg": false,
                                "x": 710,
                                "y": 260,
                                "wires": [
                                    [
                                        "c87cb1a919d6871f"
                                    ]
                                ]
                            },
                            {
                                "id": "0fa0de1398efaa3b",
                                "type": "link in",
                                "z": "e96d40e5c03c8e73",
                                "name": "link in 1",
                                "links": [
                                    "9a39688816db1eb6"
                                ],
                                "x": 315,
                                "y": 340,
                                "wires": [
                                    [
                                        "1a1876d6fd414b64"
                                    ]
                                ],
                                "icon": "node-red-contrib-calc/calculator.png"
                            }
                        ]
                        


                        ist mir nur aufgefallen, das dreimal innerhalb weniger sekunden gepumpt wird und weil das so schnell geht, wird der durchfluss wert im ESP nicht resettet oder liegt das an dem delay

                        mickymM 1 Antwort Letzte Antwort
                        0
                        • AphofisA Aphofis

                          @mickym
                          noch mal eine dumme Frage,
                          bei allen steht ja der payload ihrer eigenschaft.
                          also durchfluss ~ durchfluss
                          tag ~ tag usw. doch bei gesamt steht auch durchfluss in der change node für gesamt
                          wie ist denn da die verarbeitung zu verstehen.
                          Screenshot 2024-08-18 085846.png

                          [
                              {
                                  "id": "1a1876d6fd414b64",
                                  "type": "change",
                                  "z": "e96d40e5c03c8e73",
                                  "name": "",
                                  "rules": [
                                      {
                                          "t": "set",
                                          "p": "durchfluss",
                                          "pt": "msg",
                                          "to": "$round(durchfluss * 5.1,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": 440,
                                  "y": 340,
                                  "wires": [
                                      [
                                          "44ef0e4042c6ce50",
                                          "d608be45b53e2d65",
                                          "1c4049c837709955",
                                          "eeea6be93ef84e68",
                                          "8c50dad878f1363c"
                                      ]
                                  ]
                              },
                              {
                                  "id": "d71bb0083fe22676",
                                  "type": "ioBroker out",
                                  "z": "e96d40e5c03c8e73",
                                  "name": "durchfluss",
                                  "topic": "sonoff.0.Aqua_Float.SENSOR.COUNTER.C1",
                                  "ack": "true",
                                  "autoCreate": "false",
                                  "stateName": "",
                                  "role": "",
                                  "payloadType": "",
                                  "readonly": "",
                                  "stateUnit": "",
                                  "stateMin": "",
                                  "stateMax": "",
                                  "x": 940,
                                  "y": 310,
                                  "wires": []
                              },
                              {
                                  "id": "b2f8630fc2e72c50",
                                  "type": "ioBroker out",
                                  "z": "e96d40e5c03c8e73",
                                  "name": "tag",
                                  "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Tag",
                                  "ack": "true",
                                  "autoCreate": "false",
                                  "stateName": "",
                                  "role": "",
                                  "payloadType": "",
                                  "readonly": "",
                                  "stateUnit": "",
                                  "stateMin": "",
                                  "stateMax": "",
                                  "x": 920,
                                  "y": 360,
                                  "wires": []
                              },
                              {
                                  "id": "3d07bf7fb1e614bd",
                                  "type": "ioBroker out",
                                  "z": "e96d40e5c03c8e73",
                                  "name": "jahr",
                                  "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Jahr",
                                  "ack": "true",
                                  "autoCreate": "false",
                                  "stateName": "",
                                  "role": "",
                                  "payloadType": "",
                                  "readonly": "",
                                  "stateUnit": "",
                                  "stateMin": "",
                                  "stateMax": "",
                                  "x": 920,
                                  "y": 410,
                                  "wires": []
                              },
                              {
                                  "id": "c87cb1a919d6871f",
                                  "type": "ioBroker out",
                                  "z": "e96d40e5c03c8e73",
                                  "name": "gesamt",
                                  "topic": "0_userdata.0.Test_Wasser.Test_Wasser_Gesamt",
                                  "ack": "true",
                                  "autoCreate": "false",
                                  "stateName": "",
                                  "role": "",
                                  "payloadType": "",
                                  "readonly": "",
                                  "stateUnit": "",
                                  "stateMin": "",
                                  "stateMax": "",
                                  "x": 930,
                                  "y": 260,
                                  "wires": []
                              },
                              {
                                  "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": 710,
                                  "y": 310,
                                  "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": 710,
                                  "y": 360,
                                  "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": 710,
                                  "y": 410,
                                  "wires": [
                                      [
                                          "3d07bf7fb1e614bd"
                                      ]
                                  ]
                              },
                              {
                                  "id": "44ef0e4042c6ce50",
                                  "type": "change",
                                  "z": "e96d40e5c03c8e73",
                                  "name": "",
                                  "rules": [
                                      {
                                          "t": "set",
                                          "p": "payload",
                                          "pt": "msg",
                                          "to": "durchfluss",
                                          "tot": "msg"
                                      }
                                  ],
                                  "action": "",
                                  "property": "",
                                  "from": "",
                                  "to": "",
                                  "reg": false,
                                  "x": 710,
                                  "y": 260,
                                  "wires": [
                                      [
                                          "c87cb1a919d6871f"
                                      ]
                                  ]
                              },
                              {
                                  "id": "0fa0de1398efaa3b",
                                  "type": "link in",
                                  "z": "e96d40e5c03c8e73",
                                  "name": "link in 1",
                                  "links": [
                                      "9a39688816db1eb6"
                                  ],
                                  "x": 315,
                                  "y": 340,
                                  "wires": [
                                      [
                                          "1a1876d6fd414b64"
                                      ]
                                  ],
                                  "icon": "node-red-contrib-calc/calculator.png"
                              }
                          ]
                          


                          ist mir nur aufgefallen, das dreimal innerhalb weniger sekunden gepumpt wird und weil das so schnell geht, wird der durchfluss wert im ESP nicht resettet oder liegt das an dem delay

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

                          @aphofis sagte in ["erfolgreich", "gelöst"] Wasserregulierung Aquarium:

                          @mickym
                          noch mal eine dumme Frage,
                          bei allen steht ja der payload ihrer eigenschaft.
                          also durchfluss ~ durchfluss
                          tag ~ tag usw. doch bei gesamt steht auch durchfluss in der change node für gesamt

                          Tja ich habe die Change Node nicht gemacht, da hat wohl jemand nicht exakt gearbeitet oder nicht verstanden was er tut.
                          Ich habe Dir hier, lediglich erklärt, dass die iobroker-out Node nur eine payload wieder in einen Datenpunkt schreibt.

                          ist mir nur aufgefallen, das dreimal innerhalb weniger sekunden gepumpt wird und weil das so schnell geht, wird der durchfluss wert im ESP nicht resettet oder liegt das an dem delay

                          Keine Ahnung was für ein delay?

                          b66ec9e1-50f5-41dd-9947-7926126eaa42-image.png

                          Ausserdem schreibt man KEINE Werte in EINEN Adapter, sondern nur Kommandos. Das habe ich aber alles schon erklärt.

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

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

                            @mickym
                            ja das stimmt. Habe die value in command geändert. Ist wohl bei mir etwas untergegangen.
                            den payload habe ich dann auch in gesamt geändert.
                            Der Dekay sitzt nur in dem Strang der den Counter auf dem Tasmota Gerät auf null setzt.
                            Hat damit also nix zu tun.

                            AphofisA 1 Antwort Letzte Antwort
                            0
                            • AphofisA Aphofis

                              @mickym
                              ja das stimmt. Habe die value in command geändert. Ist wohl bei mir etwas untergegangen.
                              den payload habe ich dann auch in gesamt geändert.
                              Der Dekay sitzt nur in dem Strang der den Counter auf dem Tasmota Gerät auf null setzt.
                              Hat damit also nix zu tun.

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

                              @mickym
                              hab ich oben angepasst.
                              Telegram ist völlig unwichtig.
                              Das Blockly hab ich Telegram rausgeschmissen. Sollte jetzt importiert werden können.

                              
                              <xml xmlns="https://developers.google.com/blockly/xml">
                                <variables>
                                  <variable id="GnuRk+7KsY$0X2R3aUO1">Wassermenge</variable>
                                  <variable id="8TTn.0gElhjE;FlI3{:~">Wasser_Tag</variable>
                                  <variable id="1Q4.:OQ6u!U%3ez6^aej">Wasser_Jahr</variable>
                                  <variable type="timeout" id="timeout">timeout</variable>
                                </variables>
                                <block type="variables_set" id="HUSPsI8yrvs1R9buB5UE" x="-1212" y="-763">
                                  <field name="VAR" id="GnuRk+7KsY$0X2R3aUO1">Wassermenge</field>
                                  <value name="VALUE">
                                    <block type="math_arithmetic" id="e1#%MoOBW(WQNQtz+];;">
                                      <field name="OP">MULTIPLY</field>
                                      <value name="A">
                                        <shadow type="math_number" id="f)g1|Fqv,`2l-1dYfZ34">
                                          <field name="NUM">1</field>
                                        </shadow>
                                        <block type="get_value" id="|=$q%x;t`MAEW/vG=BLQ">
                                          <field name="ATTR">val</field>
                                          <field name="OID">sonoff.0.Aqua_Float.SENSOR.COUNTER.C2</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <shadow type="math_number" id="j[l*MeT/~[+quhxnrS7C">
                                          <field name="NUM">5.21</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="variables_set" id="HchfBD.f$i=}z$B3%%ro">
                                      <field name="VAR" id="8TTn.0gElhjE;FlI3{:~">Wasser_Tag</field>
                                      <value name="VALUE">
                                        <block type="get_value" id="M_~UzJP71@mQ8;LaEqA;">
                                          <field name="ATTR">val</field>
                                          <field name="OID">0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Tag</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="variables_set" id="eg3d1X/Cm`7YA1`r@6/5">
                                          <field name="VAR" id="1Q4.:OQ6u!U%3ez6^aej">Wasser_Jahr</field>
                                          <value name="VALUE">
                                            <block type="get_value" id="HFTLl.5s}DD!S3VkI2}w">
                                              <field name="ATTR">val</field>
                                              <field name="OID">0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Jahr</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="on_ext" id="0:-d[({.Z}?pVdpxL($`">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                              <field name="CONDITION">ne</field>
                                              <field name="ACK_CONDITION"></field>
                                              <value name="OID0">
                                                <shadow type="field_oid" id="0W#F=X0/oRtnrPk9h3{x">
                                                  <field name="oid">sonoff.0.Aqua_Float.POWER</field>
                                                </shadow>
                                                <block type="text" id="*P`{6.y$Qz:6)XRyP/e.">
                                                  <field name="TEXT">sonoff.0.Aqua_Float.SENSOR.COUNTER.C2</field>
                                                </block>
                                              </value>
                                              <statement name="STATEMENT">
                                                <block type="variables_set" id=".o$v5mYbaxJ%Dy^rAJ~@">
                                                  <field name="VAR" id="GnuRk+7KsY$0X2R3aUO1">Wassermenge</field>
                                                  <value name="VALUE">
                                                    <block type="math_rndfixed" id="~C}Q;4pD[j1fqWGOQbxr">
                                                      <field name="n">2</field>
                                                      <value name="x">
                                                        <shadow type="math_number" id="sYM=iIrazCVz3G9{m*Wp">
                                                          <field name="NUM">3.1234</field>
                                                        </shadow>
                                                        <block type="on_source" id="3{.pWaaavxoM|Ix^BlA}">
                                                          <field name="ATTR">state.val</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="update" id="?h=3;[vg7tLw)/h@7:$A">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">0_userdata.0.Aqua_Control.0.Wasser.Wasser_Counter</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="variables_get" id=",s^*MoNszpa:oog%EMAW">
                                                          <field name="VAR" id="GnuRk+7KsY$0X2R3aUO1">Wassermenge</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="debug" id="^-PLnz!%La/%esP+p|q%">
                                                          <field name="Severity">info</field>
                                                          <value name="TEXT">
                                                            <shadow type="text" id="W!}jJFO{vTG9fL(st@|Z">
                                                              <field name="TEXT">test</field>
                                                            </shadow>
                                                            <block type="text_join" id="oliPeI~VRSKRwW7]r|%]" inline="true">
                                                              <mutation items="2"></mutation>
                                                              <value name="ADD0">
                                                                <block type="variables_get" id="-A9r0_TWSe~DfBweAXDt">
                                                                  <field name="VAR" id="GnuRk+7KsY$0X2R3aUO1">Wassermenge</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD1">
                                                                <block type="text" id="8Ojo1T/MND*{-XQvij#:">
                                                                  <field name="TEXT"> ml</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                              <next>
                                                <block type="on" id=".Kws=H5v3:9sC$2y}XY.">
                                                  <field name="OID">sonoff.0.Aqua_Float.POWER</field>
                                                  <field name="CONDITION">ne</field>
                                                  <field name="ACK_CONDITION"></field>
                                                  <statement name="STATEMENT">
                                                    <block type="control" id="`#?D6cI2R48DM4)iEV2)">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">sonoff.0.Aqua_Control.POWER1</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="on_source" id="Z:Ey]JGh2[+Z2p6CktfV">
                                                          <field name="ATTR">state.val</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="controls_if" id="fwTIogd8xTfe{#gzL9Cn">
                                                          <value name="IF0">
                                                            <block type="logic_negate" id="U/Ou4#ODbm6%waUiXwK3">
                                                              <value name="BOOL">
                                                                <block type="on_source" id="LKR8T,H^%|Gh2gr{;F,#">
                                                                  <field name="ATTR">state.val</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <statement name="DO0">
                                                            <block type="timeouts_settimeout" id="RtR6.MNo`wh`ud[PbJ]:">
                                                              <field name="NAME">timeout</field>
                                                              <field name="DELAY">1000</field>
                                                              <field name="UNIT">ms</field>
                                                              <statement name="STATEMENT">
                                                                <block type="math_change" id="IX/.|6z/Aro1]dY5SAYb">
                                                                  <field name="VAR" id="8TTn.0gElhjE;FlI3{:~">Wasser_Tag</field>
                                                                  <value name="DELTA">
                                                                    <shadow type="math_number" id="=M*S)jZ,M4p(dx.CTNCh">
                                                                      <field name="NUM">1</field>
                                                                    </shadow>
                                                                    <block type="variables_get" id="su_iSda]mMUcg|Ylu@=o">
                                                                      <field name="VAR" id="GnuRk+7KsY$0X2R3aUO1">Wassermenge</field>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="update" id="fwHm}o7U6~1d|Z|{o_na">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                      <field name="OID">0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Tag</field>
                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="math_rndfixed" id=";]qdo[hKwhyu5U)H]|AP">
                                                                          <field name="n">1</field>
                                                                          <value name="x">
                                                                            <shadow type="math_number" id="%/fU!@WL!D1NR8vZIXrJ">
                                                                              <field name="NUM">3.1234</field>
                                                                            </shadow>
                                                                            <block type="variables_get" id=".$Y/`yQi2Ep48g$zUH!(">
                                                                              <field name="VAR" id="8TTn.0gElhjE;FlI3{:~">Wasser_Tag</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="math_change" id="|lE6{O$UQZ68v5$V-mhf">
                                                                          <field name="VAR" id="1Q4.:OQ6u!U%3ez6^aej">Wasser_Jahr</field>
                                                                          <value name="DELTA">
                                                                            <shadow type="math_number" id="r(O489L+4qKOus0|bJZ]">
                                                                              <field name="NUM">1</field>
                                                                            </shadow>
                                                                            <block type="math_arithmetic" id="aUjod9%H]Jr`c:7;L`1L">
                                                                              <field name="OP">DIVIDE</field>
                                                                              <value name="A">
                                                                                <shadow type="math_number" id="G]!BBiks_53Irs;)eRZ/">
                                                                                  <field name="NUM">1</field>
                                                                                </shadow>
                                                                                <block type="variables_get" id="==0y1MmV=A38?y{8!7Qp">
                                                                                  <field name="VAR" id="GnuRk+7KsY$0X2R3aUO1">Wassermenge</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <shadow type="math_number" id="W)Ad2(Y4FzH8rN6?DDSG">
                                                                                  <field name="NUM">1000</field>
                                                                                </shadow>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="update" id="v@JXdPp^SX$e}[;*TN;5">
                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                              <field name="OID">0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Jahr</field>
                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                              <value name="VALUE">
                                                                                <block type="math_rndfixed" id="H]3.WGAtE,UJ;+O:yMqK">
                                                                                  <field name="n">3</field>
                                                                                  <value name="x">
                                                                                    <shadow type="math_number" id="%?~4gjL?h%jK9FuG!MeL">
                                                                                      <field name="NUM">3.1234</field>
                                                                                    </shadow>
                                                                                    <block type="variables_get" id="/n6Y=9C~2W@KV$RXN-DW">
                                                                                      <field name="VAR" id="1Q4.:OQ6u!U%3ez6^aej">Wasser_Jahr</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <next>
                                                                                <block type="update" id="`NW9_QcSlKGP;b[9@.QH">
                                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                  <field name="OID">0_userdata.0.Aqua_Control.0.Wasser.Wasser_Counter</field>
                                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="math_number" id="|m|G@]xx7.d^nS-E2Q,B">
                                                                                      <field name="NUM">0</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <next>
                                                                                    <block type="debug" id="ESkP;ss;~ZDB;gISHFI]">
                                                                                      <field name="Severity">info</field>
                                                                                      <value name="TEXT">
                                                                                        <shadow type="text" id="W!}jJFO{vTG9fL(st@|Z">
                                                                                          <field name="TEXT">test</field>
                                                                                        </shadow>
                                                                                        <block type="text_join" id="R[aL32f3![219OSKE$k!" inline="true">
                                                                                          <mutation items="2"></mutation>
                                                                                          <value name="ADD0">
                                                                                            <block type="variables_get" id="Y%f8;@,D;lNrR?pmQ|(Z">
                                                                                              <field name="VAR" id="1Q4.:OQ6u!U%3ez6^aej">Wasser_Jahr</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="ADD1">
                                                                                            <block type="text" id="q=ZJuFoniJND[_z;_j~M">
                                                                                              <field name="TEXT"> Liter</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <next>
                                                                                        <block type="http_get" id="e9^C0,Xruq+R^Q=|k3dc">
                                                                                          <field name="TIMEOUT">2000</field>
                                                                                          <field name="UNIT">ms</field>
                                                                                          <field name="TYPE">text</field>
                                                                                          <value name="URL">
                                                                                            <shadow type="text" id=",_J4F8mdkf!o;QG{KC2z">
                                                                                              <field name="TEXT">http://192.168.0.71/cm?user=admin&amp;password=Kasjopayac3po&amp;cmnd=counter2%200</field>
                                                                                            </shadow>
                                                                                          </value>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </statement>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                                <block type="schedule" id="eY2k):|9:7y;jFJ|-e{." x="-437" y="-687">
                                  <field name="SCHEDULE">0 0 1 1 *</field>
                                  <statement name="STATEMENT">
                                    <block type="variables_set" id="cEkH53kNZuyOARmP+Q|,">
                                      <field name="VAR" id="1Q4.:OQ6u!U%3ez6^aej">Wasser_Jahr</field>
                                      <value name="VALUE">
                                        <block type="math_number" id="9;ptE-Ve[-8t]`aa|Tgl">
                                          <field name="NUM">0</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="update" id="|*@i5i^pfX8@UCo}nN4j">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Jahr</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="math_number" id="27z6jlXz=#}B7;,?{V7M">
                                              <field name="NUM">0</field>
                                            </block>
                                          </value>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                  <next>
                                    <block type="schedule" id="!0s4!(IKf352-$Cjs+=H">
                                      <field name="SCHEDULE">0 0 * * *</field>
                                      <statement name="STATEMENT">
                                        <block type="variables_set" id="u2/ozk5F`Si~3`_cLs4`">
                                          <field name="VAR" id="8TTn.0gElhjE;FlI3{:~">Wasser_Tag</field>
                                          <value name="VALUE">
                                            <block type="math_number" id="kQwxXS=Yw7,Q5s]YKP}*">
                                              <field name="NUM">0</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="update" id=",B.vece!}v4W4j`J0O1r">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Tag</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="math_number" id="(P{ST5UTzs=*|2/~;Z+d">
                                                  <field name="NUM">0</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </xml>
                              
                              


                              und Wasser Aktuell soll auch zum Datenpunkt Wasser_Gesamt hinzugefügt werden.

                              mickymM 1 Antwort Letzte Antwort
                              0
                              • AphofisA Aphofis

                                @mickym
                                hab ich oben angepasst.
                                Telegram ist völlig unwichtig.
                                Das Blockly hab ich Telegram rausgeschmissen. Sollte jetzt importiert werden können.

                                
                                <xml xmlns="https://developers.google.com/blockly/xml">
                                  <variables>
                                    <variable id="GnuRk+7KsY$0X2R3aUO1">Wassermenge</variable>
                                    <variable id="8TTn.0gElhjE;FlI3{:~">Wasser_Tag</variable>
                                    <variable id="1Q4.:OQ6u!U%3ez6^aej">Wasser_Jahr</variable>
                                    <variable type="timeout" id="timeout">timeout</variable>
                                  </variables>
                                  <block type="variables_set" id="HUSPsI8yrvs1R9buB5UE" x="-1212" y="-763">
                                    <field name="VAR" id="GnuRk+7KsY$0X2R3aUO1">Wassermenge</field>
                                    <value name="VALUE">
                                      <block type="math_arithmetic" id="e1#%MoOBW(WQNQtz+];;">
                                        <field name="OP">MULTIPLY</field>
                                        <value name="A">
                                          <shadow type="math_number" id="f)g1|Fqv,`2l-1dYfZ34">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="get_value" id="|=$q%x;t`MAEW/vG=BLQ">
                                            <field name="ATTR">val</field>
                                            <field name="OID">sonoff.0.Aqua_Float.SENSOR.COUNTER.C2</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <shadow type="math_number" id="j[l*MeT/~[+quhxnrS7C">
                                            <field name="NUM">5.21</field>
                                          </shadow>
                                        </value>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="HchfBD.f$i=}z$B3%%ro">
                                        <field name="VAR" id="8TTn.0gElhjE;FlI3{:~">Wasser_Tag</field>
                                        <value name="VALUE">
                                          <block type="get_value" id="M_~UzJP71@mQ8;LaEqA;">
                                            <field name="ATTR">val</field>
                                            <field name="OID">0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Tag</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="eg3d1X/Cm`7YA1`r@6/5">
                                            <field name="VAR" id="1Q4.:OQ6u!U%3ez6^aej">Wasser_Jahr</field>
                                            <value name="VALUE">
                                              <block type="get_value" id="HFTLl.5s}DD!S3VkI2}w">
                                                <field name="ATTR">val</field>
                                                <field name="OID">0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Jahr</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="on_ext" id="0:-d[({.Z}?pVdpxL($`">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                <field name="CONDITION">ne</field>
                                                <field name="ACK_CONDITION"></field>
                                                <value name="OID0">
                                                  <shadow type="field_oid" id="0W#F=X0/oRtnrPk9h3{x">
                                                    <field name="oid">sonoff.0.Aqua_Float.POWER</field>
                                                  </shadow>
                                                  <block type="text" id="*P`{6.y$Qz:6)XRyP/e.">
                                                    <field name="TEXT">sonoff.0.Aqua_Float.SENSOR.COUNTER.C2</field>
                                                  </block>
                                                </value>
                                                <statement name="STATEMENT">
                                                  <block type="variables_set" id=".o$v5mYbaxJ%Dy^rAJ~@">
                                                    <field name="VAR" id="GnuRk+7KsY$0X2R3aUO1">Wassermenge</field>
                                                    <value name="VALUE">
                                                      <block type="math_rndfixed" id="~C}Q;4pD[j1fqWGOQbxr">
                                                        <field name="n">2</field>
                                                        <value name="x">
                                                          <shadow type="math_number" id="sYM=iIrazCVz3G9{m*Wp">
                                                            <field name="NUM">3.1234</field>
                                                          </shadow>
                                                          <block type="on_source" id="3{.pWaaavxoM|Ix^BlA}">
                                                            <field name="ATTR">state.val</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="update" id="?h=3;[vg7tLw)/h@7:$A">
                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                        <field name="OID">0_userdata.0.Aqua_Control.0.Wasser.Wasser_Counter</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="variables_get" id=",s^*MoNszpa:oog%EMAW">
                                                            <field name="VAR" id="GnuRk+7KsY$0X2R3aUO1">Wassermenge</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="debug" id="^-PLnz!%La/%esP+p|q%">
                                                            <field name="Severity">info</field>
                                                            <value name="TEXT">
                                                              <shadow type="text" id="W!}jJFO{vTG9fL(st@|Z">
                                                                <field name="TEXT">test</field>
                                                              </shadow>
                                                              <block type="text_join" id="oliPeI~VRSKRwW7]r|%]" inline="true">
                                                                <mutation items="2"></mutation>
                                                                <value name="ADD0">
                                                                  <block type="variables_get" id="-A9r0_TWSe~DfBweAXDt">
                                                                    <field name="VAR" id="GnuRk+7KsY$0X2R3aUO1">Wassermenge</field>
                                                                  </block>
                                                                </value>
                                                                <value name="ADD1">
                                                                  <block type="text" id="8Ojo1T/MND*{-XQvij#:">
                                                                    <field name="TEXT"> ml</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </statement>
                                                <next>
                                                  <block type="on" id=".Kws=H5v3:9sC$2y}XY.">
                                                    <field name="OID">sonoff.0.Aqua_Float.POWER</field>
                                                    <field name="CONDITION">ne</field>
                                                    <field name="ACK_CONDITION"></field>
                                                    <statement name="STATEMENT">
                                                      <block type="control" id="`#?D6cI2R48DM4)iEV2)">
                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                        <field name="OID">sonoff.0.Aqua_Control.POWER1</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="on_source" id="Z:Ey]JGh2[+Z2p6CktfV">
                                                            <field name="ATTR">state.val</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="controls_if" id="fwTIogd8xTfe{#gzL9Cn">
                                                            <value name="IF0">
                                                              <block type="logic_negate" id="U/Ou4#ODbm6%waUiXwK3">
                                                                <value name="BOOL">
                                                                  <block type="on_source" id="LKR8T,H^%|Gh2gr{;F,#">
                                                                    <field name="ATTR">state.val</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <statement name="DO0">
                                                              <block type="timeouts_settimeout" id="RtR6.MNo`wh`ud[PbJ]:">
                                                                <field name="NAME">timeout</field>
                                                                <field name="DELAY">1000</field>
                                                                <field name="UNIT">ms</field>
                                                                <statement name="STATEMENT">
                                                                  <block type="math_change" id="IX/.|6z/Aro1]dY5SAYb">
                                                                    <field name="VAR" id="8TTn.0gElhjE;FlI3{:~">Wasser_Tag</field>
                                                                    <value name="DELTA">
                                                                      <shadow type="math_number" id="=M*S)jZ,M4p(dx.CTNCh">
                                                                        <field name="NUM">1</field>
                                                                      </shadow>
                                                                      <block type="variables_get" id="su_iSda]mMUcg|Ylu@=o">
                                                                        <field name="VAR" id="GnuRk+7KsY$0X2R3aUO1">Wassermenge</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="update" id="fwHm}o7U6~1d|Z|{o_na">
                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                        <field name="OID">0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Tag</field>
                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                        <value name="VALUE">
                                                                          <block type="math_rndfixed" id=";]qdo[hKwhyu5U)H]|AP">
                                                                            <field name="n">1</field>
                                                                            <value name="x">
                                                                              <shadow type="math_number" id="%/fU!@WL!D1NR8vZIXrJ">
                                                                                <field name="NUM">3.1234</field>
                                                                              </shadow>
                                                                              <block type="variables_get" id=".$Y/`yQi2Ep48g$zUH!(">
                                                                                <field name="VAR" id="8TTn.0gElhjE;FlI3{:~">Wasser_Tag</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <next>
                                                                          <block type="math_change" id="|lE6{O$UQZ68v5$V-mhf">
                                                                            <field name="VAR" id="1Q4.:OQ6u!U%3ez6^aej">Wasser_Jahr</field>
                                                                            <value name="DELTA">
                                                                              <shadow type="math_number" id="r(O489L+4qKOus0|bJZ]">
                                                                                <field name="NUM">1</field>
                                                                              </shadow>
                                                                              <block type="math_arithmetic" id="aUjod9%H]Jr`c:7;L`1L">
                                                                                <field name="OP">DIVIDE</field>
                                                                                <value name="A">
                                                                                  <shadow type="math_number" id="G]!BBiks_53Irs;)eRZ/">
                                                                                    <field name="NUM">1</field>
                                                                                  </shadow>
                                                                                  <block type="variables_get" id="==0y1MmV=A38?y{8!7Qp">
                                                                                    <field name="VAR" id="GnuRk+7KsY$0X2R3aUO1">Wassermenge</field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <shadow type="math_number" id="W)Ad2(Y4FzH8rN6?DDSG">
                                                                                    <field name="NUM">1000</field>
                                                                                  </shadow>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <next>
                                                                              <block type="update" id="v@JXdPp^SX$e}[;*TN;5">
                                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                <field name="OID">0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Jahr</field>
                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                <value name="VALUE">
                                                                                  <block type="math_rndfixed" id="H]3.WGAtE,UJ;+O:yMqK">
                                                                                    <field name="n">3</field>
                                                                                    <value name="x">
                                                                                      <shadow type="math_number" id="%?~4gjL?h%jK9FuG!MeL">
                                                                                        <field name="NUM">3.1234</field>
                                                                                      </shadow>
                                                                                      <block type="variables_get" id="/n6Y=9C~2W@KV$RXN-DW">
                                                                                        <field name="VAR" id="1Q4.:OQ6u!U%3ez6^aej">Wasser_Jahr</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                                <next>
                                                                                  <block type="update" id="`NW9_QcSlKGP;b[9@.QH">
                                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                    <field name="OID">0_userdata.0.Aqua_Control.0.Wasser.Wasser_Counter</field>
                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="math_number" id="|m|G@]xx7.d^nS-E2Q,B">
                                                                                        <field name="NUM">0</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <next>
                                                                                      <block type="debug" id="ESkP;ss;~ZDB;gISHFI]">
                                                                                        <field name="Severity">info</field>
                                                                                        <value name="TEXT">
                                                                                          <shadow type="text" id="W!}jJFO{vTG9fL(st@|Z">
                                                                                            <field name="TEXT">test</field>
                                                                                          </shadow>
                                                                                          <block type="text_join" id="R[aL32f3![219OSKE$k!" inline="true">
                                                                                            <mutation items="2"></mutation>
                                                                                            <value name="ADD0">
                                                                                              <block type="variables_get" id="Y%f8;@,D;lNrR?pmQ|(Z">
                                                                                                <field name="VAR" id="1Q4.:OQ6u!U%3ez6^aej">Wasser_Jahr</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="ADD1">
                                                                                              <block type="text" id="q=ZJuFoniJND[_z;_j~M">
                                                                                                <field name="TEXT"> Liter</field>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                        <next>
                                                                                          <block type="http_get" id="e9^C0,Xruq+R^Q=|k3dc">
                                                                                            <field name="TIMEOUT">2000</field>
                                                                                            <field name="UNIT">ms</field>
                                                                                            <field name="TYPE">text</field>
                                                                                            <value name="URL">
                                                                                              <shadow type="text" id=",_J4F8mdkf!o;QG{KC2z">
                                                                                                <field name="TEXT">http://192.168.0.71/cm?user=admin&amp;password=Kasjopayac3po&amp;cmnd=counter2%200</field>
                                                                                              </shadow>
                                                                                            </value>
                                                                                          </block>
                                                                                        </next>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </statement>
                                                              </block>
                                                            </statement>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                  <block type="schedule" id="eY2k):|9:7y;jFJ|-e{." x="-437" y="-687">
                                    <field name="SCHEDULE">0 0 1 1 *</field>
                                    <statement name="STATEMENT">
                                      <block type="variables_set" id="cEkH53kNZuyOARmP+Q|,">
                                        <field name="VAR" id="1Q4.:OQ6u!U%3ez6^aej">Wasser_Jahr</field>
                                        <value name="VALUE">
                                          <block type="math_number" id="9;ptE-Ve[-8t]`aa|Tgl">
                                            <field name="NUM">0</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="update" id="|*@i5i^pfX8@UCo}nN4j">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Jahr</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="math_number" id="27z6jlXz=#}B7;,?{V7M">
                                                <field name="NUM">0</field>
                                              </block>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="schedule" id="!0s4!(IKf352-$Cjs+=H">
                                        <field name="SCHEDULE">0 0 * * *</field>
                                        <statement name="STATEMENT">
                                          <block type="variables_set" id="u2/ozk5F`Si~3`_cLs4`">
                                            <field name="VAR" id="8TTn.0gElhjE;FlI3{:~">Wasser_Tag</field>
                                            <value name="VALUE">
                                              <block type="math_number" id="kQwxXS=Yw7,Q5s]YKP}*">
                                                <field name="NUM">0</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="update" id=",B.vece!}v4W4j`J0O1r">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Tag</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="math_number" id="(P{ST5UTzs=*|2/~;Z+d">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </xml>
                                
                                


                                und Wasser Aktuell soll auch zum Datenpunkt Wasser_Gesamt hinzugefügt werden.

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

                                @aphofis Aber das haben wir doch schon alles gemacht? - Und ehrlich gesagt ein ganz neuen Flow habe ich keine Lust. Wie gesagt formuliere das einfach. Nur Blockly und ich soll dann einen NodeRed Flow daraus machen - da lernst Du nichts.

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

                                AphofisA 1 Antwort Letzte Antwort
                                0
                                • mickymM mickym

                                  @aphofis Aber das haben wir doch schon alles gemacht? - Und ehrlich gesagt ein ganz neuen Flow habe ich keine Lust. Wie gesagt formuliere das einfach. Nur Blockly und ich soll dann einen NodeRed Flow daraus machen - da lernst Du nichts.

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

                                  @mickym
                                  Sollst du doch nicht!
                                  Ich will auch keinen neuen flow. Nur funkitonieren sollte er schon nur um zu wissen wo das problem ist muss ich mehr node-red lernen.

                                  mickymM 1 Antwort Letzte Antwort
                                  0
                                  • AphofisA Aphofis

                                    @mickym
                                    Sollst du doch nicht!
                                    Ich will auch keinen neuen flow. Nur funkitonieren sollte er schon nur um zu wissen wo das problem ist muss ich mehr node-red lernen.

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

                                    @aphofis Ja dann solltest Du halt beschreiben was nicht geht und was Du zur Untersuchung des Problems getan hast. Ich sehe den Flow aber weiß nicht wo Dein Problem liegt

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

                                    1 Antwort Letzte Antwort
                                    0
                                    • mickymM Online
                                      mickymM Online
                                      mickym
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #146

                                      @aphofis sagte in ["erfolgreich", "gelöst"] Wasserregulierung Aquarium:

                                      @mickym
                                      Sollst du doch nicht!
                                      Ich will auch keinen neuen flow. Nur funkitonieren sollte er schon nur um zu wissen wo das problem ist muss ich mehr node-red lernen.

                                      Ich habs zwar nicht gelesen, aber hier gibts noch ein free E-Book, wenn man sich registriert:

                                      Ansonsten gibts auch ein deutsches Buch, dessen Vorgängerversion ich kenne und ich eigentlich ganz gut finde:

                                      Trotzdem wirst Du nicht umhin kommen, die erforderliche Logik in Teilschritte zu unterteilen. Die anderen Onlinequellen habe ich Dir ja schon mehrfach gepostet.

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

                                      AphofisA 1 Antwort Letzte Antwort
                                      0
                                      • mickymM mickym

                                        @aphofis sagte in ["erfolgreich", "gelöst"] Wasserregulierung Aquarium:

                                        @mickym
                                        Sollst du doch nicht!
                                        Ich will auch keinen neuen flow. Nur funkitonieren sollte er schon nur um zu wissen wo das problem ist muss ich mehr node-red lernen.

                                        Ich habs zwar nicht gelesen, aber hier gibts noch ein free E-Book, wenn man sich registriert:

                                        Ansonsten gibts auch ein deutsches Buch, dessen Vorgängerversion ich kenne und ich eigentlich ganz gut finde:

                                        Trotzdem wirst Du nicht umhin kommen, die erforderliche Logik in Teilschritte zu unterteilen. Die anderen Onlinequellen habe ich Dir ja schon mehrfach gepostet.

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

                                        @mickym
                                        Das sehr nett! Vielen Dank
                                        Nur werde ich das nicht in einer woche einem Monat lernen.

                                        AphofisA 1 Antwort Letzte Antwort
                                        0
                                        • AphofisA Aphofis

                                          @mickym
                                          Das sehr nett! Vielen Dank
                                          Nur werde ich das nicht in einer woche einem Monat lernen.

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

                                          Sag mal @peterfido
                                          Könntest du dir meine Steuerung für das Zählen des Wasserverbrauchs mal ansehen, es klappt einfach nicht das dass wasser sauber gezählt wird, der Durchflußzähler und der Tasmota Counter zur rechten Zeit resettet werden. Jahreszähler und Gesamtzähler werden garkeine Werte mehr gespeichert. Ich bin am verzweifeln. Die Steuerung läuft einfach weiter und zählt Ghost Wasser.
                                          Das Magnetventil läuft über den Schwimmer und abgenommen wird mit
                                          sonoff.0.Aqua_Float.POWER1
                                          Der Schwimmer der im Aquarium ist.
                                          Der Counter Korrektur Wert ist Counterwert durch 2.207
                                          das ergibt dann Milliliter.
                                          Das Problem ist halt, wenn Wasser dosiert wird kommen so zu sagen mehrere Schübe innerhalb von ca 2 min. Also in den 2 min. spuckt das Magnetventil mehrere male Wasser. der Durchflusszähler soll mit dem Reset des Datenpunktes warten bis 2 min um sind und dann ausrechnen und in die Datenpunkte schreiben und dann soll erst per exec der Tasmota Counter auf null gesetzt werden.
                                          Ich komme einfach nicht weiter aber vllt hast du auch eine komplett andere Idee wie man das realisieren kann das dann nach erfolgreicher Rechnung und Reset Durchfluss und Counter dann das Script so lange angehalten wird bis wieder der Schwimmer true ist.

                                          [
                                              {
                                                  "id": "4ec24352de82b222",
                                                  "type": "ioBroker get",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "jahr",
                                                  "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Jahr",
                                                  "attrname": "jahr",
                                                  "payloadType": "value",
                                                  "errOnInvalidState": "nothing",
                                                  "x": 590,
                                                  "y": 1880,
                                                  "wires": [
                                                      [
                                                          "8dc1932a227204f4"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "8dc1932a227204f4",
                                                  "type": "ioBroker get",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "ges",
                                                  "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasser_Gesamt",
                                                  "attrname": "gesamt",
                                                  "payloadType": "value",
                                                  "errOnInvalidState": "nothing",
                                                  "x": 710,
                                                  "y": 1880,
                                                  "wires": [
                                                      [
                                                          "f7df541d3f404b78"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "ccd69a7fcceb89ee",
                                                  "type": "debug",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "Ausg. Rechnung",
                                                  "active": true,
                                                  "tosidebar": true,
                                                  "console": false,
                                                  "tostatus": false,
                                                  "complete": "true",
                                                  "targetType": "full",
                                                  "statusVal": "",
                                                  "statusType": "auto",
                                                  "x": 1300,
                                                  "y": 2060,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "7c2500bede7f25d4",
                                                  "type": "change",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "calc",
                                                  "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": 950,
                                                  "y": 1880,
                                                  "wires": [
                                                      [
                                                          "a555842c424f7060",
                                                          "a4e896b30b9c0a19",
                                                          "e05166158901c870",
                                                          "9944b30b8d6fbad5",
                                                          "06eaa9f9a160c3b3"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "942aa84ed3938cd3",
                                                  "type": "ioBroker get",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "count",
                                                  "topic": "sonoff.0.Aqua_Float.SENSOR.COUNTER.C1",
                                                  "attrname": "durchfluss",
                                                  "payloadType": "value",
                                                  "errOnInvalidState": "nothing",
                                                  "x": 350,
                                                  "y": 1880,
                                                  "wires": [
                                                      [
                                                          "e2dc8fae110d6914"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "32888838a61fe677",
                                                  "type": "ioBroker out",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "durchfl.",
                                                  "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasser_Counter",
                                                  "ack": "false",
                                                  "autoCreate": "false",
                                                  "stateName": "",
                                                  "role": "",
                                                  "payloadType": "",
                                                  "readonly": "",
                                                  "stateUnit": "",
                                                  "stateMin": "",
                                                  "stateMax": "",
                                                  "x": 1280,
                                                  "y": 1940,
                                                  "wires": [],
                                                  "icon": "node-red-contrib-calc/calculator.png"
                                              },
                                              {
                                                  "id": "9d9dadb8e634c3ab",
                                                  "type": "ioBroker out",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "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": 1270,
                                                  "y": 1820,
                                                  "wires": [],
                                                  "icon": "node-red-contrib-calc/calculator.png"
                                              },
                                              {
                                                  "id": "e7e8d354ab3d1d50",
                                                  "type": "ioBroker out",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "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": 1270,
                                                  "y": 1880,
                                                  "wires": [],
                                                  "icon": "node-red-contrib-calc/calculator.png"
                                              },
                                              {
                                                  "id": "b973530191386ba2",
                                                  "type": "ioBroker out",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "gesamt",
                                                  "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasser_Gesamt",
                                                  "ack": "false",
                                                  "autoCreate": "false",
                                                  "stateName": "",
                                                  "role": "",
                                                  "payloadType": "",
                                                  "readonly": "",
                                                  "stateUnit": "",
                                                  "stateMin": "",
                                                  "stateMax": "",
                                                  "x": 1280,
                                                  "y": 2000,
                                                  "wires": [],
                                                  "icon": "node-red-contrib-calc/calculator.png"
                                              },
                                              {
                                                  "id": "e2dc8fae110d6914",
                                                  "type": "ioBroker get",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "tag",
                                                  "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasserzähler_Tag",
                                                  "attrname": "tag",
                                                  "payloadType": "value",
                                                  "errOnInvalidState": "nothing",
                                                  "x": 470,
                                                  "y": 1880,
                                                  "wires": [
                                                      [
                                                          "4ec24352de82b222"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "a4e896b30b9c0a19",
                                                  "type": "change",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "payload",
                                                  "rules": [
                                                      {
                                                          "t": "set",
                                                          "p": "payload",
                                                          "pt": "msg",
                                                          "to": "durchfluss",
                                                          "tot": "msg"
                                                      }
                                                  ],
                                                  "action": "",
                                                  "property": "",
                                                  "from": "",
                                                  "to": "",
                                                  "reg": false,
                                                  "x": 1140,
                                                  "y": 1940,
                                                  "wires": [
                                                      [
                                                          "32888838a61fe677"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "e05166158901c870",
                                                  "type": "change",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "payload",
                                                  "rules": [
                                                      {
                                                          "t": "set",
                                                          "p": "payload",
                                                          "pt": "msg",
                                                          "to": "tag",
                                                          "tot": "msg"
                                                      }
                                                  ],
                                                  "action": "",
                                                  "property": "",
                                                  "from": "",
                                                  "to": "",
                                                  "reg": false,
                                                  "x": 1140,
                                                  "y": 1820,
                                                  "wires": [
                                                      [
                                                          "9d9dadb8e634c3ab"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "9944b30b8d6fbad5",
                                                  "type": "change",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "payload",
                                                  "rules": [
                                                      {
                                                          "t": "set",
                                                          "p": "payload",
                                                          "pt": "msg",
                                                          "to": "jahr",
                                                          "tot": "msg"
                                                      }
                                                  ],
                                                  "action": "",
                                                  "property": "",
                                                  "from": "",
                                                  "to": "",
                                                  "reg": false,
                                                  "x": 1140,
                                                  "y": 1880,
                                                  "wires": [
                                                      [
                                                          "e7e8d354ab3d1d50"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "a555842c424f7060",
                                                  "type": "change",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "payload",
                                                  "rules": [
                                                      {
                                                          "t": "set",
                                                          "p": "payload",
                                                          "pt": "msg",
                                                          "to": "gesamt",
                                                          "tot": "msg"
                                                      }
                                                  ],
                                                  "action": "",
                                                  "property": "",
                                                  "from": "",
                                                  "to": "",
                                                  "reg": false,
                                                  "x": 1140,
                                                  "y": 2000,
                                                  "wires": [
                                                      [
                                                          "b973530191386ba2"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "4901ac3e975c3579",
                                                  "type": "ioBroker in",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "Aquarium Schwimmer Null",
                                                  "attrname": "payload",
                                                  "topic": "sonoff.0.Aqua_Float.POWER1",
                                                  "payloadType": "value",
                                                  "onlyack": "",
                                                  "func": "all",
                                                  "gap": "",
                                                  "fireOnStart": "false",
                                                  "outFormat": "MQTT",
                                                  "x": 350,
                                                  "y": 1740,
                                                  "wires": [
                                                      [
                                                          "73c589fc4b19b6a6",
                                                          "90caba50491bdb04",
                                                          "8ddcd39403d6930a",
                                                          "fd3b2660fe046608"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "7c0308e4cbf9ef30",
                                                  "type": "http request",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "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": 1160,
                                                  "y": 1560,
                                                  "wires": [
                                                      [
                                                          "910fdf10409affb9"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "d26aa4a0e660a13a",
                                                  "type": "change",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "Aqua Counter Reset",
                                                  "rules": [
                                                      {
                                                          "t": "set",
                                                          "p": "url",
                                                          "pt": "msg",
                                                          "to": "payload",
                                                          "tot": "msg"
                                                      }
                                                  ],
                                                  "action": "",
                                                  "property": "",
                                                  "from": "",
                                                  "to": "",
                                                  "reg": false,
                                                  "x": 800,
                                                  "y": 1560,
                                                  "wires": [
                                                      [
                                                          "8743ba443addaebf"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "910fdf10409affb9",
                                                  "type": "debug",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "ESP Floatmeter Reset",
                                                  "active": true,
                                                  "tosidebar": true,
                                                  "console": true,
                                                  "tostatus": false,
                                                  "complete": "payload",
                                                  "targetType": "msg",
                                                  "statusVal": "",
                                                  "statusType": "auto",
                                                  "x": 1390,
                                                  "y": 1560,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "609ccf61073b854d",
                                                  "type": "delay",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "warte 30s",
                                                  "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": 600,
                                                  "y": 1560,
                                                  "wires": [
                                                      [
                                                          "d26aa4a0e660a13a"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "bc6fea64c9d18049",
                                                  "type": "debug",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "Jahr Reset",
                                                  "active": true,
                                                  "tosidebar": true,
                                                  "console": false,
                                                  "tostatus": false,
                                                  "complete": "payload",
                                                  "targetType": "msg",
                                                  "statusVal": "",
                                                  "statusType": "auto",
                                                  "x": 710,
                                                  "y": 1940,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "231f234c747c4e6c",
                                                  "type": "ioBroker out",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "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": 690,
                                                  "y": 1980,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "21803bcc2015f013",
                                                  "type": "change",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "Jahr Reset",
                                                  "rules": [
                                                      {
                                                          "t": "set",
                                                          "p": "payload",
                                                          "pt": "msg",
                                                          "to": "0",
                                                          "tot": "num"
                                                      }
                                                  ],
                                                  "action": "",
                                                  "property": "",
                                                  "from": "",
                                                  "to": "",
                                                  "reg": false,
                                                  "x": 510,
                                                  "y": 1960,
                                                  "wires": [
                                                      [
                                                          "808ca55aa517a5fc"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "563bba093738fae5",
                                                  "type": "inject",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "Counter Reset Manuell",
                                                  "props": [
                                                      {
                                                          "p": "payload"
                                                      }
                                                  ],
                                                  "repeat": "",
                                                  "crontab": "",
                                                  "once": false,
                                                  "onceDelay": 0.1,
                                                  "topic": "",
                                                  "payload": "true",
                                                  "payloadType": "bool",
                                                  "x": 160,
                                                  "y": 1560,
                                                  "wires": [
                                                      [
                                                          "609ccf61073b854d"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "f7df541d3f404b78",
                                                  "type": "delay",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "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": 830,
                                                  "y": 1880,
                                                  "wires": [
                                                      [
                                                          "7c2500bede7f25d4"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "8743ba443addaebf",
                                                  "type": "delay",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "warte 5s",
                                                  "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": 980,
                                                  "y": 1560,
                                                  "wires": [
                                                      [
                                                          "7c0308e4cbf9ef30"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "6a9e87db4da836f3",
                                                  "type": "debug",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "Counter lesen",
                                                  "active": true,
                                                  "tosidebar": true,
                                                  "console": true,
                                                  "tostatus": false,
                                                  "complete": "payload",
                                                  "targetType": "msg",
                                                  "statusVal": "",
                                                  "statusType": "auto",
                                                  "x": 1360,
                                                  "y": 1740,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "6f5a83894c3aef98",
                                                  "type": "delay",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "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": 1120,
                                                  "y": 1740,
                                                  "wires": [
                                                      [
                                                          "6a9e87db4da836f3",
                                                          "9bf05862f4304dc5"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "9bf05862f4304dc5",
                                                  "type": "link out",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "link out 3",
                                                  "mode": "link",
                                                  "links": [
                                                      "9552b7c2b1801979"
                                                  ],
                                                  "x": 1305,
                                                  "y": 1780,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "9552b7c2b1801979",
                                                  "type": "link in",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "Wasser Aquarium",
                                                  "links": [
                                                      "9bf05862f4304dc5",
                                                      "d565db4f64ab77b8"
                                                  ],
                                                  "x": 145,
                                                  "y": 1880,
                                                  "wires": [
                                                      [
                                                          "e81a97ae3a22204a"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "c913126f62034657",
                                                  "type": "ioBroker out",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "durchfl.",
                                                  "topic": "0_userdata.0.Aqua_Control.0.Wasser.Wasser_Counter",
                                                  "ack": "true",
                                                  "autoCreate": "false",
                                                  "stateName": "",
                                                  "role": "",
                                                  "payloadType": "",
                                                  "readonly": "",
                                                  "stateUnit": "",
                                                  "stateMin": "",
                                                  "stateMax": "",
                                                  "x": 940,
                                                  "y": 1760,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "73c589fc4b19b6a6",
                                                  "type": "delay",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "warte5s",
                                                  "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": 640,
                                                  "y": 1760,
                                                  "wires": [
                                                      [
                                                          "61542b932d33fd78"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "61542b932d33fd78",
                                                  "type": "change",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "durchfl.Reset",
                                                  "rules": [
                                                      {
                                                          "t": "set",
                                                          "p": "payload",
                                                          "pt": "msg",
                                                          "to": "0",
                                                          "tot": "num"
                                                      }
                                                  ],
                                                  "action": "",
                                                  "property": "",
                                                  "from": "",
                                                  "to": "",
                                                  "reg": false,
                                                  "x": 790,
                                                  "y": 1760,
                                                  "wires": [
                                                      [
                                                          "c913126f62034657"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "ab90e1ab646e9eed",
                                                  "type": "debug",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "Tag Reset",
                                                  "active": true,
                                                  "tosidebar": true,
                                                  "console": false,
                                                  "tostatus": false,
                                                  "complete": "payload",
                                                  "targetType": "msg",
                                                  "statusVal": "",
                                                  "statusType": "auto",
                                                  "x": 700,
                                                  "y": 2060,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "9cecbd11e872bfdb",
                                                  "type": "ioBroker out",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "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": 690,
                                                  "y": 2100,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "bc2a319f564c33d9",
                                                  "type": "change",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "Tag Reset",
                                                  "rules": [
                                                      {
                                                          "t": "set",
                                                          "p": "payload",
                                                          "pt": "msg",
                                                          "to": "0",
                                                          "tot": "num"
                                                      }
                                                  ],
                                                  "action": "",
                                                  "property": "",
                                                  "from": "",
                                                  "to": "",
                                                  "reg": false,
                                                  "x": 500,
                                                  "y": 2080,
                                                  "wires": [
                                                      [
                                                          "89a502565f5ae81e"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "90caba50491bdb04",
                                                  "type": "debug",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "Aquarium Schwimmer",
                                                  "active": true,
                                                  "tosidebar": true,
                                                  "console": true,
                                                  "tostatus": false,
                                                  "complete": "payload",
                                                  "targetType": "msg",
                                                  "statusVal": "",
                                                  "statusType": "auto",
                                                  "x": 730,
                                                  "y": 1820,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "fd3b2660fe046608",
                                                  "type": "function",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "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": 690,
                                                  "y": 1640,
                                                  "wires": [
                                                      [
                                                          "4fad1e03a092f4a0"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "4feaae61b4f696e0",
                                                  "type": "debug",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "Magnetschalter ein",
                                                  "active": true,
                                                  "tosidebar": true,
                                                  "console": true,
                                                  "tostatus": false,
                                                  "complete": "payload",
                                                  "targetType": "msg",
                                                  "statusVal": "",
                                                  "statusType": "auto",
                                                  "x": 1380,
                                                  "y": 1600,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "69cce4611306ccbd",
                                                  "type": "ioBroker out",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "Schwimmer Null",
                                                  "topic": "sonoff.0.Aqua_Float.POWER1",
                                                  "ack": "false",
                                                  "autoCreate": "false",
                                                  "stateName": "",
                                                  "role": "",
                                                  "payloadType": "",
                                                  "readonly": "",
                                                  "stateUnit": "",
                                                  "stateMin": "",
                                                  "stateMax": "",
                                                  "x": 1360,
                                                  "y": 1640,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "038c26b36eef9202",
                                                  "type": "change",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "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": 1130,
                                                  "y": 1680,
                                                  "wires": [
                                                      [
                                                          "69cce4611306ccbd",
                                                          "33382d586d6412a6"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "33382d586d6412a6",
                                                  "type": "debug",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "Magnetschalter aus",
                                                  "active": true,
                                                  "tosidebar": true,
                                                  "console": true,
                                                  "tostatus": false,
                                                  "complete": "payload",
                                                  "targetType": "msg",
                                                  "statusVal": "",
                                                  "statusType": "auto",
                                                  "x": 1380,
                                                  "y": 1700,
                                                  "wires": []
                                              },
                                              {
                                                  "id": "8ddcd39403d6930a",
                                                  "type": "function",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "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": 690,
                                                  "y": 1700,
                                                  "wires": [
                                                      [
                                                          "b5f10b86bf9b0200"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "b5f10b86bf9b0200",
                                                  "type": "trigger",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "10s stabli false",
                                                  "op1": "",
                                                  "op2": "true",
                                                  "op1type": "nul",
                                                  "op2type": "bool",
                                                  "duration": "10",
                                                  "extend": false,
                                                  "overrideDelay": false,
                                                  "units": "s",
                                                  "reset": "",
                                                  "bytopic": "all",
                                                  "topic": "topic",
                                                  "outputs": 2,
                                                  "x": 940,
                                                  "y": 1700,
                                                  "wires": [
                                                      [],
                                                      [
                                                          "038c26b36eef9202",
                                                          "6f5a83894c3aef98"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "4fad1e03a092f4a0",
                                                  "type": "trigger",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "10s stabil true",
                                                  "op1": "",
                                                  "op2": "true",
                                                  "op1type": "nul",
                                                  "op2type": "bool",
                                                  "duration": "10",
                                                  "extend": false,
                                                  "overrideDelay": false,
                                                  "units": "s",
                                                  "reset": "",
                                                  "bytopic": "all",
                                                  "topic": "topic",
                                                  "outputs": 2,
                                                  "x": 940,
                                                  "y": 1640,
                                                  "wires": [
                                                      [],
                                                      [
                                                          "69cce4611306ccbd",
                                                          "4feaae61b4f696e0"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "e81a97ae3a22204a",
                                                  "type": "delay",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "2s",
                                                  "pauseType": "delay",
                                                  "timeout": "2",
                                                  "timeoutUnits": "seconds",
                                                  "rate": "1",
                                                  "nbRateUnits": "1",
                                                  "rateUnits": "second",
                                                  "randomFirst": "1",
                                                  "randomLast": "5",
                                                  "randomUnits": "seconds",
                                                  "drop": false,
                                                  "allowrate": false,
                                                  "outputs": 1,
                                                  "x": 230,
                                                  "y": 1880,
                                                  "wires": [
                                                      [
                                                          "942aa84ed3938cd3",
                                                          "0ed13f428df5e432"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "06eaa9f9a160c3b3",
                                                  "type": "delay",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "stündlich",
                                                  "pauseType": "delay",
                                                  "timeout": "1",
                                                  "timeoutUnits": "hours",
                                                  "rate": "1",
                                                  "nbRateUnits": "1",
                                                  "rateUnits": "second",
                                                  "randomFirst": "1",
                                                  "randomLast": "5",
                                                  "randomUnits": "seconds",
                                                  "drop": false,
                                                  "allowrate": false,
                                                  "outputs": 1,
                                                  "x": 1140,
                                                  "y": 2060,
                                                  "wires": [
                                                      [
                                                          "ccd69a7fcceb89ee"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "0ed13f428df5e432",
                                                  "type": "link out",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "Counter Reset",
                                                  "mode": "link",
                                                  "links": [
                                                      "94a4bdf6ddf909f7"
                                                  ],
                                                  "x": 395,
                                                  "y": 1820,
                                                  "wires": [],
                                                  "icon": "node-red/serial.svg"
                                              },
                                              {
                                                  "id": "94a4bdf6ddf909f7",
                                                  "type": "link in",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "name": "",
                                                  "links": [
                                                      "0ed13f428df5e432"
                                                  ],
                                                  "x": 495,
                                                  "y": 1560,
                                                  "wires": [
                                                      [
                                                          "609ccf61073b854d"
                                                      ]
                                                  ],
                                                  "icon": "node-red/serial.svg"
                                              },
                                              {
                                                  "id": "5f88202c19f1243b",
                                                  "type": "cronplus",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "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": 150,
                                                  "y": 1960,
                                                  "wires": [
                                                      [
                                                          "21803bcc2015f013"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "aa6ec21f7f18300d",
                                                  "type": "cronplus",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "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": 160,
                                                  "y": 2080,
                                                  "wires": [
                                                      [
                                                          "bc2a319f564c33d9"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "808ca55aa517a5fc",
                                                  "type": "junction",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "x": 610,
                                                  "y": 1960,
                                                  "wires": [
                                                      [
                                                          "231f234c747c4e6c",
                                                          "bc6fea64c9d18049"
                                                      ]
                                                  ]
                                              },
                                              {
                                                  "id": "89a502565f5ae81e",
                                                  "type": "junction",
                                                  "z": "c3f95ff4b3bd3d0b",
                                                  "g": "1a859ccfe9c28df2",
                                                  "x": 610,
                                                  "y": 2080,
                                                  "wires": [
                                                      [
                                                          "9cecbd11e872bfdb",
                                                          "ab90e1ab646e9eed"
                                                      ]
                                                  ]
                                              }
                                          ]
                                          

                                          Screenshot 2025-07-19 001708.png

                                          P 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

                                          765

                                          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