Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Hilfe bei Blockly Timer

    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

    Hilfe bei Blockly Timer

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

      Hallo zusammen,

      wahrscheinlich total einfach, aber ich schaffs nicht 😞

      Ich möchte meine Fußbodenheizung ausmachen,wenn Fenster offen,ansonsten an. Das läuft prima.

      Aber wie sage ich nun, zwischen 22:00 - 06:00 Uhr soll er die Fussbodenbheizung ausmachen, egal ob Fenster offen/zu????
      Vielleicht kann mir jemand helfen, wäre sehr dankbar.

      ANbei das Blockly:

      <xml xmlns="http://www.w3.org/1999/xhtml">
        <block type="on_ext" id=".09Y%KSt=h,[v__:^Y5c" x="63" y="38">
          <mutation items="1"></mutation>
          <field name="CONDITION">ne</field>
          <field name="ACK_CONDITION"></field>
          <value name="OID0">
            <shadow type="field_oid" id="?~~Ls6dA7HYrfzO+w,3!">
              <field name="oid">hm-rpc.1.0000D569951A1D.1.STATE</field>
            </shadow>
          </value>
          <statement name="STATEMENT">
            <block type="controls_if" id="cqr[Z%_vjgH9?KA(s1{*">
              <mutation else="1"></mutation>
              <value name="IF0">
                <block type="logic_compare" id="REYlFMO+B(+BpLwm{PTp">
                  <field name="OP">EQ</field>
                  <value name="A">
                    <block type="get_value" id="9^wWat.N^2$`2D^;mG(c">
                      <field name="ATTR">val</field>
                      <field name="OID">hm-rpc.1.0000D569951A1D.1.STATE</field>
                    </block>
                  </value>
                  <value name="B">
                    <block type="logic_boolean" id="qh]o)N;De:8|ztGGZOwn">
                      <field name="BOOL">TRUE</field>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO0">
                <block type="control" id="Zr@T77?%4jzNy}?|07go">
                  <mutation delay_input="false"></mutation>
                  <field name="OID">sonoff.0.Bad_EG_Fußbodenheizung.POWER</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="logic_boolean" id=")ELHJ/C/+.clSh_1kTld">
                      <field name="BOOL">FALSE</field>
                    </block>
                  </value>
                </block>
              </statement>
              <statement name="ELSE">
                <block type="control" id="(d+`4i:KakQ0+,yq*34Y">
                  <mutation delay_input="false"></mutation>
                  <field name="OID">sonoff.0.Bad_EG_Fußbodenheizung.POWER</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="logic_boolean" id="Jd}B`,p{uJaIbj+5/yE;">
                      <field name="BOOL">TRUE</field>
                    </block>
                  </value>
                </block>
              </statement>
            </block>
          </statement>
        </block>
      </xml>
      
      paul53 1 Reply Last reply Reply Quote 0
      • paul53
        paul53 @bug77 last edited by

        @bug77

        <xml xmlns="http://www.w3.org/1999/xhtml">
         <variables>
           <variable type="" id="FrIa]gYJj=EQQcw2?lJ)">ein</variable>
           <variable type="" id="n(IVSct]7~rb+*GH:~J7">fenster_offen</variable>
         </variables>
         <block type="procedures_defnoreturn" id="xCX+4)1S!LG~)cZ=p^`v" x="-238" y="-88">
           <mutation>
             <arg name="ein" varid="FrIa]gYJj=EQQcw2?lJ)"></arg>
           </mutation>
           <field name="NAME">FBH</field>
           <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
           <statement name="STACK">
             <block type="control" id="Zr@T77?%4jzNy}?|07go">
               <mutation delay_input="false"></mutation>
               <field name="OID">sonoff.0.Bad_EG_Fußbodenheizung.POWER</field>
               <field name="WITH_DELAY">FALSE</field>
               <value name="VALUE">
                 <block type="variables_get" id="fBTe(!8~!Ww*30_Q;PZ0">
                   <field name="VAR" id="FrIa]gYJj=EQQcw2?lJ)" variabletype="">ein</field>
                 </block>
               </value>
             </block>
           </statement>
         </block>
         <block type="on_ext" id=".09Y%KSt=h,[v__:^Y5c" x="-236" y="8">
           <mutation items="1"></mutation>
           <field name="CONDITION">ne</field>
           <field name="ACK_CONDITION"></field>
           <value name="OID0">
             <shadow type="field_oid" id="?~~Ls6dA7HYrfzO+w,3!">
               <field name="oid">hm-rpc.1.0000D569951A1D.1.STATE</field>
             </shadow>
           </value>
           <statement name="STATEMENT">
             <block type="variables_set" id="{O};p8c.jxJ.CeT1wyHM">
               <field name="VAR" id="n(IVSct]7~rb+*GH:~J7" variabletype="">fenster_offen</field>
               <value name="VALUE">
                 <block type="on_source" id="lMpb%,:R!o||@{$!8Sn,">
                   <field name="ATTR">state.val</field>
                 </block>
               </value>
               <next>
                 <block type="controls_if" id="cqr[Z%_vjgH9?KA(s1{*">
                   <mutation else="1"></mutation>
                   <value name="IF0">
                     <block type="logic_operation" id=";B+RTTCTMy!jthWF[UXb" inline="false">
                       <field name="OP">AND</field>
                       <value name="A">
                         <block type="logic_negate" id="?o:m]n8]..){Y3f(kIkj">
                           <value name="BOOL">
                             <block type="variables_get" id="0acA8S`2qb=n?AAlwyig">
                               <field name="VAR" id="n(IVSct]7~rb+*GH:~J7" variabletype="">fenster_offen</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <value name="B">
                         <block type="time_compare" id="D$vE%)ss3f$NmjG,H^{.">
                           <mutation end_time="true"></mutation>
                           <field name="OPTION">between</field>
                           <field name="START_TIME">6:00</field>
                           <field name="END_TIME">22:00</field>
                         </block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO0">
                     <block type="procedures_callnoreturn" id="d;@J9.MGn18039|+8k}M">
                       <mutation name="FBH">
                         <arg name="ein"></arg>
                       </mutation>
                       <value name="ARG0">
                         <block type="logic_boolean" id="j*.9xC*m=641IsrGn^ce">
                           <field name="BOOL">TRUE</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                   <statement name="ELSE">
                     <block type="procedures_callnoreturn" id="AwN8((s7!a7@H5|HOmc8">
                       <mutation name="FBH">
                         <arg name="ein"></arg>
                       </mutation>
                       <value name="ARG0">
                         <block type="logic_boolean" id="xqoXMxD4Jy!=!!8w@hFQ">
                           <field name="BOOL">FALSE</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                 </block>
               </next>
             </block>
           </statement>
           <next>
             <block type="schedule" id="e.O6gF7Ga@wM23@^]O.X">
               <field name="SCHEDULE">0 6 * * *</field>
               <statement name="STATEMENT">
                 <block type="controls_if" id="J(:bvQQ=)Yk.Y|#?XBkr">
                   <value name="IF0">
                     <block type="logic_negate" id="Gty4~:6i(~BhpU{D+$fg">
                       <value name="BOOL">
                         <block type="variables_get" id=".4jMJxl~RnWp:crYKB+Y">
                           <field name="VAR" id="n(IVSct]7~rb+*GH:~J7" variabletype="">fenster_offen</field>
                         </block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO0">
                     <block type="procedures_callnoreturn" id="e$3Ub4*D8ZXn|~_K6GuG">
                       <mutation name="FBH">
                         <arg name="ein"></arg>
                       </mutation>
                       <value name="ARG0">
                         <block type="logic_boolean" id="b,_rBr(.[PAn!F*YzOLd">
                           <field name="BOOL">TRUE</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                 </block>
               </statement>
               <next>
                 <block type="schedule" id="S5{MAx$Tii}koPO.)L!0">
                   <field name="SCHEDULE">0 22 * * *</field>
                   <statement name="STATEMENT">
                     <block type="procedures_callnoreturn" id=";6Lt~F3r.nFe(Q3:lMRk">
                       <mutation name="FBH">
                         <arg name="ein"></arg>
                       </mutation>
                       <value name="ARG0">
                         <block type="logic_boolean" id="uLs)dUQ|F][hIDA}-AU4">
                           <field name="BOOL">FALSE</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                 </block>
               </next>
             </block>
           </next>
         </block>
        </xml>
        

        1 Reply Last reply Reply Quote 0
        • B
          bug77 last edited by

          dankeschön.
          mein fehler war wohl der zeitplan, diesen hatte ich nicht probiert.

          Ich werde berichten ob es läuft

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

          Support us

          ioBroker
          Community Adapters
          Donate

          725
          Online

          31.9k
          Users

          80.3k
          Topics

          1.3m
          Posts

          2
          3
          199
          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