Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Hardware
  4. Wasserzähler - Version 2 - all-in-device

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.8k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.2k

Wasserzähler - Version 2 - all-in-device

Scheduled Pinned Locked Moved Hardware
wasserzählerversion 2ai on the edgecnnwater meterwater gaugeesp32ov2640neuronale netzehausautomatisierung
3.4k Posts 238 Posters 2.0m Views 230 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E exitus

    @homoran ich hatte ja kein Komma im zahl aber mittlerweile habe ich es mit deiner Hilfe hinbekommen dafür Dankeschön. Jetzt ein anderes Problem, was muss ich machen damit das N nicht kommt wie hier auf dem Bild zusehen ist.
    wasser_mit_n.png

    Kann es sein das ich die Analogen werte falsch rum habe nach der Analogen sollte sich die 7 nicht zu acht wechseln , ich glaube bei mir ist der rechte zeiger die 100 liter anzeige.

    ist hier was falsch bei meiner config
    wasser_config.png
    muss ich Prevalue immer setzen oder nur einmal?

    HomoranH Do not disturb
    HomoranH Do not disturb
    Homoran
    Global Moderator Administrators
    wrote on last edited by
    #1304

    @exitus sagte in Wasserzähler - Version 2 - all-in-device:

    was muss ich machen damit das N nicht kommt wie hier auf dem Bild zusehen ist.

    Rechtzeitig mit dem Wasserzapfen aufhören, damit die 7 noch ganz zu sehen ist :joy:

    Dafür ist doch die AI gedacht.
    Wenn eine Zahl nicht zu lesen ist wird sie durch erlerntes Verhalten durch die korrekte Zahl ersetzt.

    Das hat doch toll geklappt.

    @exitus sagte in Wasserzähler - Version 2 - all-in-device:

    Kann es sein das ich die Analogen werte falsch rum habe

    kann sein - sieht sogar so aus

    Du siehst doch bei der Einrichtung der analogen ROIs die Reihenfolge.
    Die Beschriftung deiner Anzeigen beginnt rechts mit 0,1 m³

    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

    E 1 Reply Last reply
    0
    • HomoranH Homoran

      @exitus sagte in Wasserzähler - Version 2 - all-in-device:

      was muss ich machen damit das N nicht kommt wie hier auf dem Bild zusehen ist.

      Rechtzeitig mit dem Wasserzapfen aufhören, damit die 7 noch ganz zu sehen ist :joy:

      Dafür ist doch die AI gedacht.
      Wenn eine Zahl nicht zu lesen ist wird sie durch erlerntes Verhalten durch die korrekte Zahl ersetzt.

      Das hat doch toll geklappt.

      @exitus sagte in Wasserzähler - Version 2 - all-in-device:

      Kann es sein das ich die Analogen werte falsch rum habe

      kann sein - sieht sogar so aus

      Du siehst doch bei der Einrichtung der analogen ROIs die Reihenfolge.
      Die Beschriftung deiner Anzeigen beginnt rechts mit 0,1 m³

      E Offline
      E Offline
      exitus
      wrote on last edited by
      #1305

      @homoran ich müsste die Analogen anders setzen hat mich gewundert danke noch eine frage bzw

      1. PreValueUse habe ich auf true
      2. PreValueAgeStartup habe ich auf 240
        3.CheckDigitIncreaseConsistency habe ich auf true

      kann ich diese werte auch beim Gaszähler nehmen??

      HomoranH 1 Reply Last reply
      0
      • E exitus

        @homoran ich müsste die Analogen anders setzen hat mich gewundert danke noch eine frage bzw

        1. PreValueUse habe ich auf true
        2. PreValueAgeStartup habe ich auf 240
          3.CheckDigitIncreaseConsistency habe ich auf true

        kann ich diese werte auch beim Gaszähler nehmen??

        HomoranH Do not disturb
        HomoranH Do not disturb
        Homoran
        Global Moderator Administrators
        wrote on last edited by
        #1306

        @exitus sagte in Wasserzähler - Version 2 - all-in-device:

        kann ich diese werte auch beim Gaszähler nehmen??

        warum nicht?

        ich weiß gar nicht was ich bei beiden habe, habe an den Parametern nichts verändert

        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

        1 Reply Last reply
        0
        • E Offline
          E Offline
          exitus
          wrote on last edited by
          #1307

          warum mach das diesen fehler obwohl ich prevalue setze.
          in config ist PreValueUse auf true.
          gasfehler.png

          HomoranH 1 Reply Last reply
          0
          • E exitus

            warum mach das diesen fehler obwohl ich prevalue setze.
            in config ist PreValueUse auf true.
            gasfehler.png

            HomoranH Do not disturb
            HomoranH Do not disturb
            Homoran
            Global Moderator Administrators
            wrote on last edited by
            #1308

            @exitus das ist kein Fehler, das ist AI!

            der jetzt richtig gelesene Wert ist niedriger als ein früher gelesener (wegen der deutlichen Reflexion falscher) Wert.
            das kann ja nicht sein, dass die Wasseruhr rückwärts läuft, also nimmt die AI den höheren.

            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

            KnallochseK 1 Reply Last reply
            0
            • HomoranH Homoran

              @exitus das ist kein Fehler, das ist AI!

              der jetzt richtig gelesene Wert ist niedriger als ein früher gelesener (wegen der deutlichen Reflexion falscher) Wert.
              das kann ja nicht sein, dass die Wasseruhr rückwärts läuft, also nimmt die AI den höheren.

              KnallochseK Offline
              KnallochseK Offline
              Knallochse
              wrote on last edited by Knallochse
              #1309

              @homoran schau nochmal genau hin, ich denke mit deiner Einschätzung liegst du falsch.

              Ich denke hier hat MaxRateValue zugeschlagen.
              @exitus Das ist die Maximale Differenz, welche zwichen zwei gelesenen Werten sein darf. Falls das über den eingestellten Wert liegt, wird auch zum letzten Wert zurück gekehrt

              HM&HMIP über 100 Geräte + IoBroker auf DS918+ uvm.

              HomoranH E 2 Replies Last reply
              0
              • KnallochseK Knallochse

                @homoran schau nochmal genau hin, ich denke mit deiner Einschätzung liegst du falsch.

                Ich denke hier hat MaxRateValue zugeschlagen.
                @exitus Das ist die Maximale Differenz, welche zwichen zwei gelesenen Werten sein darf. Falls das über den eingestellten Wert liegt, wird auch zum letzten Wert zurück gekehrt

                HomoranH Do not disturb
                HomoranH Do not disturb
                Homoran
                Global Moderator Administrators
                wrote on last edited by
                #1310

                @knallochse sagte in Wasserzähler - Version 2 - all-in-device:

                schau nochmal genau hin,

                Mist! auf dem Handy war die 5 echt nicht zu erkennen :eyeglasses:

                kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                1 Reply Last reply
                1
                • KnallochseK Knallochse

                  @homoran schau nochmal genau hin, ich denke mit deiner Einschätzung liegst du falsch.

                  Ich denke hier hat MaxRateValue zugeschlagen.
                  @exitus Das ist die Maximale Differenz, welche zwichen zwei gelesenen Werten sein darf. Falls das über den eingestellten Wert liegt, wird auch zum letzten Wert zurück gekehrt

                  E Offline
                  E Offline
                  exitus
                  wrote on last edited by
                  #1311

                  @Homoran ich habe ein wasserzähler am Lauf und Gaszähler, wasserzähler läuft zurzeit sehr gut , bei dem Gaszähler habe ich die gleichen Einstellungen genommen, die falschen werte sind vom Gaszähler.

                  @knallochse MaxRateValue ist 0,1 was muss ich hier eingeben
                  Wie man sieht wird die Raw Value richtig angezeigt.
                  gasfehler.png

                  HomoranH 1 Reply Last reply
                  0
                  • E exitus

                    @Homoran ich habe ein wasserzähler am Lauf und Gaszähler, wasserzähler läuft zurzeit sehr gut , bei dem Gaszähler habe ich die gleichen Einstellungen genommen, die falschen werte sind vom Gaszähler.

                    @knallochse MaxRateValue ist 0,1 was muss ich hier eingeben
                    Wie man sieht wird die Raw Value richtig angezeigt.
                    gasfehler.png

                    HomoranH Do not disturb
                    HomoranH Do not disturb
                    Homoran
                    Global Moderator Administrators
                    wrote on last edited by
                    #1312

                    @exitus sagte in Wasserzähler - Version 2 - all-in-device:

                    Wie man sieht wird die Raw Value richtig angezeigt.

                    richtig!

                    @exitus sagte in Wasserzähler - Version 2 - all-in-device:

                    MaxRateValue ist 0,1 was muss ich hier eingeben

                    der zuletzt gelesene Wert war 456.631, jetzt hast du 458.532

                    Die Differenz ist größer als 0,1 also wirst du nie wieder einen neue richtigen wert bekommen.
                    Entweder jetzt per presetValue den aktuellen Wert eingeben und damit den Referenzwert zurücksetzen, oder die MaxRate höher setzen, wobei ein sinnvoller Wert jetzt nicht mehr zu empfehlen ist, da schon zu vile Messzyklen vergangen sind

                    Ursache für den Aussetzer war aber mit Sicherheit die Reflexion in der ersten dezimale

                    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                    E 1 Reply Last reply
                    0
                    • HomoranH Homoran

                      @exitus sagte in Wasserzähler - Version 2 - all-in-device:

                      Wie man sieht wird die Raw Value richtig angezeigt.

                      richtig!

                      @exitus sagte in Wasserzähler - Version 2 - all-in-device:

                      MaxRateValue ist 0,1 was muss ich hier eingeben

                      der zuletzt gelesene Wert war 456.631, jetzt hast du 458.532

                      Die Differenz ist größer als 0,1 also wirst du nie wieder einen neue richtigen wert bekommen.
                      Entweder jetzt per presetValue den aktuellen Wert eingeben und damit den Referenzwert zurücksetzen, oder die MaxRate höher setzen, wobei ein sinnvoller Wert jetzt nicht mehr zu empfehlen ist, da schon zu vile Messzyklen vergangen sind

                      Ursache für den Aussetzer war aber mit Sicherheit die Reflexion in der ersten dezimale

                      E Offline
                      E Offline
                      exitus
                      wrote on last edited by
                      #1313

                      @homoran was muss ich machen damit es richtig läuft.
                      Soll ich alles löschen und neu aufsetzen würde das mir helfen, oder
                      PreValueUse auf false setzen
                      PreValueAgeStartup habe zurzeit 240 soll ein anderen wert geben?

                      HomoranH 1 Reply Last reply
                      0
                      • E exitus

                        @homoran was muss ich machen damit es richtig läuft.
                        Soll ich alles löschen und neu aufsetzen würde das mir helfen, oder
                        PreValueUse auf false setzen
                        PreValueAgeStartup habe zurzeit 240 soll ein anderen wert geben?

                        HomoranH Do not disturb
                        HomoranH Do not disturb
                        Homoran
                        Global Moderator Administrators
                        wrote on last edited by
                        #1314

                        @exitus sagte in Wasserzähler - Version 2 - all-in-device:

                        Soll ich alles löschen und neu aufsetzen würde das mir helfen

                        nein, das hilft dir nicht, da das hier kein Fehler im System, sondern nur in deinem Verständnis ist.

                        @exitus sagte in Wasserzähler - Version 2 - all-in-device:

                        PreValueAgeStartup habe zurzeit 240

                        wieso bringst du jetzt noch einen anderen Parameter ins Spiel?

                        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                        E 1 Reply Last reply
                        0
                        • HomoranH Homoran

                          @exitus sagte in Wasserzähler - Version 2 - all-in-device:

                          Soll ich alles löschen und neu aufsetzen würde das mir helfen

                          nein, das hilft dir nicht, da das hier kein Fehler im System, sondern nur in deinem Verständnis ist.

                          @exitus sagte in Wasserzähler - Version 2 - all-in-device:

                          PreValueAgeStartup habe zurzeit 240

                          wieso bringst du jetzt noch einen anderen Parameter ins Spiel?

                          E Offline
                          E Offline
                          exitus
                          wrote on last edited by
                          #1315

                          @homoran das kann sein das ich ein Verständnis Problem habe das gebe ich zu ich setze Prevalue aber dennoch kommt es zu Fehler.
                          ist das so richtig kann ich es lassen? oder soll ich es so laufen lassen?
                          gasfehler.png

                          1 Reply Last reply
                          0
                          • KnallochseK Offline
                            KnallochseK Offline
                            Knallochse
                            wrote on last edited by
                            #1316

                            Zur Info: @jomjol hat eine neue Version veröffentlicht

                            7.0.1 MQTT-Update
                            jomjol released this 5 days ago

                            NEW: 7.0.1: bug fix wlan password with "="
                            Upgrade digital CNN to v8.5.0 (added new images)
                            New MQTT topics: flow rate (units/minute), time stamp (last correct read readout)
                            Update MQTT/Error topic to " " in case no error (instead of empty string)
                            Portrait or landscape image orientation in rotated image (avoid cropping)

                            HM&HMIP über 100 Geräte + IoBroker auf DS918+ uvm.

                            HasontH 1 Reply Last reply
                            1
                            • KnallochseK Knallochse

                              Zur Info: @jomjol hat eine neue Version veröffentlicht

                              7.0.1 MQTT-Update
                              jomjol released this 5 days ago

                              NEW: 7.0.1: bug fix wlan password with "="
                              Upgrade digital CNN to v8.5.0 (added new images)
                              New MQTT topics: flow rate (units/minute), time stamp (last correct read readout)
                              Update MQTT/Error topic to " " in case no error (instead of empty string)
                              Portrait or landscape image orientation in rotated image (avoid cropping)

                              HasontH Offline
                              HasontH Offline
                              Hasont
                              wrote on last edited by Hasont
                              #1317

                              Danke für die Info, läuft bis jetzt prima.
                              Nicht wundern, das Bild wird etwas kleiner dargestellt als bisher!

                              Da man ja jetzt auch TimeStamp bekommt könnte ich mal ein paar Tips von euch gebrauchen:
                              Ich lese bisher alle 5 min den Zählerstand aus und zeige damit jeweils die letzte halbe Stunde im VIS an.
                              Dann wird wieder überschrieben.
                              Der Wasserzähler liest alle 4,75 min im Standart und somit überschneidet sich das ganze.
                              Was müsste ich im Blockly tun um die Daten jeweils dann abzulesen wenn Sie vom Zähler reinkommen.
                              Bin da leider noch nicht so fit. Jedes Beispiel ist willkommen.
                              Anbei nochmal das Bild und den Blockly Script
                              Wasserzähler.JPG
                              Wasserzähler.txt
                              Sicherlich kommen da den Profis die Tränen;-) funktioniert aber einwandfrei.
                              Fürs Blockly braucht man Telegram!

                              LG Horst

                              pfriedP 1 Reply Last reply
                              0
                              • HasontH Hasont

                                Danke für die Info, läuft bis jetzt prima.
                                Nicht wundern, das Bild wird etwas kleiner dargestellt als bisher!

                                Da man ja jetzt auch TimeStamp bekommt könnte ich mal ein paar Tips von euch gebrauchen:
                                Ich lese bisher alle 5 min den Zählerstand aus und zeige damit jeweils die letzte halbe Stunde im VIS an.
                                Dann wird wieder überschrieben.
                                Der Wasserzähler liest alle 4,75 min im Standart und somit überschneidet sich das ganze.
                                Was müsste ich im Blockly tun um die Daten jeweils dann abzulesen wenn Sie vom Zähler reinkommen.
                                Bin da leider noch nicht so fit. Jedes Beispiel ist willkommen.
                                Anbei nochmal das Bild und den Blockly Script
                                Wasserzähler.JPG
                                Wasserzähler.txt
                                Sicherlich kommen da den Profis die Tränen;-) funktioniert aber einwandfrei.
                                Fürs Blockly braucht man Telegram!

                                LG Horst

                                pfriedP Offline
                                pfriedP Offline
                                pfried
                                wrote on last edited by
                                #1318

                                @hasont Anbei Teil meines Blocky Scripts:

                                30b9ba1f-f07f-4cfb-810f-6f0e8b310cfb-grafik.png
                                93cba311-8757-4639-a836-a6f87e66afa0-grafik.png

                                <xml xmlns="https://developers.google.com/blockly/xml">
                                  <variables>
                                    <variable id="fb%^b%(.P(De7B%I+^fp">Wasserverbrauch_alt_speichern</variable>
                                    <variable id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</variable>
                                  </variables>
                                  <block type="comment" id="nZLIgu,pmh4[2*$0MI%?" x="-1713" y="-1387">
                                    <field name="COMMENT">Einlesen des neuen MQTT Wertes  </field>
                                    <next>
                                      <block type="on_ext" id="4Psx1wuqrX65nv_lkDB}">
                                        <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="3Q)hsz!uvKk?{unC*,0E">
                                            <field name="oid">mqtt.0.wasserzaehler.zaehlerstand</field>
                                          </shadow>
                                        </value>
                                        <statement name="STATEMENT">
                                          <block type="variables_set" id="wR=JtsBFCJou1i6LdCw~">
                                            <field name="VAR" id="fb%^b%(.P(De7B%I+^fp">Wasserverbrauch_alt_speichern</field>
                                            <value name="VALUE">
                                              <block type="get_value" id="pL9_YEK1IWWA6.!#W)bd">
                                                <field name="ATTR">val</field>
                                                <field name="OID">javascript.0.Wasserverbrauch.Wasserverbrauch_alt</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="control" id="6DzKEv?-~d]3U=;Btcop">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">javascript.0.Wasserverbrauch.Wasserverbrauch_alt</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="get_value" id="o5`@Rv8Ul:#hrNuvl,2|">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">javascript.0.Wasserverbrauch.Wasserverbrauch_aktuell</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="control" id="}]Q8$qsGmL/BOYA_~4FM">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                    <field name="OID">javascript.0.Wasserverbrauch.Wasserverbrauch_aktuell</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="get_value" id="Pih,sstkIbC`EncyUqge">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">mqtt.0.wasserzaehler.zaehlerstand</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="controls_if" id="[)h5!Wt?#u]$;DJ*fSen">
                                                        <value name="IF0">
                                                          <block type="logic_compare" id="}I^P3N/ka`dJ[#)ravN7">
                                                            <field name="OP">NEQ</field>
                                                            <value name="A">
                                                              <block type="variables_get" id="yiT6k|}2%QxC5Ip2;7;^">
                                                                <field name="VAR" id="fb%^b%(.P(De7B%I+^fp">Wasserverbrauch_alt_speichern</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="get_value" id="UX+:bzMd8g/f6b{dN+lx">
                                                                <field name="ATTR">val</field>
                                                                <field name="OID">javascript.0.Wasserverbrauch.Wasserverbrauch_aktuell</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO0">
                                                          <block type="variables_set" id="z)/Gd*s9,-W6[D752=D?">
                                                            <field name="VAR" id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</field>
                                                            <value name="VALUE">
                                                              <block type="math_arithmetic" id="xt-H^j-:43Irbg7Fhml(">
                                                                <field name="OP">MINUS</field>
                                                                <value name="A">
                                                                  <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="X_rWlPD~o/J^KhVZi%6o">
                                                                    <field name="NUM">1</field>
                                                                  </shadow>
                                                                  <block type="get_value" id="A4Sx?OtCp2T?h#I(031U">
                                                                    <field name="ATTR">val</field>
                                                                    <field name="OID">javascript.0.Wasserverbrauch.Wasserverbrauch_aktuell</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="+qND:7;^kTj.azwuZHHi">
                                                                    <field name="NUM">1</field>
                                                                  </shadow>
                                                                  <block type="get_value" id="@R6Vro4Waf_mK|.+!]^0">
                                                                    <field name="ATTR">val</field>
                                                                    <field name="OID">javascript.0.Wasserverbrauch.Wasserverbrauch_alt</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="controls_if" id="8K}#}[Fk:%g~F#3)+NAF">
                                                                <value name="IF0">
                                                                  <block type="logic_operation" id="lR$k8X3;ySVntotf-vFz">
                                                                    <field name="OP">OR</field>
                                                                    <value name="A">
                                                                      <block type="logic_compare" id="q0zW=|U!.1,jkAy[X!b$">
                                                                        <field name="OP">LTE</field>
                                                                        <value name="A">
                                                                          <block type="variables_get" id="Hnk,pbHq`B?Nb}~w$=$H">
                                                                            <field name="VAR" id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="math_number" id="7E.:+JU.a]LF)/p!,#;*">
                                                                            <field name="NUM">30</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="logic_compare" id="6Ig?RU}s(dFcicEuhcm0">
                                                                        <field name="OP">GTE</field>
                                                                        <value name="A">
                                                                          <block type="variables_get" id="jcdb+L_Z#8kmj7e(cq:1">
                                                                            <field name="VAR" id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="math_number" id="9=%(A.)%}-%Ym9CUISV^">
                                                                            <field name="NUM">120</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <statement name="DO0">
                                                                  <block type="control" id="CDT0?0zH4r9GW/H*Y2$f">
                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                    <field name="OID">javascript.0.Wasserverbrauch.Wasserverbrauch_gerechnet</field>
                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                    <value name="VALUE">
                                                                      <block type="math_rndfixed" id="*aA/fh;#]Di_eXq6nL,^">
                                                                        <field name="n">4</field>
                                                                        <value name="x">
                                                                          <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="a?I?-VQtRV1uduc!*;@I">
                                                                            <field name="NUM">3.1234</field>
                                                                          </shadow>
                                                                          <block type="math_arithmetic" id="XGWua76GS6aHpO3imk]l">
                                                                            <field name="OP">MULTIPLY</field>
                                                                            <value name="A">
                                                                              <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="Tq{Zc)v77pwV^ctJd{|J">
                                                                                <field name="NUM">1</field>
                                                                              </shadow>
                                                                              <block type="variables_get" id="|~8@Y)]z.lKE{$Sr]Phs">
                                                                                <field name="VAR" id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <shadow type="math_number" id="@6AZ4Y}v+0qS8p%_qu{H">
                                                                                <field name="NUM">1000</field>
                                                                              </shadow>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="control" id="0(_/h8O2,M[gEb`Ic4=2">
                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                        <field name="OID">hm-rega.0.30965</field>
                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                        <value name="VALUE">
                                                                          <block type="math_rndfixed" id="A_V2Dl3Tco*!@[~Lr1n~">
                                                                            <field name="n">4</field>
                                                                            <value name="x">
                                                                              <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="a?I?-VQtRV1uduc!*;@I">
                                                                                <field name="NUM">3.1234</field>
                                                                              </shadow>
                                                                              <block type="math_arithmetic" id="XY5vn6~5Da?Zt0namcfQ">
                                                                                <field name="OP">ADD</field>
                                                                                <value name="A">
                                                                                  <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="TlPoMg6n6S:en?y89?T4">
                                                                                    <field name="NUM">1</field>
                                                                                  </shadow>
                                                                                  <block type="get_value" id="Il/T*4`06v:{m@*OFmkc">
                                                                                    <field name="ATTR">val</field>
                                                                                    <field name="OID">hm-rega.0.30965</field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="%8A!l4mo_0a=h,ezfnVP">
                                                                                    <field name="NUM">1</field>
                                                                                  </shadow>
                                                                                  <block type="math_arithmetic" id="lKu:^o1-H]d/0,7P%Ipo">
                                                                                    <field name="OP">MULTIPLY</field>
                                                                                    <value name="A">
                                                                                      <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="Tq{Zc)v77pwV^ctJd{|J">
                                                                                        <field name="NUM">1</field>
                                                                                      </shadow>
                                                                                      <block type="variables_get" id="XB}ackBd~?1d)cTC#bwV">
                                                                                        <field name="VAR" id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <shadow type="math_number" id="RP9x3%P{}.7k42Qpi5y;">
                                                                                        <field name="NUM">1000</field>
                                                                                      </shadow>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <next>
                                                                          <block type="control" id="5fng!*j2(M,$$,YwlLHx">
                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                            <field name="OID">hm-rega.0.30969</field>
                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                            <value name="VALUE">
                                                                              <block type="math_rndfixed" id="-3@,nGkZ]@$FU1Ry}%PA">
                                                                                <field name="n">4</field>
                                                                                <value name="x">
                                                                                  <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="a?I?-VQtRV1uduc!*;@I">
                                                                                    <field name="NUM">3.1234</field>
                                                                                  </shadow>
                                                                                  <block type="math_arithmetic" id="(E?id-LI#NfEL|Jt:.vZ">
                                                                                    <field name="OP">ADD</field>
                                                                                    <value name="A">
                                                                                      <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="TlPoMg6n6S:en?y89?T4">
                                                                                        <field name="NUM">1</field>
                                                                                      </shadow>
                                                                                      <block type="get_value" id="0E2;EjD-PBt:GCDwPU~H">
                                                                                        <field name="ATTR">val</field>
                                                                                        <field name="OID">hm-rega.0.30969</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="%8A!l4mo_0a=h,ezfnVP">
                                                                                        <field name="NUM">1</field>
                                                                                      </shadow>
                                                                                      <block type="math_arithmetic" id="G9U[WP2t4_f8T+_0LGXB">
                                                                                        <field name="OP">MULTIPLY</field>
                                                                                        <value name="A">
                                                                                          <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="Tq{Zc)v77pwV^ctJd{|J">
                                                                                            <field name="NUM">1</field>
                                                                                          </shadow>
                                                                                          <block type="variables_get" id="34;qZzQ3Z+JnD{P-NYW:">
                                                                                            <field name="VAR" id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="B">
                                                                                          <shadow type="math_number" id="G:AdLWj}|(?]]ENs(!55">
                                                                                            <field name="NUM">1000</field>
                                                                                          </shadow>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <next>
                                                                              <block type="control" id="oBT%X]5xBNnY,5AICE3X">
                                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                <field name="OID">hm-rega.0.30966</field>
                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                <value name="VALUE">
                                                                                  <block type="math_rndfixed" id=",P%Ylnd^*u1LkcG9X]:W">
                                                                                    <field name="n">4</field>
                                                                                    <value name="x">
                                                                                      <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="a?I?-VQtRV1uduc!*;@I">
                                                                                        <field name="NUM">3.1234</field>
                                                                                      </shadow>
                                                                                      <block type="math_arithmetic" id="|(*+rA~Ej?$2*?ityV)U">
                                                                                        <field name="OP">ADD</field>
                                                                                        <value name="A">
                                                                                          <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="TlPoMg6n6S:en?y89?T4">
                                                                                            <field name="NUM">1</field>
                                                                                          </shadow>
                                                                                          <block type="get_value" id="]ziDJBvg89Wq:.R;J:!,">
                                                                                            <field name="ATTR">val</field>
                                                                                            <field name="OID">hm-rega.0.30966</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="B">
                                                                                          <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="%8A!l4mo_0a=h,ezfnVP">
                                                                                            <field name="NUM">1</field>
                                                                                          </shadow>
                                                                                          <block type="math_arithmetic" id="e.p_|Smt|,NX(RunG)gt">
                                                                                            <field name="OP">MULTIPLY</field>
                                                                                            <value name="A">
                                                                                              <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="Tq{Zc)v77pwV^ctJd{|J">
                                                                                                <field name="NUM">1</field>
                                                                                              </shadow>
                                                                                              <block type="variables_get" id="P5_c8#OAPy=l^ASZ;$es">
                                                                                                <field name="VAR" id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="B">
                                                                                              <shadow type="math_number" id="YDm1,jv1{.k2e(?8V)(|">
                                                                                                <field name="NUM">1000</field>
                                                                                              </shadow>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                                <next>
                                                                                  <block type="control" id="R5$.Na4^BAFjW2ARqTxN">
                                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                    <field name="OID">hm-rega.0.30967</field>
                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="math_rndfixed" id="e{,b!INUIeaJ}fkB8}m@">
                                                                                        <field name="n">4</field>
                                                                                        <value name="x">
                                                                                          <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="a?I?-VQtRV1uduc!*;@I">
                                                                                            <field name="NUM">3.1234</field>
                                                                                          </shadow>
                                                                                          <block type="math_arithmetic" id="!-w04:ct]D5r!DJQmLSW">
                                                                                            <field name="OP">ADD</field>
                                                                                            <value name="A">
                                                                                              <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="TlPoMg6n6S:en?y89?T4">
                                                                                                <field name="NUM">1</field>
                                                                                              </shadow>
                                                                                              <block type="get_value" id="HgghGzkzow#w{s|+|+a:">
                                                                                                <field name="ATTR">val</field>
                                                                                                <field name="OID">hm-rega.0.30967</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="B">
                                                                                              <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="%8A!l4mo_0a=h,ezfnVP">
                                                                                                <field name="NUM">1</field>
                                                                                              </shadow>
                                                                                              <block type="math_arithmetic" id="nllQn,{7d8IO(@Lg3M:B">
                                                                                                <field name="OP">MULTIPLY</field>
                                                                                                <value name="A">
                                                                                                  <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="Tq{Zc)v77pwV^ctJd{|J">
                                                                                                    <field name="NUM">1</field>
                                                                                                  </shadow>
                                                                                                  <block type="variables_get" id="MJ/ZuL+#^.3AQq~epH3J">
                                                                                                    <field name="VAR" id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <shadow type="math_number" id="J^_v%Hn7gX*W7f[-+mgU">
                                                                                                    <field name="NUM">1000</field>
                                                                                                  </shadow>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                    <next>
                                                                                      <block type="control" id="=E[:Y4;({rV9PgxM??W#">
                                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                        <field name="OID">hm-rega.0.30968</field>
                                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                                        <value name="VALUE">
                                                                                          <block type="math_rndfixed" id="pIPk0X$;_7l#cS6]J[a)">
                                                                                            <field name="n">4</field>
                                                                                            <value name="x">
                                                                                              <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="a?I?-VQtRV1uduc!*;@I">
                                                                                                <field name="NUM">3.1234</field>
                                                                                              </shadow>
                                                                                              <block type="math_arithmetic" id="`:+j8dW)6S#f{T%Ai9u5">
                                                                                                <field name="OP">ADD</field>
                                                                                                <value name="A">
                                                                                                  <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="TlPoMg6n6S:en?y89?T4">
                                                                                                    <field name="NUM">1</field>
                                                                                                  </shadow>
                                                                                                  <block type="get_value" id="vuDO5{C4d)Z4!.?z)/v.">
                                                                                                    <field name="ATTR">val</field>
                                                                                                    <field name="OID">hm-rega.0.30968</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="P!TIMt7*.bBC#4%Idw8j">
                                                                                                    <field name="NUM">1</field>
                                                                                                  </shadow>
                                                                                                  <block type="math_arithmetic" id="`,M`KPfi72=ir~XGyo;+">
                                                                                                    <field name="OP">MULTIPLY</field>
                                                                                                    <value name="A">
                                                                                                      <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="Tq{Zc)v77pwV^ctJd{|J">
                                                                                                        <field name="NUM">1</field>
                                                                                                      </shadow>
                                                                                                      <block type="variables_get" id="^v@w@K@=*~ET7Z1v-oO@">
                                                                                                        <field name="VAR" id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <value name="B">
                                                                                                      <shadow type="math_number" id="@~]Yp/KY$~_P8PTXoQKy">
                                                                                                        <field name="NUM">1000</field>
                                                                                                      </shadow>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </statement>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </statement>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                  <block type="comment" id="$f;2YJblP5aT5TAGfFMx" x="-512" y="-1087">
                                    <field name="COMMENT">Maximaler Durchfluss pro Sekunde x 30 Sekunden Abtastrate, 120 Liter Ziffernwechsel</field>
                                  </block>
                                  <block type="comment" id="qSxx=;Q,jlnWfNVxu*TC" x="-1712" y="-487">
                                    <field name="COMMENT">reset heute</field>
                                    <next>
                                      <block type="schedule" id="v;%?AXWh:txx%4R+2:U,">
                                        <field name="SCHEDULE">0 0 * * *</field>
                                        <statement name="STATEMENT">
                                          <block type="control" id="+%wEpsL(Ww[z8Tfc-X$0">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">hm-rega.0.31100</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="get_value" id="2D{+Qa%pnz-R43!M3Fr0">
                                                <field name="ATTR">val</field>
                                                <field name="OID">hm-rega.0.30965</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="control" id="o03K_LgrizESb@J0r`gL">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">hm-rega.0.30965</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="math_number" id="+|Dv5/%]/%.QIWBB+**C">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                  <block type="comment" id="ox+@jzn`KXVwX.fOTB$," x="-812" y="-462">
                                    <field name="COMMENT">Wasserverbrauch letzte 5 min zurücksetzen</field>
                                    <next>
                                      <block type="on_ext" id="j=c,w9.$Xq;DsB5^}pBB">
                                        <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="}z+=RenMSy8(B@XhK@0K">
                                            <field name="oid">hm-rega.0.30969</field>
                                          </shadow>
                                        </value>
                                        <statement name="STATEMENT">
                                          <block type="controls_if" id="%|yEAWaJ*FP|KJ!T/+Y$">
                                            <value name="IF0">
                                              <block type="logic_compare" id="_EAAa*G$MT%4=Rg?[~bP">
                                                <field name="OP">GT</field>
                                                <value name="A">
                                                  <block type="get_value" id="tZQSY0`YcA7JL[M$Ws@g">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">hm-rega.0.30969</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="Pd*)$#q#9Ay-w#:cv1+7">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="control" id="lU:dL+CfL4WMPIg8M38w">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                <field name="OID">hm-rega.0.30969</field>
                                                <field name="WITH_DELAY">TRUE</field>
                                                <field name="DELAY_MS">5</field>
                                                <field name="UNIT">min</field>
                                                <field name="CLEAR_RUNNING">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="math_number" id="sH;+ugos5JXLrj_4BfDg">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </statement>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                  <block type="comment" id="f}lW@jf:=d$f0yptTr$b" x="-1712" y="-137">
                                    <field name="COMMENT">reset Woche</field>
                                    <next>
                                      <block type="schedule" id="CS=RSPfa:iN5AMzgx~+$">
                                        <field name="SCHEDULE">0 0 * * 1</field>
                                        <statement name="STATEMENT">
                                          <block type="control" id="t0cN(g{+b8)OJ-/00/~|">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">hm-rega.0.31101</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="get_value" id="):/cfCdq~Md|vN,`/o0|">
                                                <field name="ATTR">val</field>
                                                <field name="OID">hm-rega.0.30966</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="control" id=".l7{U_lCbkh?eh[J76.L">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">hm-rega.0.30966</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="math_number" id="NQ{Xt.0IXvoF}I^AtomT">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                  <block type="comment" id="L0xCte;w,mCtr5``[I6d" x="-812" y="-112">
                                    <field name="COMMENT">reset Monatserster um 0:00</field>
                                    <next>
                                      <block type="schedule" id="ZJuIT}CXu@.%G_,asO#;">
                                        <field name="SCHEDULE">0 0 1 * *</field>
                                        <statement name="STATEMENT">
                                          <block type="control" id="e4CSH~@KH=*]lpuxtu=H">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">hm-rega.0.31102</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="get_value" id="vd_9A0Lx!_;e=Z^9V))G">
                                                <field name="ATTR">val</field>
                                                <field name="OID">hm-rega.0.30967</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="control" id="Q+iLqKVdxopT4]nO6QAy">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">hm-rega.0.30967</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="math_number" id="WcF0pJahHrFD!v-d+zv(">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                  <block type="comment" id="oHR,JG*z8K2lOHmdJgUI" x="-1712" y="113">
                                    <field name="COMMENT">reset Jahr</field>
                                    <next>
                                      <block type="schedule" id="#CJ#r$^ohJ=^7![RC?r[">
                                        <field name="SCHEDULE">0 0 1 1 *</field>
                                        <statement name="STATEMENT">
                                          <block type="control" id="Yd{OxT;_R~B9P,Psmp5V">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">hm-rega.0.31103</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="get_value" id="UYH]mq6ma|o#0tn5lU*9">
                                                <field name="ATTR">val</field>
                                                <field name="OID">hm-rega.0.30968</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="control" id="RjxS0F1e!{}R=?k0u5hu">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">hm-rega.0.30968</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="math_number" id="Gv+;Fb{zqvo$M?Mv;DML">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </xml>
                                
                                HasontH 1 Reply Last reply
                                0
                                • pfriedP pfried

                                  @hasont Anbei Teil meines Blocky Scripts:

                                  30b9ba1f-f07f-4cfb-810f-6f0e8b310cfb-grafik.png
                                  93cba311-8757-4639-a836-a6f87e66afa0-grafik.png

                                  <xml xmlns="https://developers.google.com/blockly/xml">
                                    <variables>
                                      <variable id="fb%^b%(.P(De7B%I+^fp">Wasserverbrauch_alt_speichern</variable>
                                      <variable id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</variable>
                                    </variables>
                                    <block type="comment" id="nZLIgu,pmh4[2*$0MI%?" x="-1713" y="-1387">
                                      <field name="COMMENT">Einlesen des neuen MQTT Wertes  </field>
                                      <next>
                                        <block type="on_ext" id="4Psx1wuqrX65nv_lkDB}">
                                          <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="3Q)hsz!uvKk?{unC*,0E">
                                              <field name="oid">mqtt.0.wasserzaehler.zaehlerstand</field>
                                            </shadow>
                                          </value>
                                          <statement name="STATEMENT">
                                            <block type="variables_set" id="wR=JtsBFCJou1i6LdCw~">
                                              <field name="VAR" id="fb%^b%(.P(De7B%I+^fp">Wasserverbrauch_alt_speichern</field>
                                              <value name="VALUE">
                                                <block type="get_value" id="pL9_YEK1IWWA6.!#W)bd">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">javascript.0.Wasserverbrauch.Wasserverbrauch_alt</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="control" id="6DzKEv?-~d]3U=;Btcop">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">javascript.0.Wasserverbrauch.Wasserverbrauch_alt</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="get_value" id="o5`@Rv8Ul:#hrNuvl,2|">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">javascript.0.Wasserverbrauch.Wasserverbrauch_aktuell</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="control" id="}]Q8$qsGmL/BOYA_~4FM">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">javascript.0.Wasserverbrauch.Wasserverbrauch_aktuell</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="get_value" id="Pih,sstkIbC`EncyUqge">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">mqtt.0.wasserzaehler.zaehlerstand</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="controls_if" id="[)h5!Wt?#u]$;DJ*fSen">
                                                          <value name="IF0">
                                                            <block type="logic_compare" id="}I^P3N/ka`dJ[#)ravN7">
                                                              <field name="OP">NEQ</field>
                                                              <value name="A">
                                                                <block type="variables_get" id="yiT6k|}2%QxC5Ip2;7;^">
                                                                  <field name="VAR" id="fb%^b%(.P(De7B%I+^fp">Wasserverbrauch_alt_speichern</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="get_value" id="UX+:bzMd8g/f6b{dN+lx">
                                                                  <field name="ATTR">val</field>
                                                                  <field name="OID">javascript.0.Wasserverbrauch.Wasserverbrauch_aktuell</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <statement name="DO0">
                                                            <block type="variables_set" id="z)/Gd*s9,-W6[D752=D?">
                                                              <field name="VAR" id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</field>
                                                              <value name="VALUE">
                                                                <block type="math_arithmetic" id="xt-H^j-:43Irbg7Fhml(">
                                                                  <field name="OP">MINUS</field>
                                                                  <value name="A">
                                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="X_rWlPD~o/J^KhVZi%6o">
                                                                      <field name="NUM">1</field>
                                                                    </shadow>
                                                                    <block type="get_value" id="A4Sx?OtCp2T?h#I(031U">
                                                                      <field name="ATTR">val</field>
                                                                      <field name="OID">javascript.0.Wasserverbrauch.Wasserverbrauch_aktuell</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="+qND:7;^kTj.azwuZHHi">
                                                                      <field name="NUM">1</field>
                                                                    </shadow>
                                                                    <block type="get_value" id="@R6Vro4Waf_mK|.+!]^0">
                                                                      <field name="ATTR">val</field>
                                                                      <field name="OID">javascript.0.Wasserverbrauch.Wasserverbrauch_alt</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="controls_if" id="8K}#}[Fk:%g~F#3)+NAF">
                                                                  <value name="IF0">
                                                                    <block type="logic_operation" id="lR$k8X3;ySVntotf-vFz">
                                                                      <field name="OP">OR</field>
                                                                      <value name="A">
                                                                        <block type="logic_compare" id="q0zW=|U!.1,jkAy[X!b$">
                                                                          <field name="OP">LTE</field>
                                                                          <value name="A">
                                                                            <block type="variables_get" id="Hnk,pbHq`B?Nb}~w$=$H">
                                                                              <field name="VAR" id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="math_number" id="7E.:+JU.a]LF)/p!,#;*">
                                                                              <field name="NUM">30</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="logic_compare" id="6Ig?RU}s(dFcicEuhcm0">
                                                                          <field name="OP">GTE</field>
                                                                          <value name="A">
                                                                            <block type="variables_get" id="jcdb+L_Z#8kmj7e(cq:1">
                                                                              <field name="VAR" id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="math_number" id="9=%(A.)%}-%Ym9CUISV^">
                                                                              <field name="NUM">120</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO0">
                                                                    <block type="control" id="CDT0?0zH4r9GW/H*Y2$f">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                      <field name="OID">javascript.0.Wasserverbrauch.Wasserverbrauch_gerechnet</field>
                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="math_rndfixed" id="*aA/fh;#]Di_eXq6nL,^">
                                                                          <field name="n">4</field>
                                                                          <value name="x">
                                                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="a?I?-VQtRV1uduc!*;@I">
                                                                              <field name="NUM">3.1234</field>
                                                                            </shadow>
                                                                            <block type="math_arithmetic" id="XGWua76GS6aHpO3imk]l">
                                                                              <field name="OP">MULTIPLY</field>
                                                                              <value name="A">
                                                                                <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="Tq{Zc)v77pwV^ctJd{|J">
                                                                                  <field name="NUM">1</field>
                                                                                </shadow>
                                                                                <block type="variables_get" id="|~8@Y)]z.lKE{$Sr]Phs">
                                                                                  <field name="VAR" id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <shadow type="math_number" id="@6AZ4Y}v+0qS8p%_qu{H">
                                                                                  <field name="NUM">1000</field>
                                                                                </shadow>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="control" id="0(_/h8O2,M[gEb`Ic4=2">
                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                          <field name="OID">hm-rega.0.30965</field>
                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                          <value name="VALUE">
                                                                            <block type="math_rndfixed" id="A_V2Dl3Tco*!@[~Lr1n~">
                                                                              <field name="n">4</field>
                                                                              <value name="x">
                                                                                <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="a?I?-VQtRV1uduc!*;@I">
                                                                                  <field name="NUM">3.1234</field>
                                                                                </shadow>
                                                                                <block type="math_arithmetic" id="XY5vn6~5Da?Zt0namcfQ">
                                                                                  <field name="OP">ADD</field>
                                                                                  <value name="A">
                                                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="TlPoMg6n6S:en?y89?T4">
                                                                                      <field name="NUM">1</field>
                                                                                    </shadow>
                                                                                    <block type="get_value" id="Il/T*4`06v:{m@*OFmkc">
                                                                                      <field name="ATTR">val</field>
                                                                                      <field name="OID">hm-rega.0.30965</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="%8A!l4mo_0a=h,ezfnVP">
                                                                                      <field name="NUM">1</field>
                                                                                    </shadow>
                                                                                    <block type="math_arithmetic" id="lKu:^o1-H]d/0,7P%Ipo">
                                                                                      <field name="OP">MULTIPLY</field>
                                                                                      <value name="A">
                                                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="Tq{Zc)v77pwV^ctJd{|J">
                                                                                          <field name="NUM">1</field>
                                                                                        </shadow>
                                                                                        <block type="variables_get" id="XB}ackBd~?1d)cTC#bwV">
                                                                                          <field name="VAR" id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <shadow type="math_number" id="RP9x3%P{}.7k42Qpi5y;">
                                                                                          <field name="NUM">1000</field>
                                                                                        </shadow>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="control" id="5fng!*j2(M,$$,YwlLHx">
                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                              <field name="OID">hm-rega.0.30969</field>
                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                              <value name="VALUE">
                                                                                <block type="math_rndfixed" id="-3@,nGkZ]@$FU1Ry}%PA">
                                                                                  <field name="n">4</field>
                                                                                  <value name="x">
                                                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="a?I?-VQtRV1uduc!*;@I">
                                                                                      <field name="NUM">3.1234</field>
                                                                                    </shadow>
                                                                                    <block type="math_arithmetic" id="(E?id-LI#NfEL|Jt:.vZ">
                                                                                      <field name="OP">ADD</field>
                                                                                      <value name="A">
                                                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="TlPoMg6n6S:en?y89?T4">
                                                                                          <field name="NUM">1</field>
                                                                                        </shadow>
                                                                                        <block type="get_value" id="0E2;EjD-PBt:GCDwPU~H">
                                                                                          <field name="ATTR">val</field>
                                                                                          <field name="OID">hm-rega.0.30969</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="%8A!l4mo_0a=h,ezfnVP">
                                                                                          <field name="NUM">1</field>
                                                                                        </shadow>
                                                                                        <block type="math_arithmetic" id="G9U[WP2t4_f8T+_0LGXB">
                                                                                          <field name="OP">MULTIPLY</field>
                                                                                          <value name="A">
                                                                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="Tq{Zc)v77pwV^ctJd{|J">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                            <block type="variables_get" id="34;qZzQ3Z+JnD{P-NYW:">
                                                                                              <field name="VAR" id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <shadow type="math_number" id="G:AdLWj}|(?]]ENs(!55">
                                                                                              <field name="NUM">1000</field>
                                                                                            </shadow>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <next>
                                                                                <block type="control" id="oBT%X]5xBNnY,5AICE3X">
                                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                  <field name="OID">hm-rega.0.30966</field>
                                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="math_rndfixed" id=",P%Ylnd^*u1LkcG9X]:W">
                                                                                      <field name="n">4</field>
                                                                                      <value name="x">
                                                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="a?I?-VQtRV1uduc!*;@I">
                                                                                          <field name="NUM">3.1234</field>
                                                                                        </shadow>
                                                                                        <block type="math_arithmetic" id="|(*+rA~Ej?$2*?ityV)U">
                                                                                          <field name="OP">ADD</field>
                                                                                          <value name="A">
                                                                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="TlPoMg6n6S:en?y89?T4">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                            <block type="get_value" id="]ziDJBvg89Wq:.R;J:!,">
                                                                                              <field name="ATTR">val</field>
                                                                                              <field name="OID">hm-rega.0.30966</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="%8A!l4mo_0a=h,ezfnVP">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                            <block type="math_arithmetic" id="e.p_|Smt|,NX(RunG)gt">
                                                                                              <field name="OP">MULTIPLY</field>
                                                                                              <value name="A">
                                                                                                <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="Tq{Zc)v77pwV^ctJd{|J">
                                                                                                  <field name="NUM">1</field>
                                                                                                </shadow>
                                                                                                <block type="variables_get" id="P5_c8#OAPy=l^ASZ;$es">
                                                                                                  <field name="VAR" id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</field>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="B">
                                                                                                <shadow type="math_number" id="YDm1,jv1{.k2e(?8V)(|">
                                                                                                  <field name="NUM">1000</field>
                                                                                                </shadow>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <next>
                                                                                    <block type="control" id="R5$.Na4^BAFjW2ARqTxN">
                                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                      <field name="OID">hm-rega.0.30967</field>
                                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="math_rndfixed" id="e{,b!INUIeaJ}fkB8}m@">
                                                                                          <field name="n">4</field>
                                                                                          <value name="x">
                                                                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="a?I?-VQtRV1uduc!*;@I">
                                                                                              <field name="NUM">3.1234</field>
                                                                                            </shadow>
                                                                                            <block type="math_arithmetic" id="!-w04:ct]D5r!DJQmLSW">
                                                                                              <field name="OP">ADD</field>
                                                                                              <value name="A">
                                                                                                <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="TlPoMg6n6S:en?y89?T4">
                                                                                                  <field name="NUM">1</field>
                                                                                                </shadow>
                                                                                                <block type="get_value" id="HgghGzkzow#w{s|+|+a:">
                                                                                                  <field name="ATTR">val</field>
                                                                                                  <field name="OID">hm-rega.0.30967</field>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="B">
                                                                                                <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="%8A!l4mo_0a=h,ezfnVP">
                                                                                                  <field name="NUM">1</field>
                                                                                                </shadow>
                                                                                                <block type="math_arithmetic" id="nllQn,{7d8IO(@Lg3M:B">
                                                                                                  <field name="OP">MULTIPLY</field>
                                                                                                  <value name="A">
                                                                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="Tq{Zc)v77pwV^ctJd{|J">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="variables_get" id="MJ/ZuL+#^.3AQq~epH3J">
                                                                                                      <field name="VAR" id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <shadow type="math_number" id="J^_v%Hn7gX*W7f[-+mgU">
                                                                                                      <field name="NUM">1000</field>
                                                                                                    </shadow>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <next>
                                                                                        <block type="control" id="=E[:Y4;({rV9PgxM??W#">
                                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                          <field name="OID">hm-rega.0.30968</field>
                                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="math_rndfixed" id="pIPk0X$;_7l#cS6]J[a)">
                                                                                              <field name="n">4</field>
                                                                                              <value name="x">
                                                                                                <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="a?I?-VQtRV1uduc!*;@I">
                                                                                                  <field name="NUM">3.1234</field>
                                                                                                </shadow>
                                                                                                <block type="math_arithmetic" id="`:+j8dW)6S#f{T%Ai9u5">
                                                                                                  <field name="OP">ADD</field>
                                                                                                  <value name="A">
                                                                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="TlPoMg6n6S:en?y89?T4">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="get_value" id="vuDO5{C4d)Z4!.?z)/v.">
                                                                                                      <field name="ATTR">val</field>
                                                                                                      <field name="OID">hm-rega.0.30968</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="P!TIMt7*.bBC#4%Idw8j">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="math_arithmetic" id="`,M`KPfi72=ir~XGyo;+">
                                                                                                      <field name="OP">MULTIPLY</field>
                                                                                                      <value name="A">
                                                                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="Tq{Zc)v77pwV^ctJd{|J">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </shadow>
                                                                                                        <block type="variables_get" id="^v@w@K@=*~ET7Z1v-oO@">
                                                                                                          <field name="VAR" id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="B">
                                                                                                        <shadow type="math_number" id="@~]Yp/KY$~_P8PTXoQKy">
                                                                                                          <field name="NUM">1000</field>
                                                                                                        </shadow>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </statement>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                        </block>
                                      </next>
                                    </block>
                                    <block type="comment" id="$f;2YJblP5aT5TAGfFMx" x="-512" y="-1087">
                                      <field name="COMMENT">Maximaler Durchfluss pro Sekunde x 30 Sekunden Abtastrate, 120 Liter Ziffernwechsel</field>
                                    </block>
                                    <block type="comment" id="qSxx=;Q,jlnWfNVxu*TC" x="-1712" y="-487">
                                      <field name="COMMENT">reset heute</field>
                                      <next>
                                        <block type="schedule" id="v;%?AXWh:txx%4R+2:U,">
                                          <field name="SCHEDULE">0 0 * * *</field>
                                          <statement name="STATEMENT">
                                            <block type="control" id="+%wEpsL(Ww[z8Tfc-X$0">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">hm-rega.0.31100</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="get_value" id="2D{+Qa%pnz-R43!M3Fr0">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">hm-rega.0.30965</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="control" id="o03K_LgrizESb@J0r`gL">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">hm-rega.0.30965</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="math_number" id="+|Dv5/%]/%.QIWBB+**C">
                                                      <field name="NUM">0</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                        </block>
                                      </next>
                                    </block>
                                    <block type="comment" id="ox+@jzn`KXVwX.fOTB$," x="-812" y="-462">
                                      <field name="COMMENT">Wasserverbrauch letzte 5 min zurücksetzen</field>
                                      <next>
                                        <block type="on_ext" id="j=c,w9.$Xq;DsB5^}pBB">
                                          <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="}z+=RenMSy8(B@XhK@0K">
                                              <field name="oid">hm-rega.0.30969</field>
                                            </shadow>
                                          </value>
                                          <statement name="STATEMENT">
                                            <block type="controls_if" id="%|yEAWaJ*FP|KJ!T/+Y$">
                                              <value name="IF0">
                                                <block type="logic_compare" id="_EAAa*G$MT%4=Rg?[~bP">
                                                  <field name="OP">GT</field>
                                                  <value name="A">
                                                    <block type="get_value" id="tZQSY0`YcA7JL[M$Ws@g">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">hm-rega.0.30969</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="math_number" id="Pd*)$#q#9Ay-w#:cv1+7">
                                                      <field name="NUM">0</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <statement name="DO0">
                                                <block type="control" id="lU:dL+CfL4WMPIg8M38w">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                  <field name="OID">hm-rega.0.30969</field>
                                                  <field name="WITH_DELAY">TRUE</field>
                                                  <field name="DELAY_MS">5</field>
                                                  <field name="UNIT">min</field>
                                                  <field name="CLEAR_RUNNING">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="math_number" id="sH;+ugos5JXLrj_4BfDg">
                                                      <field name="NUM">0</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </statement>
                                            </block>
                                          </statement>
                                        </block>
                                      </next>
                                    </block>
                                    <block type="comment" id="f}lW@jf:=d$f0yptTr$b" x="-1712" y="-137">
                                      <field name="COMMENT">reset Woche</field>
                                      <next>
                                        <block type="schedule" id="CS=RSPfa:iN5AMzgx~+$">
                                          <field name="SCHEDULE">0 0 * * 1</field>
                                          <statement name="STATEMENT">
                                            <block type="control" id="t0cN(g{+b8)OJ-/00/~|">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">hm-rega.0.31101</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="get_value" id="):/cfCdq~Md|vN,`/o0|">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">hm-rega.0.30966</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="control" id=".l7{U_lCbkh?eh[J76.L">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">hm-rega.0.30966</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="math_number" id="NQ{Xt.0IXvoF}I^AtomT">
                                                      <field name="NUM">0</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                        </block>
                                      </next>
                                    </block>
                                    <block type="comment" id="L0xCte;w,mCtr5``[I6d" x="-812" y="-112">
                                      <field name="COMMENT">reset Monatserster um 0:00</field>
                                      <next>
                                        <block type="schedule" id="ZJuIT}CXu@.%G_,asO#;">
                                          <field name="SCHEDULE">0 0 1 * *</field>
                                          <statement name="STATEMENT">
                                            <block type="control" id="e4CSH~@KH=*]lpuxtu=H">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">hm-rega.0.31102</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="get_value" id="vd_9A0Lx!_;e=Z^9V))G">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">hm-rega.0.30967</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="control" id="Q+iLqKVdxopT4]nO6QAy">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">hm-rega.0.30967</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="math_number" id="WcF0pJahHrFD!v-d+zv(">
                                                      <field name="NUM">0</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                        </block>
                                      </next>
                                    </block>
                                    <block type="comment" id="oHR,JG*z8K2lOHmdJgUI" x="-1712" y="113">
                                      <field name="COMMENT">reset Jahr</field>
                                      <next>
                                        <block type="schedule" id="#CJ#r$^ohJ=^7![RC?r[">
                                          <field name="SCHEDULE">0 0 1 1 *</field>
                                          <statement name="STATEMENT">
                                            <block type="control" id="Yd{OxT;_R~B9P,Psmp5V">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">hm-rega.0.31103</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="get_value" id="UYH]mq6ma|o#0tn5lU*9">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">hm-rega.0.30968</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="control" id="RjxS0F1e!{}R=?k0u5hu">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">hm-rega.0.30968</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="math_number" id="Gv+;Fb{zqvo$M?Mv;DML">
                                                      <field name="NUM">0</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                        </block>
                                      </next>
                                    </block>
                                  </xml>
                                  
                                  HasontH Offline
                                  HasontH Offline
                                  Hasont
                                  wrote on last edited by
                                  #1319

                                  @pfried
                                  Danke dir, ich schau mir das mal an.
                                  Die in deinen Blockly-Daten angelegten hm-rega Werte würde ich dann wie die im Bild umbenennen und anlegen.
                                  Denke ich könnte da so einiges übernehmen wenn ich darf.
                                  LG
                                  Horst

                                  pfriedP 1 Reply Last reply
                                  0
                                  • HasontH Hasont

                                    @pfried
                                    Danke dir, ich schau mir das mal an.
                                    Die in deinen Blockly-Daten angelegten hm-rega Werte würde ich dann wie die im Bild umbenennen und anlegen.
                                    Denke ich könnte da so einiges übernehmen wenn ich darf.
                                    LG
                                    Horst

                                    pfriedP Offline
                                    pfriedP Offline
                                    pfried
                                    wrote on last edited by
                                    #1320

                                    @hasont Sicher, dazu gibt es ja eine Community!

                                    HasontH 1 Reply Last reply
                                    0
                                    • pfriedP pfried

                                      @hasont Sicher, dazu gibt es ja eine Community!

                                      HasontH Offline
                                      HasontH Offline
                                      Hasont
                                      wrote on last edited by Hasont
                                      #1321

                                      @pfried
                                      Habs mal angepasst installiert, danke dir.
                                      Mal sehen ob ich dann SourceAnalytics bei mir deinstalliere.
                                      SourceAnalytics ist ja schon sehr mächtig und mit deinem Blockly könnte man bei Bedarf auch mal von Hand nachbessern.
                                      Bei mir läuft über SourceAnalytics nur Gas-, Wasser- und Gartenwasserzähler
                                      Hab das Blockly inkl. der Datenanlage ohne HomeMatic mal beigefügt.
                                      Muss aber erst noch getestet werden ob alles richtig ist und läuft.

                                      Danke natürlich auch an JomJol für das neue Update ;-)

                                      <xml xmlns="https://developers.google.com/blockly/xml">
                                        <variables>
                                          <variable id="fb%^b%(.P(De7B%I+^fp">Wasserverbrauch_alt_speichern</variable>
                                          <variable id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</variable>
                                        </variables>
                                        <block type="procedures_defcustomnoreturn" id="9J$a1]{I0b8Tky$a[.EJ" x="-1712" y="-1537">
                                          <mutation statements="false"></mutation>
                                          <field name="NAME">Felder anlegen</field>
                                          <field name="SCRIPT">Y3JlYXRlU3RhdGUoJ2phdmFzY3JpcHQuMC5XYXNzZXJ6YWVobGVyJywge25hbWU6ICJXYXNzZXJ6YWVobGVyIn0pOw0KY3JlYXRlU3RhdGUoJ2phdmFzY3JpcHQuMC5XYXNzZXJ6YWVobGVyLldhc3NlcnphZWhsZXJfYWx0Jywge25hbWU6ICJXYXNzZXJ6YWVobGVyX2FsdCJ9KTsNCmNyZWF0ZVN0YXRlKCdqYXZhc2NyaXB0LjAuV2Fzc2VyemFlaGxlci5XYXNzZXJ6YWVobGVyX2FrdHVlbGwnLCB7bmFtZTogIldhc3NlcnphZWhsZXJfYWt0dWVsbCJ9KTsNCmNyZWF0ZVN0YXRlKCdqYXZhc2NyaXB0LjAuV2Fzc2VyemFlaGxlci5XYXNzZXJ6YWVobGVyX2dlcmVjaG5ldCcsIHtuYW1lOiAiV2Fzc2VyemFlaGxlcl9nZXJlY2huZXQifSk7DQpjcmVhdGVTdGF0ZSgnamF2YXNjcmlwdC4wLldhc3NlcnphZWhsZXIuV2Fzc2VyemFlaGxlcl81bWluJywge25hbWU6ICJXYXNzZXJ6YWVobGVyXzVtaW4ifSk7DQpjcmVhdGVTdGF0ZSgnamF2YXNjcmlwdC4wLldhc3NlcnphZWhsZXIuV2Fzc2VyemFlaGxlcl9IZXV0ZScsIHtuYW1lOiAiV2Fzc2VyemFlaGxlcl9IZXV0ZSJ9KTsNCmNyZWF0ZVN0YXRlKCdqYXZhc2NyaXB0LjAuV2Fzc2VyemFlaGxlci5XYXNzZXJ6YWVobGVyX1dvY2hlJywge25hbWU6ICJXYXNzZXJ6YWVobGVyX1dvY2hlIn0pOw0KY3JlYXRlU3RhdGUoJ2phdmFzY3JpcHQuMC5XYXNzZXJ6YWVobGVyLldhc3NlcnphZWhsZXJfTW9uYXQnLCB7bmFtZTogIldhc3NlcnphZWhsZXJfTW9uYXQifSk7DQpjcmVhdGVTdGF0ZSgnamF2YXNjcmlwdC4wLldhc3NlcnphZWhsZXIuV2Fzc2VyemFlaGxlcl9KYWhyJywge25hbWU6ICJXYXNzZXJ6YWVobGVyX0phaHIifSk7DQpjcmVhdGVTdGF0ZSgnamF2YXNjcmlwdC4wLldhc3NlcnphZWhsZXIuV2Fzc2VydmVyYnJhdWNoX0dlc3Rlcm4nLCB7bmFtZTogIldhc3NlcnZlcmJyYXVjaF9HZXN0ZXJuIn0pOw0KY3JlYXRlU3RhdGUoJ2phdmFzY3JpcHQuMC5XYXNzZXJ6YWVobGVyLldhc3NlcnZlcmJyYXVjaF9sZXR6dGVfV29jaGUnLCB7bmFtZTogIldhc3NlcnZlcmJyYXVjaF9sZXR6dGVfV29jaGUifSk7DQpjcmVhdGVTdGF0ZSgnamF2YXNjcmlwdC4wLldhc3NlcnphZWhsZXIuV2Fzc2VydmVyYnJhdWNoX2xldHp0ZXJfTW9uYXQnLCB7bmFtZTogIldhc3NlcnZlcmJyYXVjaF9sZXR6dGVyX01vbmF0In0pOw0KY3JlYXRlU3RhdGUoJ2phdmFzY3JpcHQuMC5XYXNzZXJ6YWVobGVyLldhc3NlcnZlcmJyYXVjaF9sZXR6dGVzX0phaHInLCB7bmFtZTogIldhc3NlcnZlcmJyYXVjaF9sZXR6dGVzX0phaHIifSk7</field>
                                          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                        </block>
                                        <block type="procedures_callcustomnoreturn" id="geg;!c-MHma4J;I-!F?z" x="-1712" y="-1512">
                                          <mutation name="Felder anlegen"></mutation>
                                        </block>
                                        <block type="comment" id="nZLIgu,pmh4[2*$0MI%?" x="-1713" y="-1387">
                                          <field name="COMMENT">Einlesen des neuen MQTT Wertes  </field>
                                          <next>
                                            <block type="on_ext" id="4Psx1wuqrX65nv_lkDB}">
                                              <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="3Q)hsz!uvKk?{unC*,0E">
                                                  <field name="oid">mqtt.0.wasserzaehler.zaehlerstand</field>
                                                </shadow>
                                              </value>
                                              <statement name="STATEMENT">
                                                <block type="variables_set" id="wR=JtsBFCJou1i6LdCw~">
                                                  <field name="VAR" id="fb%^b%(.P(De7B%I+^fp">Wasserverbrauch_alt_speichern</field>
                                                  <value name="VALUE">
                                                    <block type="get_value" id="pL9_YEK1IWWA6.!#W)bd">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_alt</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="control" id="6DzKEv?-~d]3U=;Btcop">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_alt</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="get_value" id="o5`@Rv8Ul:#hrNuvl,2|">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_aktuell</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="control" id="}]Q8$qsGmL/BOYA_~4FM">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                          <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_aktuell</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="get_value" id="Pih,sstkIbC`EncyUqge">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">mqtt.0.wasserzaehler.zaehlerstand</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="controls_if" id="[)h5!Wt?#u]$;DJ*fSen">
                                                              <value name="IF0">
                                                                <block type="logic_compare" id="}I^P3N/ka`dJ[#)ravN7">
                                                                  <field name="OP">NEQ</field>
                                                                  <value name="A">
                                                                    <block type="variables_get" id="yiT6k|}2%QxC5Ip2;7;^">
                                                                      <field name="VAR" id="fb%^b%(.P(De7B%I+^fp">Wasserverbrauch_alt_speichern</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="get_value" id="UX+:bzMd8g/f6b{dN+lx">
                                                                      <field name="ATTR">val</field>
                                                                      <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_aktuell</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <statement name="DO0">
                                                                <block type="variables_set" id="z)/Gd*s9,-W6[D752=D?">
                                                                  <field name="VAR" id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</field>
                                                                  <value name="VALUE">
                                                                    <block type="math_arithmetic" id="xt-H^j-:43Irbg7Fhml(">
                                                                      <field name="OP">MINUS</field>
                                                                      <value name="A">
                                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="X_rWlPD~o/J^KhVZi%6o">
                                                                          <field name="NUM">1</field>
                                                                        </shadow>
                                                                        <block type="get_value" id="A4Sx?OtCp2T?h#I(031U">
                                                                          <field name="ATTR">val</field>
                                                                          <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_aktuell</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="+qND:7;^kTj.azwuZHHi">
                                                                          <field name="NUM">1</field>
                                                                        </shadow>
                                                                        <block type="get_value" id="@R6Vro4Waf_mK|.+!]^0">
                                                                          <field name="ATTR">val</field>
                                                                          <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_alt</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="controls_if" id="8K}#}[Fk:%g~F#3)+NAF">
                                                                      <value name="IF0">
                                                                        <block type="logic_operation" id="lR$k8X3;ySVntotf-vFz">
                                                                          <field name="OP">OR</field>
                                                                          <value name="A">
                                                                            <block type="logic_compare" id="q0zW=|U!.1,jkAy[X!b$">
                                                                              <field name="OP">LTE</field>
                                                                              <value name="A">
                                                                                <block type="variables_get" id="Hnk,pbHq`B?Nb}~w$=$H">
                                                                                  <field name="VAR" id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="math_number" id="7E.:+JU.a]LF)/p!,#;*">
                                                                                  <field name="NUM">30</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="logic_compare" id="6Ig?RU}s(dFcicEuhcm0">
                                                                              <field name="OP">GTE</field>
                                                                              <value name="A">
                                                                                <block type="variables_get" id="jcdb+L_Z#8kmj7e(cq:1">
                                                                                  <field name="VAR" id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="math_number" id="9=%(A.)%}-%Ym9CUISV^">
                                                                                  <field name="NUM">120</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <statement name="DO0">
                                                                        <block type="control" id="CDT0?0zH4r9GW/H*Y2$f">
                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                          <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_gerechnet</field>
                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                          <value name="VALUE">
                                                                            <block type="math_rndfixed" id="*aA/fh;#]Di_eXq6nL,^">
                                                                              <field name="n">4</field>
                                                                              <value name="x">
                                                                                <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="a?I?-VQtRV1uduc!*;@I">
                                                                                  <field name="NUM">3.1234</field>
                                                                                </shadow>
                                                                                <block type="math_arithmetic" id="XGWua76GS6aHpO3imk]l">
                                                                                  <field name="OP">MULTIPLY</field>
                                                                                  <value name="A">
                                                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="Tq{Zc)v77pwV^ctJd{|J">
                                                                                      <field name="NUM">1</field>
                                                                                    </shadow>
                                                                                    <block type="variables_get" id="|~8@Y)]z.lKE{$Sr]Phs">
                                                                                      <field name="VAR" id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <shadow type="math_number" id="@6AZ4Y}v+0qS8p%_qu{H">
                                                                                      <field name="NUM">1000</field>
                                                                                    </shadow>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="control" id="0(_/h8O2,M[gEb`Ic4=2">
                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                              <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_Heute</field>
                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                              <value name="VALUE">
                                                                                <block type="math_rndfixed" id="A_V2Dl3Tco*!@[~Lr1n~">
                                                                                  <field name="n">4</field>
                                                                                  <value name="x">
                                                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="a?I?-VQtRV1uduc!*;@I">
                                                                                      <field name="NUM">3.1234</field>
                                                                                    </shadow>
                                                                                    <block type="math_arithmetic" id="XY5vn6~5Da?Zt0namcfQ">
                                                                                      <field name="OP">ADD</field>
                                                                                      <value name="A">
                                                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="TlPoMg6n6S:en?y89?T4">
                                                                                          <field name="NUM">1</field>
                                                                                        </shadow>
                                                                                        <block type="get_value" id="Il/T*4`06v:{m@*OFmkc">
                                                                                          <field name="ATTR">val</field>
                                                                                          <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_Heute</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="%8A!l4mo_0a=h,ezfnVP">
                                                                                          <field name="NUM">1</field>
                                                                                        </shadow>
                                                                                        <block type="math_arithmetic" id="lKu:^o1-H]d/0,7P%Ipo">
                                                                                          <field name="OP">MULTIPLY</field>
                                                                                          <value name="A">
                                                                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="Tq{Zc)v77pwV^ctJd{|J">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                            <block type="variables_get" id="XB}ackBd~?1d)cTC#bwV">
                                                                                              <field name="VAR" id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <shadow type="math_number" id="RP9x3%P{}.7k42Qpi5y;">
                                                                                              <field name="NUM">1000</field>
                                                                                            </shadow>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <next>
                                                                                <block type="control" id="5fng!*j2(M,$$,YwlLHx">
                                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                  <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_5min</field>
                                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="math_rndfixed" id="-3@,nGkZ]@$FU1Ry}%PA">
                                                                                      <field name="n">4</field>
                                                                                      <value name="x">
                                                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="a?I?-VQtRV1uduc!*;@I">
                                                                                          <field name="NUM">3.1234</field>
                                                                                        </shadow>
                                                                                        <block type="math_arithmetic" id="(E?id-LI#NfEL|Jt:.vZ">
                                                                                          <field name="OP">ADD</field>
                                                                                          <value name="A">
                                                                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="TlPoMg6n6S:en?y89?T4">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                            <block type="get_value" id="0E2;EjD-PBt:GCDwPU~H">
                                                                                              <field name="ATTR">val</field>
                                                                                              <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_5min</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="%8A!l4mo_0a=h,ezfnVP">
                                                                                              <field name="NUM">1</field>
                                                                                            </shadow>
                                                                                            <block type="math_arithmetic" id="G9U[WP2t4_f8T+_0LGXB">
                                                                                              <field name="OP">MULTIPLY</field>
                                                                                              <value name="A">
                                                                                                <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="Tq{Zc)v77pwV^ctJd{|J">
                                                                                                  <field name="NUM">1</field>
                                                                                                </shadow>
                                                                                                <block type="variables_get" id="34;qZzQ3Z+JnD{P-NYW:">
                                                                                                  <field name="VAR" id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</field>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="B">
                                                                                                <shadow type="math_number" id="G:AdLWj}|(?]]ENs(!55">
                                                                                                  <field name="NUM">1000</field>
                                                                                                </shadow>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <next>
                                                                                    <block type="control" id="oBT%X]5xBNnY,5AICE3X">
                                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                      <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_Woche</field>
                                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="math_rndfixed" id=",P%Ylnd^*u1LkcG9X]:W">
                                                                                          <field name="n">4</field>
                                                                                          <value name="x">
                                                                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="a?I?-VQtRV1uduc!*;@I">
                                                                                              <field name="NUM">3.1234</field>
                                                                                            </shadow>
                                                                                            <block type="math_arithmetic" id="|(*+rA~Ej?$2*?ityV)U">
                                                                                              <field name="OP">ADD</field>
                                                                                              <value name="A">
                                                                                                <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="TlPoMg6n6S:en?y89?T4">
                                                                                                  <field name="NUM">1</field>
                                                                                                </shadow>
                                                                                                <block type="get_value" id="]ziDJBvg89Wq:.R;J:!,">
                                                                                                  <field name="ATTR">val</field>
                                                                                                  <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_Woche</field>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="B">
                                                                                                <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="%8A!l4mo_0a=h,ezfnVP">
                                                                                                  <field name="NUM">1</field>
                                                                                                </shadow>
                                                                                                <block type="math_arithmetic" id="e.p_|Smt|,NX(RunG)gt">
                                                                                                  <field name="OP">MULTIPLY</field>
                                                                                                  <value name="A">
                                                                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="Tq{Zc)v77pwV^ctJd{|J">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="variables_get" id="P5_c8#OAPy=l^ASZ;$es">
                                                                                                      <field name="VAR" id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <shadow type="math_number" id="YDm1,jv1{.k2e(?8V)(|">
                                                                                                      <field name="NUM">1000</field>
                                                                                                    </shadow>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <next>
                                                                                        <block type="control" id="R5$.Na4^BAFjW2ARqTxN">
                                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                          <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_Monat</field>
                                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="math_rndfixed" id="e{,b!INUIeaJ}fkB8}m@">
                                                                                              <field name="n">4</field>
                                                                                              <value name="x">
                                                                                                <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="a?I?-VQtRV1uduc!*;@I">
                                                                                                  <field name="NUM">3.1234</field>
                                                                                                </shadow>
                                                                                                <block type="math_arithmetic" id="!-w04:ct]D5r!DJQmLSW">
                                                                                                  <field name="OP">ADD</field>
                                                                                                  <value name="A">
                                                                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="TlPoMg6n6S:en?y89?T4">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="get_value" id="HgghGzkzow#w{s|+|+a:">
                                                                                                      <field name="ATTR">val</field>
                                                                                                      <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_Monat</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="%8A!l4mo_0a=h,ezfnVP">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="math_arithmetic" id="nllQn,{7d8IO(@Lg3M:B">
                                                                                                      <field name="OP">MULTIPLY</field>
                                                                                                      <value name="A">
                                                                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="Tq{Zc)v77pwV^ctJd{|J">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </shadow>
                                                                                                        <block type="variables_get" id="MJ/ZuL+#^.3AQq~epH3J">
                                                                                                          <field name="VAR" id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="B">
                                                                                                        <shadow type="math_number" id="J^_v%Hn7gX*W7f[-+mgU">
                                                                                                          <field name="NUM">1000</field>
                                                                                                        </shadow>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                          <next>
                                                                                            <block type="control" id="=E[:Y4;({rV9PgxM??W#">
                                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                              <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_Jahr</field>
                                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                                              <value name="VALUE">
                                                                                                <block type="math_rndfixed" id="pIPk0X$;_7l#cS6]J[a)">
                                                                                                  <field name="n">4</field>
                                                                                                  <value name="x">
                                                                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="a?I?-VQtRV1uduc!*;@I">
                                                                                                      <field name="NUM">3.1234</field>
                                                                                                    </shadow>
                                                                                                    <block type="math_arithmetic" id="`:+j8dW)6S#f{T%Ai9u5">
                                                                                                      <field name="OP">ADD</field>
                                                                                                      <value name="A">
                                                                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="TlPoMg6n6S:en?y89?T4">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </shadow>
                                                                                                        <block type="get_value" id="vuDO5{C4d)Z4!.?z)/v.">
                                                                                                          <field name="ATTR">val</field>
                                                                                                          <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_Jahr</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="B">
                                                                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="P!TIMt7*.bBC#4%Idw8j">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </shadow>
                                                                                                        <block type="math_arithmetic" id="`,M`KPfi72=ir~XGyo;+">
                                                                                                          <field name="OP">MULTIPLY</field>
                                                                                                          <value name="A">
                                                                                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="Tq{Zc)v77pwV^ctJd{|J">
                                                                                                              <field name="NUM">1</field>
                                                                                                            </shadow>
                                                                                                            <block type="variables_get" id="^v@w@K@=*~ET7Z1v-oO@">
                                                                                                              <field name="VAR" id="S~g:}fW6Tm:Aw?GxUkaZ">Wasser gerechnet</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="B">
                                                                                                            <shadow type="math_number" id="@~]Yp/KY$~_P8PTXoQKy">
                                                                                                              <field name="NUM">1000</field>
                                                                                                            </shadow>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </next>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </statement>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </statement>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                          </next>
                                        </block>
                                        <block type="comment" id="$f;2YJblP5aT5TAGfFMx" x="-512" y="-1087">
                                          <field name="COMMENT">Maximaler Durchfluss pro Sekunde x 30 Sekunden Abtastrate, 120 Liter Ziffernwechsel</field>
                                        </block>
                                        <block type="comment" id="qSxx=;Q,jlnWfNVxu*TC" x="-1712" y="-487">
                                          <field name="COMMENT">reset heute</field>
                                          <next>
                                            <block type="schedule" id="v;%?AXWh:txx%4R+2:U,">
                                              <field name="SCHEDULE">0 0 * * *</field>
                                              <statement name="STATEMENT">
                                                <block type="control" id="+%wEpsL(Ww[z8Tfc-X$0">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">javascript.0.Wasserzaehler.Wasserverbrauch_Gestern</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="get_value" id="2D{+Qa%pnz-R43!M3Fr0">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_Heute</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="control" id="o03K_LgrizESb@J0r`gL">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_Heute</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="math_number" id="+|Dv5/%]/%.QIWBB+**C">
                                                          <field name="NUM">0</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                          </next>
                                        </block>
                                        <block type="comment" id="ox+@jzn`KXVwX.fOTB$," x="-812" y="-462">
                                          <field name="COMMENT">Wasserverbrauch letzte 5 min zurücksetzen</field>
                                          <next>
                                            <block type="on_ext" id="j=c,w9.$Xq;DsB5^}pBB">
                                              <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="}z+=RenMSy8(B@XhK@0K">
                                                  <field name="oid">javascript.0.Wasserzaehler.Wasserzaehler_5min</field>
                                                </shadow>
                                              </value>
                                              <statement name="STATEMENT">
                                                <block type="controls_if" id="%|yEAWaJ*FP|KJ!T/+Y$">
                                                  <value name="IF0">
                                                    <block type="logic_compare" id="_EAAa*G$MT%4=Rg?[~bP">
                                                      <field name="OP">GT</field>
                                                      <value name="A">
                                                        <block type="get_value" id="tZQSY0`YcA7JL[M$Ws@g">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_5min</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="math_number" id="Pd*)$#q#9Ay-w#:cv1+7">
                                                          <field name="NUM">0</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="control" id="lU:dL+CfL4WMPIg8M38w">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                      <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_5min</field>
                                                      <field name="WITH_DELAY">TRUE</field>
                                                      <field name="DELAY_MS">5</field>
                                                      <field name="UNIT">min</field>
                                                      <field name="CLEAR_RUNNING">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="math_number" id="sH;+ugos5JXLrj_4BfDg">
                                                          <field name="NUM">0</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </statement>
                                            </block>
                                          </next>
                                        </block>
                                        <block type="comment" id="f}lW@jf:=d$f0yptTr$b" x="-1712" y="-137">
                                          <field name="COMMENT">reset Woche</field>
                                          <next>
                                            <block type="schedule" id="CS=RSPfa:iN5AMzgx~+$">
                                              <field name="SCHEDULE">0 0 * * 1</field>
                                              <statement name="STATEMENT">
                                                <block type="control" id="t0cN(g{+b8)OJ-/00/~|">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">javascript.0.Wasserzaehler.Wasserverbrauch_letzte_Woche</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="get_value" id="):/cfCdq~Md|vN,`/o0|">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_Woche</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="control" id=".l7{U_lCbkh?eh[J76.L">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_Woche</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="math_number" id="NQ{Xt.0IXvoF}I^AtomT">
                                                          <field name="NUM">0</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                          </next>
                                        </block>
                                        <block type="comment" id="L0xCte;w,mCtr5``[I6d" x="-812" y="-112">
                                          <field name="COMMENT">reset Monatserster um 0:00</field>
                                          <next>
                                            <block type="schedule" id="ZJuIT}CXu@.%G_,asO#;">
                                              <field name="SCHEDULE">0 0 1 * *</field>
                                              <statement name="STATEMENT">
                                                <block type="control" id="e4CSH~@KH=*]lpuxtu=H">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">javascript.0.Wasserzaehler.Wasserverbrauch_letzter_Monat</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="get_value" id="vd_9A0Lx!_;e=Z^9V))G">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_Monat</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="control" id="Q+iLqKVdxopT4]nO6QAy">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_Monat</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="math_number" id="WcF0pJahHrFD!v-d+zv(">
                                                          <field name="NUM">0</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                          </next>
                                        </block>
                                        <block type="comment" id="oHR,JG*z8K2lOHmdJgUI" x="-1712" y="113">
                                          <field name="COMMENT">reset Jahr</field>
                                          <next>
                                            <block type="schedule" id="#CJ#r$^ohJ=^7![RC?r[">
                                              <field name="SCHEDULE">0 0 1 1 *</field>
                                              <statement name="STATEMENT">
                                                <block type="control" id="Yd{OxT;_R~B9P,Psmp5V">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">javascript.0.Wasserzaehler.Wasserverbrauch_letztes_Jahr</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="get_value" id="UYH]mq6ma|o#0tn5lU*9">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_Jahr</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="control" id="RjxS0F1e!{}R=?k0u5hu">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">javascript.0.Wasserzaehler.Wasserzaehler_Jahr</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="math_number" id="Gv+;Fb{zqvo$M?Mv;DML">
                                                          <field name="NUM">0</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                          </next>
                                        </block>
                                      </xml>
                                      
                                      1 Reply Last reply
                                      0
                                      • TbsJahT Offline
                                        TbsJahT Offline
                                        TbsJah
                                        wrote on last edited by TbsJah
                                        #1322

                                        Ich habe mir ein Telegramm eingerichtet welches mir, sollte ein Fehler übermittelt werden, eine Nachricht sendet.
                                        Ich erhalte merkwürdigerweise recht viele Meldung.

                                        Beispiel: Negative Rate - Returned old value - read value: 157.981 - raw value: 00157.981 - checked value: 157.981003
                                        Der Raw Wert ist korrekt. Ich weiß nicht wo die 3 zusätzlichen Stellen wieder herkommen.

                                        Ebenso hier
                                        Negative Rate - Returned old value - read value: 157.581 - raw value: 00157.581 - checked value: 157.580994

                                        5e32b3c4-36d5-489b-9678-49fc940be26e-image.png
                                        dde66646-ffff-4210-a42c-164810d29818-image.png

                                        TbsJahT 1 Reply Last reply
                                        0
                                        • J jomjol

                                          @pfried sagte in Wasserzähler - Version 2 - all-in-device:

                                          @jomjol Guten Morgen, ich habe nun ein bißchen mit FixedExposure getestet, wäre es nicht möglich erst nach z.B. 5 Zyklen den Weißabgleich zu speichern (nach einem Reset habe ich oft im retsen Bild einen "falschen" Weißabgleich). Dann könnte man ja alle z.B. 25 Zyklen einen neuen Weißabgleich speichern um einen eventuellen Drift abzufangen. Liebe Grüße Paul

                                          Hallo Paul,
                                          auch das ist eine gute Möglichkeit. Aber ehrlich gesagt gewinnt man dadurch 5 Sekunden pro Durchlauf. Momentan würde ich einfach zur Deaktivierung raten. Ich habe das für eine andere Applikatin gebraucht, wo ich in Summer unter 2 Sekunden kommen musste und habe es hier einfach übernommen.
                                          Beste Grüße,
                                          jomjol

                                          pfriedP Offline
                                          pfriedP Offline
                                          pfried
                                          wrote on last edited by
                                          #1323

                                          @jomjol Guten Morgen Josef, könntest Du bitte einmal den Algorithmus des MQTT: flow rate veröffentlichen. Ich bekomme diesen Wert nicht mit meinem bisherigen, über Blocky berechneten Werten, in Übereinstimmung. Weis aber nicht wo der Fehler liegt.... Liebe Grüße Paul

                                          HasontH J 2 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          923

                                          Online

                                          32.4k

                                          Users

                                          81.5k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe