Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Blockly Script mit Button Starten und Stoppen?

    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

    Blockly Script mit Button Starten und Stoppen?

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

      Du solltest Dir zum Einen mal folgenden Adapter anschauen:
      https://forum.iobroker.net/post/260604

      Zum Anderen ... warum so kompliziert?
      Nimm aus dem Script doch einfach deine Terrassentür raus und steuere diese separat mit der Abfrage eines Tür-Fensterkontaktes

      1 Reply Last reply Reply Quote 0
      • E
        EFE last edited by

        ja aber der Script wird nicht jeden tag deaktivert . Machmal nach bedarf und wetter ansonsten sollte es nach der Astro Zeit runterfahren .

        1 Reply Last reply Reply Quote 0
        • paul53
          paul53 @EFE last edited by paul53

          @EFE Vielleicht so ?

          Blockly_SU_Manu_Auto.JPG

          1 Reply Last reply Reply Quote 0
          • E
            EFE last edited by

            @BBTown kannst du den Script kurz erklären

            BBTown 1 Reply Last reply Reply Quote 0
            • K
              Kuddel @EFE last edited by

              @EFE hast du an deiner Tür zum Garten einen Sensor?

              Ich würde es darüber machen.

              Wenn die Tür bei Sonnenuntergang noch geöffnet ist, bleiben die Rollos oben

              E 1 Reply Last reply Reply Quote 0
              • E
                EFE @Kuddel last edited by

                @Kuddel said in Blockly Script mit Button Starten und Stoppen?:

                @EFE hast du an deiner Tür zum Garten einen Sensor?

                Ich würde es darüber machen.

                Wenn die Tür bei Sonnenuntergang noch geöffnet ist, bleiben die Rollos oben

                @Kuddel leider nicht !
                Um ein Reedkontakt zu installieren find ich zu umständlich.

                K BBTown 3 Replies Last reply Reply Quote 0
                • K
                  Kuddel @EFE last edited by

                  @EFE ich habe bei uns an der Balkontür einen Drehgriffsensor von Homematic. Kostet natürlich bisschen mehr, aber funktioniert super

                  1 Reply Last reply Reply Quote 0
                  • BBTown
                    BBTown @EFE last edited by BBTown

                    @EFE das ist mein generelles Script für die Steuerung des Rolladens meiner Terassentür.
                    Ich habe einen Datenpunkt, der kennt die Werte:
                    0 = Rolladen offen
                    1 = Rolladen geschlossen
                    2 = Beschattung

                    Diesen Datenpunkt frage ich ab, ob der geändert wurde (durch mein Script für alle anderen Rolläden, z.B. weil alle Rolläden bei Dunkelheit runterfahren und der Datenpunkt entsprechend auf "1" gesetzt wird)
                    b039df36-3168-4faa-bf47-bef1d3a27a67-grafik.png

                    Wenn also "alle Rolläden geschlossen sind - UND die Terrassentür ebenfalls geschlossen ist, nur dann geht der Rolladen der Terrassentür ebenfalls runter (oder in die Beschattungsposition "38").
                    Sofern die Terrassentür auf ist, bleibt der Rolladen der Terrassentür oben.

                    Durch ein zweites Script (siehe andere Antwort) würde nun beim Schließen der Terrassentür geprüft ob alle Rolladen geschlossen sind und entsprechend auch der Rolladen der Terrassentür dann herunterfahren. Das ist für mich ein anderer Vorgang (und somit ein anderer Trigger = so in der Art von: "habe ich beim öffnen/schließen der Terassentür irgendetwas zu beachten/tun")

                    1 Reply Last reply Reply Quote 0
                    • BBTown
                      BBTown @EFE last edited by

                      @EFE sagte in Blockly Script mit Button Starten und Stoppen?:

                      Um ein Reedkontakt zu installieren find ich zu umständlich.

                      wieso Reed? nimm doch irgend einen Funk-Kontakt

                      1 Reply Last reply Reply Quote 0
                      • BBTown
                        BBTown @EFE last edited by BBTown

                        @EFE Der Vollständigkeit halber hier mein zweites Script, welches das Verhalten des Rolladens meiner Terrassentür steuert, während die Rolladen geschlossen sind.
                        Hierbei triggere ich nur den Kontakt der Terrassentür und fahre je nach Zustand (geschlossen/Beschattung) den Rolladen durch öffnen/schließen der Tür automatisch hoch und runter. Zugleich lasse ich dann auch Licht/Steckdose schalten, da ich bei Dunkelheit wahrscheinlich beim Öffnen das Licht auf der Terrasse auch benötige 😉

                        86b05054-6930-4fa4-a8e1-6648dcb401ab-grafik.png

                        Blockly zum Importieren

                        <xml xmlns="http://www.w3.org/1999/xhtml">
                         <block type="on_ext" id="}(GJM@hL_WGqGrc=8w/?" x="-212" y="-213">
                           <mutation items="1"></mutation>
                           <field name="CONDITION">ne</field>
                           <field name="ACK_CONDITION"></field>
                           <value name="OID0">
                             <shadow type="field_oid" id="eX%{FY%1v=!Qqn.iM,@J">
                               <field name="oid">hm-rpc.0.MEQ1234567.1.STATE</field>
                             </shadow>
                           </value>
                           <statement name="STATEMENT">
                             <block type="controls_if" id="4w0gzUO?@K-NOGYg7+r@">
                               <mutation elseif="1" else="1"></mutation>
                               <value name="IF0">
                                 <block type="logic_compare" id="Oom?srzbcRy)WcYq[UH+">
                                   <field name="OP">EQ</field>
                                   <value name="A">
                                     <block type="get_value" id="MQXWOA*rZuXwZ3dYIk*`">
                                       <field name="ATTR">val</field>
                                       <field name="OID">hm-rpc.0.MEQ1234567.1.STATE</field>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="logic_boolean" id="%Tg8ve|k7J+w[Bv}?ghD">
                                       <field name="BOOL">TRUE</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="comment" id="gz=8AcC1KO8_a*;YS4=A">
                                   <field name="COMMENT">Rolladen der Terrassentür wird durch öffnen der Terrassentür ebenfalls geöffnet</field>
                                   <next>
                                     <block type="controls_if" id=";wh;FMUU^^!Utc[=^_wy">
                                       <value name="IF0">
                                         <block type="logic_compare" id="x-W?vDRT0BNhEBCT*_n=">
                                           <field name="OP">LT</field>
                                           <value name="A">
                                             <block type="get_value" id="X{-wM(v}1Y!JknTP=F|-">
                                               <field name="ATTR">val</field>
                                               <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                             </block>
                                           </value>
                                           <value name="B">
                                             <block type="math_number" id="oZmBA,#RlGAi4RCuDfsb">
                                               <field name="NUM">85</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <statement name="DO0">
                                         <block type="control" id="uD!0PTu/3joo[^2w8shG">
                                           <mutation delay_input="false"></mutation>
                                           <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                           <field name="WITH_DELAY">FALSE</field>
                                           <value name="VALUE">
                                             <block type="math_number" id="nd+`(CWJB4!K^OkS3idq">
                                               <field name="NUM">100</field>
                                             </block>
                                           </value>
                                         </block>
                                       </statement>
                                       <next>
                                         <block type="comment" id="gGP?_{Jr*EmX|,Ki:RhG">
                                           <field name="COMMENT">Sofern es dunkel ist, wird zudem das Licht auf der Terrasse eingeschaltet</field>
                                           <next>
                                             <block type="controls_if" id="HT3pi:h5/3+@_[s`EH#n">
                                               <value name="IF0">
                                                 <block type="logic_compare" id="Rf*ihJbquW];D]-f.NC=">
                                                   <field name="OP">EQ</field>
                                                   <value name="A">
                                                     <block type="get_value" id="/DEXxlR_Z0L6|3%k63nP">
                                                       <field name="ATTR">val</field>
                                                       <field name="OID">hm-rpc.1.JEQ1234567.17.STATE</field>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="logic_boolean" id="%#0v7bA24?hSs::IpObR">
                                                       <field name="BOOL">TRUE</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <statement name="DO0">
                                                 <block type="controls_if" id="}^-}DGLEB,u2%p@aFn-J">
                                                   <value name="IF0">
                                                     <block type="logic_compare" id="X`{xe/C^`B)4%R`uFXdf">
                                                       <field name="OP">EQ</field>
                                                       <value name="A">
                                                         <block type="get_value" id="jT/`bcv`25;,+Z@w9nD~">
                                                           <field name="ATTR">val</field>
                                                           <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="logic_boolean" id="gUSPCYhI/J%OceX[Dd%R">
                                                           <field name="BOOL">FALSE</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <statement name="DO0">
                                                     <block type="control" id="tYSXDVXW5F?L{R_ZW+W_">
                                                       <mutation delay_input="false"></mutation>
                                                       <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                                       <field name="WITH_DELAY">FALSE</field>
                                                       <value name="VALUE">
                                                         <block type="logic_boolean" id="lid`nbx)JL/=G}EDOLTV">
                                                           <field name="BOOL">TRUE</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </statement>
                                                 </block>
                                               </statement>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                               <value name="IF1">
                                 <block type="logic_operation" id="OyISy(j?S{8i?-~#I8y@" inline="false">
                                   <field name="OP">AND</field>
                                   <value name="A">
                                     <block type="logic_compare" id="~hS[Cjr/R0l:ff]]uW#w">
                                       <field name="OP">EQ</field>
                                       <value name="A">
                                         <block type="get_value" id="@lwKG;sSWO]FsRNncLb8">
                                           <field name="ATTR">val</field>
                                           <field name="OID">hm-rpc.0.MEQ1234567.1.STATE</field>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="logic_boolean" id="R)|X3p)o3/%[zU)4c1EK">
                                           <field name="BOOL">FALSE</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="logic_compare" id="LJ|_^U(3W3Ss8P]6afl^">
                                       <field name="OP">EQ</field>
                                       <value name="A">
                                         <block type="get_value" id="K2[m]1V@VS6vOcTYQ`+u">
                                           <field name="ATTR">val</field>
                                           <field name="OID">hm-rega.0.7593</field>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="math_number" id="(/E(hHvGt^12C*/_;tG`">
                                           <field name="NUM">2</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <statement name="DO1">
                                 <block type="controls_if" id="8NNyZt`z5wVuMEGm|yFQ">
                                   <value name="IF0">
                                     <block type="logic_compare" id="6Nd6=uptK*%0czHTU64V">
                                       <field name="OP">NEQ</field>
                                       <value name="A">
                                         <block type="get_value" id="=gF.CUJp%[N]5#]%:gYX">
                                           <field name="ATTR">val</field>
                                           <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="math_number" id="7M}z!EExPaHZM[Qp|*#2">
                                           <field name="NUM">40</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <statement name="DO0">
                                     <block type="control" id="eiD[xuc^*i`f`I}OLHqw">
                                       <mutation delay_input="false"></mutation>
                                       <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="math_number" id="|~t`g`kuN@3F,B@fnf{G">
                                           <field name="NUM">40</field>
                                         </block>
                                       </value>
                                     </block>
                                   </statement>
                                 </block>
                               </statement>
                               <statement name="ELSE">
                                 <block type="comment" id="^ksDmSwf+EXR!.|1NHU?">
                                   <field name="COMMENT">Rolladen der Terrassentür wird durch schließen der  Terrassentür ebenfalls geschlossen</field>
                                   <next>
                                     <block type="comment" id="y(BFsGJP?j5fVO20~6=0">
                                       <field name="COMMENT">Wenn alle anderen Rolladen ebenfalls verschlossen sind</field>
                                       <next>
                                         <block type="controls_if" id=":Af{QMfu#{MRB:w5i[Dx">
                                           <value name="IF0">
                                             <block type="logic_compare" id="|emPlsVSnBx^6le|82e|">
                                               <field name="OP">EQ</field>
                                               <value name="A">
                                                 <block type="get_value" id="G~-)]*2%9Z`euZvYGEc4">
                                                   <field name="ATTR">val</field>
                                                   <field name="OID">hm-rega.0.7593</field>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="math_number" id=".w6`Xh[!@IcPHNgsbWbw">
                                                   <field name="NUM">1</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <statement name="DO0">
                                             <block type="controls_if" id="P}?2ue7H#/Q@RM.:o~/I">
                                               <value name="IF0">
                                                 <block type="logic_compare" id="n~qbMHVDBBBaKV#9}9kZ">
                                                   <field name="OP">GT</field>
                                                   <value name="A">
                                                     <block type="get_value" id="L*[pOa.y~yB,1iM@Un)t">
                                                       <field name="ATTR">val</field>
                                                       <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="math_number" id="vb1F!{{zwk/G1mcs^shm">
                                                       <field name="NUM">0</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <statement name="DO0">
                                                 <block type="control" id="[bi}.kofkjfswY2|Ee_,">
                                                   <mutation delay_input="false"></mutation>
                                                   <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                                   <field name="WITH_DELAY">FALSE</field>
                                                   <value name="VALUE">
                                                     <block type="math_number" id="w42~amA;C,Dl3lJcDhgr">
                                                       <field name="NUM">0</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </statement>
                                               <next>
                                                 <block type="comment" id="95j::wTcj#3_VD#vB}d-">
                                                   <field name="COMMENT">Sofern das Licht auf der Terrasse eingeschaltet war, wird es ausgeschaltet</field>
                                                   <next>
                                                     <block type="controls_if" id="W]}#MhXQ!%AhrXwmPo45">
                                                       <value name="IF0">
                                                         <block type="logic_compare" id="7m,u;LdeLY6xVwE?)=(E">
                                                           <field name="OP">EQ</field>
                                                           <value name="A">
                                                             <block type="get_value" id="G:_-:~=dbAg%1S6+u=vS">
                                                               <field name="ATTR">val</field>
                                                               <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <block type="logic_boolean" id="p_xhlR(9|klSS@,Y]m;.">
                                                               <field name="BOOL">TRUE</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <statement name="DO0">
                                                         <block type="control" id="21_4j_~FI.CA=ytw0dkl">
                                                           <mutation delay_input="false"></mutation>
                                                           <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                                           <field name="WITH_DELAY">FALSE</field>
                                                           <value name="VALUE">
                                                             <block type="logic_boolean" id="S-?9G23mEHWC7j=gn]Is">
                                                               <field name="BOOL">FALSE</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </statement>
                                                       <next>
                                                         <block type="comment" id="B.~De`R_3dHQ[-l/v^*@">
                                                           <field name="COMMENT">Sofern die Steckdose der Terrasse eingeschaltet war, wird diese ausgeschaltet</field>
                                                           <next>
                                                             <block type="controls_if" id="-#zR)oGXP7tefe4Pgh|i">
                                                               <value name="IF0">
                                                                 <block type="logic_compare" id="VHf7!XQ9=E{riEC0*}ky">
                                                                   <field name="OP">EQ</field>
                                                                   <value name="A">
                                                                     <block type="get_value" id="Shw`exER{_Sc3U^XkKfU">
                                                                       <field name="ATTR">val</field>
                                                                       <field name="OID">hm-rpc.1.KEQ1234567.3.STATE</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="B">
                                                                     <block type="logic_boolean" id="zVR;nFt#n=*QNyVT?IL,">
                                                                       <field name="BOOL">TRUE</field>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                               <statement name="DO0">
                                                                 <block type="control" id="^-R.4u(oJLL+HrFzE4Vy">
                                                                   <mutation delay_input="false"></mutation>
                                                                   <field name="OID">hm-rpc.1.KEQ1234567.3.STATE</field>
                                                                   <field name="WITH_DELAY">FALSE</field>
                                                                   <value name="VALUE">
                                                                     <block type="logic_boolean" id="IFUjkVv%8GcAigKHZJ%r">
                                                                       <field name="BOOL">FALSE</field>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </statement>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </statement>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                             </block>
                           </statement>
                         </block>
                        </xml>
                        

                        1 Reply Last reply Reply Quote 0
                        • E
                          EFE last edited by

                          @BBTown kannst du en ersten Script auch zur Verfügung stellen

                          BBTown 1 Reply Last reply Reply Quote 0
                          • E
                            EFE last edited by EFE

                            Ich brauch es nur für die Terrassen Rolladen.
                            Sprich
                            Wenn die Tür auf fährt die Rolladen nicht runter.
                            Ist sie auf wird nicht getriggert.
                            Habe zuhause noch ein shelly mit tasmota wo ich einen Reed anschließen könnte was an der Terrassentür angebracht wird.
                            Aber.
                            Wenn die Astro trigger Zeit vorbei ist z. B.
                            21:45 Uhr
                            Und ich aber die Terrassentür um 23 Uhr schließe fährt die Rolladen nicht runter.

                            Muss ich dann manuell runterfahren oder?

                            Müsste deinen Script ändern oder?

                            BBTown 1 Reply Last reply Reply Quote 0
                            • BBTown
                              BBTown @EFE last edited by

                              @EFE sagte in Blockly Script mit Button Starten und Stoppen?:

                              @BBTown kannst du en ersten Script auch zur Verfügung stellen

                              Dort sind allerdings ausschließlich meine Datenpunkte enthalten, ob dir das wirklich hilft??

                              <xml xmlns="http://www.w3.org/1999/xhtml">
                               <block type="on_ext" id="EJM|@:jmZIaH#kui+f}?" x="-363" y="-262">
                                 <mutation items="1"></mutation>
                                 <field name="CONDITION">ne</field>
                                 <field name="ACK_CONDITION"></field>
                                 <value name="OID0">
                                   <shadow type="field_oid" id="Xg0)VZfR^U5/0{4J:HqZ">
                                     <field name="oid">hm-rega.0.7593</field>
                                   </shadow>
                                 </value>
                                 <statement name="STATEMENT">
                                   <block type="controls_if" id="@UF!NZ3RUJZlg:z1iZ1q">
                                     <mutation elseif="2"></mutation>
                                     <value name="IF0">
                                       <block type="logic_compare" id="sL!|(9Gl)G1=#b}%S%v:">
                                         <field name="OP">EQ</field>
                                         <value name="A">
                                           <block type="get_value" id="X+QvPs:Bh(q-QD#Zv|T3">
                                             <field name="ATTR">val</field>
                                             <field name="OID">hm-rega.0.7593</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="math_number" id="bNapoZ!@=lF%l,Q!:H0-">
                                             <field name="NUM">0</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <statement name="DO0">
                                       <block type="controls_if" id="2PT@(%F7NJe9Wgtc3OaZ">
                                         <value name="IF0">
                                           <block type="logic_compare" id="kJB(hGFGwed%/I)C.2;W">
                                             <field name="OP">LT</field>
                                             <value name="A">
                                               <block type="get_value" id="ERuix#=mLC]ZGqalAB)%">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="math_number" id="s^0,*y!#4a(_V]/0.AIu">
                                                 <field name="NUM">100</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="control" id="!_P%)Kc!T./|Ot=*wQ@3">
                                             <mutation delay_input="false"></mutation>
                                             <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="math_number" id="DGr90Ck8YkOk7N??.A}h">
                                                 <field name="NUM">100</field>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                       </block>
                                     </statement>
                                     <value name="IF1">
                                       <block type="logic_operation" id="5/[f?gy}xFOj6r.gVC*+" inline="false">
                                         <field name="OP">AND</field>
                                         <value name="A">
                                           <block type="logic_compare" id="7mqP4=LP^:NXWE#bQd%L">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="get_value" id="?XT@KMJqfYGo1?sh`lly">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">hm-rega.0.7593</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="math_number" id="67CKvU4k1.,N5d?TC.(0">
                                                 <field name="NUM">2</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="logic_compare" id="*2kdugY._@cQmmZ6pw%+">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="get_value" id="k]7?ID2}/Uc}1rm@2A*;">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">hm-rpc.0.MEQ1234567.1.STATE</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="logic_boolean" id="BblGTk_=Bi7NkkBqFIxl">
                                                 <field name="BOOL">FALSE</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <statement name="DO1">
                                       <block type="control" id="783TJZ6)XOYN|8(TC+gN">
                                         <mutation delay_input="false"></mutation>
                                         <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                         <field name="WITH_DELAY">FALSE</field>
                                         <value name="VALUE">
                                           <block type="math_number" id="hr*ER6I`m27TsBV3rm(a">
                                             <field name="NUM">38</field>
                                           </block>
                                         </value>
                                       </block>
                                     </statement>
                                     <value name="IF2">
                                       <block type="logic_operation" id="f3|5[I{_VuS#boV]GO~h" inline="false">
                                         <field name="OP">AND</field>
                                         <value name="A">
                                           <block type="logic_compare" id="/bS(,id]^:`JMmvMu/:D">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="get_value" id="9;{g)=PGUiYgq.s3axfG">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">hm-rega.0.7593</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="math_number" id="}a_5,w,]lS4Qmv{%=twA">
                                                 <field name="NUM">1</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="logic_compare" id="r*{[YCM9T#3d|QK9t.ac">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="get_value" id="=)kQ`[~g5v5):jirVJ4!">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">hm-rpc.0.MEQ1234567.1.STATE</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="logic_boolean" id="(a4rl_Sg52F2{?.:)cq]">
                                                 <field name="BOOL">FALSE</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <statement name="DO2">
                                       <block type="control" id="/#Yc2XIRDNLpYpq{nPlX">
                                         <mutation delay_input="false"></mutation>
                                         <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                         <field name="WITH_DELAY">FALSE</field>
                                         <value name="VALUE">
                                           <block type="math_number" id="{?OEro[Sp;;Oh^Y1TZrO">
                                             <field name="NUM">0</field>
                                           </block>
                                         </value>
                                       </block>
                                     </statement>
                                   </block>
                                 </statement>
                               </block>
                              </xml>
                              

                              1 Reply Last reply Reply Quote 0
                              • BBTown
                                BBTown @EFE last edited by

                                @EFE sagte in Blockly Script mit Button Starten und Stoppen?:

                                Und ich aber die Terrassentür um 23 Uhr schließe fährt die Rolladen nicht runter.
                                Muss ich dann manuell runterfahren oder?
                                Müsste deinen Script ändern oder?

                                Die Frage ist, ob Du das Prinzip verinnerlicht hast?!
                                Dann solltest Du das ganze für dich ableiten können.

                                1 Reply Last reply Reply Quote 0
                                • E
                                  EFE last edited by EFE

                                  @BBTown Vielen Dank,
                                  jetzt zum verständnis !
                                  Dieser Script ist zum Steuern der Rolladen
                                  Bild Text

                                  und dieser für den Fenster Kontakt Steuerung
                                  Bild Text


                                  <xml xmlns="http://www.w3.org/1999/xhtml">
                                  <block type="on_ext" id="}(GJM@hL_WGqGrc=8w/?" x="-212" y="-213">
                                  <mutation items="1"></mutation>
                                  <field name="CONDITION">ne</field>
                                  <field name="ACK_CONDITION"></field>
                                  <value name="OID0">
                                  <shadow type="field_oid" id="eX%{FY%1v=!Qqn.iM,@J">
                                  <field name="oid">hm-rpc.0.MEQ1234567.1.STATE</field>
                                  </shadow>
                                  </value>
                                  <statement name="STATEMENT">
                                  <block type="controls_if" id="4w0gzUO?@K-NOGYg7+r@">
                                  <mutation elseif="1" else="1"></mutation>
                                  <value name="IF0">
                                  <block type="logic_compare" id="Oom?srzbcRy)WcYq[UH+">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                  <block type="get_value" id="MQXWOArZuXwZ3dYIk"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.MEQ1234567.1.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="%Tg8ve|k7J+w[Bv}?ghD"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="comment" id="gz=8AcC1KO8_a*;YS4=A"> <field name="COMMENT">Rolladen der Terrassentür wird durch öffnen der Terrassentür ebenfalls geöffnet</field> <next> <block type="controls_if" id=";wh;FMUU^^!Utc[=^_wy"> <value name="IF0"> <block type="logic_compare" id="x-W?vDRT0BNhEBCT*_n="> <field name="OP">LT</field> <value name="A"> <block type="get_value" id="X{-wM(v}1Y!JknTP=F|-"> <field name="ATTR">val</field> <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field> </block> </value> <value name="B"> <block type="math_number" id="oZmBA,#RlGAi4RCuDfsb"> <field name="NUM">85</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="uD!0PTu/3joo[^2w8shG"> <mutation delay_input="false"></mutation> <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="nd+(CWJB4!K^OkS3idq">
                                  <field name="NUM">100</field>
                                  </block>
                                  </value>
                                  </block>
                                  </statement>
                                  <next>
                                  <block type="comment" id="gGP?{Jr*EmX|,Ki:RhG">
                                  <field name="COMMENT">Sofern es dunkel ist, wird zudem das Licht auf der Terrasse eingeschaltet</field>
                                  <next>
                                  <block type="controls_if" id="HT3pi:h5/3+@
                                  [sEH#n"> <value name="IF0"> <block type="logic_compare" id="Rf*ihJbquW];D]-f.NC="> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="/DEXxlR_Z0L6|3%k63nP"> <field name="ATTR">val</field> <field name="OID">hm-rpc.1.JEQ1234567.17.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="%#0v7bA24?hSs::IpObR"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="controls_if" id="}^-}DGLEB,u2%p@aFn-J"> <value name="IF0"> <block type="logic_compare" id="X{xe/C^B)4%RuFXdf">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                  <block type="get_value" id="jT/bcv25;,+Z@w9nD~">
                                  <field name="ATTR">val</field>
                                  <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                  </block>
                                  </value>
                                  <value name="B">
                                  <block type="logic_boolean" id="gUSPCYhI/J%OceX[Dd%R">
                                  <field name="BOOL">FALSE</field>
                                  </block>
                                  </value>
                                  </block>
                                  </value>
                                  <statement name="DO0">
                                  <block type="control" id="tYSXDVXW5F?L{R_ZW+W_">
                                  <mutation delay_input="false"></mutation>
                                  <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                  <block type="logic_boolean" id="lidnbx)JL/=G}EDOLTV"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_operation" id="OyISy(j?S{8i?-~#I8y@" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="~hS[Cjr/R0l:ff]]uW#w"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="@lwKG;sSWO]FsRNncLb8"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.MEQ1234567.1.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="R)|X3p)o3/%[zU)4c1EK"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="LJ|_^U(3W3Ss8P]6afl^"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="K2[m]1V@VS6vOcTYQ+u">
                                  <field name="ATTR">val</field>
                                  <field name="OID">hm-rega.0.7593</field>
                                  </block>
                                  </value>
                                  <value name="B">
                                  <block type="math_number" id="(/E(hHvGt^12C*/;tG"> <field name="NUM">2</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="controls_if" id="8NNyZtz5wVuMEGm|yFQ">
                                  <value name="IF0">
                                  <block type="logic_compare" id="6Nd6=uptK*%0czHTU64V">
                                  <field name="OP">NEQ</field>
                                  <value name="A">
                                  <block type="get_value" id="=gF.CUJp%[N]5#]%:gYX">
                                  <field name="ATTR">val</field>
                                  <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                  </block>
                                  </value>
                                  <value name="B">
                                  <block type="math_number" id="7M}z!EExPaHZM[Qp|*#2">
                                  <field name="NUM">40</field>
                                  </block>
                                  </value>
                                  </block>
                                  </value>
                                  <statement name="DO0">
                                  <block type="control" id="eiD[xuc^*ifI}OLHqw">
                                  <mutation delay_input="false"></mutation>
                                  <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                  <block type="math_number" id="|~tgkuN@3F,B@fnf{G">
                                  <field name="NUM">40</field>
                                  </block>
                                  </value>
                                  </block>
                                  </statement>
                                  </block>
                                  </statement>
                                  <statement name="ELSE">
                                  <block type="comment" id="^ksDmSwf+EXR!.|1NHU?">
                                  <field name="COMMENT">Rolladen der Terrassentür wird durch schließen der Terrassentür ebenfalls geschlossen</field>
                                  <next>
                                  <block type="comment" id="y(BFsGJP?j5fVO20~6=0">
                                  <field name="COMMENT">Wenn alle anderen Rolladen ebenfalls verschlossen sind</field>
                                  <next>
                                  <block type="controls_if" id=":Af{QMfu#{MRB:w5i[Dx">
                                  <value name="IF0">
                                  <block type="logic_compare" id="|emPlsVSnBx^6le|82e|">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                  <block type="get_value" id="G~-)]2%9ZeuZvYGEc4"> <field name="ATTR">val</field> <field name="OID">hm-rega.0.7593</field> </block> </value> <value name="B"> <block type="math_number" id=".w6Xh[!@IcPHNgsbWbw">
                                  <field name="NUM">1</field>
                                  </block>
                                  </value>
                                  </block>
                                  </value>
                                  <statement name="DO0">
                                  <block type="controls_if" id="P}?2ue7H#/Q@RM.:o~/I">
                                  <value name="IF0">
                                  <block type="logic_compare" id="n~qbMHVDBBBaKV#9}9kZ">
                                  <field name="OP">GT</field>
                                  <value name="A">
                                  <block type="get_value" id="L
                                  [pOa.y~yB,1iM@Un)t">
                                  <field name="ATTR">val</field>
                                  <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                  </block>
                                  </value>
                                  <value name="B">
                                  <block type="math_number" id="vb1F!{{zwk/G1mcs^shm">
                                  <field name="NUM">0</field>
                                  </block>
                                  </value>
                                  </block>
                                  </value>
                                  <statement name="DO0">
                                  <block type="control" id="[bi}.kofkjfswY2|Ee
                                  ,">
                                  <mutation delay_input="false"></mutation>
                                  <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                  <block type="math_number" id="w42~amA;C,Dl3lJcDhgr">
                                  <field name="NUM">0</field>
                                  </block>
                                  </value>
                                  </block>
                                  </statement>
                                  <next>
                                  <block type="comment" id="95j::wTcj#3_VD#vB}d-">
                                  <field name="COMMENT">Sofern das Licht auf der Terrasse eingeschaltet war, wird es ausgeschaltet</field>
                                  <next>
                                  <block type="controls_if" id="W]}#MhXQ!%AhrXwmPo45">
                                  <value name="IF0">
                                  <block type="logic_compare" id="7m,u;LdeLY6xVwE?)=(E">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                  <block type="get_value" id="G:-:~=dbAg%1S6+u=vS">
                                  <field name="ATTR">val</field>
                                  <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                  </block>
                                  </value>
                                  <value name="B">
                                  <block type="logic_boolean" id="p_xhlR(9|klSS@,Y]m;.">
                                  <field name="BOOL">TRUE</field>
                                  </block>
                                  </value>
                                  </block>
                                  </value>
                                  <statement name="DO0">
                                  <block type="control" id="21_4j
                                  ~FI.CA=ytw0dkl">
                                  <mutation delay_input="false"></mutation>
                                  <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                  <block type="logic_boolean" id="S-?9G23mEHWC7j=gn]Is">
                                  <field name="BOOL">FALSE</field>
                                  </block>
                                  </value>
                                  </block>
                                  </statement>
                                  <next>
                                  <block type="comment" id="B.~DeR_3dHQ[-l/v^*@"> <field name="COMMENT">Sofern die Steckdose der Terrasse eingeschaltet war, wird diese ausgeschaltet</field> <next> <block type="controls_if" id="-#zR)oGXP7tefe4Pgh|i"> <value name="IF0"> <block type="logic_compare" id="VHf7!XQ9=E{riEC0*}ky"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="ShwexER{_Sc3U^XkKfU">
                                  <field name="ATTR">val</field>
                                  <field name="OID">hm-rpc.1.KEQ1234567.3.STATE</field>
                                  </block>
                                  </value>
                                  <value name="B">
                                  <block type="logic_boolean" id="zVR;nFt#n=*QNyVT?IL,">
                                  <field name="BOOL">TRUE</field>
                                  </block>
                                  </value>
                                  </block>
                                  </value>
                                  <statement name="DO0">
                                  <block type="control" id="^-R.4u(oJLL+HrFzE4Vy">
                                  <mutation delay_input="false"></mutation>
                                  <field name="OID">hm-rpc.1.KEQ1234567.3.STATE</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                  <block type="logic_boolean" id="IFUjkVv%8GcAigKHZJ%r">
                                  <field name="BOOL">FALSE</field>
                                  </block>
                                  </value>
                                  </block>
                                  </statement>
                                  </block>
                                  </next>
                                  </block>
                                  </next>
                                  </block>
                                  </next>
                                  </block>
                                  </next>
                                  </block>
                                  </statement>
                                  </block>
                                  </next>
                                  </block>
                                  </next>
                                  </block>
                                  </statement>
                                  </block>
                                  </statement>
                                  </block>
                                  </xml>

                                  oder ?
                                  ich muss dadran basteln !
                                  ich muss meine eigenen Datenpunkte eintragen.

                                  BBTown E 3 Replies Last reply Reply Quote 0
                                  • BBTown
                                    BBTown @EFE last edited by

                                    @EFE das sind doch beides die gleichen?!

                                    E 1 Reply Last reply Reply Quote 0
                                    • E
                                      EFE @BBTown last edited by

                                      @BBTown said in Blockly Script mit Button Starten und Stoppen?:

                                      @EFE das sind doch beides die gleichen?!

                                      stimmt...:)
                                      ich meinte
                                      alt text

                                      BBTown 1 Reply Last reply Reply Quote 0
                                      • BBTown
                                        BBTown @EFE last edited by

                                        @EFE und zu was ?
                                        zu 1 oder zu 2?

                                        1 Reply Last reply Reply Quote 0
                                        • BBTown
                                          BBTown @EFE last edited by

                                          @EFE hier steht es doch ausführlich

                                          1 Reply Last reply Reply Quote 0
                                          • E
                                            EFE @EFE last edited by

                                            @EFE sagte in Blockly Script mit Button Starten und Stoppen?:

                                            @BBTown Vielen Dank,
                                            jetzt zum verständnis !
                                            Dieser Script ist zum Steuern der Rolladen
                                            Bild Text

                                            und dieser für den Fenster Kontakt Steuerung
                                            Bild Text


                                            <xml xmlns="http://www.w3.org/1999/xhtml">
                                            <block type="on_ext" id="}(GJM@hL_WGqGrc=8w/?" x="-212" y="-213">
                                            <mutation items="1"></mutation>
                                            <field name="CONDITION">ne</field>
                                            <field name="ACK_CONDITION"></field>
                                            <value name="OID0">
                                            <shadow type="field_oid" id="eX%{FY%1v=!Qqn.iM,@J">
                                            <field name="oid">hm-rpc.0.MEQ1234567.1.STATE</field>
                                            </shadow>
                                            </value>
                                            <statement name="STATEMENT">
                                            <block type="controls_if" id="4w0gzUO?@K-NOGYg7+r@">
                                            <mutation elseif="1" else="1"></mutation>
                                            <value name="IF0">
                                            <block type="logic_compare" id="Oom?srzbcRy)WcYq[UH+">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                            <block type="get_value" id="MQXWOArZuXwZ3dYIk"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.MEQ1234567.1.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="%Tg8ve|k7J+w[Bv}?ghD"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="comment" id="gz=8AcC1KO8_a*;YS4=A"> <field name="COMMENT">Rolladen der Terrassentür wird durch öffnen der Terrassentür ebenfalls geöffnet</field> <next> <block type="controls_if" id=";wh;FMUU^^!Utc[=^_wy"> <value name="IF0"> <block type="logic_compare" id="x-W?vDRT0BNhEBCT*_n="> <field name="OP">LT</field> <value name="A"> <block type="get_value" id="X{-wM(v}1Y!JknTP=F|-"> <field name="ATTR">val</field> <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field> </block> </value> <value name="B"> <block type="math_number" id="oZmBA,#RlGAi4RCuDfsb"> <field name="NUM">85</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="uD!0PTu/3joo[^2w8shG"> <mutation delay_input="false"></mutation> <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="nd+(CWJB4!K^OkS3idq">
                                            <field name="NUM">100</field>
                                            </block>
                                            </value>
                                            </block>
                                            </statement>
                                            <next>
                                            <block type="comment" id="gGP?{Jr*EmX|,Ki:RhG">
                                            <field name="COMMENT">Sofern es dunkel ist, wird zudem das Licht auf der Terrasse eingeschaltet</field>
                                            <next>
                                            <block type="controls_if" id="HT3pi:h5/3+@
                                            [sEH#n"> <value name="IF0"> <block type="logic_compare" id="Rf*ihJbquW];D]-f.NC="> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="/DEXxlR_Z0L6|3%k63nP"> <field name="ATTR">val</field> <field name="OID">hm-rpc.1.JEQ1234567.17.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="%#0v7bA24?hSs::IpObR"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="controls_if" id="}^-}DGLEB,u2%p@aFn-J"> <value name="IF0"> <block type="logic_compare" id="X{xe/C^B)4%RuFXdf">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                            <block type="get_value" id="jT/bcv25;,+Z@w9nD~">
                                            <field name="ATTR">val</field>
                                            <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                            </block>
                                            </value>
                                            <value name="B">
                                            <block type="logic_boolean" id="gUSPCYhI/J%OceX[Dd%R">
                                            <field name="BOOL">FALSE</field>
                                            </block>
                                            </value>
                                            </block>
                                            </value>
                                            <statement name="DO0">
                                            <block type="control" id="tYSXDVXW5F?L{R_ZW+W_">
                                            <mutation delay_input="false"></mutation>
                                            <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                            <block type="logic_boolean" id="lidnbx)JL/=G}EDOLTV"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_operation" id="OyISy(j?S{8i?-~#I8y@" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="~hS[Cjr/R0l:ff]]uW#w"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="@lwKG;sSWO]FsRNncLb8"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.MEQ1234567.1.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="R)|X3p)o3/%[zU)4c1EK"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="LJ|_^U(3W3Ss8P]6afl^"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="K2[m]1V@VS6vOcTYQ+u">
                                            <field name="ATTR">val</field>
                                            <field name="OID">hm-rega.0.7593</field>
                                            </block>
                                            </value>
                                            <value name="B">
                                            <block type="math_number" id="(/E(hHvGt^12C*/;tG"> <field name="NUM">2</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="controls_if" id="8NNyZtz5wVuMEGm|yFQ">
                                            <value name="IF0">
                                            <block type="logic_compare" id="6Nd6=uptK*%0czHTU64V">
                                            <field name="OP">NEQ</field>
                                            <value name="A">
                                            <block type="get_value" id="=gF.CUJp%[N]5#]%:gYX">
                                            <field name="ATTR">val</field>
                                            <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                            </block>
                                            </value>
                                            <value name="B">
                                            <block type="math_number" id="7M}z!EExPaHZM[Qp|*#2">
                                            <field name="NUM">40</field>
                                            </block>
                                            </value>
                                            </block>
                                            </value>
                                            <statement name="DO0">
                                            <block type="control" id="eiD[xuc^*ifI}OLHqw">
                                            <mutation delay_input="false"></mutation>
                                            <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                            <block type="math_number" id="|~tgkuN@3F,B@fnf{G">
                                            <field name="NUM">40</field>
                                            </block>
                                            </value>
                                            </block>
                                            </statement>
                                            </block>
                                            </statement>
                                            <statement name="ELSE">
                                            <block type="comment" id="^ksDmSwf+EXR!.|1NHU?">
                                            <field name="COMMENT">Rolladen der Terrassentür wird durch schließen der Terrassentür ebenfalls geschlossen</field>
                                            <next>
                                            <block type="comment" id="y(BFsGJP?j5fVO20~6=0">
                                            <field name="COMMENT">Wenn alle anderen Rolladen ebenfalls verschlossen sind</field>
                                            <next>
                                            <block type="controls_if" id=":Af{QMfu#{MRB:w5i[Dx">
                                            <value name="IF0">
                                            <block type="logic_compare" id="|emPlsVSnBx^6le|82e|">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                            <block type="get_value" id="G~-)]2%9ZeuZvYGEc4"> <field name="ATTR">val</field> <field name="OID">hm-rega.0.7593</field> </block> </value> <value name="B"> <block type="math_number" id=".w6Xh[!@IcPHNgsbWbw">
                                            <field name="NUM">1</field>
                                            </block>
                                            </value>
                                            </block>
                                            </value>
                                            <statement name="DO0">
                                            <block type="controls_if" id="P}?2ue7H#/Q@RM.:o~/I">
                                            <value name="IF0">
                                            <block type="logic_compare" id="n~qbMHVDBBBaKV#9}9kZ">
                                            <field name="OP">GT</field>
                                            <value name="A">
                                            <block type="get_value" id="L
                                            [pOa.y~yB,1iM@Un)t">
                                            <field name="ATTR">val</field>
                                            <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                            </block>
                                            </value>
                                            <value name="B">
                                            <block type="math_number" id="vb1F!{{zwk/G1mcs^shm">
                                            <field name="NUM">0</field>
                                            </block>
                                            </value>
                                            </block>
                                            </value>
                                            <statement name="DO0">
                                            <block type="control" id="[bi}.kofkjfswY2|Ee
                                            ,">
                                            <mutation delay_input="false"></mutation>
                                            <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                            <block type="math_number" id="w42~amA;C,Dl3lJcDhgr">
                                            <field name="NUM">0</field>
                                            </block>
                                            </value>
                                            </block>
                                            </statement>
                                            <next>
                                            <block type="comment" id="95j::wTcj#3_VD#vB}d-">
                                            <field name="COMMENT">Sofern das Licht auf der Terrasse eingeschaltet war, wird es ausgeschaltet</field>
                                            <next>
                                            <block type="controls_if" id="W]}#MhXQ!%AhrXwmPo45">
                                            <value name="IF0">
                                            <block type="logic_compare" id="7m,u;LdeLY6xVwE?)=(E">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                            <block type="get_value" id="G:-:~=dbAg%1S6+u=vS">
                                            <field name="ATTR">val</field>
                                            <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                            </block>
                                            </value>
                                            <value name="B">
                                            <block type="logic_boolean" id="p_xhlR(9|klSS@,Y]m;.">
                                            <field name="BOOL">TRUE</field>
                                            </block>
                                            </value>
                                            </block>
                                            </value>
                                            <statement name="DO0">
                                            <block type="control" id="21_4j
                                            ~FI.CA=ytw0dkl">
                                            <mutation delay_input="false"></mutation>
                                            <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                            <block type="logic_boolean" id="S-?9G23mEHWC7j=gn]Is">
                                            <field name="BOOL">FALSE</field>
                                            </block>
                                            </value>
                                            </block>
                                            </statement>
                                            <next>
                                            <block type="comment" id="B.~DeR_3dHQ[-l/v^*@"> <field name="COMMENT">Sofern die Steckdose der Terrasse eingeschaltet war, wird diese ausgeschaltet</field> <next> <block type="controls_if" id="-#zR)oGXP7tefe4Pgh|i"> <value name="IF0"> <block type="logic_compare" id="VHf7!XQ9=E{riEC0*}ky"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="ShwexER{_Sc3U^XkKfU">
                                            <field name="ATTR">val</field>
                                            <field name="OID">hm-rpc.1.KEQ1234567.3.STATE</field>
                                            </block>
                                            </value>
                                            <value name="B">
                                            <block type="logic_boolean" id="zVR;nFt#n=*QNyVT?IL,">
                                            <field name="BOOL">TRUE</field>
                                            </block>
                                            </value>
                                            </block>
                                            </value>
                                            <statement name="DO0">
                                            <block type="control" id="^-R.4u(oJLL+HrFzE4Vy">
                                            <mutation delay_input="false"></mutation>
                                            <field name="OID">hm-rpc.1.KEQ1234567.3.STATE</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                            <block type="logic_boolean" id="IFUjkVv%8GcAigKHZJ%r">
                                            <field name="BOOL">FALSE</field>
                                            </block>
                                            </value>
                                            </block>
                                            </statement>
                                            </block>
                                            </next>
                                            </block>
                                            </next>
                                            </block>
                                            </next>
                                            </block>
                                            </next>
                                            </block>
                                            </statement>
                                            </block>
                                            </next>
                                            </block>
                                            </next>
                                            </block>
                                            </statement>
                                            </block>
                                            </statement>
                                            </block>
                                            </xml>

                                            oder ?
                                            ich muss dadran basteln !
                                            ich muss meine eigenen Datenpunkte eintragen.

                                            BBTown 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            738
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            27
                                            2955
                                            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