Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. [gelöst]Zeitsteuerung mit Blockly

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst]Zeitsteuerung mit Blockly

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Markus Faltermeier last edited by Markus Faltermeier

      Hallo,

      ich versuche gerade eine Steckdose zeitgesteuert einzuschalten. Dazu benutze ich eine Homematic Funksteckdose.

      Über VIS möchte ich die Zeit vorgeben, mit der die Steckdose geschaltet wird. dazu habe ich jetzt das Widget "ctrl-input datetime" verwendet. Die zwei Zeiten

      sind in den Variablen: "Endezeit" und "Startzeit" gespeichert.
      5491_vis-widget.png

      über ein Script habe ich die Stunden und Minuten extrahiert und in 4 zusätzlichen Variablen gespeichert (s. Bild)
      5491_variablen.png
      5491_zeit_extrahieren.png

      Jetzt versuche ich gerade über ein Script die Steckdose anzuschalten. Hier komme ich jetzt nicht weiter. die Steckdose schaltet nicht ein.

      Hat hier jemand eine Idee was ich hier falsch mache. Ich bin was Javascript und Blockly angeht ein ziemlicher Anfänger.

      5491_zeitschaltuhr.png

      Vielen Dank schonmal

      LG Markus

      1 Reply Last reply Reply Quote 0
      • R
        rudiraz last edited by

        Hallo,

        also bei mir sieht es ähnlich aus. Allerdings habe ich noch etwas dabei: einen Schalter, mit dem man die Zeitschaltuhr ausschalten kann 😄

        In den Screenshots ist der "Mqtt-Transmitter" deine Variable zum Schalten der Steckdose.

        "Zeitschaltuhr_aktiv" ist der "Ein- und Ausschalter" deiner Zeitschaltuhr. Hinzu kommt, dass er automatisch ausgeschaltet wird (rechte Seite der Screenshots), sobald die Ein- oder Ausschaltzeit verändert wird; du musst dann die Zeitschaltuhr wieder aktiv machen.

        Durch das aktivieren der Zeitschaltuhr wird erst der eigentliche Scheduler getriggert, was auch der Grund ist, warum dein Script Probleme bereitet

        Sicherlich könnte man das Ganze auch eleganter lösen, bei mir läuft das so aber super.

        Grüße
        2480_aus.png
        2480_ein.png

        1 Reply Last reply Reply Quote 0
        • M
          mikiline last edited by

          Zuerstmal, wenn die Start oder Endzeit geändert wird, alle Variablen ändern bzw. aktualisieren lassen. Zwar nicht nötig, macht den Code aber übersichtlicher und evtl pflegeleichter.

          Wenn das dann erledigt ist, den Cronjob auch gleich unten anhängen. Jedesmal wenn die Start- oder Endzeit verändert wird, ändert sich auch der Cron.

          Dann machst es wie rudiraz und nimmst noch einen "State" Zeitschaltuhr=aktiv oder nicht als Trigger

          Dann sollte es funktionieren

          1 Reply Last reply Reply Quote 0
          • M
            Markus Faltermeier last edited by

            Hallo,

            Vielen Dank für die Infos.

            Ich habe noch ein paar fragen zu deinem Code.

            Hast du in vis neben den Feldern, wo man die Zeit einstellt noch einen Button der die Variable „zeitschaltuhr aktiv“ setzt?

            Was bewirkt der Block „stop einschalten“?

            Was ist die Variable „Weihnachten ein“?

            Den letzten Block auf der linken Seite verstehe ich nicht.

            Wieso wird die Variable „zeitsteuerung_aktiv“ auf unwahr gesetzt, wenn sie vorher schon unwahr war?

            Sorry für die vielen Fragen, ich möchte nur gerne verstehen, was ich

            Programmiere

            Danke

            LG

            1 Reply Last reply Reply Quote 0
            • R
              rudiraz last edited by

              Mein Fehler 😄

              "Weihnachten_ein" ist die Variable, in die Zeit aus Vis eingetragen wird (z.b. 08:06)

              "Weihnachten_aus" ist dementsprechend die Ausschaltzeit.

              > Was bewirkt der Block „stop einschalten“
              setzt den Cronjob zurück. Heißt, die Werde der Zeit werden resettet. Das mache ich, damit die richtigen Werte erneut eingetragen werden und das Script nicht mit alten Werten arbeitet.

              > Wieso wird die Variable „zeitsteuerung_aktiv“ auf unwahr gesetzt, wenn sie vorher schon unwahr war?
              ich glaube, das ist ein Überbleibsel aus der Testphase. Kann gelöscht werden, denke ich 🙂

              1 Reply Last reply Reply Quote 0
              • M
                mikiline last edited by

                @rudiraz

                du kannst Dein Baustein Zeitplan "ausschalten" in Dein "einschalten" integrieren.

                Die Bedingung hast Du ja schon gut erstellt.

                Beide Cron Blöcke für ein und ausschalten können untereinander stehen.

                Selbiges mit Weihnachten…..

                Vorteil:

                es ist alles Übersichtlicher und pflegeleichter.

                Bei Zeitschaltuhr aus z.B. hast ja auch 2 mal dann im log stehen das die jetzt "aus" ist und auch die "Lampensteuerung aktiv" wenn ich das richtig sehe. Denn beide werden mit dem Trigger Zeitschaltuhr aktiv "getriggert"

                1 Reply Last reply Reply Quote 0
                • R
                  rudiraz last edited by

                  @mikiline

                  Du hast Recht 😄

                  Das Script war für Weihnachten. Habs nicht mehr aktiv.

                  Und nach dem Testen hatte ich vergessen, es übersichtlicher zu gestalten. Muss ich mal ran..

                  Danke dir 🙂

                  Grüße

                  1 Reply Last reply Reply Quote 0
                  • M
                    Markus Faltermeier last edited by

                    Vielen Dank für die Unterstützung,

                    jetzt habe ich die Steuerung soweit hinbekommen. Ich hatte jetzt auch Zeit mich mit dem Cronjob genauer zu beschäftigen.

                    Die Zeitschaltuhr läuft soweit. Das heißt ich kann die Start und Endzeit vorgeben. Ich kann jetzt auch einstellen, an welchen Wochentagen die Zeitschaltuhr aktiv sein soll.

                    Dafür habe ich die Wochentage, die ich im VIS ausgewählt habe in einen String umgebaut und an den Cronjob übergeben.

                    Ich habe jetzt noch 2 kleine Probleme / Wünsche:

                    1. Ich würde gerne auswählen können, dass z.B. nur jeden 2. Samstag eingeschaltet werden soll. Ist das irgendwie mit dem Cronjob möglich? Hat vielleicht noch jemand ne Idee, wie man das umsetzten könnte.

                    2. Ich würd im VIS noch gerne angezeigt bekommen, wann die Zeitschaltuhr das nächste mal einschaltet. Also das Datum. Ich habe keine Ahnung, wie ich das Datum im Skript in einer Variablen abspeichern kann und an VIS übergeben kann.

                    Und wie ich das nächste Datum überhaupt per Skript ermitteln kann.

                    Vielleicht hat jemand eine Idee

                    Sieht aktuell in VIS folgendermaßen aus.
                    5491_001-vis.png

                    Und die dazugehörigen Skripte:

                    1. Zeit extrahieren:
                    5491_003-zeit_extrahieren.png

                    2. Wochentage in String für Cronjob umwandeln:
                    5491_004-wochentage.png

                    3. Zeitschaltuhr:
                    5491_002-zeitschaltuhr_skript.png

                    Vielen Dank schonmal

                    LG Markus

                    1 Reply Last reply Reply Quote 0
                    • M
                      mikiline last edited by

                      Hmmm…zu 1.

                      Eine Variable die +1 zählt wenn Samstag ist. Beim nächsten Samstag ist es dann 2 und die Uhr kann schalten und setzt die Variable auf 0 zurück.

                      Beim 2. Punkt kann ich dir gerade keinen Vorschlag machen

                      1 Reply Last reply Reply Quote 0
                      • M
                        Markus Faltermeier last edited by

                        Hallo,

                        ich habe jetzt mein Script entsprechend angepasst.

                        Ich habe 2 Variablen angelegt. In der Variable "Einschalten" steht in welcher Woche geschaltet werden soll (1 - 4). In dieser Variable steht aktuell permanent 1 ("wöchentlich" ausgewählt in VIS)

                        Die Variable "Hilfsvariable wird als Zählvariable benutzt.

                        Das Problem ist jetzt. Das funktioniert genau einmal.

                        Steckdose wird angesteuert. Hilfsvariable wird auf 0 zurückgesetzt.

                        Beim 2. Mal wird die Abfrage aber nicht mehr angesprungen. Die Hilfsvariable wird noch richtig wieder auf 1 gesetzt. Jetzt sind sowohl Hilfsvariable wie auch die Variable "Eischalten" auf 1. Da müsste doch jetzt eigentlich die erste Abfrage angesprungen werden.

                        Die letzte Ausgabe im Debugger ist "nach setzen Hilfsvariable". Und dann geht nichts mehr weiter.

                        Meine Frage ist jetzt, wieso funktioniert meine IF Abfrage nicht?

                        5491_005_vis.png

                        Danke für Eure Hilfe

                        1 Reply Last reply Reply Quote 0
                        • rantanplan
                          rantanplan last edited by

                          @Markus Faltermeier:

                          Danke für Eure Hilfe `

                          Hallo

                          Könntest Du einen Export einstellen?

                          Dann geht's leichter.

                          Grüße

                          1 Reply Last reply Reply Quote 0
                          • M
                            Markus Faltermeier last edited by

                            Hallo,

                            ich habe jetzt mal meine Skripte exportiert.

                            LG
                            5491_2018-02-10-scripts.zip

                            1 Reply Last reply Reply Quote 0
                            • rantanplan
                              rantanplan last edited by

                              @Markus Faltermeier:

                              ich habe jetzt mal meine Skripte exportiert. `

                              Nur das Script um was es geht.
                              filename="blöcke export.png" index="0">~~

                              Dann hier zwischen "spoiler" und "code" Tag einfügen.

                              Grüße

                              1 Reply Last reply Reply Quote 0
                              • M
                                Markus Faltermeier last edited by

                                Hallo,

                                vielen dank für die Hilfe. Ich hoffe ich hab dich jetzt richtig verstanden. 🙂

                                ! ````
                                <xml xmlns="http://www.w3.org/1999/xhtml"><block id="B-cu@w7_wh~a9d#mVOPv" type="comment" x="-3162" y="-387"><field name="COMMENT">Modul Zeitschaltuhr; Definition vom CRON Job für ein- und ausschalten</field>
                                <next><block id="Q,43b%+69vK|es.sXq5" type="comment"><field name="COMMENT">Zeitschaltuhr muss durch drücken vom Button "Zeitschaltuhr aktiv" gestartet werden</field> <next><block id="#R@=@9U-Nb4p40iy6OL" type="on_ext"><mutation items="1"></mutation>
                                <field name="CONDITION">ne</field>

                                        <value name="OID0"><shadow id="=7;AO}qVbVsJyER4-?)," type="field_oid"><field name="oid">vis.0.Zeitschaltuhr_aktiv</field></shadow></value> 
                                        <statement name="STATEMENT"><block id="VPTo!]vS`)qQ9-8[A}QU" type="controls_if"><value name="IF0"><block id="QJBWU75Q(1wQV_:9A+uZ" type="logic_compare"><field name="OP">EQ</field>
                                                <value name="A"><block id="dD.cx;#f.=au*8aY!=pF" type="get_value"><field name="ATTR">val</field>
                                                    <field name="OID">vis.0.Zeitschaltuhr_aktiv</field></block></value> 
                                                <value name="B"><block id=";whJQrPu67ce_17gV/nZ" type="logic_boolean"><field name="BOOL">TRUE</field></block></value></block></value> 
                                            <statement name="DO0"><block id="i^LA:IvzN/6`L%JxJk(o" type="debug"><field name="Severity">log</field>
                                                <value name="TEXT"><shadow id=")}UCfIA|G~:S42LY!z;T" type="text"><field name="TEXT">Start Zeitschaltuhr</field></shadow></value> 
                                                <next><block id="/Xd6cwCm(3W-oX.glC@~" type="schedule_clear"><field name="NAME">einschalten</field>
                                                    <next><block id="EYYWz2@|ouhV[rF{?^ra" type="schedule_create"><field name="NAME">einschalten</field>
                                                        <value name="SCHEDULE"><shadow id="xjI)nb;*G.*_.%ao3:kH" type="field_cron"><field name="CRON">* * * * *</field></shadow> 
                                                          <block id="x59u027G[hy#yz4J{];i" type="cron_builder"><mutation seconds="false" as_line="false"></mutation>
                                                            <field name="LINE">FALSE</field>
                                                            <field name="WITH_SECONDS">FALSE</field>
                                                            <value name="DOW"><shadow id="BG3#bO.zD*-nsSODrUM/" type="text"><field name="TEXT">*</field></shadow> 
                                                              <block id="#{6,K%#/NnU#/TB#0?Qp" type="get_value"><field name="ATTR">val</field>
                                                                <field name="OID">vis.0.Wochentag</field></block></value> 
                                                            <value name="MONTHS"><shadow id="sC?iDn}YGM}-3lY.dC*!" type="text"><field name="TEXT">*</field></shadow></value> 
                                                            <value name="DAYS"><shadow id="jih(^19F-jZtN^=`.db{" type="text"><field name="TEXT">*</field></shadow></value> 
                                                            <value name="HOURS"><shadow id=":mm]R[`uJFthXYJ.ghR7" type="text"><field name="TEXT">*</field></shadow> 
                                                              <block id="7yzVqk[BA5Ho{i0^ix/]" type="get_value"><field name="ATTR">val</field>
                                                                <field name="OID">vis.0.Zeit_Einschalten_Stunde</field></block></value> 
                                                            <value name="MINUTES"><shadow id="C.Re@KxbAvM4gZM-o|h3" type="text"><field name="TEXT">*</field></shadow> 
                                                              <block id="o?Z)QhCuUijiB/FD[bD!" type="get_value"><field name="ATTR">val</field>
                                                                <field name="OID">vis.0.Zeit_Einschalten_Minuten</field></block></value></block></value> 
                                                        <statement name="STATEMENT"><block id="S]oWaffP|w[AouaRF+rD" type="debug"><field name="Severity">log</field>
                                                            <value name="TEXT"><shadow id="c`dZKPb`eBbKEFHN#sX." type="text"><field name="TEXT">Lampen an</field></shadow></value> 
                                                            <next><block id="d[YeCP7J3J/D!Pqr=[j0" type="update"><mutation delay_input="false"></mutation>
                                                                <field name="OID">vis.0.Hilfsvariable</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE"><block id="^|w2uJMAs9l^K5m51MrL" type="math_arithmetic"><field name="OP">ADD</field>
                                                                    <value name="A"><shadow id="4rU(:SZN1wQe|?Mz+}[V" type="math_number"><field name="NUM">1</field></shadow> 
                                                                      <block id="Z^cC.o9s4Rr8Q]]=nu|]" type="get_value"><field name="ATTR">val</field>
                                                                        <field name="OID">vis.0.Hilfsvariable</field></block></value> 
                                                                    <value name="B"><shadow id=";,6dv.m##8NQtl;s%km]" type="math_number"><field name="NUM">1</field></shadow></value></block></value> 
                                                                <next><block id="eTAF6)3mr56N,pSrqHF!" type="comment"><field name="COMMENT">Schleife zum Prüfen, ob in dieser Woche geschaltet werden soll</field>
                                                                    <next><block id="=ZmI8)ipD{4;I)/Av^D}" type="debug"><field name="Severity">log</field>
                                                                        <value name="TEXT"><shadow id="kpUZE+-Ejimhs@:^Y8dw" type="text"><field name="TEXT">nach setzen Hilfsvariable</field></shadow></value> 
                                                                        <next><block id="AId-@3M5:d[[~3d1,fhA" type="controls_if"><mutation elseif="3"></mutation>
                                                                            <value name="IF0"><block id=",CFZ1G10y(dyvlRtFe|a" type="logic_operation"><field name="OP">AND</field>
                                                                                <value name="A"><block id="Aq~+dP9la=?5om6)rBA~" type="logic_compare"><field name="OP">EQ</field>
                                                                                    <value name="A"><block id="*w^9!eGr,WHr621z;).M" type="get_value"><field name="ATTR">val</field>
                                                                                        <field name="OID">vis.0.Einschalten</field></block></value> 
                                                                                    <value name="B"><block id="1;m|y9sI31ea5.c+n[S6" type="math_number"><field name="NUM">1</field></block></value></block></value> 
                                                                                <value name="B"><block id="oD=OV*?viN@m`Ddc?x{9" type="logic_compare"><field name="OP">EQ</field>
                                                                                    <value name="A"><block id="?Ob8K+VdI#{JZf)wP,Q/" type="get_value"><field name="ATTR">val</field>
                                                                                        <field name="OID">vis.0.Hilfsvariable</field></block></value> 
                                                                                    <value name="B"><block id="_5`B1=VF`h1#HFHTYok." type="math_number"><field name="NUM">1</field></block></value></block></value></block></value> 
                                                                            <statement name="DO0"><block id="R(9?mM(=Tk6d-Ny)-QYG" type="debug"><field name="Severity">log</field>
                                                                                <value name="TEXT"><shadow id="ju!OXK|7;S@sB}5W93gJ" type="text"><field name="TEXT">Test Einschalten</field></shadow></value> 
                                                                                <next><block id="UsHX`}`dO!zo#)lNw@W(" type="control"><mutation delay_input="false"></mutation>
                                                                                    <field name="OID">hm-rpc.1.MEQ1397326.3.STATE</field>
                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                    <value name="VALUE"><block id="IMvNg3C9Z7ePEei~Trp3" type="logic_boolean"><field name="BOOL">TRUE</field></block></value> 
                                                                                    <next><block id="[MOR!+c_oO1{pfGpZbcD" type="control"><mutation delay_input="false"></mutation>
                                                                                        <field name="OID">hm-rpc.1.MEQ1397326.4.STATE</field>
                                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                                        <value name="VALUE"><block id="^AH`]i!irm!pk;*dLV^q" type="logic_boolean"><field name="BOOL">TRUE</field></block></value> 
                                                                                        <next><block id="otfB-L.|8UQk5+.}B%4*" type="update"><mutation delay_input="false"></mutation>
                                                                                            <field name="OID">vis.0.Hilfsvariable</field>
                                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                                            <value name="VALUE"><block id="xpwuVWqrsmr[|1Ufk*k@" type="math_number"><field name="NUM">0</field></block></value></block></next></block></next></block></next></block></statement> 
                                                                            <value name="IF1"><block id="zER5#]VIXgf2g_0-;JJ`" type="logic_operation"><field name="OP">AND</field>
                                                                                <value name="A"><block id="K/FK,|ogRR_%fqOyvTR6" type="logic_compare"><field name="OP">EQ</field>
                                                                                    <value name="A"><block id="4ZV9q2CCSTI#;n:k/n/:" type="get_value"><field name="ATTR">val</field>
                                                                                        <field name="OID">vis.0.Einschalten</field></block></value> 
                                                                                    <value name="B"><block id="ekU2CneUi/j=]iBWSLqy" type="math_number"><field name="NUM">2</field></block></value></block></value> 
                                                                                <value name="B"><block id="PJtoTnwID4p#4bX(sudU" type="logic_compare"><field name="OP">EQ</field>
                                                                                    <value name="A"><block id="h3!*))ULXJ-qW:,Lj=Sr" type="get_value"><field name="ATTR">val</field>
                                                                                        <field name="OID">vis.0.Hilfsvariable</field></block></value> 
                                                                                    <value name="B"><block id="Sm|^P,tiNXaK-}|H0=E6" type="math_number"><field name="NUM">2</field></block></value></block></value></block></value> 
                                                                            <statement name="DO1"><block id="VZTdvHL{=;Wcpr;`[jWa" type="control"><mutation delay_input="false"></mutation>
                                                                                <field name="OID">hm-rpc.1.MEQ1397326.3.STATE</field>
                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                <value name="VALUE"><block id="HB*g92_f)6SPhn_!l!wL" type="logic_boolean"><field name="BOOL">TRUE</field></block></value> 
                                                                                <next><block id="]H)2qj]zcVV{#FD@8pac" type="control"><mutation delay_input="false"></mutation>
                                                                                    <field name="OID">hm-rpc.1.MEQ1397326.4.STATE</field>
                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                    <value name="VALUE"><block id="CrQa*~a9B/C9IJuY)I5e" type="logic_boolean"><field name="BOOL">TRUE</field></block></value> 
                                                                                    <next><block id="ze*~xTV9mJ]:iGM(ung+" type="update"><mutation delay_input="false"></mutation>
                                                                                        <field name="OID">vis.0.Hilfsvariable</field>
                                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                                        <value name="VALUE"><block id="zm?7`D*Y!r@YIPDE^Ro`" type="math_number"><field name="NUM">0</field></block></value></block></next></block></next></block></statement> 
                                                                            <value name="IF2"><block id="VT*32zO%1Ms)t6qW`zjE" type="logic_operation"><field name="OP">AND</field>
                                                                                <value name="A"><block id="+Sy9dKP/qV4Of}4dxsY:" type="logic_compare"><field name="OP">EQ</field>
                                                                                    <value name="A"><block id="3lCI{#e.]ymu+725k@.n" type="get_value"><field name="ATTR">val</field>
                                                                                        <field name="OID">vis.0.Einschalten</field></block></value> 
                                                                                    <value name="B"><block id="B,|SC_xrvY@|yv9qFeih" type="math_number"><field name="NUM">3</field></block></value></block></value> 
                                                                                <value name="B"><block id="n*ux)t2pA^JQy=GtQi1b" type="logic_compare"><field name="OP">EQ</field>
                                                                                    <value name="A"><block id="zjCc:WHF({hATg*GFb`y" type="get_value"><field name="ATTR">val</field>
                                                                                        <field name="OID">vis.0.Hilfsvariable</field></block></value> 
                                                                                    <value name="B"><block id="/`2b}CUs,%+kz=JJ@LQn" type="math_number"><field name="NUM">3</field></block></value></block></value></block></value> 
                                                                            <statement name="DO2"><block id="54REZgiMq1!AzeEjIfE." type="control"><mutation delay_input="false"></mutation>
                                                                                <field name="OID">hm-rpc.1.MEQ1397326.3.STATE</field>
                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                <value name="VALUE"><block id="c:u@;.ZlH*o;;sDwJ(.;" type="logic_boolean"><field name="BOOL">TRUE</field></block></value> 
                                                                                <next><block id="%b)AR.}=Hes|b2bFAhGT" type="control"><mutation delay_input="false"></mutation>
                                                                                    <field name="OID">hm-rpc.1.MEQ1397326.4.STATE</field>
                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                    <value name="VALUE"><block id="0S[zyyis^3iS}/l#k3BZ" type="logic_boolean"><field name="BOOL">TRUE</field></block></value> 
                                                                                    <next><block id="u%K^FP6Ou_MA*/301Go3" type="update"><mutation delay_input="false"></mutation>
                                                                                        <field name="OID">vis.0.Hilfsvariable</field>
                                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                                        <value name="VALUE"><block id="^u3BLUI+3*0%cEbL12wV" type="math_number"><field name="NUM">0</field></block></value></block></next></block></next></block></statement> 
                                                                            <value name="IF3"><block id="WV{sQhn7lHi.*;])IZ0S" type="logic_operation"><field name="OP">AND</field>
                                                                                <value name="A"><block id="pzrIXy%t6FPRRcqaH:(A" type="logic_compare"><field name="OP">EQ</field>
                                                                                    <value name="A"><block id="a/t8s=q_HO)E2PnTNIjE" type="get_value"><field name="ATTR">val</field>
                                                                                        <field name="OID">vis.0.Einschalten</field></block></value> 
                                                                                    <value name="B"><block id="}goZJm!T{RVkpfo~`yK|" type="math_number"><field name="NUM">4</field></block></value></block></value> 
                                                                                <value name="B"><block id="rI]Gs-_B3m{pMh0cSeK*" type="logic_compare"><field name="OP">EQ</field>
                                                                                    <value name="A"><block id="6It947q9QRfVlwtcr#eX" type="get_value"><field name="ATTR">val</field>
                                                                                        <field name="OID">vis.0.Hilfsvariable</field></block></value> 
                                                                                    <value name="B"><block id="9R8e4hlY{Od7T#B9?g3|" type="math_number"><field name="NUM">4</field></block></value></block></value></block></value> 
                                                                            <statement name="DO3"><block id="S9OIg,xD.KbNG)4lh8+r" type="control"><mutation delay_input="false"></mutation>
                                                                                <field name="OID">hm-rpc.1.MEQ1397326.3.STATE</field>
                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                <value name="VALUE"><block id="=ivy?VHm2M%Jncgw@L+H" type="logic_boolean"><field name="BOOL">TRUE</field></block></value> 
                                                                                <next><block id=")UQB=F?XeA.ILIKU@:bc" type="control"><mutation delay_input="false"></mutation>
                                                                                    <field name="OID">hm-rpc.1.MEQ1397326.4.STATE</field>
                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                    <value name="VALUE"><block id="KwNvo9y3es=:=~T+Ws?W" type="logic_boolean"><field name="BOOL">TRUE</field></block></value> 
                                                                                    <next><block id="O7F?s:4Be+A?=DPuVlc;" type="update"><mutation delay_input="false"></mutation>
                                                                                        <field name="OID">vis.0.Hilfsvariable</field>
                                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                                        <value name="VALUE"><block id=":KISe]uvwOK`IAxW%!yv" type="math_number"><field name="NUM">0</field></block></value></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></statement> 
                                                        <next><block id="ohMGivpW,^3RxbZ7L{s2" type="schedule_create"><field name="NAME">ausschalten</field>
                                                            <value name="SCHEDULE"><shadow id="xjI)nb;*G.*_.%ao3:kH" type="field_cron"><field name="CRON">* * * * *</field></shadow> 
                                                              <block id="f|];=xZ.x[k~;k950n^," type="cron_builder"><mutation seconds="false" as_line="false"></mutation>
                                                                <field name="LINE">FALSE</field>
                                                                <field name="WITH_SECONDS">FALSE</field>
                                                                <value name="DOW"><shadow id="79Xt*{6#SH/zD0E[!K%o" type="text"><field name="TEXT">*</field></shadow> 
                                                                  <block id="u~(s9PxhJ1}HMcrON/Mc" type="get_value"><field name="ATTR">val</field>
                                                                    <field name="OID">vis.0.Wochentag</field></block></value> 
                                                                <value name="MONTHS"><shadow id="^^]RPFQNR8lg*J*X{:wM" type="text"><field name="TEXT">*</field></shadow></value> 
                                                                <value name="DAYS"><shadow id=";{4RR0WK,}B9_g[fNP-Q" type="text"><field name="TEXT">*</field></shadow></value> 
                                                                <value name="HOURS"><shadow id="rEhXPs:2Bn=rawO!DpzV" type="text"><field name="TEXT">*</field></shadow> 
                                                                  <block id="mTv6V.{-J^hhxZ;6rmWe" type="get_value"><field name="ATTR">val</field>
                                                                    <field name="OID">vis.0.Zeit_Ausschalten_Stunden</field></block></value> 
                                                                <value name="MINUTES"><shadow id="mC?h77}pIz]~|vn|S{bS" type="text"><field name="TEXT">*</field></shadow> 
                                                                  <block id="Lsx=f`}fu)UY;Umntoym" type="get_value"><field name="ATTR">val</field>
                                                                    <field name="OID">vis.0.Zeit_Ausschalten_Minuten</field></block></value></block></value> 
                                                            <statement name="STATEMENT"><block id="[WN@V+SkJwgoZ1h^nd^." type="debug"><field name="Severity">log</field>
                                                                <value name="TEXT"><shadow id="SUH;Yi3}Q^VaEG!q0Asg" type="text"><field name="TEXT">Lampen aus</field></shadow></value> 
                                                                <next><block id="WC2=Y(Cv1JTkY#_rt?L{" type="controls_if"><value name="IF0"><block id="J*nT`i7*Q{O)SR[9x){q" type="logic_compare"><field name="OP">EQ</field>
                                                                        <value name="A"><block id="Q3nvE3~{M;/PD-#c]iP+" type="get_value"><field name="ATTR">val</field>
                                                                            <field name="OID">vis.0.Einschalten</field></block></value> 
                                                                        <value name="B"><block id="}@RiGV]KjwJ048=2m`|/" type="math_number"><field name="NUM">1</field></block></value></block></value> 
                                                                    <statement name="DO0"><block id="iSS0*lSL3aIzH^2{wnXy" type="control"><mutation delay_input="false"></mutation>
                                                                        <field name="OID">hm-rpc.1.MEQ1397326.3.STATE</field>
                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                        <value name="VALUE"><block id="+2l_/vaY;P/|F(sntN%F" type="logic_boolean"><field name="BOOL">FALSE</field></block></value> 
                                                                        <next><block id="b2?+zw`%8+_#ebTBkG*U" type="control"><mutation delay_input="false"></mutation>
                                                                            <field name="OID">hm-rpc.1.MEQ1397326.4.STATE</field>
                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                            <value name="VALUE"><block id="^2PNU!=?8.ug//}Dc[29" type="logic_boolean"><field name="BOOL">FALSE</field></block></value> 
                                                                            <next><block id="DzmL1=z;VGS4OUnFQ3=M" type="control"><mutation delay_input="false"></mutation>
                                                                                <field name="OID">hm-rpc.0.JEQ0163725.1.STATE</field>
                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                <value name="VALUE"><block id="v;p?A*)nl{FkkSbjpeKz" type="logic_boolean"><field name="BOOL">FALSE</field></block></value></block></next></block></next></block></statement></block></next></block></statement></block></next></block></next></block></next></block></statement></block></statement></block></next></block></next></block> 
                                

                                <block id="]wv[gj`7mDeH;ky}{01O" type="comment" x="-2137" y="-362"><field name="COMMENT">wenn Start oder Endezeit geändert wurde, wird die Zeitschaltuhr deaktiviert</field>
                                <next><block id="X=sVov%|6G-B4MJuxkh:" type="on_ext"><mutation items="1"></mutation>
                                <field name="CONDITION">ne</field>

                                    <value name="OID0"><shadow id="fH:s^YxKK:YVw8r0yF,T" type="field_oid"><field name="oid">vis.0.Startzeit</field></shadow></value> 
                                    <statement name="STATEMENT"><block id="H0dGHK2T!uL1azPVvk%^" type="control"><mutation delay_input="false"></mutation>
                                        <field name="OID">vis.0.Zeitschaltuhr_aktiv</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE"><block id="kWUsb%N9qT}v?|xvs/c%" type="logic_boolean"><field name="BOOL">FALSE</field></block></value> 
                                        <next><block id=")dCT3q]lBx^e@}W8y9FX" type="debug"><field name="Severity">log</field>
                                            <value name="TEXT"><shadow id="uS6y(vs^V1dn8l{h4!Vu" type="text"><field name="TEXT">Start Zeit wurde geändert Zeitschaltuhr aus</field></shadow></value> 
                                            <next><block id=",l`#Qr5n=H#Y?o%SOEb|" type="control"><mutation delay_input="false"></mutation>
                                                <field name="OID">hm-rpc.1.MEQ1397326.3.STATE</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE"><block id="j0]{[G-g_G)Bfs=du.]3" type="logic_boolean"><field name="BOOL">FALSE</field></block></value> 
                                                <next><block id=":Sfqw2;StcHy!R|frj9z" type="control"><mutation delay_input="false"></mutation>
                                                    <field name="OID">hm-rpc.1.MEQ1397326.4.STATE</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE"><block id="Yn`Imn;1sgBe4z-J)(DE" type="logic_boolean"><field name="BOOL">FALSE</field></block></value> 
                                                    <next><block id="@_uduz6zo9[=KcU7vxbM" type="control"><mutation delay_input="false"></mutation>
                                                        <field name="OID">hm-rpc.0.JEQ0163725.1.STATE</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE"><block id="r*g|mWO15j,0-zf6,78(" type="logic_boolean"><field name="BOOL">FALSE</field></block></value></block></next></block></next></block></next></block></next></block></statement> 
                                    <next><block id="|HrKrJ*k#[aD|L_]sggc" type="on_ext"><mutation items="1"></mutation>
                                        <field name="CONDITION">ne</field>
                                
                                        <value name="OID0"><shadow id="l|dCP09DSH#fg3YmeO/9" type="field_oid"><field name="oid">vis.0.Endezeit</field></shadow></value> 
                                        <statement name="STATEMENT"><block id="g.+/NlFxMVEjx8~7-)e+" type="control"><mutation delay_input="false"></mutation>
                                            <field name="OID">vis.0.Zeitschaltuhr_aktiv</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE"><block id="Fb*c1eW6`AUqjwh42[n4" type="logic_boolean"><field name="BOOL">FALSE</field></block></value> 
                                            <next><block id="K|/+RkB/x5:sjf;9;aKr" type="debug"><field name="Severity">log</field>
                                                <value name="TEXT"><shadow id="y:H!_^i:1=PoDmW/T49V" type="text"><field name="TEXT">Ende Zeit wurde geändert Zeitschaltuhr aus</field></shadow></value> 
                                                <next><block id="C{ce;PgGzSaD-I.7AnjG" type="control"><mutation delay_input="false"></mutation>
                                                    <field name="OID">hm-rpc.1.MEQ1397326.3.STATE</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE"><block id=")yk(5bi)XXW)bV(Gr{y|" type="logic_boolean"><field name="BOOL">FALSE</field></block></value> 
                                                    <next><block id="?dGrPz%*w-Kvx:TRS9s}" type="control"><mutation delay_input="false"></mutation>
                                                        <field name="OID">hm-rpc.1.MEQ1397326.4.STATE</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE"><block id="DHQ8?=PCG6BF!0Bjfr;9" type="logic_boolean"><field name="BOOL">FALSE</field></block></value></block></next></block></next></block></next></block></statement></block></next></block></next></block> 
                                

                                <block id=":Si%8LJvqE=btU_)s0" type="comment" x="-1912" y="363"><field name="COMMENT">Ermittelt, in welchem Abstand (wöchentlich) geschaltet wird</field>
                                <next><block id="WZabVsCjdFTgk@;8xh{7" type="on_ext"><mutation items="1"></mutation>
                                <field name="CONDITION">ne</field>

                                    <value name="OID0"><shadow id="j2~a#-^YQtu~NrV:(_,~" type="field_oid"><field name="oid">vis.0.Zeitschaltuhr_aktiv</field></shadow></value> 
                                    <statement name="STATEMENT"><block id="cx6`_/+c[}!4p9h)@N3h" type="debug"><field name="Severity">log</field>
                                        <value name="TEXT"><shadow id="LkS9uf)dnr`[+ecGW-Ev" type="text"><field name="TEXT">ermittelt, in welcher Woche geschaltet wird</field></shadow></value> 
                                        <next><block id="SXW_y!NtZFN?~{qaW@3j" type="controls_if"><value name="IF0"><block id="#|N?Kf/4QNKXoA+pn4K-" type="logic_compare"><field name="OP">EQ</field>
                                                <value name="A"><block id="59H^8yqr5nLka6IrHrw]" type="get_value"><field name="ATTR">val</field>
                                                    <field name="OID">vis.0.vierter</field></block></value> 
                                                <value name="B"><block id="r5=9L-wCCwX^yn.5[e)@" type="logic_boolean"><field name="BOOL">TRUE</field></block></value></block></value> 
                                            <statement name="DO0"><block id="-5y|gu9W~Wh(:RV.QY~x" type="update"><mutation delay_input="false"></mutation>
                                                <field name="OID">vis.0.Einschalten</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE"><block id="HunlBWL[w6~BEA}6rj{J" type="math_number"><field name="NUM">4</field></block></value></block></statement> 
                                            <next><block id="[;V%w8H?{A_H.AuxU,kU" type="controls_if"><value name="IF0"><block id="U?LwXAlbg5Bg3%h%vCMX" type="logic_compare"><field name="OP">EQ</field>
                                                    <value name="A"><block id="!;Y2vO;Qh7@5x/Z!;c8P" type="get_value"><field name="ATTR">val</field>
                                                        <field name="OID">vis.0.dritter</field></block></value> 
                                                    <value name="B"><block id="?m5^(N8UDW|tF={k35R1" type="logic_boolean"><field name="BOOL">TRUE</field></block></value></block></value> 
                                                <statement name="DO0"><block id=")aSgkhD];nbj9K|5:0-D" type="update"><mutation delay_input="false"></mutation>
                                                    <field name="OID">vis.0.Einschalten</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE"><block id="(UOMRx%kDt*7cWl.^uJ`" type="math_number"><field name="NUM">3</field></block></value></block></statement> 
                                                <next><block id="O{6l4s,K3O17H,;qG={F" type="controls_if"><value name="IF0"><block id="Vp4JTah8;{=Fwpli?8T^" type="logic_compare"><field name="OP">EQ</field>
                                                        <value name="A"><block id="7KsToab^axEY+lX0N{y|" type="get_value"><field name="ATTR">val</field>
                                                            <field name="OID">vis.0.zweiter</field></block></value> 
                                                        <value name="B"><block id="f#I77WPaT}4a/~~r+kMC" type="logic_boolean"><field name="BOOL">TRUE</field></block></value></block></value> 
                                                    <statement name="DO0"><block id="WM}!:thg_1*RhlDA%/Ks" type="update"><mutation delay_input="false"></mutation>
                                                        <field name="OID">vis.0.Einschalten</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE"><block id="he}F8fkIRuL[S+=9rc`S" type="math_number"><field name="NUM">2</field></block></value></block></statement> 
                                                    <next><block id="~GQ72@hIkYd[KZn_BJ[s" type="controls_if"><value name="IF0"><block id="cCV}ntJ78``=[Her1D;Z" type="logic_compare"><field name="OP">EQ</field>
                                                            <value name="A"><block id="CGP`+!iy(R%zi^Rg!J2Y" type="get_value"><field name="ATTR">val</field>
                                                                <field name="OID">vis.0.erster</field></block></value> 
                                                            <value name="B"><block id="3?4VO=81zMwagSLKmefA" type="logic_boolean"><field name="BOOL">TRUE</field></block></value></block></value> 
                                                        <statement name="DO0"><block id="F=U@cRROEIu`!0CBB.2J" type="update"><mutation delay_input="false"></mutation>
                                                            <field name="OID">vis.0.Einschalten</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE"><block id="]61vX;Gf(:iBR8_lmwAu" type="math_number"><field name="NUM">1</field></block></value></block></statement></block></next></block></next></block></next></block></next></block></statement></block></next></block></xml> 
                                

                                ! ````

                                1 Reply Last reply Reply Quote 0
                                • rantanplan
                                  rantanplan last edited by

                                  Ja, hat geklappt.

                                  Habe jetzt aber nur mal kurz drüber geschaut.

                                  Was mir so aufgefallen ist.

                                  1. Deine Datenpunkte unter vis.0 anzulegen ist keine gute Idee.

                                  Nimm lieber javascript.0 oder mache einen eigenen Ordner "meineDatenpunkte.0"

                                  2. Den Trigger auf "Zeitschaltuhr_aktiv" kannst Du auf "ist wahr" setzen.

                                  Dann brauchst Du die erste Bedingung nicht mehr.

                                  3. In den Triggern "Startzeit" und "Endzeit", schaltest Du alles aus, beendest aber die Crons nicht,

                                  Fehlt da nicht jeweils ein "stop einschalten" und "stop ausschalten"?

                                  4. Cron Parameter sind Strings. Sind Deine Datenpunkte vom Typ Zeichenkette?

                                  5. Du hast einen Datenpunkt "Hilfsvariable". Damit stellst Du Berechnungen an und wertest das Ergebnis direkt danach aus.

                                  Dabei kann Dir die asynchrone Abarbeitung von Javascript in die Quere kommen.

                                  Diese "Hilfsvariable" brauchst Du anscheinend nur für die Berechnung.

                                  Erstelle Dir besser eine lokale Variable (Bereich "Variablen") und nimm diese für die Berechnung.

                                  Schau mal ob Du damit schon weiter kommst.

                                  Grüße

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    Markus Faltermeier last edited by

                                    Vielen Dank für die Antworten

                                    Ich habe jetzt die Hilfsvariable als lokale Variable angelegt. Mal schauen, ob es jetzt funktioniert.

                                    Ich muss nur leider immer ein Paar Tage warten, um zu sehen, ob es auch funktioniert.
                                    5491_hilfe.png

                                    Zu Deinen Anmerkungen habe ich noch ein Paar Fragen:

                                    1. Die Datenpunkte alle unter vis0 zu haben gefällt mir auch nicht. Nur habe ich es nicht geschafft, einen eigenen Ordner anzulegen.

                                    Ich kann den Datenpunkt nur einem bestehenden Ordner zuweisen. Wie kann man in IOBROKER hier einen eigenen Ordner anlegen?

                                    Kann ich die Datenpunkte irgendwie in einen neuen Ordner verschieben oder muss ich die löschen und neu anlegen?
                                    5491_ordner.png

                                    2. Meinst Du das so?
                                    5491_trigger.png

                                    3. Wo sollte ich diesen "stop einschalten / ausschalten" einfügen? Was bewirkt dieses "stop einschalten" bzw. "stop ausschalten" eigentlich?

                                    4. Nein. Die Parameter für die CRON Jobs sind bei mir alle vom Typ "Zahl". Muss ich die ändern in "String"?

                                    Tut mir leid für die vielen Fragen. Aber das ist mein erstes Skript in IOBROKER 😉

                                    LG

                                    1 Reply Last reply Reply Quote 0
                                    • rantanplan
                                      rantanplan last edited by

                                      @Markus Faltermeier:

                                      1. Die Datenpunkte alle unter vis0 zu haben gefällt mir auch nicht. Nur habe ich es nicht geschafft, einen eigenen Ordner anzulegen.

                                      Ich kann den Datenpunkt nur einem bestehenden Ordner zuweisen. Wie kann man in IOBROKER hier einen eigenen Ordner anlegen?

                                      Kann ich die Datenpunkte irgendwie in einen neuen Ordner verschieben oder muss ich die löschen und neu anlegen? `
                                      Es gibt keinen Typ "Ordner".

                                      Einfach in der Root von Objekte das "+" Zeichen klicken. Dabei darf kein anderer Ordner selektiert sein.

                                      Dann den gewünschten Namen eingeben.

                                      GANZ WICHTIG! Der Name MUSS mit ".Zahl" enden. Also z.B. "MeineDatenpunkte.0".

                                      Dann Deinen "Ordner" selektieren und wieder das "+" klicken.

                                      Jetzt kannst Du einen weiteren Datenpunkt oder "Ordner" anlegen. Als Unterpunkte braucht der Name KEINE ".Zahl" mehr am Ende.

                                      Einmal angelegte Datenpunkte kann man nicht verschieben. Also löschen und neu anlegen.
                                      147_beispiel.png

                                      Einfacher geht das Anlegen von Datenpunkten über Blockly.
                                      147_beispiel1.png
                                      Script einmal starten und dann ist der Datenpunkt unter "javascript.0".

                                      @Markus Faltermeier:

                                      2. Meinst Du das so? `
                                      Nein, Vergleiche kann man nicht triggern.

                                      Klick mal bei dem Trigger das Pfeilchen neben "wurde geändert".

                                      Da kannst Du einstellen worauf der Trigger reagieren soll.

                                      @Markus Faltermeier:

                                      3. Wo sollte ich diesen "stop einschalten / ausschalten" einfügen? Was bewirkt dieses "stop einschalten" bzw. "stop ausschalten" eigentlich? `
                                      Einmal gestartete Timer laufen erbarmungslos bis ihre Zeit abgelaufen ist.

                                      Schlimmer noch Timer können mehrmals gestartet werden.

                                      Wenn ein Timer 100x gestartet wird, laufen auch 100 Timer gleichzeitig.

                                      Und danach wird die Aktion, die in den Timern steht, auch 100x ausgeführt.

                                      Um das zu verhindern kann Timer mit "stop timer" abschalten.

                                      Die Aktionen in einem gestoppten Timer werden NICHT ausgeführt.

                                      Das kann man auch "vorsichtshalber" machen.

                                      Timer die nicht aktiv kann man auch "stoppen" ohne einen Fehler zu produzieren.

                                      @Markus Faltermeier:

                                      4. Nein. Die Parameter für die CRON Jobs sind bei mir alle vom Typ "Zahl". Muss ich die ändern in "String"? `
                                      Würde ich sicherheitshalber machen. Schau mal unter "Konvertierung"

                                      Grüße

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        MadTrinity last edited by

                                        Hi

                                        bin auch dabei mir eine zeitschaltung zu basteln, irgendwie kann ich dein Wochentag Blockly nicht nachbilden kanns Du das bitte als Export zur verfügung stellen?

                                        Ich habe von Blockly noch keine Ahnung geschweige den von Java bei mir kann ich nur 2 Teile eingängen bei erstelle text aus

                                        Oder gibt es eine andere lösung? Bei Crontab die ausgewählten Tage anzugeben?

                                        Vielen Dank

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          Markus Faltermeier last edited by

                                          Hi,

                                          ich habe mal das Script exportiert.

                                          "Wochentage"

                                          ! ````
                                          xml xmlns="http://www.w3.org/1999/xhtml">
                                          <block type="comment" id="TKRm@?1BhXlqFC!A}s|n" x="-2812" y="-437"><field name="COMMENT">String erstellen für Cron Job an welchen Wochentagen geschaltet werden soll</field>
                                          <next><block type="on_ext" id="#`R@=@9U-Nb4p40iy6OL"><mutation items="1"></mutation>
                                          <field name="CONDITION">ne</field>

                                              <value name="OID0"><shadow type="field_oid" id="=7;AO}qVbVsJyER4-?),"><field name="oid">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Zeitschaltuhr_aktiv</field></shadow></value> 
                                              <statement name="STATEMENT"><block type="control" id="UsHX`}`dO!zo#)lNw@W("><mutation delay_input="false"></mutation>
                                                  <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Wochentag</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE"><block type="text_join" id=".92!{!oG{O~Nji6c*Cyf"><mutation items="7"></mutation>
                                                      <value name="ADD0"><block type="logic_ternary" id="^X{L~iiGb/v5M89Vn#Ca"><value name="IF"><block type="get_value" id="n=.Nw{Ao-l|-C3]jsvM/"><field name="ATTR">val</field>
                                                              <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_So</field></block></value> 
                                                          <value name="THEN"><block type="text" id="k8WiqVpFx(9Bh;{]xZo8"><field name="TEXT">0</field></block></value> 
                                                          <value name="ELSE"></value></block></value> 
                                                      <value name="ADD1"><block type="logic_ternary" id="R?C^Of[dtpRXxyfW?Xz|"><value name="IF"><block type="get_value" id="~1_I[o|y1F2B0!cKQaAs"><field name="ATTR">val</field>
                                                              <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Mo</field></block></value> 
                                                          <value name="THEN"><block type="logic_ternary" id="V0s5@Re-d5lQ;,1tM.s."><value name="IF"><block type="get_value" id="wdjiKc_x9^.~gRL*/|EJ"><field name="ATTR">val</field>
                                                                  <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_So</field></block></value> 
                                                              <value name="THEN"><block type="text" id="cc(0@GcoD**oTg!nlTt~"><field name="TEXT">,1</field></block></value> 
                                                              <value name="ELSE"><block type="text" id="N=PDlWX#O,O?-P}BgK^,"><field name="TEXT">1</field></block></value></block></value> 
                                                          <value name="ELSE"></value></block></value> 
                                                      <value name="ADD2"><block type="logic_ternary" id="P(@2Q*XkNl@L(ieG*~CW"><value name="IF"><block type="get_value" id="7sD)fh.4YcqpVCnvRD@8"><field name="ATTR">val</field>
                                                              <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Di</field></block></value> 
                                                          <value name="THEN"><block type="logic_ternary" id="7akBd4XAo^*x/VSx%%p4"><value name="IF"><block type="get_value" id="QCcg%Mn-A[(g0sPXa`=?"><field name="ATTR">val</field>
                                                                  <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Mo</field></block></value> 
                                                              <value name="THEN"><block type="text" id="xS.zzy_!?!w{Ar{Bt(#K"><field name="TEXT">,2</field></block></value> 
                                                              <value name="ELSE"><block type="logic_ternary" id="A*L{buoo*XAP9G^x^f!8"><value name="IF"><block type="get_value" id="D-XjD/I%{B1sk^?PqN9X"><field name="ATTR">val</field>
                                                                      <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_So</field></block></value> 
                                                                  <value name="THEN"><block type="text" id="+)yKQu9|]FkwU+((~TMB"><field name="TEXT">,2</field></block></value> 
                                                                  <value name="ELSE"><block type="text" id="Fd46?|VglVe=xt^tt[a4"><field name="TEXT">2</field></block></value></block></value></block></value> 
                                                          <value name="ELSE"></value></block></value> 
                                                      <value name="ADD3"><block type="logic_ternary" id="XD66TeBd^d#AeAV/K7)a"><value name="IF"><block type="get_value" id="GM[-^658]P/5DcY^f9/A"><field name="ATTR">val</field>
                                                              <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Mi</field></block></value> 
                                                          <value name="THEN"><block type="logic_ternary" id="Aez[yn=%)pAapa#YJ4U)"><value name="IF"><block type="get_value" id="DB;D.aDsP6/KAPqvN8,D"><field name="ATTR">val</field>
                                                                  <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Di</field></block></value> 
                                                              <value name="THEN"><block type="text" id="~mr{2?9KTUTTXNP^n^uL"><field name="TEXT">,3</field></block></value> 
                                                              <value name="ELSE"><block type="logic_ternary" id="`@(Ob4./i/:Nl_/mAmf."><value name="IF"><block type="get_value" id="j8q.OAE9UzjPb(@YguJs"><field name="ATTR">val</field>
                                                                      <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Mo</field></block></value> 
                                                                  <value name="THEN"><block type="text" id="/EJ:s9y3Un~HB}oa7S^c"><field name="TEXT">,3</field></block></value> 
                                                                  <value name="ELSE"><block type="logic_ternary" id="Dh(X[=0vQI)RHEa[kVdW"><value name="IF"><block type="get_value" id="wV9KijUvZhAz~:(tx74d"><field name="ATTR">val</field>
                                                                          <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_So</field></block></value> 
                                                                      <value name="THEN"><block type="text" id="0LE1|!,B+lC(]~b[I.FQ"><field name="TEXT">,3</field></block></value> 
                                                                      <value name="ELSE"><block type="text" id="iK.rl^;=ICuA!nF*?qgm"><field name="TEXT">3</field></block></value></block></value></block></value></block></value> 
                                                          <value name="ELSE"></value></block></value> 
                                                      <value name="ADD4"><block type="logic_ternary" id="H%i61bMXjb7gYLARkA@?"><value name="IF"><block type="get_value" id="^5w^c+~:xuu:Sk,}l1ra"><field name="ATTR">val</field>
                                                              <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Do</field></block></value> 
                                                          <value name="THEN"><block type="logic_ternary" id="/,c[tR(@U6O;kXDudU|8"><value name="IF"><block type="get_value" id="H,-Y*.b}g`,SS5V#ECt+"><field name="ATTR">val</field>
                                                                  <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Mi</field></block></value> 
                                                              <value name="THEN"><block type="text" id="]_!rk;wmZqUUa;3(Z^+l"><field name="TEXT">,4</field></block></value> 
                                                              <value name="ELSE"><block type="logic_ternary" id="yE}n8u)VC]k.|sn^(Dxm"><value name="IF"><block type="get_value" id="s|O[sIym`f;@/m,eNv(k"><field name="ATTR">val</field>
                                                                      <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Di</field></block></value> 
                                                                  <value name="THEN"><block type="text" id="^}n/ZzJ?w4?A5rSaKUfl"><field name="TEXT">,4</field></block></value> 
                                                                  <value name="ELSE"><block type="logic_ternary" id="UCEXB0X-1IfR#7butze6"><value name="IF"><block type="get_value" id="EJj{,m`n3HpbT)bBkXqY"><field name="ATTR">val</field>
                                                                          <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Mo</field></block></value> 
                                                                      <value name="THEN"><block type="text" id="!?^D%45@2KLoM(@VUf9f"><field name="TEXT">,4</field></block></value> 
                                                                      <value name="ELSE"><block type="logic_ternary" id="_7?n,CJ*JL((l]8m=v*1"><value name="IF"><block type="get_value" id="~I7)Vtv/,;Nr|1?Qw=Uf"><field name="ATTR">val</field>
                                                                              <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_So</field></block></value> 
                                                                          <value name="THEN"><block type="text" id="a_S={bJ*fq)bA5.+Mo@%"><field name="TEXT">,4</field></block></value> 
                                                                          <value name="ELSE"><block type="text" id="{_`W^r!Oamp5BP9^ynZ@"><field name="TEXT">4</field></block></value></block></value></block></value></block></value></block></value> 
                                                          <value name="ELSE"></value></block></value> 
                                                      <value name="ADD5"><block type="logic_ternary" id="q(@mZXg]21@1x1Af!@MK"><value name="IF"><block type="get_value" id="fdWP+M_?5d+j;e!_%bf?"><field name="ATTR">val</field>
                                                              <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Fr</field></block></value> 
                                                          <value name="THEN"><block type="logic_ternary" id="|I.=}KI!VA/U5YYCqpa1"><value name="IF"><block type="get_value" id=".VK`xd!8K`=8R=bK~grN"><field name="ATTR">val</field>
                                                                  <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Do</field></block></value> 
                                                              <value name="THEN"><block type="text" id="`IS07QGw9cCLGC~jZ6%@"><field name="TEXT">,5</field></block></value> 
                                                              <value name="ELSE"><block type="logic_ternary" id="N+)n-T=T9Qd:Lm.oK]V="><value name="IF"><block type="get_value" id=".z693@7c6;_:S|`oIx!y"><field name="ATTR">val</field>
                                                                      <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Mi</field></block></value> 
                                                                  <value name="THEN"><block type="text" id="oDpPmbV_qZ0uRl8H^9VN"><field name="TEXT">,5</field></block></value> 
                                                                  <value name="ELSE"><block type="logic_ternary" id="56d7t=/`6{aZ;H.`]l(."><value name="IF"><block type="get_value" id="@L)wQ}/o_],p/~Olh_T."><field name="ATTR">val</field>
                                                                          <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Di</field></block></value> 
                                                                      <value name="THEN"><block type="text" id="Oa?x/BiOye5Ip8Sm1sSk"><field name="TEXT">,5</field></block></value> 
                                                                      <value name="ELSE"><block type="logic_ternary" id="u0^BxT|Bu}}/^%8,|YMv"><value name="IF"><block type="get_value" id="I8KpTcz1g2(Q+3c;R|at"><field name="ATTR">val</field>
                                                                              <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Mo</field></block></value> 
                                                                          <value name="THEN"><block type="text" id="(;IHcbo:ca)@DRh,?J,;"><field name="TEXT">,5</field></block></value> 
                                                                          <value name="ELSE"><block type="logic_ternary" id="E#doh~He+T,TcH8WkpGH"><value name="IF"><block type="get_value" id="OTL2Bq8GKY*k,tUk1hdd"><field name="ATTR">val</field>
                                                                                  <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_So</field></block></value> 
                                                                              <value name="THEN"><block type="text" id="}t[ba8-6i0b7?9p8O2]7"><field name="TEXT">,5</field></block></value> 
                                                                              <value name="ELSE"><block type="text" id="9A(?M9keA-#@kF]*lndc"><field name="TEXT">5</field></block></value></block></value></block></value></block></value></block></value></block></value> 
                                                          <value name="ELSE"></value></block></value> 
                                                      <value name="ADD6"><block type="logic_ternary" id="`}-!)Vt2W%w2rP/%xYo`"><value name="IF"><block type="get_value" id="xrZ}+(]ZKoWh+b#H;-|~"><field name="ATTR">val</field>
                                                              <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Sa</field></block></value> 
                                                          <value name="THEN"><block type="logic_ternary" id="1})[T+@gZ^JlPqWd2hd?"><value name="IF"><block type="get_value" id="!`QZWVdp@lcG=dwaJlfO"><field name="ATTR">val</field>
                                                                  <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Fr</field></block></value> 
                                                              <value name="THEN"><block type="text" id="/:eF9~(`W)xTf(49oP04"><field name="TEXT">,6</field></block></value> 
                                                              <value name="ELSE"><block type="logic_ternary" id="QSoAApLugUY)mxroU}:)"><value name="IF"><block type="get_value" id=",HnfZF/#:f]gPTp8*`NZ"><field name="ATTR">val</field>
                                                                      <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Do</field></block></value> 
                                                                  <value name="THEN"><block type="text" id="I*hA9u,;Q-{3AIKP%%[."><field name="TEXT">,6</field></block></value> 
                                                                  <value name="ELSE"><block type="logic_ternary" id="3^)}-FT?]I711LU|2)wk"><value name="IF"><block type="get_value" id="4N9jYK3[C~M`o7dZ1xHZ"><field name="ATTR">val</field>
                                                                          <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Mi</field></block></value> 
                                                                      <value name="THEN"><block type="text" id="DgUiKHUgfB3-|FZy;IOP"><field name="TEXT">,6</field></block></value> 
                                                                      <value name="ELSE"><block type="logic_ternary" id="7dI]E[ow};8K-CWL1TNB"><value name="IF"><block type="get_value" id="cga2Q-i;{G2l3bp}ZT6+"><field name="ATTR">val</field>
                                                                              <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Di</field></block></value> 
                                                                          <value name="THEN"><block type="text" id="1DZ}.oQg)=tTYWY{rh,T"><field name="TEXT">,6</field></block></value> 
                                                                          <value name="ELSE"><block type="logic_ternary" id="U5ddRiDQ3q_y}1OLt|{@"><value name="IF"><block type="get_value" id="n]M|8@VTNLeUg!j^4Z@F"><field name="ATTR">val</field>
                                                                                  <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Mo</field></block></value> 
                                                                              <value name="THEN"><block type="text" id="HHBA8GGN`|sMcsQ5k)8]"><field name="TEXT">,6</field></block></value> 
                                                                              <value name="ELSE"><block type="logic_ternary" id="96Asr`|p;jhN;k-rNRnY"><value name="IF"><block type="get_value" id="iwu|wyHbzrCHi,hwzeSG"><field name="ATTR">val</field>
                                                                                      <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_So</field></block></value> 
                                                                                  <value name="THEN"><block type="text" id=":N9D1ecjX*L*ra[Xb^7i"><field name="TEXT">,6</field></block></value> 
                                                                                  <value name="ELSE"><block type="text" id="I3N2QqhV0mw9=(T/2O~C"><field name="TEXT">6</field></block></value></block></value></block></value></block></value></block></value></block></value></block></value> 
                                                          <value name="ELSE"></value></block></value></block></value></block></statement></block></next></block> 
                                          

                                          ! ````

                                          "Zeit_extrahieren":

                                          ! ````
                                          <xml xmlns="http://www.w3.org/1999/xhtml"><block type="comment" id="|ZV#4Uc46zr3*^K@-3x^" x="-437" y="-12"><field name="COMMENT">Stunden für Einschalten extrahieren</field>
                                          <next><block type="on" id="Oi^*TVF85Aaso)8s!Mn;"><field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Startzeit</field>
                                          <field name="CONDITION">ne</field>

                                              <statement name="STATEMENT"><block type="update" id="jcov9Gv)/*Gw@fLjjWYh"><mutation delay_input="false"></mutation>
                                                  <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Zeit_Einschalten_Stunden</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE"><block type="text_getSubstring" id=":POh,J.fZq0rj!oh6UeC"><mutation at1="true" at2="true"></mutation>
                                                      <field name="WHERE1">FROM_START</field>
                                                      <field name="WHERE2">FROM_START</field>
                                                      <value name="STRING"><block type="get_value" id="%bQ%~DyvID4p6.HNGpy8"><field name="ATTR">val</field>
                                                          <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Startzeit</field></block></value> 
                                                      <value name="AT1"><block type="math_number" id="4KF(stObgV,d{^3hU9Y+"><field name="NUM">1</field></block></value> 
                                                      <value name="AT2"><block type="math_number" id=":m,hSh)[awoODDD5u-gL"><field name="NUM">2</field></block></value></block></value></block></statement></block></next></block> 
                                          

                                          <block type="comment" id="pY-%4Q@)}(k%K=-1!y:1" x="-437" y="213"><field name="COMMENT">Minuten für Einschalten extrahieren</field>
                                          <next><block type="on" id="+}q--.dNF}GpnW5]?l8*"><field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Startzeit</field>
                                          <field name="CONDITION">ne</field>

                                              <statement name="STATEMENT"><block type="update" id="`h8w)6=p@+x5Opn?WV9Q"><mutation delay_input="false"></mutation>
                                                  <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Zeit_Einschalten_Minuten</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE"><block type="text_getSubstring" id="5]qRG4(#.PAs9qd*mF3j"><mutation at1="true" at2="true"></mutation>
                                                      <field name="WHERE1">FROM_START</field>
                                                      <field name="WHERE2">FROM_START</field>
                                                      <value name="STRING"><block type="get_value" id="S}YQ.xNNWVi_/Q3o!Z^K"><field name="ATTR">val</field>
                                                          <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Startzeit</field></block></value> 
                                                      <value name="AT1"><block type="math_number" id="8ENeOXHC9X3?3r^H!W(!"><field name="NUM">4</field></block></value> 
                                                      <value name="AT2"><block type="math_number" id="dnms;l4oU8M;s~OKB#zQ"><field name="NUM">5</field></block></value></block></value></block></statement></block></next></block> 
                                          

                                          <block type="comment" id="sF)hs9g(8d_t5}yzg*q_" x="-437" y="438"><field name="COMMENT">Stunden für Ausschalten extrahieren</field>
                                          <next><block type="on" id="yL[AU{nSJ:y?UA6Ht-ci"><field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Endezeit</field>
                                          <field name="CONDITION">ne</field>

                                              <statement name="STATEMENT"><block type="update" id="gcGo]ElVK`xDr~T[DU0W"><mutation delay_input="false"></mutation>
                                                  <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Zeit_Ausschalten_Stunden</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE"><block type="text_getSubstring" id="D1uL)nPj).DJIJ?uXkp]"><mutation at1="true" at2="true"></mutation>
                                                      <field name="WHERE1">FROM_START</field>
                                                      <field name="WHERE2">FROM_START</field>
                                                      <value name="STRING"><block type="get_value" id="G9(r5~I!7V@4m#/(yXBP"><field name="ATTR">val</field>
                                                          <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Endezeit</field></block></value> 
                                                      <value name="AT1"><block type="math_number" id="TkYO/(vi4|;EV(p%CbJv"><field name="NUM">1</field></block></value> 
                                                      <value name="AT2"><block type="math_number" id="l31BqettZcrwHeeu;X7b"><field name="NUM">2</field></block></value></block></value></block></statement></block></next></block> 
                                          

                                          <block type="comment" id="0+b34(ylcx07|jgD?D2F" x="-437" y="663"><field name="COMMENT">Minuten für Ausschalten extrahieren</field>
                                          <next><block type="on" id="r+jzhD.ys~.t~^%P(ii2"><field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Endezeit</field>
                                          <field name="CONDITION">ne</field>

                                              <statement name="STATEMENT"><block type="update" id="TLhjwF~cD7.2Q.(4.=ZT"><mutation delay_input="false"></mutation>
                                                  <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Zeit_Ausschalten_Minuten</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE"><block type="text_getSubstring" id="tg3G.Fd-,f.=TOm.awB@"><mutation at1="true" at2="true"></mutation>
                                                      <field name="WHERE1">FROM_START</field>
                                                      <field name="WHERE2">FROM_START</field>
                                                      <value name="STRING"><block type="get_value" id="zlCQm.Ei(yK_9aF8k6~G"><field name="ATTR">val</field>
                                                          <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Endezeit</field></block></value> 
                                                      <value name="AT1"><block type="math_number" id="J3mYOi;#p:9HC-.P;nyq"><field name="NUM">4</field></block></value> 
                                                      <value name="AT2"><block type="math_number" id="@,d_qru}}SrfZr;ixWWL"><field name="NUM">5</field></block></value></block></value></block></statement></block></next></block></xml> 
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            Markus Faltermeier last edited by

                                            "Zeitschaltuhr":

                                            ! ````
                                            <xml xmlns="http://www.w3.org/1999/xhtml"><block type="on_ext" id="LS:=sPoJM89pz.0Q.4[=" x="-3037" y="-1412"><mutation items="1"></mutation>
                                            <field name="CONDITION">gt</field>

                                            <value name="OID0"><shadow type="field_oid" id="t@pzjf=G,?ToxTTPWaX?"><field name="oid">MeineDatenpunkte.0.Reset.Resetbutton</field></shadow></value> 
                                            <statement name="STATEMENT"><block type="control" id=".G7vNZWxs=Fchr7JgEZ."><mutation delay_input="false"></mutation>
                                                <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Zeitschaltuhr_aktiv</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE"><block type="logic_boolean" id="I8G2E*d^K0Vl?e=T|W[;"><field name="BOOL">FALSE</field></block></value> 
                                                <next><block type="control" id="v*?)z)kuk!8.fD[I9x7k"><mutation delay_input="false"></mutation>
                                                    <field name="OID">MeineDatenpunkte.0.Brunnen_Pumpe.Brunnen_Pumpe_Zeitschaltuhr_aktiv</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE"><block type="logic_boolean" id="BObF]c#@D,nx`e5W%/kV"><field name="BOOL">FALSE</field></block></value> 
                                                    <next><block type="control" id="V!UE1;ND87c8_rPdZ~ba"><mutation delay_input="false"></mutation>
                                                        <field name="OID">MeineDatenpunkte.0.Brunnen_Beleuchtung.Brunnen_Beleuchtung_Zeitschaltuhr_aktiv</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE"><block type="logic_boolean" id=")s4IrmkUQoy8*CZSak:,"><field name="BOOL">FALSE</field></block></value> 
                                                        <next><block type="control" id="DgM38.OtSV^82F-]9!Cl"><mutation delay_input="false"></mutation>
                                                            <field name="OID">MeineDatenpunkte.0.Aussensteckdose_Gartenhaus.Aussensteckdose_GH_Zeitschaltuhr_aktiv</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE"><block type="logic_boolean" id="B]^Kn!F).XmX;gZ_o7H4"><field name="BOOL">FALSE</field></block></value> 
                                                            <next><block type="control" id="SJ6=xCKn%q-f2?wVcstN"><mutation delay_input="false"></mutation>
                                                                <field name="OID">MeineDatenpunkte.0.Weihnachtsbeleuchtung_Buero.Weihnachtsbeleuchtung_Buero_Zeitschaltuhr_aktiv</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE"><block type="logic_boolean" id=",{}Ahx2g:-I/x9-5|Wk4"><field name="BOOL">FALSE</field></block></value> 
                                                                <next><block type="control" id="%#J:-@e*)4q{]H%pVqZG"><mutation delay_input="false"></mutation>
                                                                    <field name="OID">MeineDatenpunkte.0.Weihnachtsbeleuchtung_Haustuer.Weihnachtsbeleuchtung_Haustuer_Zeitschaltuhr_aktiv</field>
                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                    <value name="VALUE"><block type="logic_boolean" id="-6O[;NosDA#ExJE-jo4["><field name="BOOL">FALSE</field></block></value> 
                                                                    <next><block type="control" id="=U)O@ObhWCtiB!4cpb/y"><mutation delay_input="false"></mutation>
                                                                        <field name="OID">hm-rpc.1.MEQ1397326.3.STATE</field>
                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                        <value name="VALUE"><block type="logic_boolean" id="fKY8-.u+Yh=oo(taRGdx"><field name="BOOL">FALSE</field></block></value> 
                                                                        <next><block type="control" id="K6!p-N/Zw}Nn@ei!(tnV"><mutation delay_input="false"></mutation>
                                                                            <field name="OID">hm-rpc.1.MEQ1397326.4.STATE</field>
                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                            <value name="VALUE"><block type="logic_boolean" id="|~fG#AVuI?GdY,(C0iIO"><field name="BOOL">FALSE</field></block></value> 
                                                                            <next><block type="control" id="[aM-t@jL_vv+WxV(7/CA"><mutation delay_input="false"></mutation>
                                                                                <field name="OID">hm-rpc.0.MEQ1561128.1.STATE</field>
                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                <value name="VALUE"><block type="logic_boolean" id="clo8rjK7kc/Xa)e:QVWW"><field name="BOOL">FALSE</field></block></value> 
                                                                                <next><block type="control" id="_rb]|~[N)4wuX9a.RGtj"><mutation delay_input="false"></mutation>
                                                                                    <field name="OID">hm-rpc.0.MEQ1561103.1.STATE</field>
                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                    <value name="VALUE"><block type="logic_boolean" id="T`[jVghh+au@77yWMVj)"><field name="BOOL">FALSE</field></block></value> 
                                                                                    <next><block type="control" id="9P;,uCA%_*,C4n-b?j,Q"><mutation delay_input="false"></mutation>
                                                                                        <field name="OID">hm-rpc.0.JEQ0163725.1.STATE</field>
                                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                                        <value name="VALUE"><block type="logic_boolean" id="LBHBX=K,+VuSku7^!+jS"><field name="BOOL">FALSE</field></block></value> 
                                                                                        <next><block type="control" id="nOaPUQSyf-dfsB(kDJeQ"><mutation delay_input="false"></mutation>
                                                                                            <field name="OID">hm-rpc.0.JEQ0163028.1.STATE</field>
                                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                                            <value name="VALUE"><block type="logic_boolean" id="m+Ce5MM]fn?GF`j~Ja2Y"><field name="BOOL">FALSE</field></block></value> 
                                                                                            <next><block type="control" id="ya5)ZA+Xoh:p,/mGy_fK"><mutation delay_input="false"></mutation>
                                                                                                <field name="OID">hm-rpc.0.NEQ0384118.1.STATE</field>
                                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                                <value name="VALUE"><block type="logic_boolean" id="iJd9+vy7ES*sUZI*3^b+"><field name="BOOL">FALSE</field></block></value> 
                                                                                                <next><block type="control" id="xZ3z!c(bkzAGB2tBQ=mO"><mutation delay_input="false"></mutation>
                                                                                                    <field name="OID">MeineDatenpunkte.0.Reset.Resetbutton</field>
                                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                                    <value name="VALUE"><block type="logic_boolean" id="(8k/(b9sJ65]~K=@9FO5"><field name="BOOL">FALSE</field></block></value> 
                                                                                                    <next><block type="control" id="0l{R?qT9zS@0;#zv:{y{"><mutation delay_input="false"></mutation>
                                                                                                        <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Zeitschaltuhr_aktiv</field>
                                                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                                                        <value name="VALUE"><block type="logic_boolean" id="~xwv%wCJ|Y^NsxyAqm!`"><field name="BOOL">TRUE</field></block></value> 
                                                                                                        <next><block type="control" id="dEO%i,*n}e2v*:x-DMU`"><mutation delay_input="false"></mutation>
                                                                                                            <field name="OID">MeineDatenpunkte.0.Brunnen_Pumpe.Brunnen_Pumpe_Zeitschaltuhr_aktiv</field>
                                                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                                                            <value name="VALUE"><block type="logic_boolean" id="RjR=@81g,epgr0@Yp:tu"><field name="BOOL">TRUE</field></block></value> 
                                                                                                            <next><block type="debug" id="~}TXP^JttDgzVZ0sh#+7"><field name="Severity">log</field>
                                                                                                                <value name="TEXT"><shadow type="text" id="4B#zT=]sLQk4uc6A4!VZ"><field name="TEXT">Brunnen Pumpe aktiv</field></shadow></value> 
                                                                                                                <next><block type="control" id="Dl4/~EIl[_dze6`s|9{n"><mutation delay_input="false"></mutation>
                                                                                                                    <field name="OID">MeineDatenpunkte.0.Brunnen_Beleuchtung.Brunnen_Beleuchtung_Zeitschaltuhr_aktiv</field>
                                                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                                                    <value name="VALUE"><block type="logic_boolean" id="LX::e*||xvPgIpGybl=p"><field name="BOOL">TRUE</field></block></value> 
                                                                                                                    <next><block type="control" id="jsU#h(m%K?rG*_lqy!)!"><mutation delay_input="false"></mutation>
                                                                                                                        <field name="OID">MeineDatenpunkte.0.Weihnachtsbeleuchtung_Buero.Weihnachtsbeleuchtung_Buero_Zeitschaltuhr_aktiv</field>
                                                                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                                                                        <value name="VALUE"><block type="logic_boolean" id="X*Ky4KvZ)XI-Sh6-J71y"><field name="BOOL">TRUE</field></block></value> 
                                                                                                                        <next><block type="control" id="9pqylFlt!W,AWafC6C[*"><mutation delay_input="false"></mutation>
                                                                                                                            <field name="OID">MeineDatenpunkte.0.Weihnachtsbeleuchtung_Haustuer.Weihnachtsbeleuchtung_Haustuer_Zeitschaltuhr_aktiv</field>
                                                                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                                                                            <value name="VALUE"><block type="logic_boolean" id="%R3fN4%tFW|zMWxI+PoK"><field name="BOOL">TRUE</field></block></value> 
                                                                                                                            <next><block type="control" id="@9g)zYapzXqf]@Z]iNZG"><mutation delay_input="false"></mutation>
                                                                                                                                <field name="OID">MeineDatenpunkte.0.Aussensteckdose_Gartenhaus.Aussensteckdose_GH_Zeitschaltuhr_aktiv</field>
                                                                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                                                                <value name="VALUE"><block type="logic_boolean" id="2X3(J|DsDWUfJTLev+v+"><field name="BOOL">TRUE</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block> 
                                            

                                            <block type="comment" id="B-cu@w7_wh~a9d#mVOPv" x="-3088" y="-335"><field name="COMMENT">Modul Zeitschaltuhr; Definition vom CRON Job für ein- und ausschalten</field>
                                            <next><block type="comment" id="Q,43b%+69vK|es.sXq5"><field name="COMMENT">Zeitschaltuhr muss durch drücken vom Button "Zeitschaltuhr aktiv" gestartet werden</field> <next><block type="on_ext" id="#R@=@9U-Nb4p40iy6OL"><mutation items="1"></mutation>
                                            <field name="CONDITION">ne</field>

                                                    <value name="OID0"><shadow type="field_oid" id="v9sFu]ae.:#3x.[bujBE"><field name="oid">default</field></shadow> 
                                                      <block type="field_oid" id=":nBfhy;}kPrPJNL9vwj)"><field name="oid">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Zeitschaltuhr_aktiv</field></block></value> 
                                                    <statement name="STATEMENT"><block type="controls_if" id="VPTo!]vS`)qQ9-8[A}QU"><value name="IF0"><block type="logic_compare" id="QJBWU75Q(1wQV_:9A+uZ"><field name="OP">EQ</field>
                                                            <value name="A"><block type="get_value" id="dD.cx;#f.=au*8aY!=pF"><field name="ATTR">val</field>
                                                                <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Zeitschaltuhr_aktiv</field></block></value> 
                                                            <value name="B"><block type="logic_boolean" id=";whJQrPu67ce_17gV/nZ"><field name="BOOL">TRUE</field></block></value></block></value> 
                                                        <statement name="DO0"><block type="debug" id="i^LA:IvzN/6`L%JxJk(o"><field name="Severity">log</field>
                                                            <value name="TEXT"><shadow type="text" id=")}UCfIA|G~:S42LY!z;T"><field name="TEXT">Start Zeitschaltuhr</field></shadow></value> 
                                                            <next><block type="schedule_clear" id="/Xd6cwCm(3W-oX.glC@~"><field name="NAME">einschalten</field>
                                                                <next><block type="schedule_create" id="EYYWz2@|ouhV[rF{?^ra"><field name="NAME">einschalten</field>
                                                                    <value name="SCHEDULE"><shadow id="xjI)nb;*G.*_.%ao3:kH" type="field_cron"><field name="CRON">* * * * *</field></shadow> 
                                                                      <block type="cron_builder" id="x59u027G[hy#yz4J{];i"><mutation seconds="false" as_line="false"></mutation>
                                                                        <field name="LINE">FALSE</field>
                                                                        <field name="WITH_SECONDS">FALSE</field>
                                                                        <value name="DOW"><shadow type="text" id="__3d`[cICb(h)*vzXXX1"><field name="TEXT">*</field></shadow> 
                                                                          <block type="get_value" id="#{6,K%#/NnU#/TB#0?Qp"><field name="ATTR">val</field>
                                                                            <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Wochentag</field></block></value> 
                                                                        <value name="MONTHS"><shadow type="text" id="sC?iDn}YGM}-3lY.dC*!"><field name="TEXT">*</field></shadow></value> 
                                                                        <value name="DAYS"><shadow type="text" id="jih(^19F-jZtN^=`.db{"><field name="TEXT">*</field></shadow></value> 
                                                                        <value name="HOURS"><shadow type="text" id="`kcdXJ,8Gro)Q[;u0Msz"><field name="TEXT">*</field></shadow> 
                                                                          <block type="get_value" id="7yzVqk[BA5Ho{i0^ix/]"><field name="ATTR">val</field>
                                                                            <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Zeit_Einschalten_Stunden</field></block></value> 
                                                                        <value name="MINUTES"><shadow type="text" id="10Ymk-[qO{V/7#Cc)udO"><field name="TEXT">*</field></shadow> 
                                                                          <block type="get_value" id="o?Z)QhCuUijiB/FD[bD!"><field name="ATTR">val</field>
                                                                            <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Zeit_Einschalten_Minuten</field></block></value></block></value> 
                                                                    <statement name="STATEMENT"><block type="debug" id="S]oWaffP|w[AouaRF+rD"><field name="Severity">log</field>
                                                                        <value name="TEXT"><shadow type="text" id="c`dZKPb`eBbKEFHN#sX."><field name="TEXT">Lampen an</field></shadow></value> 
                                                                        <next><block type="control" id="@pXuEnlxxyDaSjt.a~+6"><mutation delay_input="false"></mutation>
                                                                            <field name="OID">hm-rpc.1.MEQ1397326.3.STATE</field>
                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                            <value name="VALUE"><block type="logic_boolean" id="myt#1ePENBLeB(|{Ij*N"><field name="BOOL">TRUE</field></block></value> 
                                                                            <next><block type="control" id="gIwZ1+?L(dKa63m1.s5_"><mutation delay_input="false"></mutation>
                                                                                <field name="OID">hm-rpc.1.MEQ1397326.4.STATE</field>
                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                <value name="VALUE"><block type="logic_boolean" id="ZS|!:=y(QuWUeP)=sk-;"><field name="BOOL">TRUE</field></block></value> 
                                                                                <next><block type="variables_set" id="A[4`KjW:JUQWK~Z-MT9P" disabled="true"><field name="VAR">Hilfsvariable</field>
                                                                                    <value name="VALUE"><block type="math_arithmetic" id="d#,Mwt]xziL]B8{M*g#X"><field name="OP">ADD</field>
                                                                                        <value name="A"><shadow id="B4J|V{r!RUG:#;gA_ahe" type="math_number"><field name="NUM">1</field></shadow> 
                                                                                          <block type="variables_get" id="my+P91ZkgR0[(%to9).I"><field name="VAR">Hilfsvariable</field></block></value> 
                                                                                        <value name="B"><shadow type="math_number" id="NT`}-V3X+_y;)50[7W4l"><field name="NUM">1</field></shadow></value></block></value> 
                                                                                    <next><block type="comment" id="eTAF6)3mr56N,pSrqHF!"><field name="COMMENT">Schleife zum Prüfen, ob in dieser Woche geschaltet werden soll</field>
                                                                                        <next><block type="debug" id="=ZmI8)ipD{4;I)/Av^D}" disabled="true"><field name="Severity">log</field>
                                                                                            <value name="TEXT"><shadow type="text" id="kpUZE+-Ejimhs@:^Y8dw"><field name="TEXT">nach setzen Hilfsvariable</field></shadow></value> 
                                                                                            <next><block type="debug" id="acSW@vg)0Q,lo.^q4uf6" disabled="true"><field name="Severity">log</field>
                                                                                                <value name="TEXT"><shadow id="rN`0=E9rg)SBZ=k#/u+^" type="text"><field name="TEXT">nach setzen Hilfsvariable</field></shadow> 
                                                                                                  <block type="variables_get" id="p8UK}qt4vy8|6dV)wL4`"><field name="VAR">Hilfsvariable</field></block></value> 
                                                                                                <next><block type="controls_if" id="AId-@3M5:d[[~3d1,fhA" disabled="true"><mutation elseif="3"></mutation>
                                                                                                    <value name="IF0"><block type="logic_operation" id=",CFZ1G10y(dyvlRtFe|a"><field name="OP">AND</field>
                                                                                                        <value name="A"><block type="logic_compare" id="Aq~+dP9la=?5om6)rBA~"><field name="OP">EQ</field>
                                                                                                            <value name="A"><block type="get_value" id="*w^9!eGr,WHr621z;).M"><field name="ATTR">val</field>
                                                                                                                <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Einschalten</field></block></value> 
                                                                                                            <value name="B"><block type="math_number" id="1;m|y9sI31ea5.c+n[S6"><field name="NUM">1</field></block></value></block></value> 
                                                                                                        <value name="B"><block type="logic_compare" id="oD=OV*?viN@m`Ddc?x{9"><field name="OP">EQ</field>
                                                                                                            <value name="A"><block type="variables_get" id="k`CP}8G61.3eZoNrS(GB"><field name="VAR">Hilfsvariable</field></block></value> 
                                                                                                            <value name="B"><block type="math_number" id="_5`B1=VF`h1#HFHTYok."><field name="NUM">1</field></block></value></block></value></block></value> 
                                                                                                    <statement name="DO0"><block type="debug" id="R(9?mM(=Tk6d-Ny)-QYG"><field name="Severity">log</field>
                                                                                                        <value name="TEXT"><shadow type="text" id="ju!OXK|7;S@sB}5W93gJ"><field name="TEXT">Test Einschalten</field></shadow></value> 
                                                                                                        <next><block type="control" id="UsHX`}`dO!zo#)lNw@W("><mutation delay_input="false"></mutation>
                                                                                                            <field name="OID">hm-rpc.1.MEQ1397326.3.STATE</field>
                                                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                                                            <value name="VALUE"><block type="logic_boolean" id="IMvNg3C9Z7ePEei~Trp3"><field name="BOOL">TRUE</field></block></value> 
                                                                                                            <next><block type="control" id="[MOR!+c_oO1{pfGpZbcD"><mutation delay_input="false"></mutation>
                                                                                                                <field name="OID">hm-rpc.1.MEQ1397326.4.STATE</field>
                                                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                                                <value name="VALUE"><block type="logic_boolean" id="^AH`]i!irm!pk;*dLV^q"><field name="BOOL">TRUE</field></block></value> 
                                                                                                                <next><block type="variables_set" id="~v[WT,A;m*od}X[2U@!P"><field name="VAR">Hilfsvariable</field>
                                                                                                                    <value name="VALUE"><block type="math_number" id=":Gz=v)GxNJ56*ZJcj7gm"><field name="NUM">0</field></block></value></block></next></block></next></block></next></block></statement> 
                                                                                                    <value name="IF1"><block type="logic_operation" id="zER5#]VIXgf2g_0-;JJ`"><field name="OP">AND</field>
                                                                                                        <value name="A"><block type="logic_compare" id="K/FK,|ogRR_%fqOyvTR6"><field name="OP">EQ</field>
                                                                                                            <value name="A"><block type="get_value" id="4ZV9q2CCSTI#;n:k/n/:"><field name="ATTR">val</field>
                                                                                                                <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Einschalten</field></block></value> 
                                                                                                            <value name="B"><block type="math_number" id="ekU2CneUi/j=]iBWSLqy"><field name="NUM">2</field></block></value></block></value> 
                                                                                                        <value name="B"><block type="logic_compare" id="PJtoTnwID4p#4bX(sudU"><field name="OP">EQ</field>
                                                                                                            <value name="A"><block type="variables_get" id="=e~*:_M9K+?^Qcpz5G=i"><field name="VAR">Hilfsvariable</field></block></value> 
                                                                                                            <value name="B"><block type="math_number" id="Sm|^P,tiNXaK-}|H0=E6"><field name="NUM">2</field></block></value></block></value></block></value> 
                                                                                                    <statement name="DO1"><block type="control" id="VZTdvHL{=;Wcpr;`[jWa"><mutation delay_input="false"></mutation>
                                                                                                        <field name="OID">hm-rpc.1.MEQ1397326.3.STATE</field>
                                                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                                                        <value name="VALUE"><block type="logic_boolean" id="HB*g92_f)6SPhn_!l!wL"><field name="BOOL">TRUE</field></block></value> 
                                                                                                        <next><block type="control" id="]H)2qj]zcVV{#FD@8pac"><mutation delay_input="false"></mutation>
                                                                                                            <field name="OID">hm-rpc.1.MEQ1397326.4.STATE</field>
                                                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                                                            <value name="VALUE"><block type="logic_boolean" id="CrQa*~a9B/C9IJuY)I5e"><field name="BOOL">TRUE</field></block></value> 
                                                                                                            <next><block type="variables_set" id=":Ro!/ckGCyD~wBB2[`X-"><field name="VAR">Hilfsvariable</field>
                                                                                                                <value name="VALUE"><block type="math_number" id="C=UI,;kAV%6MU=8(Ou9H"><field name="NUM">0</field></block></value></block></next></block></next></block></statement> 
                                                                                                    <value name="IF2"><block type="logic_operation" id="VT*32zO%1Ms)t6qW`zjE"><field name="OP">AND</field>
                                                                                                        <value name="A"><block type="logic_compare" id="+Sy9dKP/qV4Of}4dxsY:"><field name="OP">EQ</field>
                                                                                                            <value name="A"><block type="get_value" id="3lCI{#e.]ymu+725k@.n"><field name="ATTR">val</field>
                                                                                                                <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Einschalten</field></block></value> 
                                                                                                            <value name="B"><block type="math_number" id="B,|SC_xrvY@|yv9qFeih"><field name="NUM">3</field></block></value></block></value> 
                                                                                                        <value name="B"><block type="logic_compare" id="n*ux)t2pA^JQy=GtQi1b"><field name="OP">EQ</field>
                                                                                                            <value name="A"><block type="variables_get" id="C+u-||/eUg!#:ayuW54!"><field name="VAR">Hilfsvariable</field></block></value> 
                                                                                                            <value name="B"><block type="math_number" id="/`2b}CUs,%+kz=JJ@LQn"><field name="NUM">3</field></block></value></block></value></block></value> 
                                                                                                    <statement name="DO2"><block type="control" id="54REZgiMq1!AzeEjIfE."><mutation delay_input="false"></mutation>
                                                                                                        <field name="OID">hm-rpc.1.MEQ1397326.3.STATE</field>
                                                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                                                        <value name="VALUE"><block type="logic_boolean" id="c:u@;.ZlH*o;;sDwJ(.;"><field name="BOOL">TRUE</field></block></value> 
                                                                                                        <next><block type="control" id="%b)AR.}=Hes|b2bFAhGT"><mutation delay_input="false"></mutation>
                                                                                                            <field name="OID">hm-rpc.1.MEQ1397326.4.STATE</field>
                                                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                                                            <value name="VALUE"><block type="logic_boolean" id="0S[zyyis^3iS}/l#k3BZ"><field name="BOOL">TRUE</field></block></value> 
                                                                                                            <next><block type="variables_set" id="3K]S!8V[9%S?:ab4)Xx4"><field name="VAR">Hilfsvariable</field>
                                                                                                                <value name="VALUE"><block type="math_number" id="je^a[:u3MT#3^lW,4!ha"><field name="NUM">0</field></block></value></block></next></block></next></block></statement> 
                                                                                                    <value name="IF3"><block type="logic_operation" id="WV{sQhn7lHi.*;])IZ0S"><field name="OP">AND</field>
                                                                                                        <value name="A"><block type="logic_compare" id="pzrIXy%t6FPRRcqaH:(A"><field name="OP">EQ</field>
                                                                                                            <value name="A"><block type="get_value" id="a/t8s=q_HO)E2PnTNIjE"><field name="ATTR">val</field>
                                                                                                                <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Einschalten</field></block></value> 
                                                                                                            <value name="B"><block type="math_number" id="}goZJm!T{RVkpfo~`yK|"><field name="NUM">4</field></block></value></block></value> 
                                                                                                        <value name="B"><block type="logic_compare" id="rI]Gs-_B3m{pMh0cSeK*"><field name="OP">EQ</field>
                                                                                                            <value name="A"><block type="variables_get" id="EtmpGDt|movm0TGDQ9[="><field name="VAR">Hilfsvariable</field></block></value> 
                                                                                                            <value name="B"><block type="math_number" id="9R8e4hlY{Od7T#B9?g3|"><field name="NUM">4</field></block></value></block></value></block></value> 
                                                                                                    <statement name="DO3"><block type="control" id="S9OIg,xD.KbNG)4lh8+r"><mutation delay_input="false"></mutation>
                                                                                                        <field name="OID">hm-rpc.1.MEQ1397326.3.STATE</field>
                                                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                                                        <value name="VALUE"><block type="logic_boolean" id="=ivy?VHm2M%Jncgw@L+H"><field name="BOOL">TRUE</field></block></value> 
                                                                                                        <next><block type="control" id=")UQB=F?XeA.ILIKU@:bc"><mutation delay_input="false"></mutation>
                                                                                                            <field name="OID">hm-rpc.1.MEQ1397326.4.STATE</field>
                                                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                                                            <value name="VALUE"><block type="logic_boolean" id="KwNvo9y3es=:=~T+Ws?W"><field name="BOOL">TRUE</field></block></value> 
                                                                                                            <next><block type="variables_set" id="y(O4oQyCR{:S@ao-V_HZ"><field name="VAR">Hilfsvariable</field>
                                                                                                                <value name="VALUE"><block type="math_number" id="|,afiJrC{+u_xTlw-FD5"><field name="NUM">0</field></block></value></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement> 
                                                                    <next><block type="schedule_create" id="ohMGivpW,^3RxbZ7L{s2"><field name="NAME">ausschalten</field>
                                                                        <value name="SCHEDULE"><shadow id="xjI)nb;*G.*_.%ao3:kH" type="field_cron"><field name="CRON">* * * * *</field></shadow> 
                                                                          <block type="cron_builder" id="f|];=xZ.x[k~;k950n^,"><mutation seconds="false" as_line="false"></mutation>
                                                                            <field name="LINE">FALSE</field>
                                                                            <field name="WITH_SECONDS">FALSE</field>
                                                                            <value name="DOW"><shadow type="text" id="uB}B2J-KCZ?q?AI]@Gw/"><field name="TEXT">*</field></shadow> 
                                                                              <block type="get_value" id="u~(s9PxhJ1}HMcrON/Mc"><field name="ATTR">val</field>
                                                                                <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Wochentag</field></block></value> 
                                                                            <value name="MONTHS"><shadow type="text" id="^^]RPFQNR8lg*J*X{:wM"><field name="TEXT">*</field></shadow></value> 
                                                                            <value name="DAYS"><shadow type="text" id=";{4RR0WK,}B9_g[fNP-Q"><field name="TEXT">*</field></shadow></value> 
                                                                            <value name="HOURS"><shadow type="text" id="Px~PX^_]DH_EhcCwJZ8f"><field name="TEXT">*</field></shadow> 
                                                                              <block type="get_value" id="mTv6V.{-J^hhxZ;6rmWe"><field name="ATTR">val</field>
                                                                                <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Zeit_Ausschalten_Stunden</field></block></value> 
                                                                            <value name="MINUTES"><shadow type="text" id="JbI1XsssD^;!E2^hO^LB"><field name="TEXT">*</field></shadow> 
                                                                              <block type="get_value" id="Lsx=f`}fu)UY;Umntoym"><field name="ATTR">val</field>
                                                                                <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Zeit_Ausschalten_Minuten</field></block></value></block></value> 
                                                                        <statement name="STATEMENT"><block type="debug" id="[WN@V+SkJwgoZ1h^nd^."><field name="Severity">log</field>
                                                                            <value name="TEXT"><shadow type="text" id="SUH;Yi3}Q^VaEG!q0Asg"><field name="TEXT">Lampen aus</field></shadow></value> 
                                                                            <next><block type="controls_if" id="WC2=Y(Cv1JTkY#_rt?L{"><value name="IF0"><block type="logic_compare" id="J*nT`i7*Q{O)SR[9x){q"><field name="OP">EQ</field>
                                                                                    <value name="A"><block type="get_value" id="Q3nvE3~{M;/PD-#c]iP+"><field name="ATTR">val</field>
                                                                                        <field name="OID">vis.0.Einschalten</field></block></value> 
                                                                                    <value name="B"><block type="math_number" id="}@RiGV]KjwJ048=2m`|/"><field name="NUM">1</field></block></value></block></value> 
                                                                                <statement name="DO0"><block type="control" id="iSS0*lSL3aIzH^2{wnXy"><mutation delay_input="false"></mutation>
                                                                                    <field name="OID">hm-rpc.1.MEQ1397326.3.STATE</field>
                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                    <value name="VALUE"><block type="logic_boolean" id="+2l_/vaY;P/|F(sntN%F"><field name="BOOL">FALSE</field></block></value> 
                                                                                    <next><block type="control" id="b2?+zw`%8+_#ebTBkG*U"><mutation delay_input="false"></mutation>
                                                                                        <field name="OID">hm-rpc.1.MEQ1397326.4.STATE</field>
                                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                                        <value name="VALUE"><block type="logic_boolean" id="^2PNU!=?8.ug//}Dc[29"><field name="BOOL">FALSE</field></block></value> 
                                                                                        <next><block type="control" id="DzmL1=z;VGS4OUnFQ3=M"><mutation delay_input="false"></mutation>
                                                                                            <field name="OID">hm-rpc.0.JEQ0163725.1.STATE</field>
                                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                                            <value name="VALUE"><block type="logic_boolean" id="v;p?A*)nl{FkkSbjpeKz"><field name="BOOL">FALSE</field></block></value></block></next></block></next></block></statement></block></next></block></statement></block></next></block></next></block></next></block></statement></block></statement></block></next></block></next></block> 
                                            

                                            <block type="comment" id="]wv[gj`7mDeH;ky}{01O" x="-2137" y="-362"><field name="COMMENT">wenn Start oder Endezeit geändert wurde, wird die Zeitschaltuhr deaktiviert</field>
                                            <next><block type="on_ext" id="X=sVov%|6G-B4MJuxkh:"><mutation items="1"></mutation>
                                            <field name="CONDITION">ne</field>

                                                <value name="OID0"><shadow type="field_oid" id="fH:s^YxKK:YVw8r0yF,T"><field name="oid">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Startzeit</field></shadow></value> 
                                                <statement name="STATEMENT"><block type="control" id="H0dGHK2T!uL1azPVvk%^"><mutation delay_input="false"></mutation>
                                                    <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Zeitschaltuhr_aktiv</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE"><block type="logic_boolean" id="kWUsb%N9qT}v?|xvs/c%"><field name="BOOL">FALSE</field></block></value> 
                                                    <next><block type="debug" id=")dCT3q]lBx^e@}W8y9FX"><field name="Severity">log</field>
                                                        <value name="TEXT"><shadow type="text" id="uS6y(vs^V1dn8l{h4!Vu"><field name="TEXT">Start Zeit wurde geändert Zeitschaltuhr aus</field></shadow></value> 
                                                        <next><block type="control" id=",l`#Qr5n=H#Y?o%SOEb|"><mutation delay_input="false"></mutation>
                                                            <field name="OID">hm-rpc.1.MEQ1397326.3.STATE</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE"><block type="logic_boolean" id="j0]{[G-g_G)Bfs=du.]3"><field name="BOOL">FALSE</field></block></value> 
                                                            <next><block type="control" id=":Sfqw2;StcHy!R|frj9z"><mutation delay_input="false"></mutation>
                                                                <field name="OID">hm-rpc.1.MEQ1397326.4.STATE</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE"><block type="logic_boolean" id="Yn`Imn;1sgBe4z-J)(DE"><field name="BOOL">FALSE</field></block></value></block></next></block></next></block></next></block></statement> 
                                                <next><block type="on_ext" id="|HrKrJ*k#[aD|L_]sggc"><mutation items="1"></mutation>
                                                    <field name="CONDITION">ne</field>
                                            
                                                    <value name="OID0"><shadow type="field_oid" id="l|dCP09DSH#fg3YmeO/9"><field name="oid">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Endezeit</field></shadow></value> 
                                                    <statement name="STATEMENT"><block type="control" id="g.+/NlFxMVEjx8~7-)e+"><mutation delay_input="false"></mutation>
                                                        <field name="OID">MeineDatenpunkte.0.Steckdose_Wohnmobil.Wohnmobil_Zeitschaltuhr_aktiv</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE"><block type="logic_boolean" id="Fb*c1eW6`AUqjwh42[n4"><field name="BOOL">FALSE</field></block></value> 
                                                        <next><block type="debug" id="K|/+RkB/x5:sjf;9;aKr"><field name="Severity">log</field>
                                                            <value name="TEXT"><shadow type="text" id="y:H!_^i:1=PoDmW/T49V"><field name="TEXT">Ende Zeit wurde geändert Zeitschaltuhr aus</field></shadow></value> 
                                                            <next><block type="control" id="C{ce;PgGzSaD-I.7AnjG"><mutation delay_input="false"></mutation>
                                                                <field name="OID">hm-rpc.1.MEQ1397326.3.STATE</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE"><block type="logic_boolean" id=")yk(5bi)XXW)bV(Gr{y|"><field name="BOOL">FALSE</field></block></value> 
                                                                <next><block type="control" id="?dGrPz%*w-Kvx:TRS9s}"><mutation delay_input="false"></mutation>
                                                                    <field name="OID">hm-rpc.1.MEQ1397326.4.STATE</field>
                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                    <value name="VALUE"><block type="logic_boolean" id="DHQ8?=PCG6BF!0Bjfr;9"><field name="BOOL">FALSE</field></block></value></block></next></block></next></block></next></block></statement></block></next></block></next></block></xml> 
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            834
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            blockly
                                            7
                                            31
                                            18957
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo