Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Abwesenheit mit Zufallsschaltung stoppt nicht

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Abwesenheit mit Zufallsschaltung stoppt nicht

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

      Hallo

      ich habe mir eine zufalls lichtschaltung gebastelt.
      diese steuert "wahllos" lichter wenn mal länger keiner zuhause ist.

      starten und ansteuern und der zufalls modus laufen sehr gut!
      nur habe ich einen hänger wie das wieder stoppen kann....
      datenpunkt auf falsch alleine reicht da nicht..
      irgentwo kneift es da bei mir..

      für euch sicher ein klacks..

      c464860a-20d8-4d5c-9824-9aaf7915abba-grafik.png

      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable type="interval" id="Intervall">Intervall</variable>
          <variable id="[psl~BWTI`]HORrbBe%w">TimmerAktiv</variable>
          <variable id="BHB[(UJC!N%vz[%G:o0_">ValZufall</variable>
          <variable type="timeout" id="timeout7">timeout7</variable>
          <variable type="timeout" id="timeout">timeout</variable>
          <variable type="timeout" id="timeout2">timeout2</variable>
          <variable type="timeout" id="timeout3">timeout3</variable>
          <variable type="timeout" id="timeout9">timeout9</variable>
          <variable type="timeout" id="timeout4">timeout4</variable>
          <variable type="timeout" id="timeout5">timeout5</variable>
          <variable type="timeout" id="timeout6">timeout6</variable>
          <variable type="timeout" id="timeout8">timeout8</variable>
        </variables>
        <block type="on_ext" id="mNTvFDB}0N@/{cSP-^^*" x="-1062" y="-1487">
          <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="C59Bom~qr|4f0up$mQ^%">
              <field name="oid">0_userdata.0.Jarvis.Jar_Zufall_light</field>
            </shadow>
          </value>
          <statement name="STATEMENT">
            <block type="timeouts_clearinterval" id="RQ;|(z{lH)uR`;6|_L23">
              <field name="NAME">Intervall</field>
              <next>
                <block type="timeouts_setinterval" id="x|u6nYlfTThxkOM4xYm%">
                  <field name="NAME">Intervall</field>
                  <field name="INTERVAL">2</field>
                  <field name="UNIT">sec</field>
                  <statement name="STATEMENT">
                    <block type="controls_if" id="enFT2vNW-9Sp:5}iZu!G">
                      <value name="IF0">
                        <block type="logic_compare" id="Sn.*4xjkjfG^uS^%W[~:">
                          <field name="OP">NEQ</field>
                          <value name="A">
                            <block type="variables_get" id="ngaDrPmF*L]jN/gdFa(1">
                              <field name="VAR" id="[psl~BWTI`]HORrbBe%w">TimmerAktiv</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_boolean" id="j(=*!]%E6nBqUUp,]*8l">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO0">
                        <block type="variables_set" id="}nQSsee2l^kr%]^iYm@y">
                          <field name="VAR" id="BHB[(UJC!N%vz[%G:o0_">ValZufall</field>
                          <value name="VALUE">
                            <block type="math_random_int" id="n@{a(EfqV99dBv/:791$">
                              <value name="FROM">
                                <shadow type="math_number" id="E7Us!tAQ$~65BERFoO[w">
                                  <field name="NUM">0</field>
                                </shadow>
                              </value>
                              <value name="TO">
                                <shadow type="math_number" id="uF,PxK}WaI[I}y@7]Y2O">
                                  <field name="NUM">9</field>
                                </shadow>
                              </value>
                            </block>
                          </value>
                          <next>
                            <block type="controls_if" id="s,E+7CJCOsq*FAT[kAHU">
                              <mutation elseif="9"></mutation>
                              <value name="IF0">
                                <block type="logic_compare" id="DO]YBq%$aHq.]q+;SRbm">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="variables_get" id="%pwryU(,hv4N_Hrm9d1q">
                                      <field name="VAR" id="BHB[(UJC!N%vz[%G:o0_">ValZufall</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="{G;$#r|q1,QaeP|#Ldz*">
                                      <field name="NUM">1</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="procedures_callnoreturn" id="AP20K!k9ElP|r%9h0![#">
                                  <mutation name="ZufallEins"></mutation>
                                </block>
                              </statement>
                              <value name="IF1">
                                <block type="logic_compare" id="e1v?BN{8o~F=Z-BrG86I">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="variables_get" id="Gj$/Dl)fFBNCX!WfWg)2">
                                      <field name="VAR" id="BHB[(UJC!N%vz[%G:o0_">ValZufall</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="|E_[T[.sm7/;|E}/wL$4">
                                      <field name="NUM">2</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO1">
                                <block type="procedures_callnoreturn" id="uPAdUh%kZGrPf6Tx1rz{">
                                  <mutation name="ZufallZwei"></mutation>
                                </block>
                              </statement>
                              <value name="IF2">
                                <block type="logic_compare" id="iH;=F9yHJ7Cimuy0f(5J">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="variables_get" id="%UjJ~$yZ2Xx09a`FTP_2">
                                      <field name="VAR" id="BHB[(UJC!N%vz[%G:o0_">ValZufall</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="S6H@;(:9BDYe_a=61XZR">
                                      <field name="NUM">3</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO2">
                                <block type="procedures_callnoreturn" id="f#^gF:@soo1JFe?_[mI?">
                                  <mutation name="ZufallDrei"></mutation>
                                </block>
                              </statement>
                              <value name="IF3">
                                <block type="logic_compare" id="q~Wgt})19sftKOId0-Yk">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="variables_get" id="Q{rOspg]+iwfhR($j.G/">
                                      <field name="VAR" id="BHB[(UJC!N%vz[%G:o0_">ValZufall</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="LqouV1!yFIO3Qxm|iQX(">
                                      <field name="NUM">4</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO3">
                                <block type="procedures_callnoreturn" id="MhV`jaEv+XSwQ#v?6cz9">
                                  <mutation name="ZufallVier"></mutation>
                                </block>
                              </statement>
                              <value name="IF4">
                                <block type="logic_compare" id=",`3!st,c9.9{PEqJzAz!">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="variables_get" id="2dkQluic6*pcR:uCr[7C">
                                      <field name="VAR" id="BHB[(UJC!N%vz[%G:o0_">ValZufall</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id=")Epr!V:AD#@]rp230rRk">
                                      <field name="NUM">5</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO4">
                                <block type="procedures_callnoreturn" id="4ks)c[.17X[5t(u#rM0G">
                                  <mutation name="Zufallfuenf"></mutation>
                                </block>
                              </statement>
                              <value name="IF5">
                                <block type="logic_compare" id="{#Rf^4To$%mtLe0wQk!d">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="variables_get" id="]eWkq.nfs]IBrdTYj7N5">
                                      <field name="VAR" id="BHB[(UJC!N%vz[%G:o0_">ValZufall</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id=")WnJ%Y0fOPn;Z{|/8u0b">
                                      <field name="NUM">6</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO5">
                                <block type="procedures_callnoreturn" id="4]Akx9tP5|7paP|tshN[">
                                  <mutation name="ZufallSechs"></mutation>
                                </block>
                              </statement>
                              <value name="IF6">
                                <block type="logic_compare" id="ii0+Qi68!O_-_p*KEaL:">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="variables_get" id="q4*Oab5UuRO,8Tv{3F(%">
                                      <field name="VAR" id="BHB[(UJC!N%vz[%G:o0_">ValZufall</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="(A~tDWhp23aK=+Y4~snt">
                                      <field name="NUM">7</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO6">
                                <block type="procedures_callnoreturn" id="a2O/WbVL6UrD#-DcopsY">
                                  <mutation name="ZufallSieben"></mutation>
                                </block>
                              </statement>
                              <value name="IF7">
                                <block type="logic_compare" id="H,Vt!g_e,RLG_@t^_zz@">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="variables_get" id="ATPE)^:27Z:;rbHF`|]H">
                                      <field name="VAR" id="BHB[(UJC!N%vz[%G:o0_">ValZufall</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="vq|kJEtuaycOS-LV.W]9">
                                      <field name="NUM">8</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO7">
                                <block type="procedures_callnoreturn" id="raV9/,hh0!:($N(@fLy]">
                                  <mutation name="ZufallAcht"></mutation>
                                </block>
                              </statement>
                              <value name="IF8">
                                <block type="logic_compare" id="#hxs|@3B5?W]f7`j@+Uw">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="variables_get" id="~YN%WNgN97D/`X^n[iqY">
                                      <field name="VAR" id="BHB[(UJC!N%vz[%G:o0_">ValZufall</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id=",Jrt?ob^@_Z)BGl1v_8p">
                                      <field name="NUM">9</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO8">
                                <block type="procedures_callnoreturn" id=":2`E!kwaL.LEk^$5{9jB">
                                  <mutation name="ZufallNeun"></mutation>
                                </block>
                              </statement>
                              <value name="IF9">
                                <block type="logic_compare" id="5$sI-f6]zF-du4p_).):">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="variables_get" id="R%o6p_%,d(1OCDke99`I">
                                      <field name="VAR" id="BHB[(UJC!N%vz[%G:o0_">ValZufall</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="v%.wjYaN|}l7[f{_iBGy">
                                      <field name="NUM">0</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </next>
                        </block>
                      </statement>
                    </block>
                  </statement>
                </block>
              </next>
            </block>
          </statement>
        </block>
        <block type="procedures_defnoreturn" id="7*-(f@-=DX`wR8m5,OZX" x="363" y="-1212">
          <field name="NAME">ZufallSieben</field>
          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
          <statement name="STACK">
            <block type="comment" id="~4hrue+l^Zp5i)@0X[~K">
              <field name="COMMENT">garage</field>
              <next>
                <block type="debug" id="(GNA3,+aHP6EBmC;@EHD">
                  <field name="Severity">log</field>
                  <value name="TEXT">
                    <shadow type="text">
                      <field name="TEXT">test</field>
                    </shadow>
                    <block type="variables_get" id="m@#gbPI[eLc*fkJ98+]h">
                      <field name="VAR" id="BHB[(UJC!N%vz[%G:o0_">ValZufall</field>
                    </block>
                  </value>
                  <next>
                    <block type="comment" id="R(K:aZA/+0NlD#o}vBJb">
                      <field name="COMMENT">schaltet licht</field>
                      <next>
                        <block type="control" id="*/)wMC^K[jGWV}$5Sd5!">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">alias.0.Garage.Shelly_Garage.SET</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="^u^Y~v.I%4/RA;zZ?H]}">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="=bg$dw0]26?4-~ZUB,fU">
                              <field name="VAR" id="[psl~BWTI`]HORrbBe%w">TimmerAktiv</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="C(w[o|,2M-S$;WSdXrs5">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                              <next>
                                <block type="comment" id="~kqWceowJ$}3pxn`*8UU">
                                  <field name="COMMENT">nach timer wieder aus</field>
                                  <next>
                                    <block type="timeouts_settimeout" id="1%.?O*q*ZeNio0shm)0)">
                                      <field name="NAME">timeout7</field>
                                      <field name="DELAY">110</field>
                                      <field name="UNIT">sec</field>
                                      <statement name="STATEMENT">
                                        <block type="control" id="%{xx,yYeQsR^xFTn{enc">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">alias.0.Garage.Shelly_Garage.SET</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="FI67Pi/rp=q-Nje$p9i6">
                                              <field name="BOOL">FALSE</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="variables_set" id="9_~^*enwm,?2,W*2$ulm">
                                              <field name="VAR" id="[psl~BWTI`]HORrbBe%w">TimmerAktiv</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="kJj/pGQ_N{}s5tJ%*%kD">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </statement>
        </block>
        <block type="procedures_defnoreturn" id="XCijYc(Ior7,i:]39O%K" x="-62" y="-1187">
          <field name="NAME">ZufallEins</field>
          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
          <statement name="STACK">
            <block type="comment" id="!qdpR1{*DVb4G,A2phD;">
              <field name="COMMENT">licht am sek</field>
              <next>
                <block type="debug" id=":@7;Ha0/5tT,F,e!Wju{">
                  <field name="Severity">log</field>
                  <value name="TEXT">
                    <shadow type="text" id="GOg_E-s0EbeY(^VjgExp">
                      <field name="TEXT">test</field>
                    </shadow>
                    <block type="variables_get" id="@)sgLFrNXBSOB8%0.2?x">
                      <field name="VAR" id="BHB[(UJC!N%vz[%G:o0_">ValZufall</field>
                    </block>
                  </value>
                  <next>
                    <block type="comment" id="(hha!@z3=6/}EeR(AD^n">
                      <field name="COMMENT">schaltet licht</field>
                      <next>
                        <block type="control" id="h!MD?-,a`0T-M6Hj}mXb">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">alias.0.FensterSek.SET</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="n;3mJ{m2^3ReDF@!QkxG">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="r0c)TFd/MTn4Y`Eee`-P">
                              <field name="VAR" id="[psl~BWTI`]HORrbBe%w">TimmerAktiv</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="b($Bat=XSHZiH7I3En96">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                              <next>
                                <block type="comment" id="_w@KF4WULlKbjduIW}$2">
                                  <field name="COMMENT">nach timer wieder aus</field>
                                  <next>
                                    <block type="timeouts_settimeout" id="Dk0TnkA{V_R15A[~YM6b">
                                      <field name="NAME">timeout</field>
                                      <field name="DELAY">110</field>
                                      <field name="UNIT">sec</field>
                                      <statement name="STATEMENT">
                                        <block type="control" id="hrL7m_]n:nfH57K[cyJ(">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">alias.0.FensterSek.SET</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="Y7J.;pyU62t{EcV*gcvt">
                                              <field name="BOOL">FALSE</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="variables_set" id="lHK_4#NZ)5^(Th.*:8P?">
                                              <field name="VAR" id="[psl~BWTI`]HORrbBe%w">TimmerAktiv</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="=0Szh{I:%JPhnM8+{d4h">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </statement>
        </block>
        <block type="procedures_defnoreturn" id="yxGpaince[5]rXPdt%80" x="-512" y="-1137">
          <field name="NAME">ZufallNull</field>
          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
          <statement name="STACK">
            <block type="timeouts_clearinterval" id="*@TM34263tn8Ks6,9jUd">
              <field name="NAME">Intervall</field>
              <next>
                <block type="variables_set" id="ay:4:6nC|k?/_G#a8fA4">
                  <field name="VAR" id="[psl~BWTI`]HORrbBe%w">TimmerAktiv</field>
                  <value name="VALUE">
                    <block type="math_number" id="6ZAmI^PWS;nXXN(d*QvM">
                      <field name="NUM">0</field>
                    </block>
                  </value>
                  <next>
                    <block type="comment" id="lK=IikEwxru7%hL);(:v">
                      <field name="COMMENT">alles aus</field>
                      <next>
                        <block type="control" id="mBOAuwhnMxjX@Qqp%k2F">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">0_userdata.0.Jarvis.Jar_Zufall_light</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="OIj0Nn,g$YqB7}W7e/]$">
                              <field name="BOOL">FALSE</field>
                            </block>
                          </value>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </statement>
        </block>
        <block type="procedures_defnoreturn" id="wH492rM)B0EdV}$U1w7D" x="363" y="-863">
          <field name="NAME">ZufallAcht</field>
          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
          <statement name="STACK">
            <block type="comment" id=";xK5!]LB2t7m,Le.xmmJ">
              <field name="COMMENT">vitrine neu &amp; edellaterne</field>
              <next>
                <block type="debug" id="ow9,t.HTj/_Kfd-tW_9q">
                  <field name="Severity">log</field>
                  <value name="TEXT">
                    <shadow type="text">
                      <field name="TEXT">test</field>
                    </shadow>
                    <block type="variables_get" id=":uXPtzp10~hPl3MC)-%J">
                      <field name="VAR" id="BHB[(UJC!N%vz[%G:o0_">ValZufall</field>
                    </block>
                  </value>
                  <next>
                    <block type="comment" id="EJmRV0Ru?ak}e9yB$-B|">
                      <field name="COMMENT">schaltet licht</field>
                      <next>
                        <block type="control" id="wbw%%=0@OvIDQS-4fr{F">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">alias.0.Wohnzimmer.VitrineNeu.SET</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="G^#a]Cn:f,vzJjQNK!F0">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                          <next>
                            <block type="control" id="-{*OkMWI|T[aM$0CN!Lb">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">alias.0.Wohnzimmer.LaterneEdel.SET</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="]D+Rz5g#@G:is;]/f~?^">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                              <next>
                                <block type="variables_set" id="i4:_udE3bPxyS^O%8`N1">
                                  <field name="VAR" id="[psl~BWTI`]HORrbBe%w">TimmerAktiv</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="t:X|U{rg3bq8tVl^fF=p">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="comment" id="vuyP`Q}UHt?5`}f]}yAk">
                                      <field name="COMMENT">nach timer wieder aus</field>
                                      <next>
                                        <block type="timeouts_settimeout" id="1o@hRDUQ@U4q_QL`3^5c">
                                          <field name="NAME">timeout8</field>
                                          <field name="DELAY">110</field>
                                          <field name="UNIT">sec</field>
                                          <statement name="STATEMENT">
                                            <block type="control" id="%c)z1/P_}NtLNM]jA!ze">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">alias.0.Wohnzimmer.VitrineNeu.SET</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="g7o|W6_OxV}B3NI5V-,E">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="control" id="B*u$,3{zPpYmg2Dm6.1X">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">alias.0.Wohnzimmer.LaterneEdel.SET</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="Ng?]}0-J/9wz*z1.IkY^">
                                                      <field name="BOOL">FALSE</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="variables_set" id="~BTNBL$Zwz!6R8#f2rL+">
                                                      <field name="VAR" id="[psl~BWTI`]HORrbBe%w">TimmerAktiv</field>
                                                      <value name="VALUE">
                                                        <block type="logic_boolean" id="Mct1SEgeaj1F`_;DJN}/">
                                                          <field name="BOOL">FALSE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </statement>
        </block>
        <block type="procedures_defnoreturn" id="tk{M^F,Ti#/y6J/5nOb}" x="-62" y="-837">
          <field name="NAME">ZufallZwei</field>
          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
          <statement name="STACK">
            <block type="comment" id="h8YU/}Mn3D@f,DK^lY!W">
              <field name="COMMENT">licht im flur</field>
              <next>
                <block type="debug" id="bts;]AcTBDLT$w6i6vSa">
                  <field name="Severity">log</field>
                  <value name="TEXT">
                    <shadow type="text">
                      <field name="TEXT">test</field>
                    </shadow>
                    <block type="variables_get" id="Taco{u+^zV(x?.-0qfhi">
                      <field name="VAR" id="BHB[(UJC!N%vz[%G:o0_">ValZufall</field>
                    </block>
                  </value>
                  <next>
                    <block type="comment" id="LKWY7!y@[-oA@0e}#PUb">
                      <field name="COMMENT">schaltet licht</field>
                      <next>
                        <block type="control" id="::_p@V6/gz0aW1MzB*cK">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">alias.0.Flur.ShellyFlur.SET</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="KmPL,9mavM]09Pk@,upW">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="VR!jt#]m=|fk_qiJi$I$">
                              <field name="VAR" id="[psl~BWTI`]HORrbBe%w">TimmerAktiv</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="Ah_A|5+BBXa_~)-hVEd:">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                              <next>
                                <block type="comment" id="?)}ShQI.Ea%%,`T)xW_g">
                                  <field name="COMMENT">nach timer wieder aus</field>
                                  <next>
                                    <block type="timeouts_settimeout" id="mTkgz[iK#q~N)%WTTO3/">
                                      <field name="NAME">timeout2</field>
                                      <field name="DELAY">110</field>
                                      <field name="UNIT">sec</field>
                                      <statement name="STATEMENT">
                                        <block type="control" id="3Mm*RU$).M+)r5{Y.1x_">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">alias.0.Flur.ShellyFlur.SET</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="4;h=vgZ|$xKV4/(1MoD=">
                                              <field name="BOOL">FALSE</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="variables_set" id="mNqLo|_qEf)ZGO$y_mYK">
                                              <field name="VAR" id="[psl~BWTI`]HORrbBe%w">TimmerAktiv</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id=".v,po3C@Yk!2a|Yyvd!U">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </statement>
        </block>
        <block type="procedures_defnoreturn" id="TY3H3/~i}s.u,C~Yt!q." x="-62" y="-487">
          <field name="NAME">ZufallDrei</field>
          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
          <statement name="STACK">
            <block type="comment" id="wF8V^jIL-gD,^4q7KNYO">
              <field name="COMMENT">stehlame lena</field>
              <next>
                <block type="debug" id="u8V*YV;r/n:-~:3vjO/c">
                  <field name="Severity">log</field>
                  <value name="TEXT">
                    <shadow type="text">
                      <field name="TEXT">test</field>
                    </shadow>
                    <block type="variables_get" id="2q}N1AGcb*e/A1BM{7F_">
                      <field name="VAR" id="BHB[(UJC!N%vz[%G:o0_">ValZufall</field>
                    </block>
                  </value>
                  <next>
                    <block type="comment" id="64R9){#`[|jZzFa1^Rgd">
                      <field name="COMMENT">schaltet licht</field>
                      <next>
                        <block type="control" id="$Dm3(fFazk?o8MjI6I$n">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">alias.0.Kinderzimmer.Stehlampe.SET</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="c_o]l9;:;Ig0U;[hvkeO">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="it-Y@I3%?L}j;E?7r7xy">
                              <field name="VAR" id="[psl~BWTI`]HORrbBe%w">TimmerAktiv</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="j4[j9~P8qMd9MtciB``-">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                              <next>
                                <block type="comment" id="|Tk*{XrVasq[01MHfdi=">
                                  <field name="COMMENT">nach timer wieder aus</field>
                                  <next>
                                    <block type="timeouts_settimeout" id="nK4JsFq?=3N?5Uu4hw]Q">
                                      <field name="NAME">timeout3</field>
                                      <field name="DELAY">110</field>
                                      <field name="UNIT">sec</field>
                                      <statement name="STATEMENT">
                                        <block type="control" id="Lavf5)x0.XXbp(_anzU*">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">alias.0.Kinderzimmer.Stehlampe.SET</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="5d$x5KGJKs]^CT,)S{Yq">
                                              <field name="BOOL">FALSE</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="variables_set" id="fXKHeV6=0O_T0=Ly$*1C">
                                              <field name="VAR" id="[psl~BWTI`]HORrbBe%w">TimmerAktiv</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="w2uW~#y@y+Dw[Ner).ln">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </statement>
        </block>
        <block type="procedures_defnoreturn" id="M4J/#YRQ,8ykE2o7dN~@" x="363" y="-437">
          <field name="NAME">ZufallNeun</field>
          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
          <statement name="STACK">
            <block type="comment" id="3,g}Okv[LPP,5;o1wTZ)">
              <field name="COMMENT">garage</field>
              <next>
                <block type="debug" id=":yJ=yvdtqpv);iR,D[3D">
                  <field name="Severity">log</field>
                  <value name="TEXT">
                    <shadow type="text">
                      <field name="TEXT">test</field>
                    </shadow>
                    <block type="variables_get" id="?@8V8,fT,:@F@9w=U$3W">
                      <field name="VAR" id="BHB[(UJC!N%vz[%G:o0_">ValZufall</field>
                    </block>
                  </value>
                  <next>
                    <block type="comment" id="$oG2V[.Q*!fEXOj;0/A6">
                      <field name="COMMENT">schaltet licht</field>
                      <next>
                        <block type="control" id="3-f;t]n]t6wgpKL:*G(c">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">alias.0.Wohnzimmer.LampeSek.SET</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="do;ir-4Hz:80XTymx)l#">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="E|F3:Cg-|qf*)HVSg*a)">
                              <field name="VAR" id="[psl~BWTI`]HORrbBe%w">TimmerAktiv</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="If0Mn);pH}4-MXK)!bMA">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                              <next>
                                <block type="comment" id="TOm`zSwvq/E{2XJE$iee">
                                  <field name="COMMENT">nach timer wieder aus</field>
                                  <next>
                                    <block type="timeouts_settimeout" id="4cA-suEByK*BZ@eN[`)^">
                                      <field name="NAME">timeout9</field>
                                      <field name="DELAY">110</field>
                                      <field name="UNIT">sec</field>
                                      <statement name="STATEMENT">
                                        <block type="control" id="O[pyGn+#Xvq-%S9bd5Hc">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">alias.0.Wohnzimmer.LampeSek.SET</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="+,|`}r[7uojCzIVuv~bm">
                                              <field name="BOOL">FALSE</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="variables_set" id="f!m5D,!uK}%pF~1^foG5">
                                              <field name="VAR" id="[psl~BWTI`]HORrbBe%w">TimmerAktiv</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="|P3LTvm@ce-]sDct*4{`">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </statement>
        </block>
        <block type="procedures_defnoreturn" id="IK*}I[%c9cE?z5to5d)*" x="-62" y="-137">
          <field name="NAME">ZufallVier</field>
          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
          <statement name="STACK">
            <block type="comment" id="hkmAMP+g@/Chx(`7V^.O">
              <field name="COMMENT">Backlight</field>
              <next>
                <block type="debug" id="|~@61#-6WI5Hd*D5~c$p">
                  <field name="Severity">log</field>
                  <value name="TEXT">
                    <shadow type="text">
                      <field name="TEXT">test</field>
                    </shadow>
                    <block type="variables_get" id="%ikB*V0]7x49j|uX=BPI">
                      <field name="VAR" id="BHB[(UJC!N%vz[%G:o0_">ValZufall</field>
                    </block>
                  </value>
                  <next>
                    <block type="comment" id="6Gp(zFPe^%;J+ck46~Ee">
                      <field name="COMMENT">schaltet licht</field>
                      <next>
                        <block type="control" id="!MCJcWFQ]S;Zwg|/qTQK">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">alias.0.SchlafzimmerEltern.Backlight.SET</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="=kbh{;AmQBXnB!Y?.t~-">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="dW)Ez5}r%on0C!|(/:jF">
                              <field name="VAR" id="[psl~BWTI`]HORrbBe%w">TimmerAktiv</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="?`/LonweVpG1CfpJ~y9b">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                              <next>
                                <block type="comment" id="rEuP2VL#t8e_oS=8!P;3">
                                  <field name="COMMENT">nach timer wieder aus</field>
                                  <next>
                                    <block type="timeouts_settimeout" id="s9TOP6T@}0`8m_EWJioP">
                                      <field name="NAME">timeout4</field>
                                      <field name="DELAY">110</field>
                                      <field name="UNIT">sec</field>
                                      <statement name="STATEMENT">
                                        <block type="control" id="4NdmysH0izDv#3/7r$@e">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">alias.0.SchlafzimmerEltern.Backlight.SET</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="Ssfpy1Wzz9_.x3p[=zaJ">
                                              <field name="BOOL">FALSE</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="variables_set" id="%,oq9mN`Y3+yT~A#X0G5">
                                              <field name="VAR" id="[psl~BWTI`]HORrbBe%w">TimmerAktiv</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="PV|oKl0@P~X2`rH%X,j$">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </statement>
        </block>
        <block type="procedures_defnoreturn" id="w8|kV${C+i4CzM0@CJuU" x="-62" y="213">
          <field name="NAME">Zufallfuenf</field>
          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
          <statement name="STACK">
            <block type="comment" id="lA7PLH/K-{Eh-UOUiqzX">
              <field name="COMMENT">kücheLED</field>
              <next>
                <block type="debug" id="*{mtlG*/PcJqXztWl57-">
                  <field name="Severity">log</field>
                  <value name="TEXT">
                    <shadow type="text">
                      <field name="TEXT">test</field>
                    </shadow>
                    <block type="variables_get" id="noyGCx}!P!?Bzk(;1/g`">
                      <field name="VAR" id="BHB[(UJC!N%vz[%G:o0_">ValZufall</field>
                    </block>
                  </value>
                  <next>
                    <block type="comment" id="5pm9{gwrtUB--.eX$,$M">
                      <field name="COMMENT">schaltet licht</field>
                      <next>
                        <block type="control" id="CG;PIa*0-:F(@m7Tjjqq">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">alias.0.Kueche.LED.DIMMER</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="math_number" id="y,|w5y8`IP!p9Q~}9t`)">
                              <field name="NUM">40</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="TBv3ed;aN8zzn{Y|ATqE">
                              <field name="VAR" id="[psl~BWTI`]HORrbBe%w">TimmerAktiv</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="?L7:O~ts*$G1l%p=(%80">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                              <next>
                                <block type="comment" id=")VK9@{+IlPkf|M$OEReI">
                                  <field name="COMMENT">nach timer wieder aus</field>
                                  <next>
                                    <block type="timeouts_settimeout" id="8UPh2F5mjOAToe!DQS/t">
                                      <field name="NAME">timeout5</field>
                                      <field name="DELAY">110</field>
                                      <field name="UNIT">sec</field>
                                      <statement name="STATEMENT">
                                        <block type="control" id="%+Cy43GYE=;$$Ou6|:iR">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">alias.0.Kueche.LED.ON</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="math_number" id="=v1}m!%0egE;uZ@kwD3i">
                                              <field name="NUM">0</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="variables_set" id="YHG^;$lqr[1n6Vo|2^tC">
                                              <field name="VAR" id="[psl~BWTI`]HORrbBe%w">TimmerAktiv</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id=";aaaL#(++u8X{3oX`ezS">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </statement>
        </block>
        <block type="procedures_defnoreturn" id="P=X*xvy{Xzm,u(B5M9RA" x="-62" y="563">
          <field name="NAME">ZufallSechs</field>
          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
          <statement name="STACK">
            <block type="comment" id="ndU|#].eX6R68=:pZ6nG">
              <field name="COMMENT">Kamin</field>
              <next>
                <block type="debug" id="@suTB-~3@;h1)WVi{,Fq">
                  <field name="Severity">log</field>
                  <value name="TEXT">
                    <shadow type="text">
                      <field name="TEXT">test</field>
                    </shadow>
                    <block type="variables_get" id="2XvWtir!v|IgH.$5.}0d">
                      <field name="VAR" id="BHB[(UJC!N%vz[%G:o0_">ValZufall</field>
                    </block>
                  </value>
                  <next>
                    <block type="comment" id="!T$msM_.W!G=69qTR*;e">
                      <field name="COMMENT">schaltet licht</field>
                      <next>
                        <block type="control" id="rgI)!XUlLN=FWuE=GCQR">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">alias.0.Wohnzimmer.Kamin.DIMMER</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="math_number" id="cD-4ZT%A|(]cvn/RR)@p">
                              <field name="NUM">65</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="vzsbuMz`thIS^1F7~Rs]">
                              <field name="VAR" id="[psl~BWTI`]HORrbBe%w">TimmerAktiv</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="(HYD)31EgfW9f}}[DE1e">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                              <next>
                                <block type="comment" id="n^-ryWx^CadT-a:9LO+T">
                                  <field name="COMMENT">nach timer wieder aus</field>
                                  <next>
                                    <block type="timeouts_settimeout" id="Gh9XM7BEn[wZ]L7~+rTf">
                                      <field name="NAME">timeout6</field>
                                      <field name="DELAY">110</field>
                                      <field name="UNIT">sec</field>
                                      <statement name="STATEMENT">
                                        <block type="control" id="rz}x3_l8CXXogZMwl_Pk">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">alias.0.Wohnzimmer.Kamin.DIMMER</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="math_number" id="Yqk5./]39GShD%Zu#.oN">
                                              <field name="NUM">0</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="variables_set" id=":%f}Z/[0[?|SI73wNm,$">
                                              <field name="VAR" id="[psl~BWTI`]HORrbBe%w">TimmerAktiv</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="l^.KuzYOs-TV:eT#U7WH">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </statement>
        </block>
      </xml>
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Support us

      ioBroker
      Community Adapters
      Donate

      841
      Online

      32.0k
      Users

      80.5k
      Topics

      1.3m
      Posts

      1
      1
      114
      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