Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Ikea Fyrtur - Stop Button

    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

    Ikea Fyrtur - Stop Button

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

      Hallo zusammen,

      ich habe mir einen Ikea Fyrtur Rollo gegönnt und steuere diesen mit dem Zigbee Adapter. Funktioniert soweit auch gut. Ich kann mittels dem Datenpunkt "Position" je nach Prozentangabe den Rollo hoch/ runter oder auch nur teilweise fahren lassen. Nur der Datenpunkt "Stop" funktioniert nicht wie ich mir diese vorstelle. Wenn ich den Button "Stop" betätige wird nicht gestoppt, sondern der Rollo fährt wieder nach oben.

      Ikea.JPG
      Hat jemand das selbe Problem. Weiß jemand Rat für dieses Problem.

      Danke

      Heiko

      L 1 Reply Last reply Reply Quote 1
      • Ewgeni
        Ewgeni last edited by

        Hi, ich habe genau das selbe Problem. Habe ein Blockly Skript zur Steuerung der Rollos über die Fernbedienung geschrieben. Bei Tastendruck startet das Rollo, beim nächsten Tastendruck soll es stoppen. Jedoch führt das Triggern von "Stop" dazu, dass das Rollo wieder komplett hochfährt.

        Hat jemand hierzu eventuell schon eine Lösung?

        Danke!

        S 1 Reply Last reply Reply Quote 0
        • S
          stefande @Ewgeni last edited by

          @Ewgeni
          Ich hab das über eine Krücke gelöst.
          Ich schreibe die aktuelle Position in ein Hilfsobjekt und wenn ich dann während der Fahrt die Taste nochmal drücke, schreibe ich den Wert des Hilfsobjekt in die Position.
          Das Rollo schießt zwar dann über den gewünschten Punkt drüber, fährt dann aber wieder ungefähr zurück auf die Position, wo die Taste gedrückt wurde.

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

            Hi @stefande
            ich habe das tatsächlich auch so ähnlich gelöst, allerdings nervt mich diese Ungenauigkeit, dass die Position sozusagen nicht "Live" ist und er deswegen dann immer ein Stück zurückfährt.
            Wenn der "Stop" Button vernünftig funktionieren würde, wäre dies viel einfacher umsetzbar.
            Kennt einer die dazugehörige Github-Seite, dann könnte man dort eventuell ein Issue anlegen.

            Danke!

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

              @stefande
              Könntest du mir bitte dein Blockly hierfür zur Verfügung stellen.
              Vielen Dank

              Heiko

              S 1 Reply Last reply Reply Quote 0
              • S
                stefande @eve11 last edited by

                @eve11

                Ich hab das Rollo auch erst ein paar Tage im Einsatz und der Script hat mit Sicherheit noch Potential nach oben.

                Rollo.png

                <xml xmlns="https://developers.google.com/blockly/xml">
                  <block type="on_ext" id="-A;U~Arlym,+4vOB#JUy" x="188" y="-109">
                    <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="7lt^c#_k}Qwt4FME2Grd">
                        <field name="oid">zigbee.0.680ae2fffe4050fd.position</field>
                      </shadow>
                    </value>
                    <statement name="STATEMENT">
                      <block type="direct" id="}tvAK6PZxQ._S_:Wi63B">
                        <field name="ONLY_CHANGES">TRUE</field>
                        <value name="OID_SRC">
                          <shadow type="field_oid" id="oDxhQ}_A/CNPjfeF@1_S">
                            <field name="oid">zigbee.0.680ae2fffe4050fd.position</field>
                          </shadow>
                        </value>
                        <value name="OID_DST">
                          <shadow type="field_oid" id="XJt)nCro2vUEm7|3){Wa">
                            <field name="oid">0_userdata.0.Rollo.Stellung_WZ1</field>
                          </shadow>
                        </value>
                      </block>
                    </statement>
                    <next>
                      <block type="on_ext" id="R9xc@~rUwcwN]!4)inpB">
                        <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="Yr0*.8caYwiKXQPADE`[">
                            <field name="oid">zigbee.0.680ae2fffe3dd363.cover_close</field>
                          </shadow>
                        </value>
                        <value name="OID1">
                          <shadow type="field_oid" id="t{uw/HgbbV_fdWHII,U)">
                            <field name="oid">zigbee.0.680ae2fffe3dd363.cover_open</field>
                          </shadow>
                        </value>
                        <statement name="STATEMENT">
                          <block type="controls_if" id="=MVGeQo7o@-fdnEz,o[.">
                            <mutation elseif="1"></mutation>
                            <value name="IF0">
                              <block type="logic_operation" id="e@xkyY$Ku+NF=7l~1J6!" inline="false">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="logic_operation" id="4eAvWAfI#/6N_vQ1;KZs" inline="false">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="logic_compare" id="7Hl/~:XGZNW#`M[mesIp">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="get_value" id="s,bsTF/MOR/:n*8F!T:p">
                                            <field name="ATTR">val</field>
                                            <field name="OID">zigbee.0.680ae2fffe3dd363.cover_close</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_boolean" id="O[Ci}7|~PWx$jyW@tiPe">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_compare" id=":bGIWrL5Y-J%M-?cSYLs">
                                        <field name="OP">NEQ</field>
                                        <value name="A">
                                          <block type="get_value" id="L@KKzokpM0`w6](lq_mX">
                                            <field name="ATTR">val</field>
                                            <field name="OID">0_userdata.0.Rollo.HM_Rollo_WZ1_hoch</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_boolean" id="7*BrRDIO:D,kEuOHzTb^">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_compare" id="?]JG-]uPx,Ec?|4W{}uP">
                                    <field name="OP">LTE</field>
                                    <value name="A">
                                      <block type="get_value" id="_e3f7qT3!V~X-oR@%)34">
                                        <field name="ATTR">val</field>
                                        <field name="OID">zigbee.0.680ae2fffe4050fd.position</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="cMUKK*OpA=agtKSh2{6O">
                                        <field name="NUM">100</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="control" id="CU62l7a[[ET-vQ1s?fc/">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">zigbee.0.680ae2fffe4050fd.position</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="math_number" id="CmU/~6TS.8A-=t03nAI5">
                                    <field name="NUM">0</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <value name="IF1">
                              <block type="logic_operation" id="KUW@+%BfyrA@)36]c0SR" inline="false">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="logic_operation" id="{.u2t]G;Aq:32HGn/=vR" inline="false">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="logic_compare" id="ipu=UxAfZ8cCHSQklG6a">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="get_value" id="f-FFfdZss$0#%pZYq^IJ">
                                            <field name="ATTR">val</field>
                                            <field name="OID">zigbee.0.680ae2fffe3dd363.cover_open</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_boolean" id="Viwu|8b4Kej3m}9O}wsz">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_compare" id="W~%}wv}WlwXO~C:o~eFc">
                                        <field name="OP">NEQ</field>
                                        <value name="A">
                                          <block type="get_value" id="OeMzop);7{a5]^($wE.#">
                                            <field name="ATTR">val</field>
                                            <field name="OID">0_userdata.0.Rollo.HM_Rollo_WZ1_runter</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_boolean" id=";HKOzp}{*ee;f){b9=}3">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_compare" id=",.D)(hJ7]B1ZRXJ?[.wr">
                                    <field name="OP">GTE</field>
                                    <value name="A">
                                      <block type="get_value" id=",7Le~p68+IubHAn6E+_^">
                                        <field name="ATTR">val</field>
                                        <field name="OID">zigbee.0.680ae2fffe4050fd.position</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="I(oLvm)2}l?DUYy)3oJe">
                                        <field name="NUM">0</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO1">
                              <block type="control" id="qpGcAEa@`-Ii}xj`9Ovl">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">zigbee.0.680ae2fffe4050fd.position</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="math_number" id="qRy(D}N++9HmZ)M2a}{E">
                                    <field name="NUM">100</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <next>
                              <block type="controls_if" id="O@FrOI9GeLq4A^;F/^y{">
                                <mutation elseif="1"></mutation>
                                <value name="IF0">
                                  <block type="logic_operation" id="{1}SfwtR4B4^*l}Q?,3o" inline="false">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="logic_operation" id="sFvWDDZG(ku1G;r_1ba-" inline="false">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="logic_compare" id="1V.%bl;?h6)Mk$1sd7o-">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="get_value" id="Cs_T{wLyA[roU[aKVgs%">
                                                <field name="ATTR">val</field>
                                                <field name="OID">zigbee.0.680ae2fffe3dd363.cover_close</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_boolean" id="wbs@rS(mt2)[Y`BiOw1l">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_compare" id="${|i%Y#|naOU$+6~=8~z">
                                            <field name="OP">NEQ</field>
                                            <value name="A">
                                              <block type="get_value" id="cGR/]lG]j=zjoA4R1gX!">
                                                <field name="ATTR">val</field>
                                                <field name="OID">0_userdata.0.Rollo.HM_Rollo_WZ1_hoch</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_boolean" id="UP9pj0z$U0vyzBi}s+ri">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_compare" id="#0p/qvBf!`=qsf,Btwvj">
                                        <field name="OP">LTE</field>
                                        <value name="A">
                                          <block type="get_value" id="plRJ08EfFuV`SCk+mX-{">
                                            <field name="ATTR">val</field>
                                            <field name="OID">zigbee.0.680ae2fffe4050fd.position</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="]1W-[UVSo~gpk4iLeoR2">
                                            <field name="NUM">100</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="control" id="Fv6ns2W%SnOI$0vDliG3">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                    <field name="OID">0_userdata.0.Rollo.HM_Rollo_WZ1_runter</field>
                                    <field name="WITH_DELAY">TRUE</field>
                                    <field name="DELAY_MS">200</field>
                                    <field name="UNIT">ms</field>
                                    <field name="CLEAR_RUNNING">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="j/^0jK0xXJA|ERL@W?fF">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                  </block>
                                </statement>
                                <value name="IF1">
                                  <block type="logic_operation" id="8sz98CFF~aGma]*@*8gG" inline="false">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="logic_compare" id="?xaI_]1M!PuY9}`DlIy3">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="get_value" id="sUiEYHIGrRO{_FdKG*Ug">
                                            <field name="ATTR">val</field>
                                            <field name="OID">zigbee.0.680ae2fffe3dd363.cover_open</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_boolean" id="WmXB]UbEJ}v$K2i_PlBR">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_compare" id="fwK-E`!pK$i,.Oc5k(.{">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="get_value" id="si?y;IsLhyG6^roJetXL">
                                            <field name="ATTR">val</field>
                                            <field name="OID">0_userdata.0.Rollo.HM_Rollo_WZ1_runter</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_boolean" id="{#}Q0/uG+lObEfnpsU4(">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO1">
                                  <block type="control" id=".5D`u36NaBBpX}TWbP1J">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">zigbee.0.680ae2fffe4050fd.position</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="get_value" id="@O_dS/UFJj!|*}M3!GLe">
                                        <field name="ATTR">val</field>
                                        <field name="OID">0_userdata.0.Rollo.Stellung_WZ1</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="control" id="7P%tSJQKrb.@^CUgC-fM">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">0_userdata.0.Rollo.HM_Rollo_WZ1_runter</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="eu@N@*KkKNy8d#)b;*^y">
                                            <field name="BOOL">FALSE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                                <next>
                                  <block type="controls_if" id="QHs;h#/OvgP6+-ooL=ig">
                                    <mutation elseif="1"></mutation>
                                    <value name="IF0">
                                      <block type="logic_operation" id="{pqlcb$bG|7yr_M#x+v[" inline="false">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="logic_operation" id="|8=r=dTk3FZn9q./v!yz" inline="false">
                                            <field name="OP">AND</field>
                                            <value name="A">
                                              <block type="logic_compare" id="ki}FsHnY]+uo0=qY`@Lu">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="get_value" id="iVKkpQD_TRHt|o-Gc*fY">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">zigbee.0.680ae2fffe3dd363.cover_open</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_boolean" id="h.Wj?NezNX^N1`3~Xj-k">
                                                    <field name="BOOL">TRUE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_compare" id="Aogj}B(.z#:n~DVG3lQ+">
                                                <field name="OP">NEQ</field>
                                                <value name="A">
                                                  <block type="get_value" id="}|u6:a=6Vu=E~cJ4wy=x">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">0_userdata.0.Rollo.HM_Rollo_WZ1_runter</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_boolean" id="P9%7VkHWjc^HC$aprwyq">
                                                    <field name="BOOL">TRUE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_compare" id="zaMa1~Q|=[|ML{-qJ^[b">
                                            <field name="OP">GTE</field>
                                            <value name="A">
                                              <block type="get_value" id="4nV;*;FWjWv!dw9SsNOd">
                                                <field name="ATTR">val</field>
                                                <field name="OID">zigbee.0.680ae2fffe4050fd.position</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="O_G6Y3ps/Y}S6Q:0e4[x">
                                                <field name="NUM">0</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="control" id="!|{-qs.Ca17QnpWj*2Ut">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                        <field name="OID">0_userdata.0.Rollo.HM_Rollo_WZ1_hoch</field>
                                        <field name="WITH_DELAY">TRUE</field>
                                        <field name="DELAY_MS">200</field>
                                        <field name="UNIT">ms</field>
                                        <field name="CLEAR_RUNNING">FALSE</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="Fv-aJjw|ngjqz3tMw*b;">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <value name="IF1">
                                      <block type="logic_operation" id="I=cT+Y;_m9.|bblchA-=" inline="false">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="logic_compare" id="TamS`QWtCnp88r~qCA#U">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="get_value" id="+)06boUx9+{bXJ%]~!;t">
                                                <field name="ATTR">val</field>
                                                <field name="OID">zigbee.0.680ae2fffe3dd363.cover_close</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_boolean" id="LWhFl!cASN#;KEi[Z#B)">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_compare" id="HxqIFUz!Kea){X!`QD%_">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="get_value" id="~-_Tofk7C2Yzs_L=pCIH">
                                                <field name="ATTR">val</field>
                                                <field name="OID">0_userdata.0.Rollo.HM_Rollo_WZ1_hoch</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_boolean" id="asp)4`tTK_6%veTU8QI=">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO1">
                                      <block type="control" id="Ri:;{HG7o[ZV.:(^;vSh">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">zigbee.0.680ae2fffe4050fd.position</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="get_value" id="7um1.m:}eF2AnMpC@FJH">
                                            <field name="ATTR">val</field>
                                            <field name="OID">0_userdata.0.Rollo.Stellung_WZ1</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="control" id="b/,VjrR#-2Q2mm*A)_~h">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">0_userdata.0.Rollo.HM_Rollo_WZ1_hoch</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="Xu2zZsmthQ7%lGch*O}[">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <next>
                          <block type="on_ext" id="ePJK3T5{|](4FyS##)j5">
                            <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="sI({7xD?qb|LYLs1p^0W">
                                <field name="oid">0_userdata.0.Rollo.HM_Rollo_WZ1_hoch</field>
                              </shadow>
                            </value>
                            <value name="OID1">
                              <shadow type="field_oid" id=",cu{*,~h`0%ffQz|vIa!">
                                <field name="oid">0_userdata.0.Rollo.HM_Rollo_WZ1_runter</field>
                              </shadow>
                            </value>
                            <statement name="STATEMENT">
                              <block type="control" id="U!@$=L/9eH_sL^:.$TKi">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                <field name="OID">0_userdata.0.Rollo.HM_Rollo_WZ1_hoch</field>
                                <field name="WITH_DELAY">TRUE</field>
                                <field name="DELAY_MS">14000</field>
                                <field name="UNIT">ms</field>
                                <field name="CLEAR_RUNNING">TRUE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="8m7N87GhcZNcrgvwA)tY">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="control" id="M@H}?3{nPTp/D9lk`?ut">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                    <field name="OID">0_userdata.0.Rollo.HM_Rollo_WZ1_runter</field>
                                    <field name="WITH_DELAY">TRUE</field>
                                    <field name="DELAY_MS">14000</field>
                                    <field name="UNIT">ms</field>
                                    <field name="CLEAR_RUNNING">TRUE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="tr*ICqD,TVI#]]MKUel7">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </xml>
                ...
                1 Reply Last reply Reply Quote 0
                • M
                  Mueckeflo last edited by

                  Hier genau das gleiche Problem.
                  Ich habe das folgendermaßen gelöst:
                  51336bfa-a065-4f14-afec-902c23a0e67a-image.png

                  Hier der entsprechende Code:

                  <xml xmlns="https://developers.google.com/blockly/xml">
                    <variables>
                      <variable id="=c6`zSpe()o`8MYVuke)">Processing</variable>
                      <variable type="timeout" id="RevertProcessingRunter">RevertProcessingRunter</variable>
                      <variable type="timeout" id="RevertProcessingRauf">RevertProcessingRauf</variable>
                    </variables>
                    <block type="variables_set" id="^+x_JbwOJn17=GKx~/jE" x="-587" y="-410">
                      <field name="VAR" id="=c6`zSpe()o`8MYVuke)">Processing</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id="m`Yr5^w$eoeg~#@`rcS}">
                          <field name="BOOL">FALSE</field>
                        </block>
                      </value>
                      <next>
                        <block type="on_ext" id="?eD$GZOV*h9E,Ok,m%]U">
                          <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="TT8=]x$m.$m,@;.uEJy-">
                              <field name="oid">zigbee.0.680ae2fffe6fb6c7.cover_close</field>
                            </shadow>
                          </value>
                          <value name="OID1">
                            <shadow type="field_oid" id="Ff3b4/y;^qUxwKGQ$#}/">
                              <field name="oid">zigbee.0.680ae2fffe6fb6c7.cover_open</field>
                            </shadow>
                          </value>
                          <statement name="STATEMENT">
                            <block type="controls_if" id="(A8yk_?1c]!tqZJ!vI$g">
                              <mutation elseif="2"></mutation>
                              <value name="IF0">
                                <block type="logic_operation" id="X4~BBBP/{QFu7K3=gGa?" inline="false">
                                  <field name="OP">AND</field>
                                  <value name="A">
                                    <block type="logic_compare" id="eqY6xgw5kBblev+*J~s(">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="variables_get" id="ilc{%D)QSO4R4Of?6a[}">
                                          <field name="VAR" id="=c6`zSpe()o`8MYVuke)">Processing</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="?*,kkuGq{C~cghT@0WqH">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_operation" id="YD~1AG#rMHwL=z:1/QSh" inline="false">
                                      <field name="OP">OR</field>
                                      <value name="A">
                                        <block type="logic_compare" id="h$Dpaah0!vg0vsTGWsFD">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="get_value" id="N_k2wTp%/Ru:cM~EB_hQ">
                                              <field name="ATTR">val</field>
                                              <field name="OID">zigbee.0.680ae2fffe6fb6c7.cover_close</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="logic_boolean" id="SW)S^^#vON|txzpK{51J">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_compare" id="On#[@/e9];ekd]9P)4na">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="get_value" id="M?*4Q1gnQyV]:W3a$JO;">
                                              <field name="ATTR">val</field>
                                              <field name="OID">zigbee.0.680ae2fffe6fb6c7.cover_open</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="logic_boolean" id="4Q)j^/LFI,1{DHd@DYw(">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="timeouts_cleartimeout" id="A%Ov$FJ-yV#}hx~tMsd;">
                                  <field name="NAME">RevertProcessingRunter</field>
                                  <next>
                                    <block type="timeouts_cleartimeout" id="lA=v.lfPM3d,clWP$ak`">
                                      <field name="NAME">RevertProcessingRauf</field>
                                      <next>
                                        <block type="control" id="x1Ezu`2{E^8OdG1:M0Kw">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">zigbee.0.680ae2fffe68a614.position</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="get_value" id="|(]RBP{C!r[N.)};?)H=">
                                              <field name="ATTR">val</field>
                                              <field name="OID">zigbee.0.680ae2fffe68a614.position</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="variables_set" id="g##Vz.(U=Q+ATylBYgJ0">
                                              <field name="VAR" id="=c6`zSpe()o`8MYVuke)">Processing</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="cx/j3!8ig{aG4x.{+5ON">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                              <value name="IF1">
                                <block type="logic_operation" id="OA38Cg4IEEaJw2LRTgVF" inline="false">
                                  <field name="OP">AND</field>
                                  <value name="A">
                                    <block type="logic_compare" id="`iIR1wYU)}oxPK(}~8#^">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="variables_get" id="9ri#F,7pPYEHC.I^dhRu">
                                          <field name="VAR" id="=c6`zSpe()o`8MYVuke)">Processing</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="P+:.Y|1GAnecS{1~|A%b">
                                          <field name="BOOL">FALSE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_compare" id="#IJG$$YlVkB!-jLyE;;S">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="get_value" id="{~D?qy]N251qf.*3q9:J">
                                          <field name="ATTR">val</field>
                                          <field name="OID">zigbee.0.680ae2fffe6fb6c7.cover_close</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="d|W,$]RbV1FG:pUZv)}{">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO1">
                                <block type="variables_set" id="hg0nB:mt0N~jx/w6_jv6">
                                  <field name="VAR" id="=c6`zSpe()o`8MYVuke)">Processing</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="/GX7?y7{_5{Ou7*)!j8L">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="control" id="8X.u=[.L1(gGnk_+pIB$">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">zigbee.0.680ae2fffe68a614.position</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="math_number" id="*r#Z[TSL%Nw1K,?UMmGR">
                                          <field name="NUM">2</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="timeouts_settimeout" id="S|As0|:Ww0:Jhe]E2KZZ">
                                          <field name="NAME">RevertProcessingRunter</field>
                                          <field name="DELAY">19600</field>
                                          <field name="UNIT">ms</field>
                                          <statement name="STATEMENT">
                                            <block type="variables_set" id="+lIXeea]?sz/-?{-Pd=%">
                                              <field name="VAR" id="=c6`zSpe()o`8MYVuke)">Processing</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="j18@UUFiGT%kmik(GxL!">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </statement>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                              <value name="IF2">
                                <block type="logic_operation" id="IX6$68|YHmz#;^0WwK}4" inline="false">
                                  <field name="OP">AND</field>
                                  <value name="A">
                                    <block type="logic_compare" id="-%}+@-=oTS7#+H=G%eSI">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="variables_get" id="my5EzNw,}}B,qa6R2#ha">
                                          <field name="VAR" id="=c6`zSpe()o`8MYVuke)">Processing</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id=")[`pD-idfXo!U{@l5;vp">
                                          <field name="BOOL">FALSE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_compare" id="C4};)q]:vs0ocThb^rO!">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="get_value" id="^7oeBh)^Pa)Kb/a_(qPJ">
                                          <field name="ATTR">val</field>
                                          <field name="OID">zigbee.0.680ae2fffe6fb6c7.cover_open</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="_ib$;)MOp`X`#2,.-~},">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO2">
                                <block type="variables_set" id="Qij}$H|!*`j~X%o4.w~H">
                                  <field name="VAR" id="=c6`zSpe()o`8MYVuke)">Processing</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id=";dd3dQM:60U]qLkT2{2v">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="control" id="Wt;i6J_Cv~;5B;;3AW~P">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">zigbee.0.680ae2fffe68a614.position</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="math_number" id="dL--;VzEQF.a%TLjm`oq">
                                          <field name="NUM">80</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="timeouts_settimeout" id=".-RvDwO`y@c$C+]mE]RW">
                                          <field name="NAME">RevertProcessingRauf</field>
                                          <field name="DELAY">19600</field>
                                          <field name="UNIT">ms</field>
                                          <statement name="STATEMENT">
                                            <block type="variables_set" id="UNRza/Hg5%#[[d@sb.ng">
                                              <field name="VAR" id="=c6`zSpe()o`8MYVuke)">Processing</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="QF2A^oA/)P)fZG)!P@Dl">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </statement>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                            </block>
                          </statement>
                        </block>
                      </next>
                    </block>
                  </xml>
                  <xml xmlns="https://developers.google.com/blockly/xml">
                    <variables>
                      <variable id="=c6`zSpe()o`8MYVuke)">Processing</variable>
                      <variable type="timeout" id="RevertProcessingRunter">RevertProcessingRunter</variable>
                      <variable type="timeout" id="RevertProcessingRauf">RevertProcessingRauf</variable>
                    </variables>
                    <block type="variables_set" id="^+x_JbwOJn17=GKx~/jE" x="-587" y="-410">
                      <field name="VAR" id="=c6`zSpe()o`8MYVuke)">Processing</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id="m`Yr5^w$eoeg~#@`rcS}">
                          <field name="BOOL">FALSE</field>
                        </block>
                      </value>
                      <next>
                        <block type="on_ext" id="?eD$GZOV*h9E,Ok,m%]U">
                          <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="TT8=]x$m.$m,@;.uEJy-">
                              <field name="oid">zigbee.0.680ae2fffe6fb6c7.cover_close</field>
                            </shadow>
                          </value>
                          <value name="OID1">
                            <shadow type="field_oid" id="Ff3b4/y;^qUxwKGQ$#}/">
                              <field name="oid">zigbee.0.680ae2fffe6fb6c7.cover_open</field>
                            </shadow>
                          </value>
                          <statement name="STATEMENT">
                            <block type="controls_if" id="(A8yk_?1c]!tqZJ!vI$g">
                              <mutation elseif="2"></mutation>
                              <value name="IF0">
                                <block type="logic_operation" id="X4~BBBP/{QFu7K3=gGa?" inline="false">
                                  <field name="OP">AND</field>
                                  <value name="A">
                                    <block type="logic_compare" id="eqY6xgw5kBblev+*J~s(">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="variables_get" id="ilc{%D)QSO4R4Of?6a[}">
                                          <field name="VAR" id="=c6`zSpe()o`8MYVuke)">Processing</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="?*,kkuGq{C~cghT@0WqH">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_operation" id="YD~1AG#rMHwL=z:1/QSh" inline="false">
                                      <field name="OP">OR</field>
                                      <value name="A">
                                        <block type="logic_compare" id="h$Dpaah0!vg0vsTGWsFD">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="get_value" id="N_k2wTp%/Ru:cM~EB_hQ">
                                              <field name="ATTR">val</field>
                                              <field name="OID">zigbee.0.680ae2fffe6fb6c7.cover_close</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="logic_boolean" id="SW)S^^#vON|txzpK{51J">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_compare" id="On#[@/e9];ekd]9P)4na">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="get_value" id="M?*4Q1gnQyV]:W3a$JO;">
                                              <field name="ATTR">val</field>
                                              <field name="OID">zigbee.0.680ae2fffe6fb6c7.cover_open</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="logic_boolean" id="4Q)j^/LFI,1{DHd@DYw(">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="timeouts_cleartimeout" id="A%Ov$FJ-yV#}hx~tMsd;">
                                  <field name="NAME">RevertProcessingRunter</field>
                                  <next>
                                    <block type="timeouts_cleartimeout" id="lA=v.lfPM3d,clWP$ak`">
                                      <field name="NAME">RevertProcessingRauf</field>
                                      <next>
                                        <block type="control" id="x1Ezu`2{E^8OdG1:M0Kw">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">zigbee.0.680ae2fffe68a614.position</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="get_value" id="|(]RBP{C!r[N.)};?)H=">
                                              <field name="ATTR">val</field>
                                              <field name="OID">zigbee.0.680ae2fffe68a614.position</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="variables_set" id="g##Vz.(U=Q+ATylBYgJ0">
                                              <field name="VAR" id="=c6`zSpe()o`8MYVuke)">Processing</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="cx/j3!8ig{aG4x.{+5ON">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                              <value name="IF1">
                                <block type="logic_operation" id="OA38Cg4IEEaJw2LRTgVF" inline="false">
                                  <field name="OP">AND</field>
                                  <value name="A">
                                    <block type="logic_compare" id="`iIR1wYU)}oxPK(}~8#^">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="variables_get" id="9ri#F,7pPYEHC.I^dhRu">
                                          <field name="VAR" id="=c6`zSpe()o`8MYVuke)">Processing</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="P+:.Y|1GAnecS{1~|A%b">
                                          <field name="BOOL">FALSE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_compare" id="#IJG$$YlVkB!-jLyE;;S">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="get_value" id="{~D?qy]N251qf.*3q9:J">
                                          <field name="ATTR">val</field>
                                          <field name="OID">zigbee.0.680ae2fffe6fb6c7.cover_close</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="d|W,$]RbV1FG:pUZv)}{">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO1">
                                <block type="variables_set" id="hg0nB:mt0N~jx/w6_jv6">
                                  <field name="VAR" id="=c6`zSpe()o`8MYVuke)">Processing</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="/GX7?y7{_5{Ou7*)!j8L">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="control" id="8X.u=[.L1(gGnk_+pIB$">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">zigbee.0.680ae2fffe68a614.position</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="math_number" id="*r#Z[TSL%Nw1K,?UMmGR">
                                          <field name="NUM">2</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="timeouts_settimeout" id="S|As0|:Ww0:Jhe]E2KZZ">
                                          <field name="NAME">RevertProcessingRunter</field>
                                          <field name="DELAY">19600</field>
                                          <field name="UNIT">ms</field>
                                          <statement name="STATEMENT">
                                            <block type="variables_set" id="+lIXeea]?sz/-?{-Pd=%">
                                              <field name="VAR" id="=c6`zSpe()o`8MYVuke)">Processing</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="j18@UUFiGT%kmik(GxL!">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </statement>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                              <value name="IF2">
                                <block type="logic_operation" id="IX6$68|YHmz#;^0WwK}4" inline="false">
                                  <field name="OP">AND</field>
                                  <value name="A">
                                    <block type="logic_compare" id="-%}+@-=oTS7#+H=G%eSI">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="variables_get" id="my5EzNw,}}B,qa6R2#ha">
                                          <field name="VAR" id="=c6`zSpe()o`8MYVuke)">Processing</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id=")[`pD-idfXo!U{@l5;vp">
                                          <field name="BOOL">FALSE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_compare" id="C4};)q]:vs0ocThb^rO!">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="get_value" id="^7oeBh)^Pa)Kb/a_(qPJ">
                                          <field name="ATTR">val</field>
                                          <field name="OID">zigbee.0.680ae2fffe6fb6c7.cover_open</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="_ib$;)MOp`X`#2,.-~},">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO2">
                                <block type="variables_set" id="Qij}$H|!*`j~X%o4.w~H">
                                  <field name="VAR" id="=c6`zSpe()o`8MYVuke)">Processing</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id=";dd3dQM:60U]qLkT2{2v">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="control" id="Wt;i6J_Cv~;5B;;3AW~P">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">zigbee.0.680ae2fffe68a614.position</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="math_number" id="dL--;VzEQF.a%TLjm`oq">
                                          <field name="NUM">80</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="timeouts_settimeout" id=".-RvDwO`y@c$C+]mE]RW">
                                          <field name="NAME">RevertProcessingRauf</field>
                                          <field name="DELAY">19600</field>
                                          <field name="UNIT">ms</field>
                                          <statement name="STATEMENT">
                                            <block type="variables_set" id="UNRza/Hg5%#[[d@sb.ng">
                                              <field name="VAR" id="=c6`zSpe()o`8MYVuke)">Processing</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="QF2A^oA/)P)fZG)!P@Dl">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </statement>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                            </block>
                          </statement>
                        </block>
                      </next>
                    </block>
                  </xml>
                  
                  
                  1 Reply Last reply Reply Quote 0
                  • L
                    Luxi @eve11 last edited by

                    @eve11 Hi,
                    ist schon etwas her das Thema aber bei meinem Umzug vom Homey zu ioBroker aktuell.

                    Das Problem löse ich mit einer Schleife:
                    frytur.PNG

                    <xml xmlns="https://developers.google.com/blockly/xml">
                      <block type="on_ext" id="OGQQvcc_/x7D$Yw8vwl/" x="38" y="13">
                        <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="J9nGbGi$I3a_@,1tS=!B">
                            <field name="oid">zigbee.0.588e81fffe298b4c.cover_close</field>
                          </shadow>
                        </value>
                        <statement name="STATEMENT">
                          <block type="controls_if" id="f)Hjm3sgbeOdwfSR*Rd?">
                            <value name="IF0">
                              <block type="logic_compare" id="sAy`IoHWzJjWIZaYu/B`">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="get_value" id="8lNTW_YaxJE`C}XV^nd[">
                                    <field name="ATTR">val</field>
                                    <field name="OID">zigbee.0.588e81fffe298b4c.cover_close</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_boolean" id="2M}HtdB)gW+$xQfvmz8D">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="control" id="Cc7YNH`ju3`-c7:3#9#|">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">zigbee.0.680ae2fffe4d86d4.close</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="$;D]g~?mGpH9j8EF_tH^">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="controls_whileUntil" id="Tz:~L,y-tUA!RmP[Tf%k">
                                    <field name="MODE">WHILE</field>
                                    <value name="BOOL">
                                      <block type="logic_compare" id="7R$!DA[=pJ43piHGxsH~">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="get_value" id="VKRy$5m*W#U|Nkz=1%kl">
                                            <field name="ATTR">val</field>
                                            <field name="OID">zigbee.0.680ae2fffe4d86d4.position</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="$IHS[7d25Y#IC_{STbnF">
                                            <field name="NUM">0</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO">
                                      <block type="control" id="xmB@=O|pcWb6!vp2j?u}">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">zigbee.0.680ae2fffe4d86d4.stop</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="mhFPfLkP]tLSjAUTVL{^">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="controls_flow_statements" id="`}L+O-:)dOZwy5uBS+3h">
                                            <field name="FLOW">BREAK</field>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </statement>
                        <next>
                          <block type="on_ext" id="Hnw8l#KmRccC4y1gI0~W">
                            <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="v(}9REO~EElE6S#|/k/w">
                                <field name="oid">zigbee.0.588e81fffe298b4c.cover_open</field>
                              </shadow>
                            </value>
                            <statement name="STATEMENT">
                              <block type="controls_if" id="..egd[$y3Cq_9gK=NY[`">
                                <value name="IF0">
                                  <block type="logic_compare" id="#,hhz[m1C:e+5Kzyrj$I">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block type="get_value" id=",UZdqLJsM.uX#Q:X1^Ix">
                                        <field name="ATTR">val</field>
                                        <field name="OID">zigbee.0.588e81fffe298b4c.cover_open</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_boolean" id="50/^,knm+b#v4PWtURzx">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="control" id=",.a~X*:%ZN;8k(^C$2iB">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">zigbee.0.680ae2fffe4d86d4.open</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="xt9N52v[1#V|Z^,k[A{6">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="controls_whileUntil" id="FMpf:taOFDCKFg6N[~Q~">
                                        <field name="MODE">WHILE</field>
                                        <value name="BOOL">
                                          <block type="logic_compare" id="I*NMP;bo4d|%F)yrd4Yd">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="get_value" id="BOu*DJ?Eaa1H[tu(^ekc">
                                                <field name="ATTR">val</field>
                                                <field name="OID">zigbee.0.680ae2fffe4d86d4.position</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="k[],Qo8,.;_21Aa---h#">
                                                <field name="NUM">100</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO">
                                          <block type="control" id="W3@WVyX^p5P[ARZ^RSmt">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">zigbee.0.680ae2fffe4d86d4.stop</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="(/8zeLnb!89]-gG5e6.Q">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="controls_flow_statements" id="w^fW6wS[8)x%a,Nz,.0k">
                                                <field name="FLOW">BREAK</field>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </xml>
                    

                    PS: hab erst gestern mit Blocky angefangen, sollte ich hier vielleicht Fehler gemacht haben bin ich für Kritik dankbar.

                    Greetings
                    Luxi

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

                    Support us

                    ioBroker
                    Community Adapters
                    Donate
                    FAQ Cloud / IOT
                    HowTo: Node.js-Update
                    HowTo: Backup/Restore
                    Downloads
                    BLOG

                    789
                    Online

                    31.9k
                    Users

                    80.1k
                    Topics

                    1.3m
                    Posts

                    fyrtur ikea zigbee
                    5
                    8
                    1027
                    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