Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Blockly check 2 Objekt tigger Alarm An / Alarm Aus

    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

    Blockly check 2 Objekt tigger Alarm An / Alarm Aus

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

      Hallo,
      ich habe ein script was reagiert wenn
      level4 ODER level5 "armed" oder "disarmed" geschaltet werden.
      Also ein Tigger mit diesen beiden Objekten als ODER.

      Mein script funktioniert ganz gut bis auf wenn ich ein level armed schalte .. wird unten das letzte falls ( Ja das trift ja auch zu ) ausgelösct und ich bekomme: ALARM Ausgeschaltet AM TAGt und LICHT AUS

      Das Problem ist oben bei level 4 und level5 kommt wenn ich das level Aktiviere für 10 Sekunden "armwait" DAS sorgt das der tigger auf änderung und nicht aktualisierung anspricht .. Timeout ist keine lösung ich will ja SOFORT das es passiert beim ausschalten.

      Wie kann ich also ein Tigger bauen der nicht auf "armwait" reagiert ? Bzw nicht auf Änderungen oder nur auf SPEZIELLE Änderungen ??

      Hoffe das war halbwegs verständlich ?
      bocklyalarm2.png

      <xml xmlns="http://www.w3.org/1999/xhtml">
        <block type="on_ext" id="v~f;S8;;MW6c!X6G5UDW" inline="true" x="-463" y="-338">
          <mutation items="2"></mutation>
          <field name="CONDITION">ne</field>
          <field name="ACK_CONDITION"></field>
          <value name="OID0">
            <shadow type="field_oid" id="[6+iF!Q1fx.iz-c(N:=j">
              <field name="oid">fhem.0.AAA.level4</field>
            </shadow>
          </value>
          <value name="OID1">
            <shadow type="field_oid" id="AQRsL9J7hF,|?mxRz6HI">
              <field name="oid">fhem.0.AAA.level5</field>
            </shadow>
          </value>
          <statement name="STATEMENT">
            <block type="controls_if" id="~1=5?CT4)lxxREA4ScxZ">
              <mutation elseif="3"></mutation>
              <value name="IF0">
                <block type="logic_operation" id="}K^h6-.u`^JjIhOJs$#:" inline="false">
                  <field name="OP">AND</field>
                  <value name="A">
                    <block type="logic_operation" id="82#T6?I,^4HCI`!}0CXG">
                      <field name="OP">OR</field>
                      <value name="A">
                        <block type="logic_compare" id=";2^VN8Ln.A)blQr^[jf)">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="get_value" id="#@TEDN9eRnnWjZ!:kZQ0">
                              <field name="ATTR">val</field>
                              <field name="OID">fhem.0.AAA.level5</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="text" id="*IzE^!{-2MTJbCCMI{ZS">
                              <field name="TEXT">armed</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_compare" id="_7miJ/?u1pk!TN.`_Y(y">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="get_value" id="tj9-6TydzAp-mM8ieLER">
                              <field name="ATTR">val</field>
                              <field name="OID">fhem.0.AAA.level4</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="text" id="f%j=QQ1t1g0zKT0U_P4d">
                              <field name="TEXT">armed</field>
                            </block>
                          </value>
                        </block>
                      </value>
                    </block>
                  </value>
                  <value name="B">
                    <block type="logic_compare" id="-l(P)lVj.;57xP=no5@K">
                      <field name="OP">EQ</field>
                      <value name="A">
                        <block type="get_value" id="#2p./5h70P2lQXa)tb6h">
                          <field name="ATTR">val</field>
                          <field name="OID">EIGENE_OBJEKTE.0.Nachtcheck</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_boolean" id="EmZkg9$o_g7HrP]UDjXx">
                          <field name="BOOL">TRUE</field>
                        </block>
                      </value>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO0">
                <block type="telegram" id="$|Z0/*7m/ntdcYG-tbW1">
                  <field name="INSTANCE"></field>
                  <field name="LOG"></field>
                  <field name="SILENT">FALSE</field>
                  <field name="PARSEMODE">default</field>
                  <value name="MESSAGE">
                    <shadow type="text" id="V0#ra|ii5Th$RFR_|Tna">
                      <field name="TEXT">ALARm Eingeschaltet in der Nacht HELL AN</field>
                    </shadow>
                  </value>
                  <next>
                    <block type="control" id="`gUnfBsb#cf6ieec1m;C" disabled="true">
                      <mutation delay_input="false"></mutation>
                      <field name="OID">yeelight-2.0.hoflampe.control.ct</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="math_number" id="b0?=$QTmLN1Jf)uv#R+%">
                          <field name="NUM">6498</field>
                        </block>
                      </value>
                      <next>
                        <block type="comment" id="z~8lNN0cSMb]k5j5A=Ul">
                          <field name="COMMENT">Dann schalte Gerät</field>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
              <value name="IF1">
                <block type="logic_operation" id="arc,+[IiZj6gvm|g~#cw" inline="false">
                  <field name="OP">AND</field>
                  <value name="A">
                    <block type="logic_operation" id="Q~C1s`0[elI@U@%We=U[">
                      <field name="OP">OR</field>
                      <value name="A">
                        <block type="logic_compare" id="IKat=4}t6$x0,@4`+VEK">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="get_value" id="n+q6$!fDs(N$fm]f,NoI">
                              <field name="ATTR">val</field>
                              <field name="OID">fhem.0.AAA.level5</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="text" id="P6,AQ~|3+iH[[1JR2^+J">
                              <field name="TEXT">armed</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_compare" id="hp(,]`Suz=,D7w[k5.hg">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="get_value" id="{V8TK076Hd!x7--fS^0}">
                              <field name="ATTR">val</field>
                              <field name="OID">fhem.0.AAA.level4</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="text" id="1@*O-THA#zQVKI{zrjcd">
                              <field name="TEXT">armed</field>
                            </block>
                          </value>
                        </block>
                      </value>
                    </block>
                  </value>
                  <value name="B">
                    <block type="logic_compare" id="2u(-Nmxs@=`e.{;Ki[9`">
                      <field name="OP">EQ</field>
                      <value name="A">
                        <block type="get_value" id="n/,$7e=){,h|;2y{;eq-">
                          <field name="ATTR">val</field>
                          <field name="OID">EIGENE_OBJEKTE.0.Nachtcheck</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_boolean" id=")vYoI!.YXP:_hLjNwr-`">
                          <field name="BOOL">FALSE</field>
                        </block>
                      </value>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO1">
                <block type="comment" id="qr@f8Dj7|;bqHYGq}UeP">
                  <field name="COMMENT">Dann schalte Gerät</field>
                  <next>
                    <block type="telegram" id="F:I=p{H`12BMj5xrjPkk">
                      <field name="INSTANCE"></field>
                      <field name="LOG"></field>
                      <field name="SILENT">FALSE</field>
                      <field name="PARSEMODE">default</field>
                      <value name="MESSAGE">
                        <shadow type="text" id="d$P!)M!Y)v}S%?}y9iYQ">
                          <field name="TEXT">ALARM AN ABER TAG Licht HELL</field>
                        </shadow>
                      </value>
                      <next>
                        <block type="comment" id="6eyU?!Xs[Xy?21{~RKCC">
                          <field name="COMMENT">Dann schalte Gerät</field>
                          <next>
                            <block type="control" id="J88lCJ[a6kJcDx,J:MbT" disabled="true">
                              <mutation delay_input="false"></mutation>
                              <field name="OID">yeelight-2.0.hoflampe.control.ct</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="math_number" id="w;K4!C]X[a9?l.{5]#2#">
                                  <field name="NUM">6498</field>
                                </block>
                              </value>
                              <next>
                                <block type="comment" id="MR,k6kz;5Ccf#Ki.4|$I">
                                  <field name="COMMENT">Wenn was passiert und unwar/false ist(aus)</field>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
              <value name="IF2">
                <block type="logic_operation" id="7v1t+iyNKX{mBJA#*VVG" inline="false">
                  <field name="OP">AND</field>
                  <value name="A">
                    <block type="logic_operation" id="U*V1L^T6PJbyP$4aH]#4">
                      <field name="OP">OR</field>
                      <value name="A">
                        <block type="logic_compare" id="Y=~oGpUf.6Apo8r2w_pF">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="get_value" id="x-6Sq?TrqZ.i6rjY41DP">
                              <field name="ATTR">val</field>
                              <field name="OID">fhem.0.AAA.level5</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="text" id="?5t[csng8YN0R6}|v8HT">
                              <field name="TEXT">disarmed</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_compare" id="iX^gDEU7[z!HDflh0}72">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="get_value" id="qIk7G)G%=33Xv(5xbEo)">
                              <field name="ATTR">val</field>
                              <field name="OID">fhem.0.AAA.level4</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="text" id="pfQ=@E$CXTqT34^ub.6n">
                              <field name="TEXT">disarmed</field>
                            </block>
                          </value>
                        </block>
                      </value>
                    </block>
                  </value>
                  <value name="B">
                    <block type="logic_compare" id="54Wt3@3[9=1X2OOMg!/3">
                      <field name="OP">EQ</field>
                      <value name="A">
                        <block type="get_value" id="J?A8$9};~AL9~,i%8an@">
                          <field name="ATTR">val</field>
                          <field name="OID">EIGENE_OBJEKTE.0.Nachtcheck</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_boolean" id="g!((2n={i,DiG(ZqH@/U">
                          <field name="BOOL">TRUE</field>
                        </block>
                      </value>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO2">
                <block type="telegram" id="S/:xX30CG.EgVLmBp{C%">
                  <field name="INSTANCE"></field>
                  <field name="LOG"></field>
                  <field name="SILENT">FALSE</field>
                  <field name="PARSEMODE">default</field>
                  <value name="MESSAGE">
                    <shadow type="text" id=".I+,3MR~Mk~g{,M_`B?v">
                      <field name="TEXT">ALARM Ausgeschaltet in der Nacht DUNKLES LICHT AN</field>
                    </shadow>
                  </value>
                  <next>
                    <block type="control" id="@l=9PP#@uptYzX8}Q@-/" disabled="true">
                      <mutation delay_input="false"></mutation>
                      <field name="OID">yeelight-2.0.hoflampe.control.ct</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="math_number" id="3~)Ak:|KwVO+ll@rkscU">
                          <field name="NUM">3849</field>
                        </block>
                      </value>
                    </block>
                  </next>
                </block>
              </statement>
              <value name="IF3">
                <block type="logic_operation" id="[fNCy)_**YI/#=}v;Ow_" inline="false">
                  <field name="OP">AND</field>
                  <value name="A">
                    <block type="logic_operation" id="r0l/o6U{TZ;}L5u.l-hg">
                      <field name="OP">OR</field>
                      <value name="A">
                        <block type="logic_compare" id="B$Fw~T_@cCheC8zH!?i%">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="get_value" id="vI2_sMh#|3$v)@NiAc9p">
                              <field name="ATTR">val</field>
                              <field name="OID">fhem.0.AAA.level5</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="text" id="+7$(-/HeIfpzYFoYavCW">
                              <field name="TEXT">disarmed</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_compare" id=".~%BgF|D-!._y@mA-Jgc">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="get_value" id="8Fn^aDh6F|d-WG}Wfk!J">
                              <field name="ATTR">val</field>
                              <field name="OID">fhem.0.AAA.level4</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="text" id="t!jNU~8=Y:AP8hCv0`t~">
                              <field name="TEXT">disarmed</field>
                            </block>
                          </value>
                        </block>
                      </value>
                    </block>
                  </value>
                  <value name="B">
                    <block type="logic_compare" id="8$:]EkKdJgRvzCB!i!LJ">
                      <field name="OP">EQ</field>
                      <value name="A">
                        <block type="get_value" id="LXE.Dw9n4U1POd^:vmI~">
                          <field name="ATTR">val</field>
                          <field name="OID">EIGENE_OBJEKTE.0.Nachtcheck</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_boolean" id="0FY#Hixm05K`8GG[UNxF">
                          <field name="BOOL">FALSE</field>
                        </block>
                      </value>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO3">
                <block type="telegram" id="!fW$nZf}9WSC}`C7I8y!">
                  <field name="INSTANCE"></field>
                  <field name="LOG"></field>
                  <field name="SILENT">FALSE</field>
                  <field name="PARSEMODE">default</field>
                  <value name="MESSAGE">
                    <shadow type="text" id="mMwfIdUo],klbi4(c{8h">
                      <field name="TEXT">ALARM Ausgeschaltet AM TAGt und LICHT AUS</field>
                    </shadow>
                  </value>
                  <next>
                    <block type="control" id="|#?G:`.fF`X/_2`VSrsJ" disabled="true">
                      <mutation delay_input="false"></mutation>
                      <field name="OID">yeelight-2.0.hoflampe.control.power</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id="r+/]|T9QXfffjNN/GIin">
                          <field name="BOOL">FALSE</field>
                        </block>
                      </value>
                    </block>
                  </next>
                </block>
              </statement>
              <next>
                <block type="comment" id="[!4UC_`Rya{~hxv-@9i8">
                  <field name="COMMENT">Gucken ob was passiert</field>
                </block>
              </next>
            </block>
          </statement>
        </block>
      </xml>
      
      1 Reply Last reply Reply Quote 0
      • C
        ChrisXY last edited by

        hab es selbst hinbekommen vielleicht ja Intressant für einen anderen anfänger... hab mit ungleich gearbeitet.

        <xml xmlns="http://www.w3.org/1999/xhtml">
          <block type="on_ext" id="v~f;S8;;MW6c!X6G5UDW" x="-142" y="-571">
            <mutation items="2"></mutation>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <value name="OID0">
              <shadow type="field_oid" id="[6+iF!Q1fx.iz-c(N:=j">
                <field name="oid">fhem.0.AAA.level4</field>
              </shadow>
            </value>
            <value name="OID1">
              <shadow type="field_oid" id="zR~b?)PgR%Z+V#aW/$1f">
                <field name="oid">fhem.0.AAA.level5</field>
              </shadow>
            </value>
            <statement name="STATEMENT">
              <block type="controls_if" id="x3:zX6z{yVy[]n{BH|S`">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="*R)y1c:$5]r.|L=4t*p}">
                    <field name="OP">NEQ</field>
                    <value name="A">
                      <block type="on_source" id="W(9HOq@l`Ul!!Is~F{]5">
                        <field name="ATTR">state.val</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="text" id="DVUapSfYlQu$Ybyi83ak">
                        <field name="TEXT">armwait</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="controls_if" id="~1=5?CT4)lxxREA4ScxZ">
                    <mutation elseif="3"></mutation>
                    <value name="IF0">
                      <block type="logic_operation" id="}K^h6-.u`^JjIhOJs$#:" inline="false">
                        <field name="OP">AND</field>
                        <value name="A">
                          <block type="logic_operation" id="82#T6?I,^4HCI`!}0CXG">
                            <field name="OP">OR</field>
                            <value name="A">
                              <block type="logic_compare" id=";2^VN8Ln.A)blQr^[jf)">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="get_value" id="#@TEDN9eRnnWjZ!:kZQ0">
                                    <field name="ATTR">val</field>
                                    <field name="OID">fhem.0.AAA.level5</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="text" id="*IzE^!{-2MTJbCCMI{ZS">
                                    <field name="TEXT">armed</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_compare" id="_7miJ/?u1pk!TN.`_Y(y">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="get_value" id="tj9-6TydzAp-mM8ieLER">
                                    <field name="ATTR">val</field>
                                    <field name="OID">fhem.0.AAA.level4</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="text" id="f%j=QQ1t1g0zKT0U_P4d">
                                    <field name="TEXT">armed</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_compare" id="-l(P)lVj.;57xP=no5@K">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="get_value" id="#2p./5h70P2lQXa)tb6h">
                                <field name="ATTR">val</field>
                                <field name="OID">EIGENE_OBJEKTE.0.Nachtcheck</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_boolean" id="EmZkg9$o_g7HrP]UDjXx">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="telegram" id="$|Z0/*7m/ntdcYG-tbW1">
                        <field name="INSTANCE"></field>
                        <field name="LOG"></field>
                        <field name="SILENT">FALSE</field>
                        <field name="PARSEMODE">default</field>
                        <value name="MESSAGE">
                          <shadow type="text" id="V0#ra|ii5Th$RFR_|Tna">
                            <field name="TEXT">ALARm Eingeschaltet in der Nacht HELL AN</field>
                          </shadow>
                        </value>
                        <next>
                          <block type="control" id="`gUnfBsb#cf6ieec1m;C" disabled="true">
                            <mutation delay_input="false"></mutation>
                            <field name="OID">yeelight-2.0.hoflampe.control.ct</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="math_number" id="b0?=$QTmLN1Jf)uv#R+%">
                                <field name="NUM">6498</field>
                              </block>
                            </value>
                            <next>
                              <block type="comment" id="z~8lNN0cSMb]k5j5A=Ul">
                                <field name="COMMENT">Dann schalte Gerät</field>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <value name="IF1">
                      <block type="logic_operation" id="arc,+[IiZj6gvm|g~#cw" inline="false">
                        <field name="OP">AND</field>
                        <value name="A">
                          <block type="logic_operation" id="Q~C1s`0[elI@U@%We=U[">
                            <field name="OP">OR</field>
                            <value name="A">
                              <block type="logic_compare" id="IKat=4}t6$x0,@4`+VEK">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="get_value" id="n+q6$!fDs(N$fm]f,NoI">
                                    <field name="ATTR">val</field>
                                    <field name="OID">fhem.0.AAA.level5</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="text" id="P6,AQ~|3+iH[[1JR2^+J">
                                    <field name="TEXT">armed</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_compare" id="hp(,]`Suz=,D7w[k5.hg">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="get_value" id="{V8TK076Hd!x7--fS^0}">
                                    <field name="ATTR">val</field>
                                    <field name="OID">fhem.0.AAA.level4</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="text" id="1@*O-THA#zQVKI{zrjcd">
                                    <field name="TEXT">armed</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_compare" id="2u(-Nmxs@=`e.{;Ki[9`">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="get_value" id="n/,$7e=){,h|;2y{;eq-">
                                <field name="ATTR">val</field>
                                <field name="OID">EIGENE_OBJEKTE.0.Nachtcheck</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_boolean" id=")vYoI!.YXP:_hLjNwr-`">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO1">
                      <block type="comment" id="qr@f8Dj7|;bqHYGq}UeP">
                        <field name="COMMENT">Dann schalte Gerät</field>
                        <next>
                          <block type="telegram" id="F:I=p{H`12BMj5xrjPkk">
                            <field name="INSTANCE"></field>
                            <field name="LOG"></field>
                            <field name="SILENT">FALSE</field>
                            <field name="PARSEMODE">default</field>
                            <value name="MESSAGE">
                              <shadow type="text" id="d$P!)M!Y)v}S%?}y9iYQ">
                                <field name="TEXT">ALARM AN ABER TAG Licht HELL</field>
                              </shadow>
                            </value>
                            <next>
                              <block type="comment" id="6eyU?!Xs[Xy?21{~RKCC">
                                <field name="COMMENT">Dann schalte Gerät</field>
                                <next>
                                  <block type="control" id="J88lCJ[a6kJcDx,J:MbT" disabled="true">
                                    <mutation delay_input="false"></mutation>
                                    <field name="OID">yeelight-2.0.hoflampe.control.ct</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="math_number" id="w;K4!C]X[a9?l.{5]#2#">
                                        <field name="NUM">6498</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="comment" id="MR,k6kz;5Ccf#Ki.4|$I">
                                        <field name="COMMENT">Wenn was passiert und unwar/false ist(aus)</field>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <value name="IF2">
                      <block type="logic_operation" id="7v1t+iyNKX{mBJA#*VVG" inline="false">
                        <field name="OP">AND</field>
                        <value name="A">
                          <block type="logic_operation" id="U*V1L^T6PJbyP$4aH]#4">
                            <field name="OP">OR</field>
                            <value name="A">
                              <block type="logic_compare" id="Y=~oGpUf.6Apo8r2w_pF">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="get_value" id="x-6Sq?TrqZ.i6rjY41DP">
                                    <field name="ATTR">val</field>
                                    <field name="OID">fhem.0.AAA.level5</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="text" id="?5t[csng8YN0R6}|v8HT">
                                    <field name="TEXT">disarmed</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_compare" id="iX^gDEU7[z!HDflh0}72">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="get_value" id="qIk7G)G%=33Xv(5xbEo)">
                                    <field name="ATTR">val</field>
                                    <field name="OID">fhem.0.AAA.level4</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="text" id="pfQ=@E$CXTqT34^ub.6n">
                                    <field name="TEXT">disarmed</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_compare" id="54Wt3@3[9=1X2OOMg!/3">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="get_value" id="J?A8$9};~AL9~,i%8an@">
                                <field name="ATTR">val</field>
                                <field name="OID">EIGENE_OBJEKTE.0.Nachtcheck</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_boolean" id="g!((2n={i,DiG(ZqH@/U">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO2">
                      <block type="telegram" id="S/:xX30CG.EgVLmBp{C%">
                        <field name="INSTANCE"></field>
                        <field name="LOG"></field>
                        <field name="SILENT">FALSE</field>
                        <field name="PARSEMODE">default</field>
                        <value name="MESSAGE">
                          <shadow type="text" id=".I+,3MR~Mk~g{,M_`B?v">
                            <field name="TEXT">ALARM Ausgeschaltet in der Nacht DUNKLES LICHT AN</field>
                          </shadow>
                        </value>
                        <next>
                          <block type="control" id="@l=9PP#@uptYzX8}Q@-/" disabled="true">
                            <mutation delay_input="false"></mutation>
                            <field name="OID">yeelight-2.0.hoflampe.control.ct</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="math_number" id="3~)Ak:|KwVO+ll@rkscU">
                                <field name="NUM">3849</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <value name="IF3">
                      <block type="logic_operation" id="[fNCy)_**YI/#=}v;Ow_" inline="false">
                        <field name="OP">AND</field>
                        <value name="A">
                          <block type="logic_operation" id="r0l/o6U{TZ;}L5u.l-hg">
                            <field name="OP">OR</field>
                            <value name="A">
                              <block type="logic_compare" id="B$Fw~T_@cCheC8zH!?i%">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="get_value" id="vI2_sMh#|3$v)@NiAc9p">
                                    <field name="ATTR">val</field>
                                    <field name="OID">fhem.0.AAA.level5</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="text" id="+7$(-/HeIfpzYFoYavCW">
                                    <field name="TEXT">disarmed</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_compare" id=".~%BgF|D-!._y@mA-Jgc">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="get_value" id="8Fn^aDh6F|d-WG}Wfk!J">
                                    <field name="ATTR">val</field>
                                    <field name="OID">fhem.0.AAA.level4</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="text" id="t!jNU~8=Y:AP8hCv0`t~">
                                    <field name="TEXT">disarmed</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_compare" id="8$:]EkKdJgRvzCB!i!LJ">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="get_value" id="LXE.Dw9n4U1POd^:vmI~">
                                <field name="ATTR">val</field>
                                <field name="OID">EIGENE_OBJEKTE.0.Nachtcheck</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_boolean" id="0FY#Hixm05K`8GG[UNxF">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO3">
                      <block type="telegram" id="!fW$nZf}9WSC}`C7I8y!">
                        <field name="INSTANCE"></field>
                        <field name="LOG"></field>
                        <field name="SILENT">FALSE</field>
                        <field name="PARSEMODE">default</field>
                        <value name="MESSAGE">
                          <shadow type="text" id="mMwfIdUo],klbi4(c{8h">
                            <field name="TEXT">ALARM Ausgeschaltet AM TAGt und LICHT AUS</field>
                          </shadow>
                        </value>
                        <next>
                          <block type="control" id="|#?G:`.fF`X/_2`VSrsJ" disabled="true">
                            <mutation delay_input="false"></mutation>
                            <field name="OID">yeelight-2.0.hoflampe.control.power</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="r+/]|T9QXfffjNN/GIin">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <next>
                      <block type="comment" id="[!4UC_`Rya{~hxv-@9i8">
                        <field name="COMMENT">Gucken ob was passiert</field>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </statement>
          </block>
        </xml>
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Support us

        ioBroker
        Community Adapters
        Donate

        623
        Online

        31.9k
        Users

        80.3k
        Topics

        1.3m
        Posts

        1
        2
        128
        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