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. Skripten / Logik
  4. Blockly
  5. Stoppuhr

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.3k

Stoppuhr

Scheduled Pinned Locked Moved Blockly
130 Posts 4 Posters 13.8k Views 11 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.
  • S Offline
    S Offline
    Schlagschatten
    wrote on last edited by
    #45

    Ok, die Meldungen kommen von dir. Habe die Scripte schon angelegt, 8 für jeden Zähler. Da der Pi gerade wieder abgestürtzt ist, mache ich mir wirlich Sorgen.

    liv-in-skyL 1 Reply Last reply
    0
    • S Schlagschatten

      Ok, die Meldungen kommen von dir. Habe die Scripte schon angelegt, 8 für jeden Zähler. Da der Pi gerade wieder abgestürtzt ist, mache ich mir wirlich Sorgen.

      liv-in-skyL Offline
      liv-in-skyL Offline
      liv-in-sky
      wrote on last edited by
      #46

      @Schlagschatten

      ich muss mmal einen überblick bekommen

      du nutzt 8 von meinen sripts !

      und du hast 8 skripte, die das ganze steuern - oder hast du meine scripts manipuliert ?

      nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

      liv-in-skyL 1 Reply Last reply
      0
      • S Offline
        S Offline
        Schlagschatten
        wrote on last edited by
        #47

        Ich habe mit meinem Script angefangen und dementsprechen auch Scripte angelegt. Nun habe ich bei 2 Zählern das Script von dir am laufen. Erster Zähler das Script von gestern und der zweite Zähler von heute. Z.z. laufen nur die Scripte von dir. Und ich kann mir halt nicht vorstellen, das die Leistung ausreicht.6.PNG

        1 Reply Last reply
        0
        • liv-in-skyL liv-in-sky

          @Schlagschatten

          ich muss mmal einen überblick bekommen

          du nutzt 8 von meinen sripts !

          und du hast 8 skripte, die das ganze steuern - oder hast du meine scripts manipuliert ?

          liv-in-skyL Offline
          liv-in-skyL Offline
          liv-in-sky
          wrote on last edited by liv-in-sky
          #48

          @liv-in-sky

          wenn das so ist - bitte ändere die anlaufzeit, damit nicht alle gleichzeitig zu rechnen beginnen

          Image 4.png

          gehe in den zeitplan und ändere die 30 sekunden auf eine unterschiedliche primzahl z.b.

          also einer ist auf "alle 23 sekunden" der nächste auf " alle 29" dann 37, 41, 43, 47,53 - damit hast du keine überschneidungen bei der berechnung mehr

          und bitte erkläre mir, was du da eigentlich machst - nur um eine vorstellung zu bekommen, was das für wasserstände sind

          nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Schlagschatten
            wrote on last edited by
            #49

            Ja das ändere ich. Ich vermute mal du schreibst die Scripte und baust sie nicht mit Blockly zusammen.

            liv-in-skyL 1 Reply Last reply
            0
            • S Schlagschatten

              Ja das ändere ich. Ich vermute mal du schreibst die Scripte und baust sie nicht mit Blockly zusammen.

              liv-in-skyL Offline
              liv-in-skyL Offline
              liv-in-sky
              wrote on last edited by
              #50

              @Schlagschatten nope - alles mit blockly

              nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

              1 Reply Last reply
              0
              • S Offline
                S Offline
                Schlagschatten
                wrote on last edited by
                #51

                Die Zähler nutzte ich für meinen Garten. Einen Gießzähler sozusagen und wann gepflanzt wurde.

                liv-in-skyL 1 Reply Last reply
                0
                • S Schlagschatten

                  Die Zähler nutzte ich für meinen Garten. Einen Gießzähler sozusagen und wann gepflanzt wurde.

                  liv-in-skyL Offline
                  liv-in-skyL Offline
                  liv-in-sky
                  wrote on last edited by
                  #52

                  @Schlagschatten

                  ok - mal sehen, ob wir das zum laufen bringen

                  welches script sollte ich noch überprüfen ?

                  nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                  1 Reply Last reply
                  0
                  • rantanplanR Offline
                    rantanplanR Offline
                    rantanplan
                    wrote on last edited by
                    #53

                    Wie schon gesagt. Da sind sehr viele Verzögerungen und Timeouts. Wenn da mehrere von laufen, kann es haarig werden. Und wenn man ne Kleinigkeit verändert hat, ist es nicht mehr zu überblicken.

                    @liv-in-sky Lass das anlegen der Datenpunke erstmal liegen und pass das Script an. Sonst hast Du hier Support ohne Ende.

                    Rantanplan

                    CCU3 / MS Server 2019(VM) / Scripten mit Blockly

                    liv-in-skyL 2 Replies Last reply
                    0
                    • rantanplanR rantanplan

                      Wie schon gesagt. Da sind sehr viele Verzögerungen und Timeouts. Wenn da mehrere von laufen, kann es haarig werden. Und wenn man ne Kleinigkeit verändert hat, ist es nicht mehr zu überblicken.

                      @liv-in-sky Lass das anlegen der Datenpunke erstmal liegen und pass das Script an. Sonst hast Du hier Support ohne Ende.

                      liv-in-skyL Offline
                      liv-in-skyL Offline
                      liv-in-sky
                      wrote on last edited by liv-in-sky
                      #54

                      @rantanplan

                      danke dir - bin schon dabei

                      ich habe nicht damit gerechnet, dass es gleich in die massenverarbeitung geht :-)

                      nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                      rantanplanR 1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        Schlagschatten
                        wrote on last edited by
                        #55

                        Schau mal hier für Minuten

                        <xml xmlns="http://www.w3.org/1999/xhtml">
                        <variables>
                        <variable type="undefined" id="Intervall11">Intervall11</variable>
                        <variable type="" id="RJX#bCFN/lLc{/ML$d(C">counter11</variable>
                        </variables>
                        <block type="on_ext" id="nlX!8rCV~k.;9Xm#$t0S" x="-1112" y="-1337">
                        <mutation items="2"></mutation>
                        <field name="CONDITION">ne</field>
                        <field name="ACK_CONDITION"></field>
                        <value name="OID0">
                        <shadow type="field_oid" id="ES``F{uHqW8J+/Y,X@P,">
                        <field name="oid">vis.0.HansNOTAUS.Wasserzaehler2</field>
                        </shadow>
                        </value>
                        <value name="OID1">
                        <shadow type="field_oid" id="c1dm,W4lL4F/SCN/JXE[">
                        <field name="oid">vis.0.HansNOTAUS.Wasserzaehler2.Minuten</field>
                        </shadow>
                        </value>
                        <statement name="STATEMENT">
                        <block type="controls_if" id="CjOQv-/z9yZw|+5]9~Ey">
                        <mutation elseif="1"></mutation>
                        <value name="IF0">
                        <block type="logic_compare" id="mbvd~(W_.g}5*}=^oO~v">
                        <field name="OP">EQ</field>
                        <value name="A">
                        <block type="get_value" id="jMiE]hV^DT%]ElNF/Ms">
                        <field name="ATTR">val</field>
                        <field name="OID">vis.0.HansNOTAUS.Wasserzaehler2</field>
                        </block>
                        </value>
                        <value name="B">
                        <block type="logic_boolean" id="_zD5z^Eg?Mp/(ND7]U/1">
                        <field name="BOOL">TRUE</field>
                        </block>
                        </value>
                        </block>
                        </value>
                        <statement name="DO0">
                        <block type="timeouts_setinterval" id="@4#gh8ib?30YN]phECu"> <field name="NAME">Intervall11</field> <field name="INTERVAL">1</field> <field name="UNIT">sec</field> <statement name="STATEMENT"> <block type="math_change" id="ISrC8BYmAH[I|pL+%xZ">
                        <field name="VAR" id="RJX#bCFN/lLc{/ML$d(C" variabletype="">counter11</field>
                        <value name="DELTA">
                        <shadow type="math_number" id="fRCT)TN8g
                        |+PyckhQDs">
                        <field name="NUM">1</field>
                        </shadow>
                        </value>
                        <next>
                        <block type="controls_if" id="e02eDw4RhcrUIFhfdw_.">
                        <value name="IF0">
                        <block type="logic_compare" id=";GfrwfY$+9p-)fDhUb$^">
                        <field name="OP">EQ</field>
                        <value name="A">
                        <block type="variables_get" id="]b(I5apIK{$dpqaHjv3">
                        <field name="VAR" id="RJX#bCFN/lLc{/ML$d(C" variabletype="">counter11</field>
                        </block>
                        </value>
                        <value name="B">
                        <block type="math_number" id="eKpd|+UN.Vum}MTuDzQ">
                        <field name="NUM">60</field>
                        </block>
                        </value>
                        </block>
                        </value>
                        <statement name="DO0">
                        <block type="update" id="bMO;21Gt^nL/r2CY@1
                        t">
                        <mutation delay_input="false"></mutation>
                        <field name="OID">vis.0.HansNOTAUS.Wasserzaehler2.Minuten</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                        <block type="math_arithmetic" id="Vp#pAhCa-z%KT|(U:K+"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="j1N0n8@)2iYs00z3u#fB"> <field name="NUM">1</field> </shadow> <block type="get_value" id="+nhPP|Y:/v3J51YI:~1a"> <field name="ATTR">val</field> <field name="OID">vis.0.HansNOTAUS.Wasserzaehler2.Minuten</field> </block> </value> <value name="B"> <shadow type="math_number" id="(/_[7S|b%eWw1_/$Wu;m"> <field name="NUM">1</field> </shadow> </value> </block> </value> <next> <block type="timeouts_clearinterval" id="tB5ooe#rUd?S;~;+GFti"> <field name="NAME">Intervall11</field> <next> <block type="variables_set" id="Y3Rl?EUO8%)_wC#VErw">
                        <field name="VAR" id="RJX#bCFN/lLc{/ML$d(C" variabletype="">counter11</field>
                        <value name="VALUE">
                        <block type="math_number" id="[kE?RAf~_i@=IdcO3N]Z">
                        <field name="NUM">0</field>
                        </block>
                        </value>
                        <next>
                        <block type="controls_if" id="a;8tAFMjv#,Xd^Kjf+v"> <value name="IF0"> <block type="logic_compare" id="D?YfUm1c9_EWg~MyS/bH"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="s41qHt:7~[eHKIMZfq)7"> <field name="ATTR">val</field> <field name="OID">vis.0.HansNOTAUS.Wasserzaehler2.Minuten</field> </block> </value> <value name="B"> <block type="math_number" id="D)_9Dy]46ke9LeqJ_i?,"> <field name="NUM">60</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="#1/6(pbgt@k%@1DPKrH-"> <mutation delay_input="false"></mutation> <field name="OID">vis.0.HansNOTAUS.Wasserzaehler2.Minuten</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="HN@G,buRO)t;YiBOa{a">
                        <field name="NUM">0</field>
                        </block>
                        </value>
                        <next>
                        <block type="timeouts_clearinterval" id="/XQ7uoYal.}TbA@]0esj">
                        <field name="NAME">Intervall11</field>
                        <next>
                        <block type="variables_set" id="}wD%GU8=PV
                        Vwg#1X$Fn">
                        <field name="VAR" id="RJX#bCFN/lLc{/ML$d(C" variabletype="">counter11</field>
                        <value name="VALUE">
                        <block type="math_number" id="E;At!GK1X7f2C;l(oj+">
                        <field name="NUM">0</field>
                        </block>
                        </value>
                        </block>
                        </next>
                        </block>
                        </next>
                        </block>
                        </statement>
                        </block>
                        </next>
                        </block>
                        </next>
                        </block>
                        </next>
                        </block>
                        </statement>
                        </block>
                        </next>
                        </block>
                        </statement>
                        </block>
                        </statement>
                        <value name="IF1">
                        <block type="logic_compare" id="HZ
                        d)FAmc$T/gmUyaATz">
                        <field name="OP">EQ</field>
                        <value name="A">
                        <block type="get_value" id="Bgj{aa~3Rhl-J_{J,JEj">
                        <field name="ATTR">val</field>
                        <field name="OID">vis.0.HansNOTAUS.Wasserzaehler2</field>
                        </block>
                        </value>
                        <value name="B">
                        <block type="logic_boolean" id="z=?N^mXE=#b:f;PI7M@c">
                        <field name="BOOL">FALSE</field>
                        </block>
                        </value>
                        </block>
                        </value>
                        <statement name="DO1">
                        <block type="variables_set" id="P2H;X!(CVbMKDLqv34hT">
                        <field name="VAR" id="RJX#bCFN/lLc{/ML$d(C" variabletype="">counter11</field>
                        <value name="VALUE">
                        <block type="math_number" id="l3z)Gn0Uy?}=Te48Ai["> <field name="NUM">0</field> </block> </value> <next> <block type="timeouts_clearinterval" id="TQ;:O)dZR;9m8)[Ubq8">
                        <field name="NAME">Intervall11</field>
                        </block>
                        </next>
                        </block>
                        </statement>
                        </block>
                        </statement>
                        </block>
                        </xml>

                        1 Reply Last reply
                        0
                        • S Offline
                          S Offline
                          Schlagschatten
                          wrote on last edited by
                          #56

                          Für Stunde

                          <xml xmlns="http://www.w3.org/1999/xhtml">
                          <variables>
                          <variable type="undefined" id="Intervall">Intervall</variable>
                          <variable type="" id="RJX#bCFN/lLc{/ML$d(C">counter22</variable>
                          </variables>
                          <block type="on_ext" id="nlX!8rCV~k.;9Xm#$t0S" x="-1087" y="-1287">
                          <mutation items="2"></mutation>
                          <field name="CONDITION">ne</field>
                          <field name="ACK_CONDITION"></field>
                          <value name="OID0">
                          <shadow type="field_oid" id="ES``F{uHqW8J+/Y,X@P,">
                          <field name="oid">vis.0.HansNOTAUS.Wasserzaehler2</field>
                          </shadow>
                          </value>
                          <value name="OID1">
                          <shadow type="field_oid" id="c1dm,W4lL4F/SCN/JXE[">
                          <field name="oid">vis.0.HansNOTAUS.Wasserzaehler2.Stunden</field>
                          </shadow>
                          </value>
                          <statement name="STATEMENT">
                          <block type="controls_if" id="CjOQv-/z9yZw|+5]9~Ey">
                          <mutation elseif="1"></mutation>
                          <value name="IF0">
                          <block type="logic_compare" id="mbvd~(W_.g}5*}=^oO~v">
                          <field name="OP">EQ</field>
                          <value name="A">
                          <block type="get_value" id="jMiE]hV^DT%]ElNF/Ms">
                          <field name="ATTR">val</field>
                          <field name="OID">vis.0.HansNOTAUS.Wasserzaehler2</field>
                          </block>
                          </value>
                          <value name="B">
                          <block type="logic_boolean" id="_zD5z^Eg?Mp/(ND7]U/1">
                          <field name="BOOL">TRUE</field>
                          </block>
                          </value>
                          </block>
                          </value>
                          <statement name="DO0">
                          <block type="timeouts_setinterval" id="@4#gh8ib?30YN]phECu"> <field name="NAME">Intervall</field> <field name="INTERVAL">60</field> <field name="UNIT">sec</field> <statement name="STATEMENT"> <block type="math_change" id="ISrC8BYmAH[I|pL+%xZ">
                          <field name="VAR" id="RJX#bCFN/lLc{/ML$d(C" variabletype="">counter22</field>
                          <value name="DELTA">
                          <shadow type="math_number" id="fRCT)TN8g
                          |+PyckhQDs">
                          <field name="NUM">1</field>
                          </shadow>
                          </value>
                          <next>
                          <block type="controls_if" id="e02eDw4RhcrUIFhfdw_.">
                          <value name="IF0">
                          <block type="logic_compare" id=";GfrwfY$+9p-)fDhUb$^">
                          <field name="OP">EQ</field>
                          <value name="A">
                          <block type="variables_get" id="]b(I5apIK{$dp*qaHjv3">
                          <field name="VAR" id="RJX#bCFN/lLc{/ML$d(C" variabletype="">counter22</field>
                          </block>
                          </value>
                          <value name="B">
                          <block type="math_number" id="eKpd|+UN.Vum}MTuDzQ">
                          <field name="NUM">60</field>
                          </block>
                          </value>
                          </block>
                          </value>
                          <statement name="DO0">
                          <block type="update" id="bMO;21Gt^nL/r2CY@1
                          t">
                          <mutation delay_input="false"></mutation>
                          <field name="OID">vis.0.HansNOTAUS.Wasserzaehler2.Stunden</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                          <block type="math_arithmetic" id="Vp#pAhCa-z%KT|(U:K+"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="j1N0n8@)2iYs00z3u#fB"> <field name="NUM">1</field> </shadow> <block type="get_value" id="+nhPP|Y:/v3J51YI:~1a"> <field name="ATTR">val</field> <field name="OID">vis.0.HansNOTAUS.Wasserzaehler2.Stunden</field> </block> </value> <value name="B"> <shadow type="math_number" id="(/_[7S|b%eWw1_/$Wu;m"> <field name="NUM">1</field> </shadow> </value> </block> </value> <next> <block type="timeouts_clearinterval" id="tB5ooe#rUd?S;~;+GFti"> <field name="NAME">Intervall22</field> <next> <block type="variables_set" id="Y3Rl?EUO8%)_wC#VErw">
                          <field name="VAR" id="RJX#bCFN/lLc{/ML$d(C" variabletype="">counter22</field>
                          <value name="VALUE">
                          <block type="math_number" id="[kE?RAf~_i@=IdcO3N]Z">
                          <field name="NUM">0</field>
                          </block>
                          </value>
                          <next>
                          <block type="controls_if" id="8.VKm@=a-,I7-x^meO@"> <value name="IF0"> <block type="logic_compare" id="YdKP=*uUGT9TP9v@0nu{"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="r{?aRDWm3%:*uWXQ4A~Z"> <field name="ATTR">val</field> <field name="OID">vis.0.HansNOTAUS.Wasserzaehler2.Stunden</field> </block> </value> <value name="B"> <block type="math_number" id="kzoG5Gd8[tKgkneVQeuq"> <field name="NUM">23</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="M@/~6vePwX4_JkTwL?Y">
                          <mutation delay_input="false"></mutation>
                          <field name="OID">vis.0.HansNOTAUS.Wasserzaehler2.Stunden</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                          <block type="math_number" id="Tt2P_gQaCts35x$$Wd[F">
                          <field name="NUM">0</field>
                          </block>
                          </value>
                          <next>
                          <block type="timeouts_clearinterval" id=";MzYTKH52#jlPrjTBqeF">
                          <field name="NAME">Intervall</field>
                          <next>
                          <block type="variables_set" id="lXuk(/~;a7txQ=,2~vg"> <field name="VAR" id="RJX#bCFN/lLc{/ML$d(C" variabletype="">counter22</field> <value name="VALUE"> <block type="math_number" id="tb7yE@DsV#Hqa:oAA7|Q"> <field name="NUM">0</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </statement> </block> </statement> <value name="IF1"> <block type="logic_compare" id="HZ*d)FAmc$T/gmUyaATz"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="Bgj{aa~3Rhl-J_{J,JEj"> <field name="ATTR">val</field> <field name="OID">vis.0.HansNOTAUS.Wasserzaehler2</field> </block> </value> <value name="B"> <block type="logic_boolean" id="z=?N^mXE=#b:f;PI7M@c"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <statement name="DO1"> <block type="variables_set" id="P2H;X!(CVbMKDLqv34hT"> <field name="VAR" id="RJX#bCFN/lLc{/ML$d(C" variabletype="">counter22</field> <value name="VALUE"> <block type="math_number" id="l3z)Gn0Uy?}=Te48Ai[">
                          <field name="NUM">0</field>
                          </block>
                          </value>
                          <next>
                          <block type="timeouts_clearinterval" id="TQ;:O)dZR;9m`8)[Ubq8">
                          <field name="NAME">Intervall</field>
                          </block>
                          </next>
                          </block>
                          </statement>
                          </block>
                          </statement>
                          </block>
                          </xml>

                          1 Reply Last reply
                          0
                          • S Offline
                            S Offline
                            Schlagschatten
                            wrote on last edited by
                            #57

                            Tag

                            <xml xmlns="http://www.w3.org/1999/xhtml">
                            <variables>
                            <variable type="undefined" id="Intervall33">Intervall33</variable>
                            <variable type="" id="RJX#bCFN/lLc{/ML$d(C">counter33</variable>
                            </variables>
                            <block type="on_ext" id="nlX!8rCV~k.;9Xm#$t0S" x="-1112" y="-1337">
                            <mutation items="2"></mutation>
                            <field name="CONDITION">ne</field>
                            <field name="ACK_CONDITION"></field>
                            <value name="OID0">
                            <shadow type="field_oid" id="ES``F{uHqW8J+/Y,X@P,">
                            <field name="oid">vis.0.HansNOTAUS.Wasserzaehler2</field>
                            </shadow>
                            </value>
                            <value name="OID1">
                            <shadow type="field_oid" id="c1dm,W4lL4F/SCN/JXE[">
                            <field name="oid">vis.0.HansNOTAUS.Wasserzaehler2.Tag</field>
                            </shadow>
                            </value>
                            <statement name="STATEMENT">
                            <block type="controls_if" id="CjOQv-/z9yZw|+5]9~Ey">
                            <mutation elseif="1"></mutation>
                            <value name="IF0">
                            <block type="logic_compare" id="mbvd~(W_.g}5*}=^oO~v">
                            <field name="OP">EQ</field>
                            <value name="A">
                            <block type="get_value" id="jMiE]hV^DT%]ElNF/Ms">
                            <field name="ATTR">val</field>
                            <field name="OID">vis.0.HansNOTAUS.Wasserzaehler2</field>
                            </block>
                            </value>
                            <value name="B">
                            <block type="logic_boolean" id="_zD5z^Eg?Mp/(ND7]U/1">
                            <field name="BOOL">TRUE</field>
                            </block>
                            </value>
                            </block>
                            </value>
                            <statement name="DO0">
                            <block type="timeouts_setinterval" id="@4#gh8ib?30YN]phECu"> <field name="NAME">Intervall33</field> <field name="INTERVAL">1</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="math_change" id="ISrC8BYmAH[I|pL+%xZ">
                            <field name="VAR" id="RJX#bCFN/lLc{/ML$d(C" variabletype="">counter33</field>
                            <value name="DELTA">
                            <shadow type="math_number" id="fRCT)TN8g
                            |+PyckhQDs">
                            <field name="NUM">1</field>
                            </shadow>
                            </value>
                            <next>
                            <block type="controls_if" id="e02eDw4RhcrUIFhfdw_.">
                            <value name="IF0">
                            <block type="logic_compare" id=";GfrwfY$+9p-)fDhUb$^">
                            <field name="OP">EQ</field>
                            <value name="A">
                            <block type="variables_get" id="]b(I5apIK{$dpqaHjv3">
                            <field name="VAR" id="RJX#bCFN/lLc{/ML$d(C" variabletype="">counter33</field>
                            </block>
                            </value>
                            <value name="B">
                            <block type="math_number" id="eKpd|+UN.Vum}MTuDzQ">
                            <field name="NUM">1440</field>
                            </block>
                            </value>
                            </block>
                            </value>
                            <statement name="DO0">
                            <block type="update" id="bMO;21Gt^nL/r2CY@1
                            t">
                            <mutation delay_input="false"></mutation>
                            <field name="OID">vis.0.HansNOTAUS.Wasserzaehler2.Tag</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                            <block type="math_arithmetic" id="Vp#pAhCa-z%KT|(U:K+"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="j1N0n8@)2iYs00z3u#fB"> <field name="NUM">1</field> </shadow> <block type="get_value" id="+nhPP|Y:/v3J51YI:~1a"> <field name="ATTR">val</field> <field name="OID">vis.0.HansNOTAUS.Wasserzaehler2.Tag</field> </block> </value> <value name="B"> <shadow type="math_number" id="(/_[7S|b%eWw1_/$Wu;m"> <field name="NUM">1</field> </shadow> </value> </block> </value> <next> <block type="timeouts_clearinterval" id="tB5ooe#rUd?S;~;+GFti"> <field name="NAME">Intervall33</field> <next> <block type="variables_set" id="Y3Rl?EUO8%)_wC#VErw">
                            <field name="VAR" id="RJX#bCFN/lLc{/ML$d(C" variabletype="">counter33</field>
                            <value name="VALUE">
                            <block type="math_number" id="[kE?RAf~_i@=IdcO3N]Z">
                            <field name="NUM">0</field>
                            </block>
                            </value>
                            <next>
                            <block type="controls_if" id="?mjZfBT8Xecb![V:#If#">
                            <value name="IF0">
                            <block type="logic_compare" id="IlY(^7|L^PL{#$Ef:0K7">
                            <field name="OP">EQ</field>
                            <value name="A">
                            <block type="get_value" id="XG{iq+Iq:-PioU+|NIg8">
                            <field name="ATTR">val</field>
                            <field name="OID">vis.0.HansNOTAUS.Wasserzaehler2.Tag</field>
                            </block>
                            </value>
                            <value name="B">
                            <block type="math_number" id="y
                            #0BBv2lF3l1eRR|TB$">
                            <field name="NUM">150</field>
                            </block>
                            </value>
                            </block>
                            </value>
                            <statement name="DO0">
                            <block type="update" id="Ra[sDyz:[v~THw17*OB6">
                            <mutation delay_input="false"></mutation>
                            <field name="OID">vis.0.HansNOTAUS.Wasserzaehler2.Tag</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                            <block type="math_number" id=",W@U]?C~uk+N7:Z~H~Z"> <field name="NUM">0</field> </block> </value> <next> <block type="timeouts_clearinterval" id="+U[%E4VpEBy)9mDc,FtW"> <field name="NAME">Intervall33</field> <next> <block type="variables_set" id="2qecrhsfgE-R5[MWB5by"> <field name="VAR" id="RJX#bCFN/lLc{/ML$d(C" variabletype="">counter33</field> <value name="VALUE"> <block type="math_number" id="F8X}B-:T~5)nxFSE/69N"> <field name="NUM">0</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </statement> </block> </statement> <value name="IF1"> <block type="logic_compare" id="HZ*d)FAmc$T/gmUyaATz"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="Bgj{aa~3Rhl-J_{J,JEj"> <field name="ATTR">val</field> <field name="OID">vis.0.HansNOTAUS.Wasserzaehler2</field> </block> </value> <value name="B"> <block type="logic_boolean" id="z=?N^mXE=#b:f;PI7M@c"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <statement name="DO1"> <block type="variables_set" id="P2H;X!(CVbMKDLqv34hT"> <field name="VAR" id="RJX#bCFN/lLc{/ML$d(C" variabletype="">counter33</field> <value name="VALUE"> <block type="math_number" id="l3z)Gn0Uy?}=Te48Ai[">
                            <field name="NUM">0</field>
                            </block>
                            </value>
                            <next>
                            <block type="timeouts_clearinterval" id="TQ;:O)dZR;9m`8)[Ubq8">
                            <field name="NAME">Intervall33</field>
                            </block>
                            </next>
                            </block>
                            </statement>
                            </block>
                            </statement>
                            </block>
                            </xml>

                            1 Reply Last reply
                            0
                            • S Offline
                              S Offline
                              Schlagschatten
                              wrote on last edited by
                              #58

                              Kann auch alles in ein Script

                              liv-in-skyL 1 Reply Last reply
                              0
                              • rantanplanR rantanplan

                                Wie schon gesagt. Da sind sehr viele Verzögerungen und Timeouts. Wenn da mehrere von laufen, kann es haarig werden. Und wenn man ne Kleinigkeit verändert hat, ist es nicht mehr zu überblicken.

                                @liv-in-sky Lass das anlegen der Datenpunke erstmal liegen und pass das Script an. Sonst hast Du hier Support ohne Ende.

                                liv-in-skyL Offline
                                liv-in-skyL Offline
                                liv-in-sky
                                wrote on last edited by liv-in-sky
                                #59

                                @rantanplan

                                hättest du mal lust, mein (mit datenpunkten anlegen) script zu testen - im script ist auch ein testmodus der alle paar minuten läuft und die stoppuhr immer wieder startet - bei mir geht es - du müßtest also nicht mal start ode stopp drücken, da dies schon im test script vorhanden ist - nur die datenpunkte überwachen und evt. ein paar performance sachen feststellen.

                                stoppuhr-mit-daternanlegen.txt

                                nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                                1 Reply Last reply
                                0
                                • liv-in-skyL liv-in-sky

                                  @rantanplan

                                  danke dir - bin schon dabei

                                  ich habe nicht damit gerechnet, dass es gleich in die massenverarbeitung geht :-)

                                  rantanplanR Offline
                                  rantanplanR Offline
                                  rantanplan
                                  wrote on last edited by
                                  #60

                                  @liv-in-sky sagte in Stoppuhr:

                                  ich habe nicht damit gerechnet, dass es gleich in die massenverarbeitung geht :-)

                                  Wer die Geister ruft.....:relaxed:

                                  Hier mal ein kleines Beispiel wie ich das mit dem Initialieseren meine.
                                  Ich mache das z.B. bei meiner Heizungssteuerung so.
                                  Da ich jeden Raum einzeln steuer, hat das noch den Vorteil das ich die Scripte kopieren kann und nur an einer Stelle die Daten anpassen muss.

                                  Beispiel_001.png

                                  Du brauchst dann noch eine Funktion, die am Ende die Werte der lokalen Variablen in die Datenpunkte schreibt.

                                  Rantanplan

                                  CCU3 / MS Server 2019(VM) / Scripten mit Blockly

                                  liv-in-skyL 1 Reply Last reply
                                  0
                                  • rantanplanR rantanplan

                                    @liv-in-sky sagte in Stoppuhr:

                                    ich habe nicht damit gerechnet, dass es gleich in die massenverarbeitung geht :-)

                                    Wer die Geister ruft.....:relaxed:

                                    Hier mal ein kleines Beispiel wie ich das mit dem Initialieseren meine.
                                    Ich mache das z.B. bei meiner Heizungssteuerung so.
                                    Da ich jeden Raum einzeln steuer, hat das noch den Vorteil das ich die Scripte kopieren kann und nur an einer Stelle die Daten anpassen muss.

                                    Beispiel_001.png

                                    Du brauchst dann noch eine Funktion, die am Ende die Werte der lokalen Variablen in die Datenpunkte schreibt.

                                    liv-in-skyL Offline
                                    liv-in-skyL Offline
                                    liv-in-sky
                                    wrote on last edited by
                                    #61

                                    @rantanplan

                                    habe das mit dem berechnen teil so gemacht - nkannst ja mal kucken - bitte - aber ich denke, ich habe es verstanden

                                    nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                                    1 Reply Last reply
                                    0
                                    • S Schlagschatten

                                      Kann auch alles in ein Script

                                      liv-in-skyL Offline
                                      liv-in-skyL Offline
                                      liv-in-sky
                                      wrote on last edited by
                                      #62

                                      @Schlagschatten

                                      zwischen unseren scripten, gibt es einen wichtigen unterschied

                                      du zählst die sekunden oder minuten die ganze zeit und verbraucht die ganze zeit performance

                                      meine scripte berechnen die sekunden alle z.b 30 sekunden - das spart die performance !!!!!!

                                      nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                                      1 Reply Last reply
                                      0
                                      • S Offline
                                        S Offline
                                        Schlagschatten
                                        wrote on last edited by
                                        #63

                                        Das Script ist wesentlich einfacher augebaut, es Zählt eigentlich nur und damit bibt es Problem. In deinem Script z.b. wandels du Datum in Rechenwerte um und halt wieder zurück. Wenn ich das richtig verstanden habe. Und wofür braucht du das Objekt Momentan?

                                        liv-in-skyL 1 Reply Last reply
                                        0
                                        • S Offline
                                          S Offline
                                          Schlagschatten
                                          wrote on last edited by
                                          #64

                                          Ein Zähler der nach 45min nicht mehr richtig zählt.

                                          1 Reply 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

                                          373

                                          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