Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Blocky script

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.6k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    855

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

Blocky script

Scheduled Pinned Locked Moved Blockly
86 Posts 6 Posters 7.6k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • CinimodC Cinimod

    @ingenii sagte in Blocky script:

    @cinimod

    Eine frage: gibt das ein sin wen für jeder wahr oder falsh ist extra trigger?

    Nein

    I Offline
    I Offline
    ingenii
    wrote on last edited by
    #48

    @cinimod

    Wie ich schon geschrieben hab jetzt ist das Gut.
    Jetzt muss ich noch was anderes ausprobieren.
    ich hab 3 räume und ich muss leider nur ein Realei schalten das heitzung startet.
    ich hab 3 Termostaten und 3 verschiedene Temperatur.
    Wen 1 Raum (Termostat sagt du musst heizen schalte das Relais an das mir die andere räume das gleiche Relais auf Flash setzten und das geht in so ein loop.

    CinimodC 1 Reply Last reply
    0
    • I ingenii

      @cinimod

      Wie ich schon geschrieben hab jetzt ist das Gut.
      Jetzt muss ich noch was anderes ausprobieren.
      ich hab 3 räume und ich muss leider nur ein Realei schalten das heitzung startet.
      ich hab 3 Termostaten und 3 verschiedene Temperatur.
      Wen 1 Raum (Termostat sagt du musst heizen schalte das Relais an das mir die andere räume das gleiche Relais auf Flash setzten und das geht in so ein loop.

      CinimodC Offline
      CinimodC Offline
      Cinimod
      Most Active
      wrote on last edited by Cinimod
      #49

      @ingenii

      Erstell dir für jeden Raum einen Datenpunkt, statt dem TH10 Schaltetst du diesen Datanpunkt true/false (ein script für jeden Raum).

      Dann noch ein weiters Skript welche die drei Datenpunkte überwacht, und das Relais schaltet wenn mindestens einer der drei Datenpunkte wahr ist, sonst false

      Synology DS918+, Fritzbox 6690 Cable, #Docker #Blockly #Vis2 #Deconz #Tasmota

      I 1 Reply Last reply
      0
      • CinimodC Cinimod

        @ingenii

        Erstell dir für jeden Raum einen Datenpunkt, statt dem TH10 Schaltetst du diesen Datanpunkt true/false (ein script für jeden Raum).

        Dann noch ein weiters Skript welche die drei Datenpunkte überwacht, und das Relais schaltet wenn mindestens einer der drei Datenpunkte wahr ist, sonst false

        I Offline
        I Offline
        ingenii
        wrote on last edited by
        #50

        @cinimod

        Hallo,
        Dantenpunkte hab ich, das hab ich schon gelernt, für Script brauche ich bisschen zeit .Danke für dein zeit.

        CinimodC 1 Reply Last reply
        1
        • I ingenii

          @cinimod

          Hallo,
          Dantenpunkte hab ich, das hab ich schon gelernt, für Script brauche ich bisschen zeit .Danke für dein zeit.

          CinimodC Offline
          CinimodC Offline
          Cinimod
          Most Active
          wrote on last edited by Cinimod
          #51

          @ingenii

          das selbe Prinzip:

          Falls einer der Trigger-Datenpunkte Wahr -> Heizung an

          Falls alle der Datenpunkte Falsch -> Heizung aus

          Bildschirmfoto 2021-10-17 um 22.19.26.png

          Synology DS918+, Fritzbox 6690 Cable, #Docker #Blockly #Vis2 #Deconz #Tasmota

          I 1 Reply Last reply
          0
          • CinimodC Cinimod

            @ingenii

            das selbe Prinzip:

            Falls einer der Trigger-Datenpunkte Wahr -> Heizung an

            Falls alle der Datenpunkte Falsch -> Heizung aus

            Bildschirmfoto 2021-10-17 um 22.19.26.png

            I Offline
            I Offline
            ingenii
            wrote on last edited by
            #52

            @cinimod
            es steuert nur Falsch

            <xml xmlns="https://developers.google.com/blockly/xml">
              <variables>
                <variable id="8YSUs.sSyApb+.X)hAKj">Wert</variable>
              </variables>
              <block type="on_ext" id="PbE+r6ibR_B!K.FQ}Fa$" x="-20" y="-547">
                <mutation xmlns="http://www.w3.org/1999/xhtml" items="3"></mutation>
                <field name="CONDITION">ne</field>
                <field name="ACK_CONDITION"></field>
                <value name="OID0">
                  <shadow type="field_oid" id="R*u+`^~1q(-5RFx%o(wQ">
                    <field name="oid">0_userdata.0.Testordner.Kinderzimmer_temp_Heizung</field>
                  </shadow>
                </value>
                <value name="OID1">
                  <shadow type="field_oid" id="d(7kaO!c#|rUIt#UbB={">
                    <field name="oid">0_userdata.0.Testordner.Schalfzimmer_temp_Heizung</field>
                  </shadow>
                </value>
                <value name="OID2">
                  <shadow type="field_oid" id="%,@ga-xK38tS$Zg=d_y0">
                    <field name="oid">0_userdata.0.Testordner.Wohnzimmer_temp_Wohnzimmer</field>
                  </shadow>
                </value>
                <statement name="STATEMENT">
                  <block type="controls_if" id="r*B?@=L`.guY]MLJ.H@.">
                    <mutation elseif="1"></mutation>
                    <value name="IF0">
                      <block type="variables_get" id="k+E7_WDJK*^j!|vQNZ/*">
                        <field name="VAR" id="8YSUs.sSyApb+.X)hAKj">Wert</field>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="control" id="B=1I|N7S`4~26PlSAQ-%">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">sonoff.0.Temparature_wohnzimmer(TH10).POWER</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="y3;43=:xLQ(0wRm`(^`}">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <value name="IF1">
                      <block type="logic_operation" id="}2~Ew~gv@IZK*(xct$ew" inline="false">
                        <field name="OP">AND</field>
                        <value name="A">
                          <block type="logic_operation" id=",`JZOgL5aBSu8HVPZ0NW" inline="false">
                            <field name="OP">AND</field>
                            <value name="A">
                              <block type="logic_compare" id="r//HYzBmYjm~s0OP1M`z">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="get_value" id="X%j!o4/4cvnH?_-=y8W-">
                                    <field name="ATTR">val</field>
                                    <field name="OID">0_userdata.0.Testordner.Kinderzimmer_temp_Heizung</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_boolean" id="O=x2`^..rQlbo?6Ng!xs">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_compare" id="BV^sU|2@;Fh{+tPIUP6*">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="get_value" id="+=iCY2C6oN%.dQ/^kxe{">
                                    <field name="ATTR">val</field>
                                    <field name="OID">0_userdata.0.Testordner.Schalfzimmer_temp_Heizung</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_boolean" id="Hsk~I1ACC%z$h!rX)wHd">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_compare" id="Yu*GN1tHPn|]JAtxBnAd">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="get_value" id="N;ZrYsp838;u5R=`Lh`H">
                                <field name="ATTR">val</field>
                                <field name="OID">0_userdata.0.Testordner.Wohnzimmer_temp_Wohnzimmer</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_boolean" id="0h4:VOw~9d0+03^9HqNd">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO1">
                      <block type="control" id="QGsS]+Dr|0`!9]b]Eo0Z">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">sonoff.0.Temparature_wohnzimmer(TH10).POWER</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="%=;;af{H(h7mui7rXqo+">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </statement>
              </block>
            </xml>
            
            CinimodC 1 Reply Last reply
            0
            • I ingenii

              @cinimod
              es steuert nur Falsch

              <xml xmlns="https://developers.google.com/blockly/xml">
                <variables>
                  <variable id="8YSUs.sSyApb+.X)hAKj">Wert</variable>
                </variables>
                <block type="on_ext" id="PbE+r6ibR_B!K.FQ}Fa$" x="-20" y="-547">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="3"></mutation>
                  <field name="CONDITION">ne</field>
                  <field name="ACK_CONDITION"></field>
                  <value name="OID0">
                    <shadow type="field_oid" id="R*u+`^~1q(-5RFx%o(wQ">
                      <field name="oid">0_userdata.0.Testordner.Kinderzimmer_temp_Heizung</field>
                    </shadow>
                  </value>
                  <value name="OID1">
                    <shadow type="field_oid" id="d(7kaO!c#|rUIt#UbB={">
                      <field name="oid">0_userdata.0.Testordner.Schalfzimmer_temp_Heizung</field>
                    </shadow>
                  </value>
                  <value name="OID2">
                    <shadow type="field_oid" id="%,@ga-xK38tS$Zg=d_y0">
                      <field name="oid">0_userdata.0.Testordner.Wohnzimmer_temp_Wohnzimmer</field>
                    </shadow>
                  </value>
                  <statement name="STATEMENT">
                    <block type="controls_if" id="r*B?@=L`.guY]MLJ.H@.">
                      <mutation elseif="1"></mutation>
                      <value name="IF0">
                        <block type="variables_get" id="k+E7_WDJK*^j!|vQNZ/*">
                          <field name="VAR" id="8YSUs.sSyApb+.X)hAKj">Wert</field>
                        </block>
                      </value>
                      <statement name="DO0">
                        <block type="control" id="B=1I|N7S`4~26PlSAQ-%">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">sonoff.0.Temparature_wohnzimmer(TH10).POWER</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="y3;43=:xLQ(0wRm`(^`}">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                        </block>
                      </statement>
                      <value name="IF1">
                        <block type="logic_operation" id="}2~Ew~gv@IZK*(xct$ew" inline="false">
                          <field name="OP">AND</field>
                          <value name="A">
                            <block type="logic_operation" id=",`JZOgL5aBSu8HVPZ0NW" inline="false">
                              <field name="OP">AND</field>
                              <value name="A">
                                <block type="logic_compare" id="r//HYzBmYjm~s0OP1M`z">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="get_value" id="X%j!o4/4cvnH?_-=y8W-">
                                      <field name="ATTR">val</field>
                                      <field name="OID">0_userdata.0.Testordner.Kinderzimmer_temp_Heizung</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id="O=x2`^..rQlbo?6Ng!xs">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_compare" id="BV^sU|2@;Fh{+tPIUP6*">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="get_value" id="+=iCY2C6oN%.dQ/^kxe{">
                                      <field name="ATTR">val</field>
                                      <field name="OID">0_userdata.0.Testordner.Schalfzimmer_temp_Heizung</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id="Hsk~I1ACC%z$h!rX)wHd">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_compare" id="Yu*GN1tHPn|]JAtxBnAd">
                              <field name="OP">EQ</field>
                              <value name="A">
                                <block type="get_value" id="N;ZrYsp838;u5R=`Lh`H">
                                  <field name="ATTR">val</field>
                                  <field name="OID">0_userdata.0.Testordner.Wohnzimmer_temp_Wohnzimmer</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_boolean" id="0h4:VOw~9d0+03^9HqNd">
                                  <field name="BOOL">FALSE</field>
                                </block>
                              </value>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO1">
                        <block type="control" id="QGsS]+Dr|0`!9]b]Eo0Z">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">sonoff.0.Temparature_wohnzimmer(TH10).POWER</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="%=;;af{H(h7mui7rXqo+">
                              <field name="BOOL">FALSE</field>
                            </block>
                          </value>
                        </block>
                      </statement>
                    </block>
                  </statement>
                </block>
              </xml>
              
              CinimodC Offline
              CinimodC Offline
              Cinimod
              Most Active
              wrote on last edited by Cinimod
              #53

              @ingenii

              seltsam, sollte eigentlich gehen, dachte ich zumindest ...

              sind deine selbst erstellten Datenpunkte type boolean (logikwert) ?

              dann mach es so :

              <xml xmlns="https://developers.google.com/blockly/xml">
               <block type="on_ext" id="PbE+r6ibR_B!K.FQ}Fa$" x="-20" y="-547">
                 <mutation xmlns="http://www.w3.org/1999/xhtml" items="3"></mutation>
                 <field name="CONDITION">ne</field>
                 <field name="ACK_CONDITION"></field>
                 <value name="OID0">
                   <shadow type="field_oid" id="R*u+`^~1q(-5RFx%o(wQ">
                     <field name="oid">0_userdata.0.Testordner.Kinderzimmer_temp_Heizung</field>
                   </shadow>
                 </value>
                 <value name="OID1">
                   <shadow type="field_oid" id="d(7kaO!c#|rUIt#UbB={">
                     <field name="oid">0_userdata.0.Testordner.Schalfzimmer_temp_Heizung</field>
                   </shadow>
                 </value>
                 <value name="OID2">
                   <shadow type="field_oid" id="%,@ga-xK38tS$Zg=d_y0">
                     <field name="oid">0_userdata.0.Testordner.Wohnzimmer_temp_Wohnzimmer</field>
                   </shadow>
                 </value>
                 <statement name="STATEMENT">
                   <block type="controls_if" id="r*B?@=L`.guY]MLJ.H@.">
                     <mutation elseif="1"></mutation>
                     <value name="IF0">
                       <block type="logic_operation" id="HX[~7p30kaYu$)lN#N?|" inline="false">
                         <field name="OP">OR</field>
                         <value name="A">
                           <block type="logic_operation" id="(1lKe/~%[/ym5C0WEI+)" inline="false">
                             <field name="OP">OR</field>
                             <value name="A">
                               <block type="logic_compare" id="hJ?OQP@wN3Qj7(`eg2RC">
                                 <field name="OP">EQ</field>
                                 <value name="A">
                                   <block type="get_value" id="=a~[{q/wL_8NvB0GYBKy">
                                     <field name="ATTR">val</field>
                                     <field name="OID">0_userdata.0.Testordner.Kinderzimmer_temp_Heizung</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="logic_boolean" id="~)rU]Uf|RxwC*L;6:-ob">
                                     <field name="BOOL">TRUE</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <value name="B">
                               <block type="logic_compare" id=":Sq$w}$5=)O`pmo=2yf;">
                                 <field name="OP">EQ</field>
                                 <value name="A">
                                   <block type="get_value" id="AkjL]g},C{TRi-.EI~bP">
                                     <field name="ATTR">val</field>
                                     <field name="OID">0_userdata.0.Testordner.Schalfzimmer_temp_Heizung</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="logic_boolean" id=";Dgi8Kou1OA5*{Kno*:B">
                                     <field name="BOOL">TRUE</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                           </block>
                         </value>
                         <value name="B">
                           <block type="logic_compare" id="(d7~t,DzVnE%Uw?Vdt1D">
                             <field name="OP">EQ</field>
                             <value name="A">
                               <block type="get_value" id="lCutf)+r1!K)FN7WmI![">
                                 <field name="ATTR">val</field>
                                 <field name="OID">0_userdata.0.Testordner.Wohnzimmer_temp_Wohnzimmer</field>
                               </block>
                             </value>
                             <value name="B">
                               <block type="logic_boolean" id="8?~ty)5jrT/G=W1G0Y,7">
                                 <field name="BOOL">TRUE</field>
                               </block>
                             </value>
                           </block>
                         </value>
                       </block>
                     </value>
                     <statement name="DO0">
                       <block type="control" id="B=1I|N7S`4~26PlSAQ-%">
                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                         <field name="OID">sonoff.0.Temparature_wohnzimmer(TH10).POWER</field>
                         <field name="WITH_DELAY">FALSE</field>
                         <value name="VALUE">
                           <block type="logic_boolean" id="y3;43=:xLQ(0wRm`(^`}">
                             <field name="BOOL">TRUE</field>
                           </block>
                         </value>
                       </block>
                     </statement>
                     <value name="IF1">
                       <block type="logic_operation" id="}2~Ew~gv@IZK*(xct$ew" inline="false">
                         <field name="OP">AND</field>
                         <value name="A">
                           <block type="logic_operation" id=",`JZOgL5aBSu8HVPZ0NW" inline="false">
                             <field name="OP">AND</field>
                             <value name="A">
                               <block type="logic_compare" id="r//HYzBmYjm~s0OP1M`z">
                                 <field name="OP">EQ</field>
                                 <value name="A">
                                   <block type="get_value" id="X%j!o4/4cvnH?_-=y8W-">
                                     <field name="ATTR">val</field>
                                     <field name="OID">0_userdata.0.Testordner.Kinderzimmer_temp_Heizung</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="logic_boolean" id="O=x2`^..rQlbo?6Ng!xs">
                                     <field name="BOOL">FALSE</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <value name="B">
                               <block type="logic_compare" id="BV^sU|2@;Fh{+tPIUP6*">
                                 <field name="OP">EQ</field>
                                 <value name="A">
                                   <block type="get_value" id="+=iCY2C6oN%.dQ/^kxe{">
                                     <field name="ATTR">val</field>
                                     <field name="OID">0_userdata.0.Testordner.Schalfzimmer_temp_Heizung</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="logic_boolean" id="Hsk~I1ACC%z$h!rX)wHd">
                                     <field name="BOOL">FALSE</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                           </block>
                         </value>
                         <value name="B">
                           <block type="logic_compare" id="Yu*GN1tHPn|]JAtxBnAd">
                             <field name="OP">EQ</field>
                             <value name="A">
                               <block type="get_value" id="N;ZrYsp838;u5R=`Lh`H">
                                 <field name="ATTR">val</field>
                                 <field name="OID">0_userdata.0.Testordner.Wohnzimmer_temp_Wohnzimmer</field>
                               </block>
                             </value>
                             <value name="B">
                               <block type="logic_boolean" id="0h4:VOw~9d0+03^9HqNd">
                                 <field name="BOOL">FALSE</field>
                               </block>
                             </value>
                           </block>
                         </value>
                       </block>
                     </value>
                     <statement name="DO1">
                       <block type="control" id="QGsS]+Dr|0`!9]b]Eo0Z">
                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                         <field name="OID">sonoff.0.Temparature_wohnzimmer(TH10).POWER</field>
                         <field name="WITH_DELAY">FALSE</field>
                         <value name="VALUE">
                           <block type="logic_boolean" id="%=;;af{H(h7mui7rXqo+">
                             <field name="BOOL">FALSE</field>
                           </block>
                         </value>
                       </block>
                     </statement>
                   </block>
                 </statement>
               </block>
              </xml>
              

              Synology DS918+, Fritzbox 6690 Cable, #Docker #Blockly #Vis2 #Deconz #Tasmota

              I 2 Replies Last reply
              0
              • CinimodC Cinimod

                @ingenii

                seltsam, sollte eigentlich gehen, dachte ich zumindest ...

                sind deine selbst erstellten Datenpunkte type boolean (logikwert) ?

                dann mach es so :

                <xml xmlns="https://developers.google.com/blockly/xml">
                 <block type="on_ext" id="PbE+r6ibR_B!K.FQ}Fa$" x="-20" y="-547">
                   <mutation xmlns="http://www.w3.org/1999/xhtml" items="3"></mutation>
                   <field name="CONDITION">ne</field>
                   <field name="ACK_CONDITION"></field>
                   <value name="OID0">
                     <shadow type="field_oid" id="R*u+`^~1q(-5RFx%o(wQ">
                       <field name="oid">0_userdata.0.Testordner.Kinderzimmer_temp_Heizung</field>
                     </shadow>
                   </value>
                   <value name="OID1">
                     <shadow type="field_oid" id="d(7kaO!c#|rUIt#UbB={">
                       <field name="oid">0_userdata.0.Testordner.Schalfzimmer_temp_Heizung</field>
                     </shadow>
                   </value>
                   <value name="OID2">
                     <shadow type="field_oid" id="%,@ga-xK38tS$Zg=d_y0">
                       <field name="oid">0_userdata.0.Testordner.Wohnzimmer_temp_Wohnzimmer</field>
                     </shadow>
                   </value>
                   <statement name="STATEMENT">
                     <block type="controls_if" id="r*B?@=L`.guY]MLJ.H@.">
                       <mutation elseif="1"></mutation>
                       <value name="IF0">
                         <block type="logic_operation" id="HX[~7p30kaYu$)lN#N?|" inline="false">
                           <field name="OP">OR</field>
                           <value name="A">
                             <block type="logic_operation" id="(1lKe/~%[/ym5C0WEI+)" inline="false">
                               <field name="OP">OR</field>
                               <value name="A">
                                 <block type="logic_compare" id="hJ?OQP@wN3Qj7(`eg2RC">
                                   <field name="OP">EQ</field>
                                   <value name="A">
                                     <block type="get_value" id="=a~[{q/wL_8NvB0GYBKy">
                                       <field name="ATTR">val</field>
                                       <field name="OID">0_userdata.0.Testordner.Kinderzimmer_temp_Heizung</field>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="logic_boolean" id="~)rU]Uf|RxwC*L;6:-ob">
                                       <field name="BOOL">TRUE</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="logic_compare" id=":Sq$w}$5=)O`pmo=2yf;">
                                   <field name="OP">EQ</field>
                                   <value name="A">
                                     <block type="get_value" id="AkjL]g},C{TRi-.EI~bP">
                                       <field name="ATTR">val</field>
                                       <field name="OID">0_userdata.0.Testordner.Schalfzimmer_temp_Heizung</field>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="logic_boolean" id=";Dgi8Kou1OA5*{Kno*:B">
                                       <field name="BOOL">TRUE</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <value name="B">
                             <block type="logic_compare" id="(d7~t,DzVnE%Uw?Vdt1D">
                               <field name="OP">EQ</field>
                               <value name="A">
                                 <block type="get_value" id="lCutf)+r1!K)FN7WmI![">
                                   <field name="ATTR">val</field>
                                   <field name="OID">0_userdata.0.Testordner.Wohnzimmer_temp_Wohnzimmer</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="logic_boolean" id="8?~ty)5jrT/G=W1G0Y,7">
                                   <field name="BOOL">TRUE</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                         </block>
                       </value>
                       <statement name="DO0">
                         <block type="control" id="B=1I|N7S`4~26PlSAQ-%">
                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                           <field name="OID">sonoff.0.Temparature_wohnzimmer(TH10).POWER</field>
                           <field name="WITH_DELAY">FALSE</field>
                           <value name="VALUE">
                             <block type="logic_boolean" id="y3;43=:xLQ(0wRm`(^`}">
                               <field name="BOOL">TRUE</field>
                             </block>
                           </value>
                         </block>
                       </statement>
                       <value name="IF1">
                         <block type="logic_operation" id="}2~Ew~gv@IZK*(xct$ew" inline="false">
                           <field name="OP">AND</field>
                           <value name="A">
                             <block type="logic_operation" id=",`JZOgL5aBSu8HVPZ0NW" inline="false">
                               <field name="OP">AND</field>
                               <value name="A">
                                 <block type="logic_compare" id="r//HYzBmYjm~s0OP1M`z">
                                   <field name="OP">EQ</field>
                                   <value name="A">
                                     <block type="get_value" id="X%j!o4/4cvnH?_-=y8W-">
                                       <field name="ATTR">val</field>
                                       <field name="OID">0_userdata.0.Testordner.Kinderzimmer_temp_Heizung</field>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="logic_boolean" id="O=x2`^..rQlbo?6Ng!xs">
                                       <field name="BOOL">FALSE</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="logic_compare" id="BV^sU|2@;Fh{+tPIUP6*">
                                   <field name="OP">EQ</field>
                                   <value name="A">
                                     <block type="get_value" id="+=iCY2C6oN%.dQ/^kxe{">
                                       <field name="ATTR">val</field>
                                       <field name="OID">0_userdata.0.Testordner.Schalfzimmer_temp_Heizung</field>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="logic_boolean" id="Hsk~I1ACC%z$h!rX)wHd">
                                       <field name="BOOL">FALSE</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <value name="B">
                             <block type="logic_compare" id="Yu*GN1tHPn|]JAtxBnAd">
                               <field name="OP">EQ</field>
                               <value name="A">
                                 <block type="get_value" id="N;ZrYsp838;u5R=`Lh`H">
                                   <field name="ATTR">val</field>
                                   <field name="OID">0_userdata.0.Testordner.Wohnzimmer_temp_Wohnzimmer</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="logic_boolean" id="0h4:VOw~9d0+03^9HqNd">
                                   <field name="BOOL">FALSE</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                         </block>
                       </value>
                       <statement name="DO1">
                         <block type="control" id="QGsS]+Dr|0`!9]b]Eo0Z">
                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                           <field name="OID">sonoff.0.Temparature_wohnzimmer(TH10).POWER</field>
                           <field name="WITH_DELAY">FALSE</field>
                           <value name="VALUE">
                             <block type="logic_boolean" id="%=;;af{H(h7mui7rXqo+">
                               <field name="BOOL">FALSE</field>
                             </block>
                           </value>
                         </block>
                       </statement>
                     </block>
                   </statement>
                 </block>
                </xml>
                

                I Offline
                I Offline
                ingenii
                wrote on last edited by
                #54

                @cinimod
                Danke muss ich schon schlafen gehen, mach ich morgen weiter, nur zu Info es schaltet bei Wohnzimmer AN und AUS, das ist schon super.

                <Danke

                1 Reply Last reply
                0
                • CinimodC Cinimod

                  @ingenii

                  seltsam, sollte eigentlich gehen, dachte ich zumindest ...

                  sind deine selbst erstellten Datenpunkte type boolean (logikwert) ?

                  dann mach es so :

                  <xml xmlns="https://developers.google.com/blockly/xml">
                   <block type="on_ext" id="PbE+r6ibR_B!K.FQ}Fa$" x="-20" y="-547">
                     <mutation xmlns="http://www.w3.org/1999/xhtml" items="3"></mutation>
                     <field name="CONDITION">ne</field>
                     <field name="ACK_CONDITION"></field>
                     <value name="OID0">
                       <shadow type="field_oid" id="R*u+`^~1q(-5RFx%o(wQ">
                         <field name="oid">0_userdata.0.Testordner.Kinderzimmer_temp_Heizung</field>
                       </shadow>
                     </value>
                     <value name="OID1">
                       <shadow type="field_oid" id="d(7kaO!c#|rUIt#UbB={">
                         <field name="oid">0_userdata.0.Testordner.Schalfzimmer_temp_Heizung</field>
                       </shadow>
                     </value>
                     <value name="OID2">
                       <shadow type="field_oid" id="%,@ga-xK38tS$Zg=d_y0">
                         <field name="oid">0_userdata.0.Testordner.Wohnzimmer_temp_Wohnzimmer</field>
                       </shadow>
                     </value>
                     <statement name="STATEMENT">
                       <block type="controls_if" id="r*B?@=L`.guY]MLJ.H@.">
                         <mutation elseif="1"></mutation>
                         <value name="IF0">
                           <block type="logic_operation" id="HX[~7p30kaYu$)lN#N?|" inline="false">
                             <field name="OP">OR</field>
                             <value name="A">
                               <block type="logic_operation" id="(1lKe/~%[/ym5C0WEI+)" inline="false">
                                 <field name="OP">OR</field>
                                 <value name="A">
                                   <block type="logic_compare" id="hJ?OQP@wN3Qj7(`eg2RC">
                                     <field name="OP">EQ</field>
                                     <value name="A">
                                       <block type="get_value" id="=a~[{q/wL_8NvB0GYBKy">
                                         <field name="ATTR">val</field>
                                         <field name="OID">0_userdata.0.Testordner.Kinderzimmer_temp_Heizung</field>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="logic_boolean" id="~)rU]Uf|RxwC*L;6:-ob">
                                         <field name="BOOL">TRUE</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="logic_compare" id=":Sq$w}$5=)O`pmo=2yf;">
                                     <field name="OP">EQ</field>
                                     <value name="A">
                                       <block type="get_value" id="AkjL]g},C{TRi-.EI~bP">
                                         <field name="ATTR">val</field>
                                         <field name="OID">0_userdata.0.Testordner.Schalfzimmer_temp_Heizung</field>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="logic_boolean" id=";Dgi8Kou1OA5*{Kno*:B">
                                         <field name="BOOL">TRUE</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <value name="B">
                               <block type="logic_compare" id="(d7~t,DzVnE%Uw?Vdt1D">
                                 <field name="OP">EQ</field>
                                 <value name="A">
                                   <block type="get_value" id="lCutf)+r1!K)FN7WmI![">
                                     <field name="ATTR">val</field>
                                     <field name="OID">0_userdata.0.Testordner.Wohnzimmer_temp_Wohnzimmer</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="logic_boolean" id="8?~ty)5jrT/G=W1G0Y,7">
                                     <field name="BOOL">TRUE</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO0">
                           <block type="control" id="B=1I|N7S`4~26PlSAQ-%">
                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                             <field name="OID">sonoff.0.Temparature_wohnzimmer(TH10).POWER</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="logic_boolean" id="y3;43=:xLQ(0wRm`(^`}">
                                 <field name="BOOL">TRUE</field>
                               </block>
                             </value>
                           </block>
                         </statement>
                         <value name="IF1">
                           <block type="logic_operation" id="}2~Ew~gv@IZK*(xct$ew" inline="false">
                             <field name="OP">AND</field>
                             <value name="A">
                               <block type="logic_operation" id=",`JZOgL5aBSu8HVPZ0NW" inline="false">
                                 <field name="OP">AND</field>
                                 <value name="A">
                                   <block type="logic_compare" id="r//HYzBmYjm~s0OP1M`z">
                                     <field name="OP">EQ</field>
                                     <value name="A">
                                       <block type="get_value" id="X%j!o4/4cvnH?_-=y8W-">
                                         <field name="ATTR">val</field>
                                         <field name="OID">0_userdata.0.Testordner.Kinderzimmer_temp_Heizung</field>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="logic_boolean" id="O=x2`^..rQlbo?6Ng!xs">
                                         <field name="BOOL">FALSE</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="logic_compare" id="BV^sU|2@;Fh{+tPIUP6*">
                                     <field name="OP">EQ</field>
                                     <value name="A">
                                       <block type="get_value" id="+=iCY2C6oN%.dQ/^kxe{">
                                         <field name="ATTR">val</field>
                                         <field name="OID">0_userdata.0.Testordner.Schalfzimmer_temp_Heizung</field>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="logic_boolean" id="Hsk~I1ACC%z$h!rX)wHd">
                                         <field name="BOOL">FALSE</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <value name="B">
                               <block type="logic_compare" id="Yu*GN1tHPn|]JAtxBnAd">
                                 <field name="OP">EQ</field>
                                 <value name="A">
                                   <block type="get_value" id="N;ZrYsp838;u5R=`Lh`H">
                                     <field name="ATTR">val</field>
                                     <field name="OID">0_userdata.0.Testordner.Wohnzimmer_temp_Wohnzimmer</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="logic_boolean" id="0h4:VOw~9d0+03^9HqNd">
                                     <field name="BOOL">FALSE</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO1">
                           <block type="control" id="QGsS]+Dr|0`!9]b]Eo0Z">
                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                             <field name="OID">sonoff.0.Temparature_wohnzimmer(TH10).POWER</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="logic_boolean" id="%=;;af{H(h7mui7rXqo+">
                                 <field name="BOOL">FALSE</field>
                               </block>
                             </value>
                           </block>
                         </statement>
                       </block>
                     </statement>
                   </block>
                  </xml>
                  

                  I Offline
                  I Offline
                  ingenii
                  wrote on last edited by
                  #55

                  @cinimod

                  Hallo,
                  heute getestet Funkcionier perfekt, ich muss jetzt für jeder zimmer (jetzt sind das 4räume) ein Thermostat bestellen zum einstellen direkt.Script anpassen und Fertig.
                  am anfang hast du mich gefragt wie das mit licht so funktioniert kann.
                  in jeden zimmer hab ich T3 von sonoff ,1 Licht ,2 Rollo Auf und 3 Rollo Zu
                  mein einfaches Script:
                  rollo.JPG
                  Bis jetzt kein Problem da mit, ich glaub wen da in eine Richtung geht ist das kein Problem, ich schalte wand Schalter mit Sonoff dual in Rollo.
                  Noch einamal Danke

                  CinimodC 1 Reply Last reply
                  0
                  • I ingenii

                    @cinimod

                    Hallo,
                    heute getestet Funkcionier perfekt, ich muss jetzt für jeder zimmer (jetzt sind das 4räume) ein Thermostat bestellen zum einstellen direkt.Script anpassen und Fertig.
                    am anfang hast du mich gefragt wie das mit licht so funktioniert kann.
                    in jeden zimmer hab ich T3 von sonoff ,1 Licht ,2 Rollo Auf und 3 Rollo Zu
                    mein einfaches Script:
                    rollo.JPG
                    Bis jetzt kein Problem da mit, ich glaub wen da in eine Richtung geht ist das kein Problem, ich schalte wand Schalter mit Sonoff dual in Rollo.
                    Noch einamal Danke

                    CinimodC Offline
                    CinimodC Offline
                    Cinimod
                    Most Active
                    wrote on last edited by Cinimod
                    #56

                    @ingenii

                    Ja witzig, ich hatte es zufällig gestern noch bei jemandem anderem gesehen.

                    Ich habe noch nie mit dem Block gearbeitet, aber offenbar ist das der einzige Block der tatsächlich keinen Trigger braucht um zu reagieren. Musste erstmal Google´n was mit dem los ist :innocent:

                    Auch wieder was gelernt ... :grinning: :+1: Werde ich jetzt bestimmt auch mal nutzen

                    Synology DS918+, Fritzbox 6690 Cable, #Docker #Blockly #Vis2 #Deconz #Tasmota

                    I 1 Reply Last reply
                    0
                    • CinimodC Cinimod

                      @ingenii

                      Ja witzig, ich hatte es zufällig gestern noch bei jemandem anderem gesehen.

                      Ich habe noch nie mit dem Block gearbeitet, aber offenbar ist das der einzige Block der tatsächlich keinen Trigger braucht um zu reagieren. Musste erstmal Google´n was mit dem los ist :innocent:

                      Auch wieder was gelernt ... :grinning: :+1: Werde ich jetzt bestimmt auch mal nutzen

                      I Offline
                      I Offline
                      ingenii
                      wrote on last edited by
                      #57

                      @cinimod
                      ist mir jetzt eingefallen ideal ist der Script sicher nicht, besser wehre wen ein Fenster offen ist sollte gewunste Temperatur auf zb.12 Grad umstellen, aber ich für mich das da auch super :+1:

                      CinimodC 1 Reply Last reply
                      0
                      • I ingenii

                        @cinimod
                        ist mir jetzt eingefallen ideal ist der Script sicher nicht, besser wehre wen ein Fenster offen ist sollte gewunste Temperatur auf zb.12 Grad umstellen, aber ich für mich das da auch super :+1:

                        CinimodC Offline
                        CinimodC Offline
                        Cinimod
                        Most Active
                        wrote on last edited by
                        #58

                        @ingenii das lässt sich ja leicht ändern :wink:

                        Synology DS918+, Fritzbox 6690 Cable, #Docker #Blockly #Vis2 #Deconz #Tasmota

                        I 2 Replies Last reply
                        0
                        • CinimodC Cinimod

                          @ingenii das lässt sich ja leicht ändern :wink:

                          I Offline
                          I Offline
                          ingenii
                          wrote on last edited by ingenii
                          #59

                          @cinimod
                          Hallo ,
                          meine Lieferung von Homematic ist nicht gekommen dann bin ich nur Provisorium aufgebaut und ich hab Geist schalterrung Troc Alle in Datenpunk auf False sind.
                          Danke für jeder Tip

                          r08.1.JPG
                          R08.JPG

                          1 Reply Last reply
                          0
                          • CinimodC Cinimod

                            @ingenii das lässt sich ja leicht ändern :wink:

                            I Offline
                            I Offline
                            ingenii
                            wrote on last edited by ingenii
                            #60

                            @cinimod
                            Mein Konfig:
                            datenpunkt.JPG

                            Kinderzimmer:

                            <xml xmlns="https://developers.google.com/blockly/xml">
                              <variables>
                                <variable id="SIGD6q1KUTGFjp#3gO^{">offene Fenster</variable>
                              </variables>
                              <block type="comment" id="_9LVB+mDFTm*bn-vUbQ{" x="-88" y="-1062">
                                <field name="COMMENT">Kinderzimmer</field>
                                <next>
                                  <block type="on_ext" id="K,WN,pgM_?_@X4vx9kNn">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="5"></mutation>
                                    <field name="CONDITION">ne</field>
                                    <field name="ACK_CONDITION"></field>
                                    <value name="OID0">
                                      <shadow type="field_oid" id="g^#UD(O)#46O[YL/yhiu">
                                        <field name="oid">sonoff.0.ZigBee_Bridge1.ZbReceived_0x1123_Contact</field>
                                      </shadow>
                                    </value>
                                    <value name="OID1">
                                      <shadow type="field_oid" id="GR{OtJXvaxmJ/8frKVV5">
                                        <field name="oid">sonoff.0.ZigBee_Bridge1.ZbReceived_0x5982_Contact</field>
                                      </shadow>
                                    </value>
                                    <value name="OID2">
                                      <shadow type="field_oid" id="AaDu2IdLTc;_8Y^(=#1u">
                                        <field name="oid">sonoff.0.ZigBee_Bridge1.ZbReceived_0x600E_Contact</field>
                                      </shadow>
                                    </value>
                                    <value name="OID3">
                                      <shadow type="field_oid" id="gz?y}5:(-k]7M;_c)L@c">
                                        <field name="oid">sonoff.0.ZigBee_Bridge1.ZbReceived_0x20A3_Contact</field>
                                      </shadow>
                                    </value>
                                    <value name="OID4">
                                      <shadow type="field_oid" id="f,#bPavRADQa!^9vgT;r">
                                        <field name="oid">sonoff.0.ZigBee_Bridge1.ZbReceived_0xD449_Contact</field>
                                      </shadow>
                                    </value>
                                    <statement name="STATEMENT">
                                      <block type="controls_if" id="zr))xYp5q6uk7gWR:FLp">
                                        <mutation elseif="1"></mutation>
                                        <value name="IF0">
                                          <block type="logic_compare" id="(%ip:yl;!KUbNeYJO=Q.">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="on_source" id="IQvqF`Ea*52V%WOo$(BG">
                                                <field name="ATTR">state.val</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="YaM59`_}h-7w]wlp%rz]">
                                                <field name="NUM">1</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="control" id="hS]=O?t$f/y`yv?xV.9v">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">0_userdata.0.Testordner.Kinderzimmer_temp_Heizung</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="@WvR96o@/GT_W,v[-k@;">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id="]qW3c_5Vo7}]mwMJaX]u">
                                                <field name="VAR" id="SIGD6q1KUTGFjp#3gO^{">offene Fenster</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="%|=KaL92,D:1}t?+_kh@">
                                                    <field name="BOOL">TRUE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                        <value name="IF1">
                                          <block type="logic_operation" id="NI74tl{Cv%y2nnZ2mq(_" inline="false">
                                            <field name="OP">AND</field>
                                            <value name="A">
                                              <block type="logic_operation" id="nBhW:|6IjFd#]:==r9MT" inline="false">
                                                <field name="OP">AND</field>
                                                <value name="A">
                                                  <block type="logic_operation" id="TzDrBAgL)l{6h%e)Nbix" inline="false">
                                                    <field name="OP">AND</field>
                                                    <value name="A">
                                                      <block type="logic_compare" id="H-by~#=i7qLd];I!ss,u">
                                                        <field name="OP">EQ</field>
                                                        <value name="A">
                                                          <block type="get_value" id="G{e*#Ck_W4)[t!9NfppK">
                                                            <field name="ATTR">val</field>
                                                            <field name="OID">sonoff.0.ZigBee_Bridge1.ZbReceived_0x1123_Contact</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="math_number" id="tV{:u[3b2[XI5;6o#uwv">
                                                            <field name="NUM">0</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_compare" id="(Bj)7ZJ(0pgXXEA`sjl4">
                                                        <field name="OP">EQ</field>
                                                        <value name="A">
                                                          <block type="get_value" id="CN}w9(9wU2-hnR|}zN~M">
                                                            <field name="ATTR">val</field>
                                                            <field name="OID">sonoff.0.ZigBee_Bridge1.ZbReceived_0x5982_Contact</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="math_number" id="qxF?+P?(5WT4+Zh~VDzH">
                                                            <field name="NUM">0</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_operation" id="iAW5jBZ|80_MVv0zs#04" inline="false">
                                                    <field name="OP">AND</field>
                                                    <value name="A">
                                                      <block type="logic_compare" id="=FJ$#)NF)p%K+ci}.G+{">
                                                        <field name="OP">EQ</field>
                                                        <value name="A">
                                                          <block type="get_value" id="b0E:[G*)^Jkwfko9)-UG">
                                                            <field name="ATTR">val</field>
                                                            <field name="OID">sonoff.0.ZigBee_Bridge1.ZbReceived_0x600E_Contact</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="math_number" id="y@6zGn;xb0N/DCub4E+j">
                                                            <field name="NUM">0</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_compare" id="7uPMqgWG]Q790FDLTidp">
                                                        <field name="OP">EQ</field>
                                                        <value name="A">
                                                          <block type="get_value" id="5o;cwewhu(gE!B3`kDDT">
                                                            <field name="ATTR">val</field>
                                                            <field name="OID">sonoff.0.ZigBee_Bridge1.ZbReceived_0x20A3_Contact</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="math_number" id="]T=$eX#l;JqAc9b,Y}+*">
                                                            <field name="NUM">0</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_compare" id="(OQ76rw~]R]9Q_P/kA`V">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="get_value" id="R-*;=g!1Qh_#Zl_G0VM4">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">sonoff.0.ZigBee_Bridge1.ZbReceived_0xD449_Contact</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="aeH:*7-Gn3!c~HF5au^!">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO1">
                                          <block type="variables_set" id="ceR.;izW_r3Ty20RG_EX">
                                            <field name="VAR" id="SIGD6q1KUTGFjp#3gO^{">offene Fenster</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="D=!E,]q}FEHKUapa+q=2">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </statement>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="on_ext" id="PbE+r6ibR_B!K.FQ}Fa$">
                                        <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="R*u+`^~1q(-5RFx%o(wQ">
                                            <field name="oid">sonoff.0.Temparature_kinderzimmer(TH10).AM2301_Temperature</field>
                                          </shadow>
                                        </value>
                                        <value name="OID1">
                                          <shadow type="field_oid" id="%,@ga-xK38tS$Zg=d_y0">
                                            <field name="oid">hm-rpc.1.000A1D8998382C.1.SET_POINT_TEMPERATURE</field>
                                          </shadow>
                                        </value>
                                        <statement name="STATEMENT">
                                          <block type="controls_if" id="r*B?@=L`.guY]MLJ.H@.">
                                            <mutation elseif="1"></mutation>
                                            <value name="IF0">
                                              <block type="logic_operation" id="}2~Ew~gv@IZK*(xct$ew" inline="false">
                                                <field name="OP">AND</field>
                                                <value name="A">
                                                  <block type="logic_compare" id="r//HYzBmYjm~s0OP1M`z">
                                                    <field name="OP">LT</field>
                                                    <value name="A">
                                                      <block type="get_value" id="X%j!o4/4cvnH?_-=y8W-">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">sonoff.0.Temparature_kinderzimmer(TH10).AM2301_Temperature</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="get_value" id="JTFkdm].gf$UMbo%^75a">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">hm-rpc.1.000A1D8998382C.1.SET_POINT_TEMPERATURE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_negate" id="uy%HA(W4G:,?!bqWeHm%">
                                                    <value name="BOOL">
                                                      <block type="variables_get" id="d.x;V!*lz-mDZx7[Wa;a">
                                                        <field name="VAR" id="SIGD6q1KUTGFjp#3gO^{">offene Fenster</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="control" id="#5GKyB|4=F4zr^[k^cQk">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">0_userdata.0.Testordner.Kinderzimmer_temp_Heizung</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="wjLU9dHN#h7Y?!IU[;}G">
                                                    <field name="BOOL">TRUE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </statement>
                                            <value name="IF1">
                                              <block type="logic_compare" id="9ky*iEK/IP-4$]#(bfJ3">
                                                <field name="OP">GT</field>
                                                <value name="A">
                                                  <block type="get_value" id="bGYSrX7HR^lxGJ)+x_#p">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">sonoff.0.Temparature_kinderzimmer(TH10).AM2301_Temperature</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="get_value" id="4h}L8%1PBaP2pIb3+y=z">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">hm-rpc.1.000A1D8998382C.1.SET_POINT_TEMPERATURE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO1">
                                              <block type="control" id="i@!4wAn+FGd4.YpiNN-=">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">0_userdata.0.Testordner.Kinderzimmer_temp_Heizung</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="ft~;-EU^W[TB:.[I(TFD">
                                                    <field name="BOOL">FALSE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </statement>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </xml>
                            
                            
                            
                            
                            I 2 Replies Last reply
                            0
                            • I ingenii

                              @cinimod
                              Mein Konfig:
                              datenpunkt.JPG

                              Kinderzimmer:

                              <xml xmlns="https://developers.google.com/blockly/xml">
                                <variables>
                                  <variable id="SIGD6q1KUTGFjp#3gO^{">offene Fenster</variable>
                                </variables>
                                <block type="comment" id="_9LVB+mDFTm*bn-vUbQ{" x="-88" y="-1062">
                                  <field name="COMMENT">Kinderzimmer</field>
                                  <next>
                                    <block type="on_ext" id="K,WN,pgM_?_@X4vx9kNn">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" items="5"></mutation>
                                      <field name="CONDITION">ne</field>
                                      <field name="ACK_CONDITION"></field>
                                      <value name="OID0">
                                        <shadow type="field_oid" id="g^#UD(O)#46O[YL/yhiu">
                                          <field name="oid">sonoff.0.ZigBee_Bridge1.ZbReceived_0x1123_Contact</field>
                                        </shadow>
                                      </value>
                                      <value name="OID1">
                                        <shadow type="field_oid" id="GR{OtJXvaxmJ/8frKVV5">
                                          <field name="oid">sonoff.0.ZigBee_Bridge1.ZbReceived_0x5982_Contact</field>
                                        </shadow>
                                      </value>
                                      <value name="OID2">
                                        <shadow type="field_oid" id="AaDu2IdLTc;_8Y^(=#1u">
                                          <field name="oid">sonoff.0.ZigBee_Bridge1.ZbReceived_0x600E_Contact</field>
                                        </shadow>
                                      </value>
                                      <value name="OID3">
                                        <shadow type="field_oid" id="gz?y}5:(-k]7M;_c)L@c">
                                          <field name="oid">sonoff.0.ZigBee_Bridge1.ZbReceived_0x20A3_Contact</field>
                                        </shadow>
                                      </value>
                                      <value name="OID4">
                                        <shadow type="field_oid" id="f,#bPavRADQa!^9vgT;r">
                                          <field name="oid">sonoff.0.ZigBee_Bridge1.ZbReceived_0xD449_Contact</field>
                                        </shadow>
                                      </value>
                                      <statement name="STATEMENT">
                                        <block type="controls_if" id="zr))xYp5q6uk7gWR:FLp">
                                          <mutation elseif="1"></mutation>
                                          <value name="IF0">
                                            <block type="logic_compare" id="(%ip:yl;!KUbNeYJO=Q.">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="on_source" id="IQvqF`Ea*52V%WOo$(BG">
                                                  <field name="ATTR">state.val</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="math_number" id="YaM59`_}h-7w]wlp%rz]">
                                                  <field name="NUM">1</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="control" id="hS]=O?t$f/y`yv?xV.9v">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">0_userdata.0.Testordner.Kinderzimmer_temp_Heizung</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="@WvR96o@/GT_W,v[-k@;">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="variables_set" id="]qW3c_5Vo7}]mwMJaX]u">
                                                  <field name="VAR" id="SIGD6q1KUTGFjp#3gO^{">offene Fenster</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="%|=KaL92,D:1}t?+_kh@">
                                                      <field name="BOOL">TRUE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                          <value name="IF1">
                                            <block type="logic_operation" id="NI74tl{Cv%y2nnZ2mq(_" inline="false">
                                              <field name="OP">AND</field>
                                              <value name="A">
                                                <block type="logic_operation" id="nBhW:|6IjFd#]:==r9MT" inline="false">
                                                  <field name="OP">AND</field>
                                                  <value name="A">
                                                    <block type="logic_operation" id="TzDrBAgL)l{6h%e)Nbix" inline="false">
                                                      <field name="OP">AND</field>
                                                      <value name="A">
                                                        <block type="logic_compare" id="H-by~#=i7qLd];I!ss,u">
                                                          <field name="OP">EQ</field>
                                                          <value name="A">
                                                            <block type="get_value" id="G{e*#Ck_W4)[t!9NfppK">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">sonoff.0.ZigBee_Bridge1.ZbReceived_0x1123_Contact</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="math_number" id="tV{:u[3b2[XI5;6o#uwv">
                                                              <field name="NUM">0</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="logic_compare" id="(Bj)7ZJ(0pgXXEA`sjl4">
                                                          <field name="OP">EQ</field>
                                                          <value name="A">
                                                            <block type="get_value" id="CN}w9(9wU2-hnR|}zN~M">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">sonoff.0.ZigBee_Bridge1.ZbReceived_0x5982_Contact</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="math_number" id="qxF?+P?(5WT4+Zh~VDzH">
                                                              <field name="NUM">0</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="logic_operation" id="iAW5jBZ|80_MVv0zs#04" inline="false">
                                                      <field name="OP">AND</field>
                                                      <value name="A">
                                                        <block type="logic_compare" id="=FJ$#)NF)p%K+ci}.G+{">
                                                          <field name="OP">EQ</field>
                                                          <value name="A">
                                                            <block type="get_value" id="b0E:[G*)^Jkwfko9)-UG">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">sonoff.0.ZigBee_Bridge1.ZbReceived_0x600E_Contact</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="math_number" id="y@6zGn;xb0N/DCub4E+j">
                                                              <field name="NUM">0</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="logic_compare" id="7uPMqgWG]Q790FDLTidp">
                                                          <field name="OP">EQ</field>
                                                          <value name="A">
                                                            <block type="get_value" id="5o;cwewhu(gE!B3`kDDT">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">sonoff.0.ZigBee_Bridge1.ZbReceived_0x20A3_Contact</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="math_number" id="]T=$eX#l;JqAc9b,Y}+*">
                                                              <field name="NUM">0</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="logic_compare" id="(OQ76rw~]R]9Q_P/kA`V">
                                                  <field name="OP">EQ</field>
                                                  <value name="A">
                                                    <block type="get_value" id="R-*;=g!1Qh_#Zl_G0VM4">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">sonoff.0.ZigBee_Bridge1.ZbReceived_0xD449_Contact</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="math_number" id="aeH:*7-Gn3!c~HF5au^!">
                                                      <field name="NUM">0</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO1">
                                            <block type="variables_set" id="ceR.;izW_r3Ty20RG_EX">
                                              <field name="VAR" id="SIGD6q1KUTGFjp#3gO^{">offene Fenster</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="D=!E,]q}FEHKUapa+q=2">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </statement>
                                        </block>
                                      </statement>
                                      <next>
                                        <block type="on_ext" id="PbE+r6ibR_B!K.FQ}Fa$">
                                          <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="R*u+`^~1q(-5RFx%o(wQ">
                                              <field name="oid">sonoff.0.Temparature_kinderzimmer(TH10).AM2301_Temperature</field>
                                            </shadow>
                                          </value>
                                          <value name="OID1">
                                            <shadow type="field_oid" id="%,@ga-xK38tS$Zg=d_y0">
                                              <field name="oid">hm-rpc.1.000A1D8998382C.1.SET_POINT_TEMPERATURE</field>
                                            </shadow>
                                          </value>
                                          <statement name="STATEMENT">
                                            <block type="controls_if" id="r*B?@=L`.guY]MLJ.H@.">
                                              <mutation elseif="1"></mutation>
                                              <value name="IF0">
                                                <block type="logic_operation" id="}2~Ew~gv@IZK*(xct$ew" inline="false">
                                                  <field name="OP">AND</field>
                                                  <value name="A">
                                                    <block type="logic_compare" id="r//HYzBmYjm~s0OP1M`z">
                                                      <field name="OP">LT</field>
                                                      <value name="A">
                                                        <block type="get_value" id="X%j!o4/4cvnH?_-=y8W-">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">sonoff.0.Temparature_kinderzimmer(TH10).AM2301_Temperature</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="get_value" id="JTFkdm].gf$UMbo%^75a">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">hm-rpc.1.000A1D8998382C.1.SET_POINT_TEMPERATURE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="logic_negate" id="uy%HA(W4G:,?!bqWeHm%">
                                                      <value name="BOOL">
                                                        <block type="variables_get" id="d.x;V!*lz-mDZx7[Wa;a">
                                                          <field name="VAR" id="SIGD6q1KUTGFjp#3gO^{">offene Fenster</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <statement name="DO0">
                                                <block type="control" id="#5GKyB|4=F4zr^[k^cQk">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">0_userdata.0.Testordner.Kinderzimmer_temp_Heizung</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="wjLU9dHN#h7Y?!IU[;}G">
                                                      <field name="BOOL">TRUE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </statement>
                                              <value name="IF1">
                                                <block type="logic_compare" id="9ky*iEK/IP-4$]#(bfJ3">
                                                  <field name="OP">GT</field>
                                                  <value name="A">
                                                    <block type="get_value" id="bGYSrX7HR^lxGJ)+x_#p">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">sonoff.0.Temparature_kinderzimmer(TH10).AM2301_Temperature</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="get_value" id="4h}L8%1PBaP2pIb3+y=z">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">hm-rpc.1.000A1D8998382C.1.SET_POINT_TEMPERATURE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <statement name="DO1">
                                                <block type="control" id="i@!4wAn+FGd4.YpiNN-=">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">0_userdata.0.Testordner.Kinderzimmer_temp_Heizung</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="ft~;-EU^W[TB:.[I(TFD">
                                                      <field name="BOOL">FALSE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </statement>
                                            </block>
                                          </statement>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </xml>
                              
                              
                              
                              
                              I Offline
                              I Offline
                              ingenii
                              wrote on last edited by ingenii
                              #61

                              @Cinimod

                              Schalfzimmer:

                              <xml xmlns="https://developers.google.com/blockly/xml">
                                <variables>
                                  <variable id="SIGD6q1KUTGFjp#3gO^{">offene Fenster</variable>
                                </variables>
                                <block type="comment" id="/0CV^O!1aoUk:BM=JQvY" x="-62" y="-1062">
                                  <field name="COMMENT">Schlafzimmer</field>
                                  <next>
                                    <block type="on_ext" id="K,WN,pgM_?_@X4vx9kNn">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" items="5"></mutation>
                                      <field name="CONDITION">ne</field>
                                      <field name="ACK_CONDITION"></field>
                                      <value name="OID0">
                                        <shadow type="field_oid" id="g^#UD(O)#46O[YL/yhiu">
                                          <field name="oid">sonoff.0.ZigBee_Bridge1.ZbReceived_0x1123_Contact</field>
                                        </shadow>
                                      </value>
                                      <value name="OID1">
                                        <shadow type="field_oid" id="GR{OtJXvaxmJ/8frKVV5">
                                          <field name="oid">sonoff.0.ZigBee_Bridge1.ZbReceived_0x5982_Contact</field>
                                        </shadow>
                                      </value>
                                      <value name="OID2">
                                        <shadow type="field_oid" id="AaDu2IdLTc;_8Y^(=#1u">
                                          <field name="oid">sonoff.0.ZigBee_Bridge1.ZbReceived_0x600E_Contact</field>
                                        </shadow>
                                      </value>
                                      <value name="OID3">
                                        <shadow type="field_oid" id="gz?y}5:(-k]7M;_c)L@c">
                                          <field name="oid">sonoff.0.ZigBee_Bridge1.ZbReceived_0x20A3_Contact</field>
                                        </shadow>
                                      </value>
                                      <value name="OID4">
                                        <shadow type="field_oid" id="f,#bPavRADQa!^9vgT;r">
                                          <field name="oid">sonoff.0.ZigBee_Bridge1.ZbReceived_0xD449_Contact</field>
                                        </shadow>
                                      </value>
                                      <statement name="STATEMENT">
                                        <block type="controls_if" id="zr))xYp5q6uk7gWR:FLp">
                                          <mutation elseif="1"></mutation>
                                          <value name="IF0">
                                            <block type="logic_compare" id="(%ip:yl;!KUbNeYJO=Q.">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="on_source" id="IQvqF`Ea*52V%WOo$(BG">
                                                  <field name="ATTR">state.val</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="math_number" id="YaM59`_}h-7w]wlp%rz]">
                                                  <field name="NUM">1</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="control" id="hS]=O?t$f/y`yv?xV.9v">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">0_userdata.0.Testordner.Schalfzimmer_temp_Heizung</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="@WvR96o@/GT_W,v[-k@;">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="variables_set" id="]qW3c_5Vo7}]mwMJaX]u">
                                                  <field name="VAR" id="SIGD6q1KUTGFjp#3gO^{">offene Fenster</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="%|=KaL92,D:1}t?+_kh@">
                                                      <field name="BOOL">TRUE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                          <value name="IF1">
                                            <block type="logic_operation" id="NI74tl{Cv%y2nnZ2mq(_" inline="false">
                                              <field name="OP">AND</field>
                                              <value name="A">
                                                <block type="logic_operation" id="nBhW:|6IjFd#]:==r9MT" inline="false">
                                                  <field name="OP">AND</field>
                                                  <value name="A">
                                                    <block type="logic_operation" id="TzDrBAgL)l{6h%e)Nbix" inline="false">
                                                      <field name="OP">AND</field>
                                                      <value name="A">
                                                        <block type="logic_compare" id="H-by~#=i7qLd];I!ss,u">
                                                          <field name="OP">EQ</field>
                                                          <value name="A">
                                                            <block type="get_value" id="G{e*#Ck_W4)[t!9NfppK">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">sonoff.0.ZigBee_Bridge1.ZbReceived_0x1123_Contact</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="math_number" id="tV{:u[3b2[XI5;6o#uwv">
                                                              <field name="NUM">0</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="logic_compare" id="(Bj)7ZJ(0pgXXEA`sjl4">
                                                          <field name="OP">EQ</field>
                                                          <value name="A">
                                                            <block type="get_value" id="CN}w9(9wU2-hnR|}zN~M">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">sonoff.0.ZigBee_Bridge1.ZbReceived_0x5982_Contact</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="math_number" id="qxF?+P?(5WT4+Zh~VDzH">
                                                              <field name="NUM">0</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="logic_operation" id="iAW5jBZ|80_MVv0zs#04" inline="false">
                                                      <field name="OP">AND</field>
                                                      <value name="A">
                                                        <block type="logic_compare" id="=FJ$#)NF)p%K+ci}.G+{">
                                                          <field name="OP">EQ</field>
                                                          <value name="A">
                                                            <block type="get_value" id="b0E:[G*)^Jkwfko9)-UG">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">sonoff.0.ZigBee_Bridge1.ZbReceived_0x600E_Contact</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="math_number" id="y@6zGn;xb0N/DCub4E+j">
                                                              <field name="NUM">0</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="logic_compare" id="7uPMqgWG]Q790FDLTidp">
                                                          <field name="OP">EQ</field>
                                                          <value name="A">
                                                            <block type="get_value" id="5o;cwewhu(gE!B3`kDDT">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">sonoff.0.ZigBee_Bridge1.ZbReceived_0x20A3_Contact</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="math_number" id="]T=$eX#l;JqAc9b,Y}+*">
                                                              <field name="NUM">0</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="logic_compare" id="(OQ76rw~]R]9Q_P/kA`V">
                                                  <field name="OP">EQ</field>
                                                  <value name="A">
                                                    <block type="get_value" id="R-*;=g!1Qh_#Zl_G0VM4">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">sonoff.0.ZigBee_Bridge1.ZbReceived_0xD449_Contact</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="math_number" id="aeH:*7-Gn3!c~HF5au^!">
                                                      <field name="NUM">0</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO1">
                                            <block type="variables_set" id="ceR.;izW_r3Ty20RG_EX">
                                              <field name="VAR" id="SIGD6q1KUTGFjp#3gO^{">offene Fenster</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="D=!E,]q}FEHKUapa+q=2">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </statement>
                                        </block>
                                      </statement>
                                      <next>
                                        <block type="on_ext" id="PbE+r6ibR_B!K.FQ}Fa$">
                                          <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="R*u+`^~1q(-5RFx%o(wQ">
                                              <field name="oid">sonoff.0.Temparature_Schlafzimmer(TH16).SI7021_Temperature</field>
                                            </shadow>
                                          </value>
                                          <value name="OID1">
                                            <shadow type="field_oid" id="%,@ga-xK38tS$Zg=d_y0">
                                              <field name="oid">hm-rpc.1.000A1D89983B40.1.SET_POINT_TEMPERATURE</field>
                                            </shadow>
                                          </value>
                                          <statement name="STATEMENT">
                                            <block type="controls_if" id="r*B?@=L`.guY]MLJ.H@.">
                                              <mutation elseif="1"></mutation>
                                              <value name="IF0">
                                                <block type="logic_operation" id="}2~Ew~gv@IZK*(xct$ew" inline="false">
                                                  <field name="OP">AND</field>
                                                  <value name="A">
                                                    <block type="logic_compare" id="r//HYzBmYjm~s0OP1M`z">
                                                      <field name="OP">LT</field>
                                                      <value name="A">
                                                        <block type="get_value" id="X%j!o4/4cvnH?_-=y8W-">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">sonoff.0.Temparature_Schlafzimmer(TH16).SI7021_Temperature</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="get_value" id="JTFkdm].gf$UMbo%^75a">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">hm-rpc.1.000A1D89983B40.1.SET_POINT_TEMPERATURE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="logic_negate" id="uy%HA(W4G:,?!bqWeHm%">
                                                      <value name="BOOL">
                                                        <block type="variables_get" id="d.x;V!*lz-mDZx7[Wa;a">
                                                          <field name="VAR" id="SIGD6q1KUTGFjp#3gO^{">offene Fenster</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <statement name="DO0">
                                                <block type="control" id="#5GKyB|4=F4zr^[k^cQk">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">0_userdata.0.Testordner.Schalfzimmer_temp_Heizung</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="wjLU9dHN#h7Y?!IU[;}G">
                                                      <field name="BOOL">TRUE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </statement>
                                              <value name="IF1">
                                                <block type="logic_compare" id="9ky*iEK/IP-4$]#(bfJ3">
                                                  <field name="OP">GT</field>
                                                  <value name="A">
                                                    <block type="get_value" id="bGYSrX7HR^lxGJ)+x_#p">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">sonoff.0.Temparature_Schlafzimmer(TH16).SI7021_Temperature</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="get_value" id="4h}L8%1PBaP2pIb3+y=z">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">hm-rpc.1.000A1D89983B40.1.SET_POINT_TEMPERATURE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <statement name="DO1">
                                                <block type="control" id="i@!4wAn+FGd4.YpiNN-=">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">0_userdata.0.Testordner.Schalfzimmer_temp_Heizung</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="ft~;-EU^W[TB:.[I(TFD">
                                                      <field name="BOOL">FALSE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </statement>
                                            </block>
                                          </statement>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </xml>
                              
                              I 1 Reply Last reply
                              0
                              • I ingenii

                                @Cinimod

                                Schalfzimmer:

                                <xml xmlns="https://developers.google.com/blockly/xml">
                                  <variables>
                                    <variable id="SIGD6q1KUTGFjp#3gO^{">offene Fenster</variable>
                                  </variables>
                                  <block type="comment" id="/0CV^O!1aoUk:BM=JQvY" x="-62" y="-1062">
                                    <field name="COMMENT">Schlafzimmer</field>
                                    <next>
                                      <block type="on_ext" id="K,WN,pgM_?_@X4vx9kNn">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" items="5"></mutation>
                                        <field name="CONDITION">ne</field>
                                        <field name="ACK_CONDITION"></field>
                                        <value name="OID0">
                                          <shadow type="field_oid" id="g^#UD(O)#46O[YL/yhiu">
                                            <field name="oid">sonoff.0.ZigBee_Bridge1.ZbReceived_0x1123_Contact</field>
                                          </shadow>
                                        </value>
                                        <value name="OID1">
                                          <shadow type="field_oid" id="GR{OtJXvaxmJ/8frKVV5">
                                            <field name="oid">sonoff.0.ZigBee_Bridge1.ZbReceived_0x5982_Contact</field>
                                          </shadow>
                                        </value>
                                        <value name="OID2">
                                          <shadow type="field_oid" id="AaDu2IdLTc;_8Y^(=#1u">
                                            <field name="oid">sonoff.0.ZigBee_Bridge1.ZbReceived_0x600E_Contact</field>
                                          </shadow>
                                        </value>
                                        <value name="OID3">
                                          <shadow type="field_oid" id="gz?y}5:(-k]7M;_c)L@c">
                                            <field name="oid">sonoff.0.ZigBee_Bridge1.ZbReceived_0x20A3_Contact</field>
                                          </shadow>
                                        </value>
                                        <value name="OID4">
                                          <shadow type="field_oid" id="f,#bPavRADQa!^9vgT;r">
                                            <field name="oid">sonoff.0.ZigBee_Bridge1.ZbReceived_0xD449_Contact</field>
                                          </shadow>
                                        </value>
                                        <statement name="STATEMENT">
                                          <block type="controls_if" id="zr))xYp5q6uk7gWR:FLp">
                                            <mutation elseif="1"></mutation>
                                            <value name="IF0">
                                              <block type="logic_compare" id="(%ip:yl;!KUbNeYJO=Q.">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="on_source" id="IQvqF`Ea*52V%WOo$(BG">
                                                    <field name="ATTR">state.val</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="YaM59`_}h-7w]wlp%rz]">
                                                    <field name="NUM">1</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="control" id="hS]=O?t$f/y`yv?xV.9v">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">0_userdata.0.Testordner.Schalfzimmer_temp_Heizung</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="@WvR96o@/GT_W,v[-k@;">
                                                    <field name="BOOL">FALSE</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="variables_set" id="]qW3c_5Vo7}]mwMJaX]u">
                                                    <field name="VAR" id="SIGD6q1KUTGFjp#3gO^{">offene Fenster</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="%|=KaL92,D:1}t?+_kh@">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                            <value name="IF1">
                                              <block type="logic_operation" id="NI74tl{Cv%y2nnZ2mq(_" inline="false">
                                                <field name="OP">AND</field>
                                                <value name="A">
                                                  <block type="logic_operation" id="nBhW:|6IjFd#]:==r9MT" inline="false">
                                                    <field name="OP">AND</field>
                                                    <value name="A">
                                                      <block type="logic_operation" id="TzDrBAgL)l{6h%e)Nbix" inline="false">
                                                        <field name="OP">AND</field>
                                                        <value name="A">
                                                          <block type="logic_compare" id="H-by~#=i7qLd];I!ss,u">
                                                            <field name="OP">EQ</field>
                                                            <value name="A">
                                                              <block type="get_value" id="G{e*#Ck_W4)[t!9NfppK">
                                                                <field name="ATTR">val</field>
                                                                <field name="OID">sonoff.0.ZigBee_Bridge1.ZbReceived_0x1123_Contact</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="math_number" id="tV{:u[3b2[XI5;6o#uwv">
                                                                <field name="NUM">0</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="logic_compare" id="(Bj)7ZJ(0pgXXEA`sjl4">
                                                            <field name="OP">EQ</field>
                                                            <value name="A">
                                                              <block type="get_value" id="CN}w9(9wU2-hnR|}zN~M">
                                                                <field name="ATTR">val</field>
                                                                <field name="OID">sonoff.0.ZigBee_Bridge1.ZbReceived_0x5982_Contact</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="math_number" id="qxF?+P?(5WT4+Zh~VDzH">
                                                                <field name="NUM">0</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_operation" id="iAW5jBZ|80_MVv0zs#04" inline="false">
                                                        <field name="OP">AND</field>
                                                        <value name="A">
                                                          <block type="logic_compare" id="=FJ$#)NF)p%K+ci}.G+{">
                                                            <field name="OP">EQ</field>
                                                            <value name="A">
                                                              <block type="get_value" id="b0E:[G*)^Jkwfko9)-UG">
                                                                <field name="ATTR">val</field>
                                                                <field name="OID">sonoff.0.ZigBee_Bridge1.ZbReceived_0x600E_Contact</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="math_number" id="y@6zGn;xb0N/DCub4E+j">
                                                                <field name="NUM">0</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="logic_compare" id="7uPMqgWG]Q790FDLTidp">
                                                            <field name="OP">EQ</field>
                                                            <value name="A">
                                                              <block type="get_value" id="5o;cwewhu(gE!B3`kDDT">
                                                                <field name="ATTR">val</field>
                                                                <field name="OID">sonoff.0.ZigBee_Bridge1.ZbReceived_0x20A3_Contact</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="math_number" id="]T=$eX#l;JqAc9b,Y}+*">
                                                                <field name="NUM">0</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_compare" id="(OQ76rw~]R]9Q_P/kA`V">
                                                    <field name="OP">EQ</field>
                                                    <value name="A">
                                                      <block type="get_value" id="R-*;=g!1Qh_#Zl_G0VM4">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">sonoff.0.ZigBee_Bridge1.ZbReceived_0xD449_Contact</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id="aeH:*7-Gn3!c~HF5au^!">
                                                        <field name="NUM">0</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO1">
                                              <block type="variables_set" id="ceR.;izW_r3Ty20RG_EX">
                                                <field name="VAR" id="SIGD6q1KUTGFjp#3gO^{">offene Fenster</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="D=!E,]q}FEHKUapa+q=2">
                                                    <field name="BOOL">FALSE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </statement>
                                          </block>
                                        </statement>
                                        <next>
                                          <block type="on_ext" id="PbE+r6ibR_B!K.FQ}Fa$">
                                            <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="R*u+`^~1q(-5RFx%o(wQ">
                                                <field name="oid">sonoff.0.Temparature_Schlafzimmer(TH16).SI7021_Temperature</field>
                                              </shadow>
                                            </value>
                                            <value name="OID1">
                                              <shadow type="field_oid" id="%,@ga-xK38tS$Zg=d_y0">
                                                <field name="oid">hm-rpc.1.000A1D89983B40.1.SET_POINT_TEMPERATURE</field>
                                              </shadow>
                                            </value>
                                            <statement name="STATEMENT">
                                              <block type="controls_if" id="r*B?@=L`.guY]MLJ.H@.">
                                                <mutation elseif="1"></mutation>
                                                <value name="IF0">
                                                  <block type="logic_operation" id="}2~Ew~gv@IZK*(xct$ew" inline="false">
                                                    <field name="OP">AND</field>
                                                    <value name="A">
                                                      <block type="logic_compare" id="r//HYzBmYjm~s0OP1M`z">
                                                        <field name="OP">LT</field>
                                                        <value name="A">
                                                          <block type="get_value" id="X%j!o4/4cvnH?_-=y8W-">
                                                            <field name="ATTR">val</field>
                                                            <field name="OID">sonoff.0.Temparature_Schlafzimmer(TH16).SI7021_Temperature</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="get_value" id="JTFkdm].gf$UMbo%^75a">
                                                            <field name="ATTR">val</field>
                                                            <field name="OID">hm-rpc.1.000A1D89983B40.1.SET_POINT_TEMPERATURE</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_negate" id="uy%HA(W4G:,?!bqWeHm%">
                                                        <value name="BOOL">
                                                          <block type="variables_get" id="d.x;V!*lz-mDZx7[Wa;a">
                                                            <field name="VAR" id="SIGD6q1KUTGFjp#3gO^{">offene Fenster</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="control" id="#5GKyB|4=F4zr^[k^cQk">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                    <field name="OID">0_userdata.0.Testordner.Schalfzimmer_temp_Heizung</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="wjLU9dHN#h7Y?!IU[;}G">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </statement>
                                                <value name="IF1">
                                                  <block type="logic_compare" id="9ky*iEK/IP-4$]#(bfJ3">
                                                    <field name="OP">GT</field>
                                                    <value name="A">
                                                      <block type="get_value" id="bGYSrX7HR^lxGJ)+x_#p">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">sonoff.0.Temparature_Schlafzimmer(TH16).SI7021_Temperature</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="get_value" id="4h}L8%1PBaP2pIb3+y=z">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">hm-rpc.1.000A1D89983B40.1.SET_POINT_TEMPERATURE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO1">
                                                  <block type="control" id="i@!4wAn+FGd4.YpiNN-=">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                    <field name="OID">0_userdata.0.Testordner.Schalfzimmer_temp_Heizung</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="ft~;-EU^W[TB:.[I(TFD">
                                                        <field name="BOOL">FALSE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </statement>
                                              </block>
                                            </statement>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </xml>
                                
                                I Offline
                                I Offline
                                ingenii
                                wrote on last edited by ingenii
                                #62

                                @Cinimod

                                Datenpunkt:

                                <xml xmlns="https://developers.google.com/blockly/xml">
                                  <block type="on_ext" id="PbE+r6ibR_B!K.FQ}Fa$" x="-20" y="-547">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="4"></mutation>
                                    <field name="CONDITION">ne</field>
                                    <field name="ACK_CONDITION"></field>
                                    <value name="OID0">
                                      <shadow type="field_oid" id="R*u+`^~1q(-5RFx%o(wQ">
                                        <field name="oid">0_userdata.0.Testordner.Kinderzimmer_temp_Heizung</field>
                                      </shadow>
                                    </value>
                                    <value name="OID1">
                                      <shadow type="field_oid" id="d(7kaO!c#|rUIt#UbB={">
                                        <field name="oid">0_userdata.0.Testordner.Schalfzimmer_temp_Heizung</field>
                                      </shadow>
                                    </value>
                                    <value name="OID2">
                                      <shadow type="field_oid" id="DC]}pm|WdYkqYH*s(U9Y">
                                        <field name="oid">0_userdata.0.Testordner.Gastezimmer_temp_Heizung</field>
                                      </shadow>
                                    </value>
                                    <value name="OID3">
                                      <shadow type="field_oid" id="%,@ga-xK38tS$Zg=d_y0">
                                        <field name="oid">0_userdata.0.Testordner.Bad_1og_temp_Heizung</field>
                                      </shadow>
                                    </value>
                                    <statement name="STATEMENT">
                                      <block type="controls_if" id="r*B?@=L`.guY]MLJ.H@.">
                                        <mutation elseif="1"></mutation>
                                        <value name="IF0">
                                          <block type="logic_operation" id="HX[~7p30kaYu$)lN#N?|" inline="false">
                                            <field name="OP">OR</field>
                                            <value name="A">
                                              <block type="logic_operation" id="(1lKe/~%[/ym5C0WEI+)" inline="false">
                                                <field name="OP">OR</field>
                                                <value name="A">
                                                  <block type="logic_compare" id="hJ?OQP@wN3Qj7(`eg2RC">
                                                    <field name="OP">EQ</field>
                                                    <value name="A">
                                                      <block type="get_value" id="=a~[{q/wL_8NvB0GYBKy">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">0_userdata.0.Testordner.Kinderzimmer_temp_Heizung</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_boolean" id="~)rU]Uf|RxwC*L;6:-ob">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_compare" id=":Sq$w}$5=)O`pmo=2yf;">
                                                    <field name="OP">EQ</field>
                                                    <value name="A">
                                                      <block type="get_value" id="AkjL]g},C{TRi-.EI~bP">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">0_userdata.0.Testordner.Schalfzimmer_temp_Heizung</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_boolean" id=";Dgi8Kou1OA5*{Kno*:B">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_operation" id="+JV5hbNlN?udb*8%+_wB" inline="false">
                                                <field name="OP">OR</field>
                                                <value name="A">
                                                  <block type="logic_compare" id="(d7~t,DzVnE%Uw?Vdt1D">
                                                    <field name="OP">EQ</field>
                                                    <value name="A">
                                                      <block type="get_value" id="lCutf)+r1!K)FN7WmI![">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">0_userdata.0.Testordner.Bad_1og_temp_Heizung</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_boolean" id="8?~ty)5jrT/G=W1G0Y,7">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_compare" id="#~vQ_5RX|_OzdP,gvbXs">
                                                    <field name="OP">EQ</field>
                                                    <value name="A">
                                                      <block type="get_value" id="NN^Pp*t0!]Ex-q:um~.H">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">0_userdata.0.Testordner.Gastezimmer_temp_Heizung</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_boolean" id="12ipKo{9_9HGRQa*E_N1">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="control" id="B=1I|N7S`4~26PlSAQ-%">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">sonoff.0.Heizung_R08.POWER8</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="y3;43=:xLQ(0wRm`(^`}">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="control" id="~P;l$0_#%wUL.ixiKHxX">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">sonoff.0.Heizung_R08.POWER7</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="E^)mfO(7;lQ@6`d3r$5d">
                                                    <field name="BOOL">TRUE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                        <value name="IF1">
                                          <block type="logic_operation" id="}2~Ew~gv@IZK*(xct$ew" inline="false">
                                            <field name="OP">AND</field>
                                            <value name="A">
                                              <block type="logic_operation" id="x0;06[4!-J-wM?6Xg-O:" inline="false">
                                                <field name="OP">AND</field>
                                                <value name="A">
                                                  <block type="logic_operation" id=",`JZOgL5aBSu8HVPZ0NW" inline="false">
                                                    <field name="OP">AND</field>
                                                    <value name="A">
                                                      <block type="logic_compare" id="r//HYzBmYjm~s0OP1M`z">
                                                        <field name="OP">EQ</field>
                                                        <value name="A">
                                                          <block type="get_value" id="X%j!o4/4cvnH?_-=y8W-">
                                                            <field name="ATTR">val</field>
                                                            <field name="OID">0_userdata.0.Testordner.Kinderzimmer_temp_Heizung</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="logic_boolean" id="O=x2`^..rQlbo?6Ng!xs">
                                                            <field name="BOOL">FALSE</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_compare" id="BV^sU|2@;Fh{+tPIUP6*">
                                                        <field name="OP">EQ</field>
                                                        <value name="A">
                                                          <block type="get_value" id="+=iCY2C6oN%.dQ/^kxe{">
                                                            <field name="ATTR">val</field>
                                                            <field name="OID">0_userdata.0.Testordner.Schalfzimmer_temp_Heizung</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="logic_boolean" id="Hsk~I1ACC%z$h!rX)wHd">
                                                            <field name="BOOL">FALSE</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_compare" id="Yu*GN1tHPn|]JAtxBnAd">
                                                    <field name="OP">EQ</field>
                                                    <value name="A">
                                                      <block type="get_value" id="N;ZrYsp838;u5R=`Lh`H">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">0_userdata.0.Testordner.Bad_1og_temp_Heizung</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_boolean" id="0h4:VOw~9d0+03^9HqNd">
                                                        <field name="BOOL">FALSE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_compare" id="/l,p+tv-nab=p0o3q=#]">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="get_value" id="T|(8__(z0vg?@DK,})PM">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">0_userdata.0.Testordner.Gastezimmer_temp_Heizung</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_boolean" id="b[}@z,E%pfC_t+azaXqk">
                                                    <field name="BOOL">FALSE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO1">
                                          <block type="control" id="WLLdD.vKC!_^=OYxX*Rp">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">sonoff.0.Heizung_R08.POWER8</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="ldc#N@{RI=c{~~U$;#vk">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="control" id="M;TncfhU?kR;[#Dn_Z)_">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">sonoff.0.Heizung_R08.POWER7</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="o@IGbqby.SrxA-ZhATy#">
                                                    <field name="BOOL">FALSE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                    </statement>
                                  </block>
                                </xml>
                                
                                1 Reply Last reply
                                0
                                • I ingenii

                                  @cinimod
                                  Mein Konfig:
                                  datenpunkt.JPG

                                  Kinderzimmer:

                                  <xml xmlns="https://developers.google.com/blockly/xml">
                                    <variables>
                                      <variable id="SIGD6q1KUTGFjp#3gO^{">offene Fenster</variable>
                                    </variables>
                                    <block type="comment" id="_9LVB+mDFTm*bn-vUbQ{" x="-88" y="-1062">
                                      <field name="COMMENT">Kinderzimmer</field>
                                      <next>
                                        <block type="on_ext" id="K,WN,pgM_?_@X4vx9kNn">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" items="5"></mutation>
                                          <field name="CONDITION">ne</field>
                                          <field name="ACK_CONDITION"></field>
                                          <value name="OID0">
                                            <shadow type="field_oid" id="g^#UD(O)#46O[YL/yhiu">
                                              <field name="oid">sonoff.0.ZigBee_Bridge1.ZbReceived_0x1123_Contact</field>
                                            </shadow>
                                          </value>
                                          <value name="OID1">
                                            <shadow type="field_oid" id="GR{OtJXvaxmJ/8frKVV5">
                                              <field name="oid">sonoff.0.ZigBee_Bridge1.ZbReceived_0x5982_Contact</field>
                                            </shadow>
                                          </value>
                                          <value name="OID2">
                                            <shadow type="field_oid" id="AaDu2IdLTc;_8Y^(=#1u">
                                              <field name="oid">sonoff.0.ZigBee_Bridge1.ZbReceived_0x600E_Contact</field>
                                            </shadow>
                                          </value>
                                          <value name="OID3">
                                            <shadow type="field_oid" id="gz?y}5:(-k]7M;_c)L@c">
                                              <field name="oid">sonoff.0.ZigBee_Bridge1.ZbReceived_0x20A3_Contact</field>
                                            </shadow>
                                          </value>
                                          <value name="OID4">
                                            <shadow type="field_oid" id="f,#bPavRADQa!^9vgT;r">
                                              <field name="oid">sonoff.0.ZigBee_Bridge1.ZbReceived_0xD449_Contact</field>
                                            </shadow>
                                          </value>
                                          <statement name="STATEMENT">
                                            <block type="controls_if" id="zr))xYp5q6uk7gWR:FLp">
                                              <mutation elseif="1"></mutation>
                                              <value name="IF0">
                                                <block type="logic_compare" id="(%ip:yl;!KUbNeYJO=Q.">
                                                  <field name="OP">EQ</field>
                                                  <value name="A">
                                                    <block type="on_source" id="IQvqF`Ea*52V%WOo$(BG">
                                                      <field name="ATTR">state.val</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="math_number" id="YaM59`_}h-7w]wlp%rz]">
                                                      <field name="NUM">1</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <statement name="DO0">
                                                <block type="control" id="hS]=O?t$f/y`yv?xV.9v">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">0_userdata.0.Testordner.Kinderzimmer_temp_Heizung</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="@WvR96o@/GT_W,v[-k@;">
                                                      <field name="BOOL">FALSE</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="variables_set" id="]qW3c_5Vo7}]mwMJaX]u">
                                                      <field name="VAR" id="SIGD6q1KUTGFjp#3gO^{">offene Fenster</field>
                                                      <value name="VALUE">
                                                        <block type="logic_boolean" id="%|=KaL92,D:1}t?+_kh@">
                                                          <field name="BOOL">TRUE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                              <value name="IF1">
                                                <block type="logic_operation" id="NI74tl{Cv%y2nnZ2mq(_" inline="false">
                                                  <field name="OP">AND</field>
                                                  <value name="A">
                                                    <block type="logic_operation" id="nBhW:|6IjFd#]:==r9MT" inline="false">
                                                      <field name="OP">AND</field>
                                                      <value name="A">
                                                        <block type="logic_operation" id="TzDrBAgL)l{6h%e)Nbix" inline="false">
                                                          <field name="OP">AND</field>
                                                          <value name="A">
                                                            <block type="logic_compare" id="H-by~#=i7qLd];I!ss,u">
                                                              <field name="OP">EQ</field>
                                                              <value name="A">
                                                                <block type="get_value" id="G{e*#Ck_W4)[t!9NfppK">
                                                                  <field name="ATTR">val</field>
                                                                  <field name="OID">sonoff.0.ZigBee_Bridge1.ZbReceived_0x1123_Contact</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="math_number" id="tV{:u[3b2[XI5;6o#uwv">
                                                                  <field name="NUM">0</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="logic_compare" id="(Bj)7ZJ(0pgXXEA`sjl4">
                                                              <field name="OP">EQ</field>
                                                              <value name="A">
                                                                <block type="get_value" id="CN}w9(9wU2-hnR|}zN~M">
                                                                  <field name="ATTR">val</field>
                                                                  <field name="OID">sonoff.0.ZigBee_Bridge1.ZbReceived_0x5982_Contact</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="math_number" id="qxF?+P?(5WT4+Zh~VDzH">
                                                                  <field name="NUM">0</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="logic_operation" id="iAW5jBZ|80_MVv0zs#04" inline="false">
                                                          <field name="OP">AND</field>
                                                          <value name="A">
                                                            <block type="logic_compare" id="=FJ$#)NF)p%K+ci}.G+{">
                                                              <field name="OP">EQ</field>
                                                              <value name="A">
                                                                <block type="get_value" id="b0E:[G*)^Jkwfko9)-UG">
                                                                  <field name="ATTR">val</field>
                                                                  <field name="OID">sonoff.0.ZigBee_Bridge1.ZbReceived_0x600E_Contact</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="math_number" id="y@6zGn;xb0N/DCub4E+j">
                                                                  <field name="NUM">0</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="logic_compare" id="7uPMqgWG]Q790FDLTidp">
                                                              <field name="OP">EQ</field>
                                                              <value name="A">
                                                                <block type="get_value" id="5o;cwewhu(gE!B3`kDDT">
                                                                  <field name="ATTR">val</field>
                                                                  <field name="OID">sonoff.0.ZigBee_Bridge1.ZbReceived_0x20A3_Contact</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="math_number" id="]T=$eX#l;JqAc9b,Y}+*">
                                                                  <field name="NUM">0</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="logic_compare" id="(OQ76rw~]R]9Q_P/kA`V">
                                                      <field name="OP">EQ</field>
                                                      <value name="A">
                                                        <block type="get_value" id="R-*;=g!1Qh_#Zl_G0VM4">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">sonoff.0.ZigBee_Bridge1.ZbReceived_0xD449_Contact</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="math_number" id="aeH:*7-Gn3!c~HF5au^!">
                                                          <field name="NUM">0</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <statement name="DO1">
                                                <block type="variables_set" id="ceR.;izW_r3Ty20RG_EX">
                                                  <field name="VAR" id="SIGD6q1KUTGFjp#3gO^{">offene Fenster</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="D=!E,]q}FEHKUapa+q=2">
                                                      <field name="BOOL">FALSE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </statement>
                                            </block>
                                          </statement>
                                          <next>
                                            <block type="on_ext" id="PbE+r6ibR_B!K.FQ}Fa$">
                                              <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="R*u+`^~1q(-5RFx%o(wQ">
                                                  <field name="oid">sonoff.0.Temparature_kinderzimmer(TH10).AM2301_Temperature</field>
                                                </shadow>
                                              </value>
                                              <value name="OID1">
                                                <shadow type="field_oid" id="%,@ga-xK38tS$Zg=d_y0">
                                                  <field name="oid">hm-rpc.1.000A1D8998382C.1.SET_POINT_TEMPERATURE</field>
                                                </shadow>
                                              </value>
                                              <statement name="STATEMENT">
                                                <block type="controls_if" id="r*B?@=L`.guY]MLJ.H@.">
                                                  <mutation elseif="1"></mutation>
                                                  <value name="IF0">
                                                    <block type="logic_operation" id="}2~Ew~gv@IZK*(xct$ew" inline="false">
                                                      <field name="OP">AND</field>
                                                      <value name="A">
                                                        <block type="logic_compare" id="r//HYzBmYjm~s0OP1M`z">
                                                          <field name="OP">LT</field>
                                                          <value name="A">
                                                            <block type="get_value" id="X%j!o4/4cvnH?_-=y8W-">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">sonoff.0.Temparature_kinderzimmer(TH10).AM2301_Temperature</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="get_value" id="JTFkdm].gf$UMbo%^75a">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">hm-rpc.1.000A1D8998382C.1.SET_POINT_TEMPERATURE</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="logic_negate" id="uy%HA(W4G:,?!bqWeHm%">
                                                          <value name="BOOL">
                                                            <block type="variables_get" id="d.x;V!*lz-mDZx7[Wa;a">
                                                              <field name="VAR" id="SIGD6q1KUTGFjp#3gO^{">offene Fenster</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="control" id="#5GKyB|4=F4zr^[k^cQk">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">0_userdata.0.Testordner.Kinderzimmer_temp_Heizung</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="logic_boolean" id="wjLU9dHN#h7Y?!IU[;}G">
                                                          <field name="BOOL">TRUE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </statement>
                                                  <value name="IF1">
                                                    <block type="logic_compare" id="9ky*iEK/IP-4$]#(bfJ3">
                                                      <field name="OP">GT</field>
                                                      <value name="A">
                                                        <block type="get_value" id="bGYSrX7HR^lxGJ)+x_#p">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">sonoff.0.Temparature_kinderzimmer(TH10).AM2301_Temperature</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="get_value" id="4h}L8%1PBaP2pIb3+y=z">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">hm-rpc.1.000A1D8998382C.1.SET_POINT_TEMPERATURE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO1">
                                                    <block type="control" id="i@!4wAn+FGd4.YpiNN-=">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">0_userdata.0.Testordner.Kinderzimmer_temp_Heizung</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="logic_boolean" id="ft~;-EU^W[TB:.[I(TFD">
                                                          <field name="BOOL">FALSE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </statement>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </xml>
                                  
                                  
                                  
                                  
                                  I Offline
                                  I Offline
                                  ingenii
                                  wrote on last edited by
                                  #63

                                  @Cinimod

                                  Was gehört hier ?
                                  Switch oder State ?

                                  Danke

                                  daten swi.JPG

                                  CinimodC 1 Reply Last reply
                                  0
                                  • I ingenii

                                    @Cinimod

                                    Was gehört hier ?
                                    Switch oder State ?

                                    Danke

                                    daten swi.JPG

                                    CinimodC Offline
                                    CinimodC Offline
                                    Cinimod
                                    Most Active
                                    wrote on last edited by
                                    #64

                                    @ingenii sagte in Blocky script:

                                    @Cinimod

                                    Was gehört hier ?
                                    Switch oder State ?

                                    State

                                    Was genau ist denn jetzt dein Problem ?

                                    Synology DS918+, Fritzbox 6690 Cable, #Docker #Blockly #Vis2 #Deconz #Tasmota

                                    I 2 Replies Last reply
                                    0
                                    • CinimodC Cinimod

                                      @ingenii sagte in Blocky script:

                                      @Cinimod

                                      Was gehört hier ?
                                      Switch oder State ?

                                      State

                                      Was genau ist denn jetzt dein Problem ?

                                      I Offline
                                      I Offline
                                      ingenii
                                      wrote on last edited by
                                      #65

                                      @cinimod
                                      Hallo,
                                      es hat immer was Heizung für 1 bis 2 Minuten eingeschaltet auch wen Temperatur zu hoch wahr.Problem wahr das ich immer zu spät gesehen hab und nicht nachvollziehen kann von wo das kommt.
                                      Dann Detail suche und bin drauf gekommen das ein Temp sensor bei Sonoff kaputt ist liefert ab und zu verschiedene Daten.
                                      Jetzt passt alles,
                                      Danke

                                      1 Reply Last reply
                                      0
                                      • CinimodC Cinimod

                                        @ingenii sagte in Blocky script:

                                        @Cinimod

                                        Was gehört hier ?
                                        Switch oder State ?

                                        State

                                        Was genau ist denn jetzt dein Problem ?

                                        I Offline
                                        I Offline
                                        ingenii
                                        wrote on last edited by ingenii
                                        #66

                                        @cinimod

                                        Hallo,
                                        hab ein kleines Problem, in Verwendung sind deine Scripts .In Wohnzimmer passiert das mir etwas Datenpunkt auf False steuert und ich weiß nicht was. Ich hab schon ein neuen Datenpunk erstellt das der nicht unabsichtlich irgendwo in anders drinnen ist und passiert wieder, ich stelle Set Point Temp um 2 Grad mehr das ich weiss das sicher Heizung ganze zeit lauf.
                                        Es ist ein Fußboden Heizung deswegen rennt Heizung nur cca 45 Minuten und Dann geht automatisch heizung auf OFF aber nicht Datenpunkt denn steuere ich mit einem Script der heist Restart Datenpunk aber bei dem hab ich 90Minuten also muss Heizung starten(Datenpunk) und Datenpunk wen Temp nicht erreicht Set Temp musst erst nach 90Minuten auf Datenpunkt False und dan soll wieder Staten, aber bei mir auch wen ich dieser Neustart Datenpunk deaktiviere geht jeden cca 10 Minuten Datenpunk auf False und gleich wieder auf True.

                                        Script :

                                        <xml xmlns="https://developers.google.com/blockly/xml">
                                          <block type="on_ext" id="xDq%i~$rGx~A.83cmM%;" x="-287" y="-787">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                            <field name="CONDITION">any</field>
                                            <field name="ACK_CONDITION"></field>
                                            <value name="OID0">
                                              <shadow type="field_oid" id="S5Ja?RFgi-amy%b3nasc">
                                                <field name="oid">hm-rpc.1.000A9D899F65CB.1.ACTUAL_TEMPERATURE</field>
                                              </shadow>
                                            </value>
                                            <value name="OID1">
                                              <shadow type="field_oid" id=",x^o!!V53@cT%;x8@hr]">
                                                <field name="oid">hm-rpc.1.000A9D899F65CB.1.SET_POINT_TEMPERATURE</field>
                                              </shadow>
                                            </value>
                                            <statement name="STATEMENT">
                                              <block type="controls_if" id="^IQpxvAC2OFS~7?Wb54p">
                                                <mutation elseif="1"></mutation>
                                                <value name="IF0">
                                                  <block type="logic_compare" id="wv?fv3Sv#4)xrUA!h,;d">
                                                    <field name="OP">LT</field>
                                                    <value name="A">
                                                      <block type="get_value" id="~FmMS%jS(50Pu}fG;xD(">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">hm-rpc.1.000A9D899F65CB.1.ACTUAL_TEMPERATURE</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="get_value" id="29K2ZhjmlM^.$R%?*O?r">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">hm-rpc.1.000A9D899F65CB.1.SET_POINT_TEMPERATURE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="control" id="BCFn=IlgKqu+C@xy)z`p">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                    <field name="OID">0_userdata.0.Testordner.Wohnzimmer_heizung</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="CjsW,Fb567aTJf@*m@?U">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </statement>
                                                <value name="IF1">
                                                  <block type="logic_compare" id="r*KEn=z,[kyIxuL5}P;p">
                                                    <field name="OP">GTE</field>
                                                    <value name="A">
                                                      <block type="get_value" id="2T7[PNo`#A#Y.u(Q`c*H">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">hm-rpc.1.000A9D899F65CB.1.ACTUAL_TEMPERATURE</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="get_value" id="E+-PcFA;?0rjyn;u~35W">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">hm-rpc.1.000A9D899F65CB.1.SET_POINT_TEMPERATURE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO1">
                                                  <block type="control" id="@*N1BGqFp,k14kZ$emx]">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                    <field name="OID">0_userdata.0.Testordner.Wohnzimmer_heizung</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="knxl8#k^UDaS0z/qJVoA">
                                                        <field name="BOOL">FALSE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </statement>
                                              </block>
                                            </statement>
                                          </block>
                                        </xml>
                                        
                                        

                                        Restart Datenpunkt

                                        <xml xmlns="https://developers.google.com/blockly/xml">
                                          <block type="on" id="g^ts;K(Z?cyM6vDaU%4X" x="-162" y="-420">
                                            <field name="OID">0_userdata.0.Testordner.Wohnzimmer_heizung</field>
                                            <field name="CONDITION">true</field>
                                            <field name="ACK_CONDITION"></field>
                                            <statement name="STATEMENT">
                                              <block type="control" id="J.Vb7Iz{qxWpi`hHY_:6">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                <field name="OID">0_userdata.0.Testordner.Wohnzimmer_heizung</field>
                                                <field name="WITH_DELAY">TRUE</field>
                                                <field name="DELAY_MS">90</field>
                                                <field name="UNIT">min</field>
                                                <field name="CLEAR_RUNNING">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="tw;W8Kimp?RG,kGR5}(e">
                                                    <field name="BOOL">FALSE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </statement>
                                          </block>
                                        </xml>
                                        

                                        Temp_wohn.JPG

                                        CinimodC 1 Reply Last reply
                                        0
                                        • I ingenii

                                          @cinimod

                                          Hallo,
                                          hab ein kleines Problem, in Verwendung sind deine Scripts .In Wohnzimmer passiert das mir etwas Datenpunkt auf False steuert und ich weiß nicht was. Ich hab schon ein neuen Datenpunk erstellt das der nicht unabsichtlich irgendwo in anders drinnen ist und passiert wieder, ich stelle Set Point Temp um 2 Grad mehr das ich weiss das sicher Heizung ganze zeit lauf.
                                          Es ist ein Fußboden Heizung deswegen rennt Heizung nur cca 45 Minuten und Dann geht automatisch heizung auf OFF aber nicht Datenpunkt denn steuere ich mit einem Script der heist Restart Datenpunk aber bei dem hab ich 90Minuten also muss Heizung starten(Datenpunk) und Datenpunk wen Temp nicht erreicht Set Temp musst erst nach 90Minuten auf Datenpunkt False und dan soll wieder Staten, aber bei mir auch wen ich dieser Neustart Datenpunk deaktiviere geht jeden cca 10 Minuten Datenpunk auf False und gleich wieder auf True.

                                          Script :

                                          <xml xmlns="https://developers.google.com/blockly/xml">
                                            <block type="on_ext" id="xDq%i~$rGx~A.83cmM%;" x="-287" y="-787">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                              <field name="CONDITION">any</field>
                                              <field name="ACK_CONDITION"></field>
                                              <value name="OID0">
                                                <shadow type="field_oid" id="S5Ja?RFgi-amy%b3nasc">
                                                  <field name="oid">hm-rpc.1.000A9D899F65CB.1.ACTUAL_TEMPERATURE</field>
                                                </shadow>
                                              </value>
                                              <value name="OID1">
                                                <shadow type="field_oid" id=",x^o!!V53@cT%;x8@hr]">
                                                  <field name="oid">hm-rpc.1.000A9D899F65CB.1.SET_POINT_TEMPERATURE</field>
                                                </shadow>
                                              </value>
                                              <statement name="STATEMENT">
                                                <block type="controls_if" id="^IQpxvAC2OFS~7?Wb54p">
                                                  <mutation elseif="1"></mutation>
                                                  <value name="IF0">
                                                    <block type="logic_compare" id="wv?fv3Sv#4)xrUA!h,;d">
                                                      <field name="OP">LT</field>
                                                      <value name="A">
                                                        <block type="get_value" id="~FmMS%jS(50Pu}fG;xD(">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">hm-rpc.1.000A9D899F65CB.1.ACTUAL_TEMPERATURE</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="get_value" id="29K2ZhjmlM^.$R%?*O?r">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">hm-rpc.1.000A9D899F65CB.1.SET_POINT_TEMPERATURE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="control" id="BCFn=IlgKqu+C@xy)z`p">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">0_userdata.0.Testordner.Wohnzimmer_heizung</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="logic_boolean" id="CjsW,Fb567aTJf@*m@?U">
                                                          <field name="BOOL">TRUE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </statement>
                                                  <value name="IF1">
                                                    <block type="logic_compare" id="r*KEn=z,[kyIxuL5}P;p">
                                                      <field name="OP">GTE</field>
                                                      <value name="A">
                                                        <block type="get_value" id="2T7[PNo`#A#Y.u(Q`c*H">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">hm-rpc.1.000A9D899F65CB.1.ACTUAL_TEMPERATURE</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="get_value" id="E+-PcFA;?0rjyn;u~35W">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">hm-rpc.1.000A9D899F65CB.1.SET_POINT_TEMPERATURE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO1">
                                                    <block type="control" id="@*N1BGqFp,k14kZ$emx]">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">0_userdata.0.Testordner.Wohnzimmer_heizung</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="logic_boolean" id="knxl8#k^UDaS0z/qJVoA">
                                                          <field name="BOOL">FALSE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </statement>
                                            </block>
                                          </xml>
                                          
                                          

                                          Restart Datenpunkt

                                          <xml xmlns="https://developers.google.com/blockly/xml">
                                            <block type="on" id="g^ts;K(Z?cyM6vDaU%4X" x="-162" y="-420">
                                              <field name="OID">0_userdata.0.Testordner.Wohnzimmer_heizung</field>
                                              <field name="CONDITION">true</field>
                                              <field name="ACK_CONDITION"></field>
                                              <statement name="STATEMENT">
                                                <block type="control" id="J.Vb7Iz{qxWpi`hHY_:6">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                  <field name="OID">0_userdata.0.Testordner.Wohnzimmer_heizung</field>
                                                  <field name="WITH_DELAY">TRUE</field>
                                                  <field name="DELAY_MS">90</field>
                                                  <field name="UNIT">min</field>
                                                  <field name="CLEAR_RUNNING">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="tw;W8Kimp?RG,kGR5}(e">
                                                      <field name="BOOL">FALSE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </statement>
                                            </block>
                                          </xml>
                                          

                                          Temp_wohn.JPG

                                          CinimodC Offline
                                          CinimodC Offline
                                          Cinimod
                                          Most Active
                                          wrote on last edited by
                                          #67

                                          @ingenii

                                          Dein Skript welches nach 90 min. automatisch die Heizung abschaltet ist das Problem. Jedesmal wenn die Heizung Wahr angesteuert wird, wir dein Abschalt-block neu angestoßen mit 90 minütiger Verzögerung.
                                          Dieser wird immer und immer wieder angestoßen, und lässt sich nicht stoppen.

                                          Probier mal das:

                                          <xml xmlns="https://developers.google.com/blockly/xml">
                                            <variables>
                                              <variable type="timeout" id="timeout">timeout</variable>
                                            </variables>
                                            <block type="on_ext" id="xDq%i~$rGx~A.83cmM%;" x="-238" y="-787">
                                              <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="S5Ja?RFgi-amy%b3nasc">
                                                  <field name="oid">hm-rpc.1.000A9D899F65CB.1.ACTUAL_TEMPERATURE</field>
                                                </shadow>
                                              </value>
                                              <value name="OID1">
                                                <shadow type="field_oid" id=",x^o!!V53@cT%;x8@hr]">
                                                  <field name="oid">hm-rpc.1.000A9D899F65CB.1.SET_POINT_TEMPERATURE</field>
                                                </shadow>
                                              </value>
                                              <statement name="STATEMENT">
                                                <block type="controls_if" id="^IQpxvAC2OFS~7?Wb54p">
                                                  <mutation elseif="1"></mutation>
                                                  <value name="IF0">
                                                    <block type="logic_operation" id=".lsG$2HZt^DVJB*6ws~|" inline="false">
                                                      <field name="OP">AND</field>
                                                      <value name="A">
                                                        <block type="logic_compare" id="wv?fv3Sv#4)xrUA!h,;d">
                                                          <field name="OP">LT</field>
                                                          <value name="A">
                                                            <block type="get_value" id="~FmMS%jS(50Pu}fG;xD(">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">hm-rpc.1.000A9D899F65CB.1.ACTUAL_TEMPERATURE</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="get_value" id="29K2ZhjmlM^.$R%?*O?r">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">hm-rpc.1.000A9D899F65CB.1.SET_POINT_TEMPERATURE</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="logic_negate" id="hBnvi-LmQ(j=.^{v)hq3">
                                                          <value name="BOOL">
                                                            <block type="get_value" id="1MBCiGjZW$VJF?c^n+R.">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">ID auswählen</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="control" id="BCFn=IlgKqu+C@xy)z`p">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">0_userdata.0.Testordner.Wohnzimmer_heizung</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="logic_boolean" id="CjsW,Fb567aTJf@*m@?U">
                                                          <field name="BOOL">TRUE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </statement>
                                                  <value name="IF1">
                                                    <block type="logic_operation" id="8J!J=QuO[VRTAwL--$??" inline="false">
                                                      <field name="OP">AND</field>
                                                      <value name="A">
                                                        <block type="logic_compare" id="r*KEn=z,[kyIxuL5}P;p">
                                                          <field name="OP">GTE</field>
                                                          <value name="A">
                                                            <block type="get_value" id="2T7[PNo`#A#Y.u(Q`c*H">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">hm-rpc.1.000A9D899F65CB.1.ACTUAL_TEMPERATURE</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="get_value" id="E+-PcFA;?0rjyn;u~35W">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">hm-rpc.1.000A9D899F65CB.1.SET_POINT_TEMPERATURE</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="get_value" id="7(Ir`)[bFBmxYn!Eq^cZ">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">ID auswählen</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO1">
                                                    <block type="control" id="@*N1BGqFp,k14kZ$emx]">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">0_userdata.0.Testordner.Wohnzimmer_heizung</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="logic_boolean" id="knxl8#k^UDaS0z/qJVoA">
                                                          <field name="BOOL">FALSE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </statement>
                                              <next>
                                                <block type="on" id="g^ts;K(Z?cyM6vDaU%4X">
                                                  <field name="OID">0_userdata.0.Testordner.Wohnzimmer_heizung</field>
                                                  <field name="CONDITION">ne</field>
                                                  <field name="ACK_CONDITION"></field>
                                                  <statement name="STATEMENT">
                                                    <block type="timeouts_cleartimeout" id="J0R;547HQ}}x15c(FKl:">
                                                      <field name="NAME">timeout</field>
                                                      <next>
                                                        <block type="controls_if" id="BCO@@c0uweSQ/iFZ4i.6">
                                                          <value name="IF0">
                                                            <block type="on_source" id="X=x!S!Z(EN`|N_%s/rwU">
                                                              <field name="ATTR">state.val</field>
                                                            </block>
                                                          </value>
                                                          <statement name="DO0">
                                                            <block type="timeouts_settimeout" id="Vop9tK*z:cv$14_4.[B+">
                                                              <field name="NAME">timeout</field>
                                                              <field name="DELAY">90</field>
                                                              <field name="UNIT">min</field>
                                                              <statement name="STATEMENT">
                                                                <block type="control" id="J.Vb7Iz{qxWpi`hHY_:6">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                  <field name="OID">0_userdata.0.Testordner.Wohnzimmer_heizung</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="logic_boolean" id="tw;W8Kimp?RG,kGR5}(e">
                                                                      <field name="BOOL">FALSE</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </statement>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </next>
                                            </block>
                                            <block type="comment" id="T+k|y}jvRS_RuIjyrW(j" x="338" y="-637">
                                              <field name="COMMENT">&lt;- hier noch Wohnzimmer_Heizung eintragen</field>
                                            </block>
                                            <block type="comment" id="/tI;IUq6a#gMH4?[s|MR" x="237" y="-537">
                                              <field name="COMMENT">&lt;- hier noch Wohnzimmer_Heizung eintragen</field>
                                            </block>
                                          </xml>
                                          

                                          Synology DS918+, Fritzbox 6690 Cable, #Docker #Blockly #Vis2 #Deconz #Tasmota

                                          I 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          325

                                          Online

                                          32.6k

                                          Users

                                          82.1k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe