Navigation

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

    NEWS

    • Amazon Alexa - ioBroker Skill läuft aus ?

    • Monatsrückblick – September 2025

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    Heizungssteuerung mit FB Ceckpresence

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

      Hallo ich möchte geren meine Heizungssteuerung für den FB Checkpresence regeln.

      Das heist wenn Person x oder y per WLan in der Fritzbox angemeldet ist und es ist zwischen 9-22 uhr, sollen die Thermostate des Wohnzimmer auf 18 Grad gehen.

      Wenn keiner von beiden im Wlan ist oder die zeit zwischen 22-9 uhr ist, sollendie thermostate auf 15 grad grad schalten

      Leider habe ich hier im Forum diurch die suche nix gefunden.

      Ich habe was gebastelt aber das funktioniert nicht, ich weiss aber leider nicht wo der Fehler ist.

      code_text
      ```<xml xmlns="https://developers.google.com/blockly/xml">
        <block type="on_ext" id="e^;)5s2o+31fnN@xcG}U" x="38" y="-187">
          <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
          <field name="CONDITION">ne</field>
          <field name="ACK_CONDITION"></field>
          <value name="OID0">
            <shadow type="field_oid" id="KPQd|S?!lqEqt;Dhxc-w">
              <field name="oid">fb-checkpresence.0.Oliver.presence</field>
            </shadow>
          </value>
          <value name="OID1">
            <shadow type="field_oid" id="}{}WPGZTt1#6PNu@ZM{f">
              <field name="oid">fb-checkpresence.0.Sanne.presence</field>
            </shadow>
          </value>
          <statement name="STATEMENT">
            <block type="controls_if" id="p$Dp:M6TibKMUH-bHo1.">
              <value name="IF0">
                <block type="logic_operation" id="][YrViDSsS%[X%Sa`-g$" inline="false">
                  <field name="OP">OR</field>
                  <value name="A">
                    <block type="logic_operation" id="unE32iS(o=kWgbd83u?X">
                      <field name="OP">AND</field>
                      <value name="A">
                        <block type="logic_compare" id="p!U9aMuzPh~{Po@h/K`Y">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="get_value" id="$h0`R4$b%x|;y4oW;#c}">
                              <field name="ATTR">val</field>
                              <field name="OID">fb-checkpresence.0.Sanne.presence</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_boolean" id="j5=u:mWCnsCPkx.*a=IR">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <value name="B">
                        <block type="get_value" id="Cn2X0lzXPl*bqNhs/6[n">
                          <field name="ATTR">val</field>
                          <field name="OID">fb-checkpresence.0.Oliver.presence</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <value name="B">
                    <block type="time_compare_ex" id="+xiZKO{J@nDl)^2SK`8T">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                      <field name="USE_ACTUAL_TIME">TRUE</field>
                      <field name="OPTION">between</field>
                      <value name="START_TIME">
                        <shadow type="text" id="]gOw;$%X`sbuV99t|CO{">
                          <field name="TEXT">9:00</field>
                        </shadow>
                      </value>
                      <value name="END_TIME">
                        <shadow type="text" id="Zuv-jgu2{h04BDW/Bz3x">
                          <field name="TEXT">22:00</field>
                        </shadow>
                      </value>
                    </block>
                  </value>
                </block>
              </value>
              <next>
                <block type="control" id="gY!O{CU$2t+9-YTDl{hV">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">hm-rpc.0.OEQ1703641.4.SET_TEMPERATURE</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="math_number" id="_!*):i;:pqMgzQFQL~t2">
                      <field name="NUM">18</field>
                    </block>
                  </value>
                  <next>
                    <block type="control" id="}CaX#P_@:y:(l*5qkg^_">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">hm-rpc.0.OEQ1718701.4.SET_TEMPERATURE</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="math_number" id="f*:hxl|[fwVw)pE;y9)t">
                          <field name="NUM">18</field>
                        </block>
                      </value>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </statement>
        </block>
      </xml>```
      code_text
      
      paul53 1 Reply Last reply Reply Quote 0
      • paul53
        paul53 @Olli77 last edited by paul53

        @olli77

        Bild_2021-11-28_160231.png

        <xml xmlns="https://developers.google.com/blockly/xml">
         <variables>
           <variable id="|yk9Y^Npa^0axI=*%V^O">sollwert</variable>
         </variables>
         <block type="on_ext" id="e^;)5s2o+31fnN@xcG}U" x="38" y="-187">
           <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
           <field name="CONDITION">ne</field>
           <field name="ACK_CONDITION"></field>
           <value name="OID0">
             <shadow type="field_oid" id="KPQd|S?!lqEqt;Dhxc-w">
               <field name="oid">fb-checkpresence.0.Oliver.presence</field>
             </shadow>
           </value>
           <value name="OID1">
             <shadow type="field_oid" id="}{}WPGZTt1#6PNu@ZM{f">
               <field name="oid">fb-checkpresence.0.Sanne.presence</field>
             </shadow>
           </value>
           <statement name="STATEMENT">
             <block type="controls_if" id="0l3DLxfNPKnYtasrYJai">
               <value name="IF0">
                 <block type="time_compare_ex" id="+xiZKO{J@nDl)^2SK`8T">
                   <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                   <field name="USE_ACTUAL_TIME">TRUE</field>
                   <field name="OPTION">between</field>
                   <value name="START_TIME">
                     <shadow type="text" id="]gOw;$%X`sbuV99t|CO{">
                       <field name="TEXT">9:00</field>
                     </shadow>
                   </value>
                   <value name="END_TIME">
                     <shadow type="text" id="Zuv-jgu2{h04BDW/Bz3x">
                       <field name="TEXT">22:00</field>
                     </shadow>
                   </value>
                 </block>
               </value>
               <statement name="DO0">
                 <block type="controls_if" id="p$Dp:M6TibKMUH-bHo1.">
                   <mutation else="1"></mutation>
                   <value name="IF0">
                     <block type="logic_operation" id="unE32iS(o=kWgbd83u?X" inline="false">
                       <field name="OP">OR</field>
                       <value name="A">
                         <block type="get_value" id="$h0`R4$b%x|;y4oW;#c}">
                           <field name="ATTR">val</field>
                           <field name="OID">fb-checkpresence.0.Sanne.presence</field>
                         </block>
                       </value>
                       <value name="B">
                         <block type="get_value" id="Cn2X0lzXPl*bqNhs/6[n">
                           <field name="ATTR">val</field>
                           <field name="OID">fb-checkpresence.0.Oliver.presence</field>
                         </block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO0">
                     <block type="variables_set" id="Antec~;-@RcW3w^/3~Qs">
                       <field name="VAR" id="|yk9Y^Npa^0axI=*%V^O">sollwert</field>
                       <value name="VALUE">
                         <block type="math_number" id="_!*):i;:pqMgzQFQL~t2">
                           <field name="NUM">18</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                   <statement name="ELSE">
                     <block type="variables_set" id="HH06,Pmyo(d;9pt[a,6D">
                       <field name="VAR" id="|yk9Y^Npa^0axI=*%V^O">sollwert</field>
                       <value name="VALUE">
                         <block type="math_number" id="@*!?4^[G[zqV$G((zgPp">
                           <field name="NUM">15</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                   <next>
                     <block type="control" id="gY!O{CU$2t+9-YTDl{hV">
                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                       <field name="OID">hm-rpc.0.OEQ1703641.4.SET_TEMPERATURE</field>
                       <field name="WITH_DELAY">FALSE</field>
                       <value name="VALUE">
                         <block type="variables_get" id="qM]hkQsW5.c1-}Yw$r[-">
                           <field name="VAR" id="|yk9Y^Npa^0axI=*%V^O">sollwert</field>
                         </block>
                       </value>
                       <next>
                         <block type="control" id="}CaX#P_@:y:(l*5qkg^_">
                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                           <field name="OID">hm-rpc.0.OEQ1718701.4.SET_TEMPERATURE</field>
                           <field name="WITH_DELAY">FALSE</field>
                           <value name="VALUE">
                             <block type="variables_get" id="$jZ9LwT6aM.(RN0n/!}:">
                               <field name="VAR" id="|yk9Y^Npa^0axI=*%V^O">sollwert</field>
                             </block>
                           </value>
                         </block>
                       </next>
                     </block>
                   </next>
                 </block>
               </statement>
             </block>
           </statement>
           <next>
             <block type="schedule" id="@E}vobX#/,LS`NSKBiEa">
               <field name="SCHEDULE">0 9 * * *</field>
               <statement name="STATEMENT">
                 <block type="controls_if" id="i2sI[KQ=f5}oUz#%`_u.">
                   <value name="IF0">
                     <block type="logic_operation" id="73j]1Z`Z0qbH1NMX4o,8" inline="false">
                       <field name="OP">OR</field>
                       <value name="A">
                         <block type="get_value" id="0a9S#-#@Ux-hYNv,:PY4">
                           <field name="ATTR">val</field>
                           <field name="OID">fb-checkpresence.0.Sanne.presence</field>
                         </block>
                       </value>
                       <value name="B">
                         <block type="get_value" id="]?Z9DSFzek+0BriuTauk">
                           <field name="ATTR">val</field>
                           <field name="OID">fb-checkpresence.0.Oliver.presence</field>
                         </block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO0">
                     <block type="control" id="aMQq|_h]KP}#5EnAOn(O">
                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                       <field name="OID">hm-rpc.0.OEQ1703641.4.SET_TEMPERATURE</field>
                       <field name="WITH_DELAY">FALSE</field>
                       <value name="VALUE">
                         <block type="math_number" id=":xT!Q}*InEi~o+g4C_z?">
                           <field name="NUM">18</field>
                         </block>
                       </value>
                       <next>
                         <block type="control" id="6jN[s}V|b_9^-Um[p3{1">
                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                           <field name="OID">hm-rpc.0.OEQ1718701.4.SET_TEMPERATURE</field>
                           <field name="WITH_DELAY">FALSE</field>
                           <value name="VALUE">
                             <block type="math_number" id="[U-Pe]mum[r6xS.h(xSo">
                               <field name="NUM">18</field>
                             </block>
                           </value>
                         </block>
                       </next>
                     </block>
                   </statement>
                 </block>
               </statement>
               <next>
                 <block type="schedule" id="k@=f15w4:}toE.VT_nf@">
                   <field name="SCHEDULE">0 22 * * *</field>
                   <statement name="STATEMENT">
                     <block type="control" id=".O-8[e$LNZqO(g+aAyU,">
                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                       <field name="OID">hm-rpc.0.OEQ1703641.4.SET_TEMPERATURE</field>
                       <field name="WITH_DELAY">FALSE</field>
                       <value name="VALUE">
                         <block type="math_number" id="oswWmI0UAwn#%.wa,@sU">
                           <field name="NUM">15</field>
                         </block>
                       </value>
                       <next>
                         <block type="control" id="=qccU1m$7T1zZ]Ksuec=">
                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                           <field name="OID">hm-rpc.0.OEQ1718701.4.SET_TEMPERATURE</field>
                           <field name="WITH_DELAY">FALSE</field>
                           <value name="VALUE">
                             <block type="math_number" id="|98_)hq8v+}.(@1_.fQ.">
                               <field name="NUM">15</field>
                             </block>
                           </value>
                         </block>
                       </next>
                     </block>
                   </statement>
                 </block>
               </next>
             </block>
           </next>
         </block>
        </xml>
        

        Bei HM classic muss allerdings MANU_MODE anstelle von SET_TEMPERAURE verwendet werden, da sonst das interne Zeitprofil übersteuert. SET_TEMPERATURE zeigt dann den eingestellten Sollwert an.

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

          @paul53 Vielen Dank für das erstellen.

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

          Support us

          ioBroker
          Community Adapters
          Donate

          1.1k
          Online

          32.3k
          Users

          81.0k
          Topics

          1.3m
          Posts

          blockly heating
          2
          3
          116
          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