Navigation

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

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Wasserregulierung Aquarium

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

      @aphofis sagte in Wasserregulierung Aquarium:

      @mickym jetzt aber
      5.png

      Immer noch falscher Datentyp

      ce9394b1-192f-41ee-9d49-b64c7f991618-image.png

      "312" ist ein String, ist rot und nicht blau. Definiere den Datentyp im iobroker richtig!

      Aphofis 1 Reply Last reply Reply Quote 1
      • Aphofis
        Aphofis @mickym last edited by

        @mickym
        ist doch alles korrekt gesetzt.
        6.png
        7.png

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

          Ich weiß nicht wo der string herkommt !! Iorboker Fenster Objekte neu geladen es ist definitiv ein value

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

            @aphofis Schreib halt selbst nochmal eine Zahl in das Objekt - keine Ahnung - vielleicht hast Du da mal eine Dezimalzahl mit Komma da reingeschrieben

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

              @aphofis sagte in Wasserregulierung Aquarium:

              Ich weiß nicht wo der string herkommt !! Iorboker Fenster Objekte neu geladen es ist definitiv ein value

              Dann lösch den Datenpunkt nochmal und leg ihn neu als Zahl an.

              Schau auch das im NodeRed Adapter

              67ed2ee5-1fe6-4dd1-832b-541e753eed70-image.png

              diese Option unbedingt AUSGESCHALTET (abgehakt) ist.

              1 Reply Last reply Reply Quote 1
              • Aphofis
                Aphofis @mickym last edited by Aphofis

                @mickym ja neuer wert hat's gebracht
                8.png

                mickym Aphofis 2 Replies Last reply Reply Quote 0
                • mickym
                  mickym Most Active @Aphofis last edited by

                  @aphofis sagte in Wasserregulierung Aquarium:

                  @mickym ja neuer wert hat's gebracht

                  na gut dann hast Du halt irgendwie mal einen String reingeschrieben. Ist auch egal.

                  So nun widmen wir uns der Aufgabe die Daten aus dem Nachrichtenobjekt wieder in die Datenpunkte zu schreiben, OK? - Ansonsten dürften ja jetzt keine Fehler mehr auftreten?

                  Aphofis 1 Reply Last reply Reply Quote 0
                  • Aphofis
                    Aphofis @Aphofis last edited by

                    So weiter im Text
                    Nehme ich jetzt iobroker out nodes oder welche nehme ich um die werte in die datenpunkte zu schreiben

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

                      @mickym Nein keine Fehler. Auch iobroker ist nicht 100% perfekt. nach dem ändern des wertes im datenpunkt wurde der als value (number) anerkannt

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

                        So um die 4 Datenpunkte wieder zu beschreiben und da wir in 0_userdata.0 schreiben, schreiben wir values und keine Commands

                        5fb1a40d-a3e8-49ee-9897-cd5ee13a9148-image.png

                        Wir brauchen also 4 iobroker-Out Nodes mit 4 verschiedenen topics. Wie Du aus der Hilfe ersiehst, schreibt die iobroker-Out Node nur die payload als Nachrichteneigenschaft in einen Datenpunkt.

                        Du musst also die payload mit 4 vorgeschalteten Change Nodes auf die entsprechende Nachrichteneigenschaft setzen, die dann zur payload wird.

                        Du setzt also die payload auf die entsprechende Nachrichteneigenschaft, die Du in den Datenpunkt schreiben willst.
                        179a30ca-decb-442c-8c61-363214ece6e5-image.png

                        In der Change Node setzt Du dann die payload auf die entsprechende Nachrichteneigenschaft, die Du in den Datenpunkt schreiben möchtest.

                        cf035d9f-efc8-4c1d-876f-f03b5159c50a-image.png

                        Achte darauf, dass Du die payload auch auf eine Nachrichteneigenschaft setzt (s. grüne Linie)

                        Alternativ könntest Du auch ein topic in jeder Change Node mit definieren und in der iobroker-Out Node weglassen, dann kommst du auch mit einer iobroker-out Node aus.

                        1 Reply Last reply Reply Quote 1
                        • Aphofis
                          Aphofis last edited by

                          @mickym Jippie ein Erfolgserlebnis
                          9.png

                          Aphofis 1 Reply Last reply Reply Quote 0
                          • Aphofis
                            Aphofis @Aphofis last edited by

                            wollen wir noch weiter machen mit dem Schwimmer als trigger !?

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

                              @aphofis

                              @aphofis sagte in Wasserregulierung Aquarium:

                              wollen wir noch weiter machen mit dem Schwimmer als trigger !?

                              Na das ist ja einfach, Du brauchst doch jetzt nur den ganzen Flow, den Du jetzt entwickelt hast, hinter den switch Node hängen

                              2853b46d-2071-4818-abce-8eede70433aa-image.png

                              Also alles was nach der Inject Node kommt.

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

                                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.

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

                                  Na gut - dann gute N8. 🛌

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

                                    @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"
                                                ]
                                            ]
                                        }
                                    ]
                                    

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

                                      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.

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

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

                                        1 Reply Last reply Reply Quote 0
                                        • mickym
                                          mickym Most Active @Aphofis last edited by 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.

                                          Aphofis 1 Reply Last reply Reply Quote 1
                                          • Aphofis
                                            Aphofis @mickym last edited by 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]
                                            Aphofis 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.1k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

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