Navigation

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

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Fenster offen tado Hilfe

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

      Hallo ich bin ganz neu
      Glaube ich habe ein Denkfehler
      folgendes vor und zwar wenn ich Fenster Auf mache soll die Heizung ausgehen
      wenn ich es zu mache soll die Einstellung die vorher war ausgeübt werden
      heißt egal ob Aktiv Aus oder im Zeitplan.
      ich habe es mit ein Riesen Blockly hinbekommen aber
      bekomme ein Fehler
      könnt ihr mir helfen das sauberer hinzubekommen
      und bitte die Ursache des Fehlers
      Bildschirmfoto 2023-11-16 um 23.47.42.png

      Bildschirmfoto 2023-11-16 um 23.54.10.png

      es sind Tado Thermostate
      Danke im Voraus
      LG Engin

      ? E StM47 3 Replies Last reply Reply Quote 0
      • ?
        A Former User @enginik last edited by A Former User

        @enginik sagte in Fenster offen tado Hilfe:

        Danke im Voraus

        Moin,

        keine Lösung, da müssen die Blockly Spezies ran, aber ganz allgemein ein paar Informationen.

        • Warn = Warnung ≠ Error = Fehler
        • bei Warnung funktioniert es meist noch, bei Fehler funktioniert es nicht
        • Log Meldungen, bitte nicht als Bildchen posten, Text gehört in Code Tags </>, damit man daraus auch Posten kann
        • dann stehen doch im orangen Text schon Hinweise und Stellen, wo Du ansetzen kannst, die Source steht in () und wo sind die Zahlen, z. B.
        • node: internal/timers, Zeile 512 das 7 Zeichen
        • node: internal/timers, Zeile 569 das 17 Zeichen
        • usw., bin zu faul das aus dem Bild abzutippen 🙂

        VG
        Bernd

        P.S.: weil Du ja, wie Du sagst, ganz neu bist, hier mal etwas zum Lesen und beherzigen 😉
        https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge

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

          @enginik

          Du solltest auch mal die Datenpunkte

          Screenshot 2023-11-17 at 06-20-22 1700175040836-bildschirmfoto-2023-11-16-um-23.47.42.png (PNG-Grafik 1109 × 1361 Pixel).png

          Screenshot 2023-11-17 at 06-20-30 1700175040836-bildschirmfoto-2023-11-16-um-23.47.42.png (PNG-Grafik 1109 × 1361 Pixel).png

          Screenshot 2023-11-17 at 06-20-52 1700175040836-bildschirmfoto-2023-11-16-um-23.47.42.png (PNG-Grafik 1109 × 1361 Pixel).png

          posten. sonst kann dir keiner wirklich helfen

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

            @emil70
            aso sorry ja sind die datenpunkte von Tado
            Bildschirmfoto 2023-11-17 um 10.18.15.png

            und das sind die erzeugten
            Bildschirmfoto 2023-11-17 um 10.19.11.png

            und das ist der code dazu

            <xml xmlns="https://developers.google.com/blockly/xml">
              <variables>
                <variable type="timeout" id="WohnzimmerTimeout">WohnzimmerTimeout</variable>
              </variables>
              <block type="comment" id="rv]ApL5?[v})0rgMup@-" x="8" y="1767">
                <field name="COMMENT">Fenster/Tür Erkennung</field>
                <next>
                  <block type="create" id="@+N`Doc#sb$+_*CyZ1VN">
                    <field name="NAME">0_userdata.0.Heizung.WohnzimmerOverlayModus</field>
                    <value name="COMMON">
                      <block type="text" id="N*s0dP9:l]+Ts/h3bgly">
                        <field name="TEXT">{"name":"WohnzimmerOverlayModus","desc":"Skript erzeugt","type":"string"}</field>
                      </block>
                    </value>
                    <next>
                      <block type="create" id="%)=y]WgY,mOZI3~F)u|P">
                        <field name="NAME">0_userdata.0.Heizung.WohnzimmerTemperatur1</field>
                        <value name="VALUE">
                          <block type="math_number" id="vo?@lQ4q:hbSSt~L:*[W">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                        <value name="COMMON">
                          <block type="text" id="8rtWi@[KEkQA*CpAi/88">
                            <field name="TEXT">{"name":"WohnzimmerTemperatur","desc":"Skript erzeugt","type":"Number"}</field>
                          </block>
                        </value>
                        <next>
                          <block type="comment" id="UPW!Mh!j6Rw+Ud*kGYw{">
                            <field name="COMMENT">Wohnzimmer</field>
                            <next>
                              <block type="on_ext" id="rK`6i?*Y?tr~~c*u=M$`">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                <field name="CONDITION">ne</field>
                                <field name="ACK_CONDITION"></field>
                                <value name="OID0">
                                  <shadow type="field_oid" id="FITF;zZrU#3H}82.BRbV">
                                    <field name="oid">zigbee.0.00158d00068b4205.opened</field>
                                  </shadow>
                                </value>
                                <statement name="STATEMENT">
                                  <block type="timeouts_cleartimeout" id="5TM|q+0=b,))cq%;1?,)">
                                    <field name="NAME">WohnzimmerTimeout</field>
                                    <next>
                                      <block type="timeouts_settimeout" id="WS7yYF_hVs#ba;`8l:OH">
                                        <field name="NAME">WohnzimmerTimeout</field>
                                        <field name="DELAY">5</field>
                                        <field name="UNIT">sec</field>
                                        <statement name="STATEMENT">
                                          <block type="controls_if" id="9yV^L6fTf+H`Sw%lt!J.">
                                            <value name="IF0">
                                              <block type="logic_compare" id="0wK^.8|KCQX_]=^y)nPq">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="on_source" id="Pa0g_,CN/lEXxA?|GqQf">
                                                    <field name="ATTR">state.val</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_boolean" id="H(1_Q9loTnpL;ZUF!+:[">
                                                    <field name="BOOL">TRUE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="update" id="*hINi^j*e6Xb`.rq*Mzn">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">0_userdata.0.Heizung.WohnzimmerOverlayModus</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="get_value" id="HY5P58@LPvxmWJI+9U1Y">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">tado.0.584133.Rooms.1.overlayType</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </statement>
                                            <next>
                                              <block type="controls_if" id="W:5Jjo!.x$AXA^i#apB+">
                                                <mutation elseif="1"></mutation>
                                                <value name="IF0">
                                                  <block type="logic_operation" id="]KGO[%7MHh;r-?HV^~.R" inline="false">
                                                    <field name="OP">AND</field>
                                                    <value name="A">
                                                      <block type="logic_compare" id="[O?n|;QqI,,d7UbySQg^">
                                                        <field name="OP">EQ</field>
                                                        <value name="A">
                                                          <block type="on_source" id="GB=4MPzddJ@Ns8(4KNAD">
                                                            <field name="ATTR">state.val</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="logic_boolean" id="w18b|k`{BB3[[rw99+*z">
                                                            <field name="BOOL">TRUE</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_compare" id=",vTVw*oZ4nu;h6`(#5{a">
                                                        <field name="OP">EQ</field>
                                                        <value name="A">
                                                          <block type="get_value" id="gBB{*/qBvHD51?k:wO:?">
                                                            <field name="ATTR">val</field>
                                                            <field name="OID">tado.0.584133.Rooms.1.overlayType</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="logic_null" id="ym/kfZgL+r,:azst?z?:"></block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="control" id="|:Z[id_3KCVW9)/^pfXa">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                    <field name="OID">tado.0.584133.Rooms.1.setting.power</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="text" id="kX3{}];F4JxR}Y.[:pgs">
                                                        <field name="TEXT">OFF</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </statement>
                                                <value name="IF1">
                                                  <block type="logic_operation" id="Q$i;:}1kE{Ac_fgizM~X" inline="false">
                                                    <field name="OP">AND</field>
                                                    <value name="A">
                                                      <block type="logic_compare" id="R)BR^69LO/_iM|wRGieO">
                                                        <field name="OP">EQ</field>
                                                        <value name="A">
                                                          <block type="on_source" id="QIexhS3)A2dZ:Kt[Hk8D">
                                                            <field name="ATTR">state.val</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="logic_boolean" id="[LD/0B;iQPb3:(amY]!o">
                                                            <field name="BOOL">FALSE</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_compare" id="O980q%x;4?tIO0pV~+!;">
                                                        <field name="OP">EQ</field>
                                                        <value name="A">
                                                          <block type="get_value" id="xbC!?/e!j:_nff$E;MW^">
                                                            <field name="ATTR">val</field>
                                                            <field name="OID">0_userdata.0.Heizung.WohnzimmerOverlayModus</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="logic_null" id="yltI#Wu$4Z25t)ymmVN1"></block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO1">
                                                  <block type="control" id="P:e9%@m~Pf~5efVldRPN">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                    <field name="OID">tado.0.584133.Rooms.1.overlayClearZone</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="K$(!=|I61*0%;se*t64g">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </statement>
                                                <next>
                                                  <block type="controls_if" id="L^ca%F4Zz=8wDwL~+E*e">
                                                    <mutation elseif="1"></mutation>
                                                    <value name="IF0">
                                                      <block type="logic_operation" id="5B9SET9sG}iHhbFoBm$Y" inline="false">
                                                        <field name="OP">AND</field>
                                                        <value name="A">
                                                          <block type="logic_compare" id="u4bvbR#9dslJh0?dD%Uf">
                                                            <field name="OP">EQ</field>
                                                            <value name="A">
                                                              <block type="on_source" id="4om^(Szu?:=voL`Vthhb">
                                                                <field name="ATTR">state.val</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="logic_boolean" id="z_Yrp7cHfKL9_g/K%gaB">
                                                                <field name="BOOL">TRUE</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="logic_compare" id="dr@`s4][r2G@A?gx!q7z">
                                                            <field name="OP">EQ</field>
                                                            <value name="A">
                                                              <block type="get_value" id=";~7NOYGk|n`#;)l,yqcS">
                                                                <field name="ATTR">val</field>
                                                                <field name="OID">0_userdata.0.Heizung.WohnzimmerOverlayModus</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="text" id="6RSDepC%w,/@|w6u6Gf#">
                                                                <field name="TEXT">MANUAL</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO0">
                                                      <block type="update" id="Kriqr`$GB-zdYZ+bF=oe">
                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                        <field name="OID">0_userdata.0.Heizung.WohnzimmerTemperatur1</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="get_value" id="PS8:I)AJ}1F2hpV6N-@F">
                                                            <field name="ATTR">val</field>
                                                            <field name="OID">tado.0.584133.Rooms.1.setting.temperature.celsius</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="control" id="mQ3#xaU9W;su+hw?YNR2">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                            <field name="OID">tado.0.584133.Rooms.1.setting.power</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="text" id="49k0^D4+w0t]iGx*qsaU">
                                                                <field name="TEXT">OFF</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </statement>
                                                    <value name="IF1">
                                                      <block type="logic_operation" id="m+}Q=paV~ct*24#5CGex" inline="false">
                                                        <field name="OP">AND</field>
                                                        <value name="A">
                                                          <block type="logic_compare" id="_m!maygoaq:0k=hd{D)~">
                                                            <field name="OP">EQ</field>
                                                            <value name="A">
                                                              <block type="on_source" id="B+ZM]**!`b|u1WAf`Yh+">
                                                                <field name="ATTR">state.val</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="logic_boolean" id="51x$h;B;I2(qYE*x.pw1">
                                                                <field name="BOOL">FALSE</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="logic_compare" id="F.iurW!oO4+aL!0(=vNz">
                                                            <field name="OP">EQ</field>
                                                            <value name="A">
                                                              <block type="get_value" id="P9g((wadiN:zHaVF@Rzl">
                                                                <field name="ATTR">val</field>
                                                                <field name="OID">0_userdata.0.Heizung.WohnzimmerOverlayModus</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="text" id="Fm(UL^Ye_Jl5C7?3QZZM">
                                                                <field name="TEXT">MANUAL</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO1">
                                                      <block type="controls_if" id="F)fJjfN-hfkQX{13U_P,">
                                                        <mutation else="1"></mutation>
                                                        <value name="IF0">
                                                          <block type="logic_compare" id="n4PMK9-l7g~chai;7fUO">
                                                            <field name="OP">EQ</field>
                                                            <value name="A">
                                                              <block type="get_value" id="w{Q`2r,_BE_(mf74]$Mo">
                                                                <field name="ATTR">val</field>
                                                                <field name="OID">0_userdata.0.Heizung.WohnzimmerTemperatur1</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="logic_null" id="19kaiLZD,deN#Wkg5GnA"></block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO0">
                                                          <block type="control" id="#1*4f(A?UEWbv%3^12=J">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                            <field name="OID">tado.0.584133.Rooms.1.setting.power</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="text" id="UiF~r-%0:2X)|%~byz!(">
                                                                <field name="TEXT">OFF</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </statement>
                                                        <statement name="ELSE">
                                                          <block type="control" id="ySG|{}wFayoDI17u(DO(">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                            <field name="OID">tado.0.584133.Rooms.1.setting.temperature.celsius</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="get_value" id="$^:k}}:%{/,i^LEt;uJT">
                                                                <field name="ATTR">val</field>
                                                                <field name="OID">0_userdata.0.Heizung.WohnzimmerTemperatur1</field>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="control" id="qHJ,i+2[r^Tk|0HoSMK(">
                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                <field name="OID">tado.0.584133.Rooms.1.setting.power</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE">
                                                                  <block type="text" id="cIMOZvaB?PPEhvEG2h+#">
                                                                    <field name="TEXT">ON</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </statement>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </xml>
            

            ich hoffe das dass Hilft kenne mich nicht so gut aus
            sorry wenn ich fragen nicht verstehe
            und danke für eure Hilfe
            LG Engin

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

              gelöscht

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

                jetzt bekomme ich auch keine fehler mehr war beim erzeugten Datenpunkt string eingestellt statt number, aber trotzdem ist dieses Blockly viel zu groß und unaufgeräumt
                wie bekomme ich es sauberer hin und vorallem Kürzer
                LG Engin

                paul53 1 Reply Last reply Reply Quote 0
                • E
                  enginik last edited by

                  und noch was ist es möglich da noch einzubauen das wenn mann Fenster kurz öffnet oder schliesst z.B. wenn mann ein offenes Fenster zumacht um es zu kippen. das es dann einfach nichts tut mit dem timeout bekomme ich es nicht hin
                  danke

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

                    @enginik sagte: Blockly viel zu groß und unaufgeräumt

                    Ich kenne zwar die Tado-Datenpunkte nicht, aber aufgeräumter könnte etwa so aussehen:

                    Blockly_temp.JPG

                    EDIT: Welche Werte kann der Modus wann annehmen?

                    1 Reply Last reply Reply Quote 0
                    • StM47
                      StM47 @enginik last edited by

                      @enginik

                      Ich habe das bei mir ganz einfach geregelt und es funktioniert super.
                      Wenn das Fenster geöffnet wird, setze ich die Temperatur auf 5 Grad.
                      Das hat den Vorteil, dass nicht mehr geheizt wird, aber die Tado eigene Fenster auf Erkennung noch funktioniert und wenn die dann abgelaufen ist, wird die Temperatur wieder auf 5 Grad gestellt und es geht somit keine Energie verloren.

                      Mit Clear Zone Overlay wird dann der Wert deines voreingestellten Heizprogammes, nach dem Fenster schließen wieder eingestellt.

                      Bildschirmfoto 2023-11-24 um 21.35.29.png

                      Hier das Script

                      <xml xmlns="https://developers.google.com/blockly/xml">
                        <block type="on_ext" id="GC=mpw#p2r6h#^`T*R#," x="63" y="-487">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                          <field name="CONDITION">ne</field>
                          <field name="ACK_CONDITION"></field>
                          <value name="OID0">
                            <shadow type="field_oid" id="oKN:za]*?OkA.ixh3#B/">
                              <field name="oid">deconz.0.sensors.00158d0004201925.open</field>
                            </shadow>
                          </value>
                          <statement name="STATEMENT">
                            <block type="controls_if" id="H5HHhwOGohnD.~p.LOq3">
                              <mutation elseif="2"></mutation>
                              <value name="IF0">
                                <block type="logic_operation" id="`z6@wKKo`I^;B$VOYDTT">
                                  <field name="OP">AND</field>
                                  <value name="A">
                                    <block type="logic_compare" id="w8tmEAH/7o28MdLN=WcB">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="get_value" id="vm:=yBY9:#|cl]_XO?4u">
                                          <field name="ATTR">val</field>
                                          <field name="OID">deconz.0.sensors.00158d0004201925.open</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="=R/%kRn:An-V!{K[u|pl">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_compare" id=",x:b76MfdxKZVbRP2RE0">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="get_value" id="u^SwCV1|:kXK`wzL0+kl">
                                          <field name="ATTR">val</field>
                                          <field name="OID">tado.0.1076995.Rooms.5.setting.power</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="text" id="`4#a()fH0%2Py~uW34IL">
                                          <field name="TEXT">ON</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="control" id="QrD*2GBvPouf-T`+!0e.">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">tado.0.1076995.Rooms.5.setting.temperature.celsius</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="math_number" id="D9e8)c4Dxl7]PZo6e^~z">
                                      <field name="NUM">5</field>
                                    </block>
                                  </value>
                                </block>
                              </statement>
                              <value name="IF1">
                                <block type="logic_operation" id="-u(^n|zi1Uio0}pwAySt">
                                  <field name="OP">AND</field>
                                  <value name="A">
                                    <block type="logic_compare" id="[?Ksf3v|6AC1LBvdm0Pv">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="get_value" id="pYKaPd|t{Zt.f?UmL-,J">
                                          <field name="ATTR">val</field>
                                          <field name="OID">deconz.0.sensors.00158d0004201925.open</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="jDyJ`d]!(KA7S((P=XT1">
                                          <field name="BOOL">FALSE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_compare" id="Ekd`Q^N^*#s}s8zcZL9K">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="get_value" id="ABw;qatAv!F+*pN#8.Sn">
                                          <field name="ATTR">val</field>
                                          <field name="OID">tado.0.1076995.Rooms.5.setting.power</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="text" id="[.RXvibB+-PDe~u.U5)}">
                                          <field name="TEXT">ON</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO1">
                                <block type="control" id="^!hCU/Efhva{r-}bv[}1">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">tado.0.1076995.Rooms.5.overlayClearZone</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="uV9PYP++BsorvR#)0+?n">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                </block>
                              </statement>
                              <value name="IF2">
                                <block type="logic_operation" id="%rtXcpOFEqXvF1V399;[">
                                  <field name="OP">AND</field>
                                  <value name="A">
                                    <block type="logic_compare" id="!@ZNS1vizO`bBSom(,a?">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="get_value" id="##y(H3+.L@are*weI!IP">
                                          <field name="ATTR">val</field>
                                          <field name="OID">deconz.0.sensors.00158d0004201925.open</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="r1zI+V9u!dz$WY%Xu*Ix">
                                          <field name="BOOL">FALSE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_compare" id="$Bp!dd@h/L!@-=ta^Lx?">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="get_value" id="`p#M=T7Im;cBbZs)x2/Y">
                                          <field name="ATTR">val</field>
                                          <field name="OID">tado.0.1076995.Rooms.5.setting.power</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="text" id="FQRU*lu(^SR+:~d8oQkA">
                                          <field name="TEXT">OFF</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </statement>
                        </block>
                      </xml>
                      
                      1 Reply Last reply Reply Quote 0
                      • S
                        skapi last edited by

                        Hallo,

                        ich bin auch gerade am tüfteln, jedoch was ich mich frage, welchen Datenpunkt nehmt ihr für Fenster offen (true/false)?

                        Ich möchte nämlich gerne bei Fenster offen eine tasmota Steckdose einschalten und bei Fenster zu ausschalten...

                        Würde mich über eine kurze Info freuen :-)!

                        LG

                        StM47 1 Reply Last reply Reply Quote 0
                        • StM47
                          StM47 @skapi last edited by

                          @skapi

                          Hi, das ist eigentlich völlig egal.
                          Es kommt ganz darauf an, das für Datenpunkte deine Fenstersensoren bereitstellen.

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            skapi @StM47 last edited by skapi

                            @stm47
                            Hi, & Danke für deine Antwort 🙂
                            Hab es für mich nun so gelöst: Wenn der Timer läuft (Fenster ist offen // remeaningTimeInSeconds) und der Wert größer als 1 ist, dann mache...

                            LG

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

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            480
                            Online

                            31.9k
                            Users

                            80.1k
                            Topics

                            1.3m
                            Posts

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