Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. [Gelöst] Hue Lampe blinkt nicht richtig

    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

    [Gelöst] Hue Lampe blinkt nicht richtig

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

      Hallo zusammen,

      ich war total happy, als ich hier im Forum die einfache Lösung für Blicken von Hue Lampen gefunden hatte.
      Also habe ich das mal in einem Blockly eingebaut. Ein Bild spare ich mir erstmal, weil es ja nur eine einfache Zeile ist mit "Steuere hue_lampe.alert mit "lselect".
      Hue Bridge und Adapter sind bei mir vorhanden.
      Egal was ich probier, also welche Lampe ich nehme, blinkt diese auch mit lselect immer nur einmal.
      Habe ich was übersehen? Gibt es irgendwas zu beachten?
      Die Anleitung sah mega einfach aus, aber es geht einfach nicht.
      Kann mir jemand helfen?

      arteck 1 Reply Last reply Reply Quote 0
      • buggybeast
        buggybeast last edited by

        Hat denn keiner eine Idee?
        Ich habe weiter rumprobiert, aber es funktioniert einfach nicht 😞

        1 Reply Last reply Reply Quote 0
        • arteck
          arteck Developer Most Active @buggybeast last edited by

          @buggybeast sagte in Hue Lampe blinkt nicht richtig:

          Ein Bild spare ich mir erstmal, weil es ja nur eine einfache Zeile ist mit "Steuere hue_lampe.alert mit "lselect".

          währe vielleicht doch einfacher, meinst du nicht

          1 Reply Last reply Reply Quote 0
          • buggybeast
            buggybeast last edited by

            Ja macht wohl Sinn 🙂
            Ist aber wie gesagt quasi nur eine Zeile ...
            Bildschirmfoto 2020-05-12 um 13.34.24.png
            Mit diesem Code blinkt die Lampe einmal ganz kurz auf. Das ist dann das gleiche Verhalten wie bei "select".

            dslraser 1 Reply Last reply Reply Quote 0
            • dslraser
              dslraser Forum Testing Most Active @buggybeast last edited by dslraser

              @buggybeast
              ich bin mir nicht sicher, aber Du schaltest das Blinken zwei Sekunden später wieder aus. Wenn Du das weg lässt, dann dürfte die Lampe ca. 15 Mal blinken und dann alleine aufhören.

              1 Reply Last reply Reply Quote 0
              • buggybeast
                buggybeast last edited by

                Leider nein. Hatte ich schonmal deaktiviert, den timeout. Das Verhalten war das gleiche.

                dslraser 1 Reply Last reply Reply Quote 0
                • dslraser
                  dslraser Forum Testing Most Active @buggybeast last edited by dslraser

                  @buggybeast sagte in Hue Lampe blinkt nicht richtig:

                  Leider nein. Hatte ich schonmal deaktiviert, den timeout. Das Verhalten war das gleiche.

                  mache es über den Command. Das hier blinkt rot.

                  Bildschirmfoto 2020-05-12 um 16.43.45.png

                  <block xmlns="http://www.w3.org/1999/xhtml" type="control" id="5JVzEQsp$Boh@Q0.Q^t*" x="62.54296875" y="237.75781250000017">
                    <mutation delay_input="false"></mutation>
                    <field name="OID">hue.0.Fensterlampe.command</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="text" id="pE_(Hg]L[I*-3tpt]@aJ">
                        <field name="TEXT">{"level":100, "r":100,"alert":"lselect", "transitiontime":0}</field>
                      </block>
                    </value>
                  </block>
                  
                  1 Reply Last reply Reply Quote 0
                  • buggybeast
                    buggybeast last edited by

                    Danke Mann. Das funktioniert 🙂
                    Ich habe r=100 weggelassen, da meine Hue Lampe keine Farbe kann, geht aber auch so.

                    1 Reply Last reply Reply Quote 0
                    • Slowman
                      Slowman last edited by

                      @buggybeast

                      Kannst du bitte den kompletten Blocky mir bitte zur Verfügung stellen. Verstehe das mit AlarmOn und reset_alert.

                      1 Reply Last reply Reply Quote 0
                      • buggybeast
                        buggybeast last edited by

                        @Slowman bin grad nicht am Rechner. Mache ich aber später.

                        1 Reply Last reply Reply Quote 1
                        • buggybeast
                          buggybeast last edited by

                          @Slowman
                          Bei mir ist das Blinken der Hue Lampen in ein Skript integriert, bei dem ich die HmIP Fernbedienung Tasten auswerte. Dadurch nicht verwirren lassen 😉
                          Bildschirmfoto 2020-06-03 um 10.46.42.png
                          Die Funktion blinksignal ist das Entscheidende. Ich aktiviere das Blinken mit command und schalte es dann nach 3 Sekunden wieder aus. Beim Ausschalten setze ich auch das Licht wieder auf aus (level=0), da die Lampen sonst einfach an bleiben.

                          <xml xmlns="https://developers.google.com/blockly/xml">
                            <variables>
                              <variable id="6fX7^B/*M^]@0!!e(AyA">modus</variable>
                            </variables>
                            <block type="comment" id="KTP8+o**Kf|ZN-{{Z,PI" x="888" y="-912">
                              <field name="COMMENT">Taste 1 von oben:</field>
                              <next>
                                <block type="comment" id="iVy_If/.RuFXcZnI42nj">
                                  <field name="COMMENT">Alarmanlage aktivieren</field>
                                  <next>
                                    <block type="on_ext" id="ykhchkcA3Dt:W#WUcI@1">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                      <field name="CONDITION">any</field>
                                      <field name="ACK_CONDITION"></field>
                                      <value name="OID0">
                                        <shadow type="field_oid" id="rUEP%d+SXb:8*GMUS/e7">
                                          <field name="oid">hm-rpc.0.00099A499D0143.2.PRESS_SHORT</field>
                                        </shadow>
                                      </value>
                                      <value name="OID1">
                                        <shadow type="field_oid" id="AN~68-Ko{r0Zj=fi!uq|">
                                          <field name="oid">hm-rpc.0.00099A499D0143.2.PRESS_LONG</field>
                                        </shadow>
                                      </value>
                                      <statement name="STATEMENT">
                                        <block type="controls_if" id="SM5R)7B$nHjcYECI1HRO">
                                          <mutation else="1"></mutation>
                                          <value name="IF0">
                                            <block type="logic_compare" id="}7ypg/?sU}AjFX(R+6_)">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="on_source" id="8CCv?bzWtUlt$vRD|;+#">
                                                  <field name="ATTR">id</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="field_oid" id=";BeRPiHpe?9|1oGXfdyH">
                                                  <field name="oid">hm-rpc.0.00099A499D0143.2.PRESS_SHORT</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="update" id="){xPP,e;Cy5!2mH=#u5h">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">0_userdata.0.alarmOn</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="~ap$Vp%NQQKiT$)tJwlP">
                                                  <field name="BOOL">TRUE</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="procedures_callnoreturn" id="9/r6`By2OTwA#EGNwg`_">
                                                  <mutation name="blinksignal">
                                                    <arg name="modus"></arg>
                                                  </mutation>
                                                  <value name="ARG0">
                                                    <block type="text" id="B|Mo{dy3U_mP++aeQ).T">
                                                      <field name="TEXT">lselect</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                        </block>
                                      </statement>
                                      <next>
                                        <block type="comment" id=":stV,!%SEzj=q9qd[CXf">
                                          <field name="COMMENT">Taste 2 von oben:</field>
                                          <next>
                                            <block type="comment" id="84L$6NgAN;8._g($U`?D">
                                              <field name="COMMENT">Alarmanlage deaktivieren</field>
                                              <next>
                                                <block type="on_ext" id=".|hV@:9,$SIzW-PN5/xM">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                  <field name="CONDITION">any</field>
                                                  <field name="ACK_CONDITION"></field>
                                                  <value name="OID0">
                                                    <shadow type="field_oid" id="/1=`8Ad7LLUsmN)+@/2r">
                                                      <field name="oid">hm-rpc.0.00099A499D0143.1.PRESS_SHORT</field>
                                                    </shadow>
                                                  </value>
                                                  <value name="OID1">
                                                    <shadow type="field_oid" id="x%~1SJ*i6Jrgi]OQ53TP">
                                                      <field name="oid">hm-rpc.0.00099A499D0143.1.PRESS_LONG</field>
                                                    </shadow>
                                                  </value>
                                                  <statement name="STATEMENT">
                                                    <block type="controls_if" id="6dJ4hS$f!:x:%#8VR{r(">
                                                      <mutation else="1"></mutation>
                                                      <value name="IF0">
                                                        <block type="logic_compare" id="m3kU@tl1Qp8+I6%{6p9=">
                                                          <field name="OP">EQ</field>
                                                          <value name="A">
                                                            <block type="on_source" id="K%=c#zvkIO4ap-62%9nN">
                                                              <field name="ATTR">id</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="field_oid" id="O:BO8w6]!?z2v6u.nKgs">
                                                              <field name="oid">hm-rpc.0.00099A499D0143.1.PRESS_SHORT</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <statement name="DO0">
                                                        <block type="update" id="1:=g@o%stc{/jw#m+=ZR">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                          <field name="OID">0_userdata.0.alarmOn</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="logic_boolean" id="CV8$v1-Xus`?OG*_;W5y">
                                                              <field name="BOOL">FALSE</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="procedures_callnoreturn" id="%71k!pE^3V{T0eRlYL)y">
                                                              <mutation name="blinksignal">
                                                                <arg name="modus"></arg>
                                                              </mutation>
                                                              <value name="ARG0">
                                                                <block type="text" id="c-nS:sR:]=fXYg9ynh1^">
                                                                  <field name="TEXT">select</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </statement>
                                                    </block>
                                                  </statement>
                                                  <next>
                                                    <block type="comment" id="!PN5(aTy0G69kM-6-]l;">
                                                      <field name="COMMENT">Taste 3 von oben:</field>
                                                      <next>
                                                        <block type="comment" id="n1s[I!Jhu}X[;?pt4OI_">
                                                          <field name="COMMENT">Lang: Alarmsirene ausschalten</field>
                                                          <next>
                                                            <block type="comment" id="FuciMC3mirpQM#n~ft[/">
                                                              <field name="COMMENT">Kurz: Alle Lichter ausschalten</field>
                                                              <next>
                                                                <block type="on_ext" id="6)9t!h|%r`NpAf3E{9fy">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                                  <field name="CONDITION">any</field>
                                                                  <field name="ACK_CONDITION"></field>
                                                                  <value name="OID0">
                                                                    <shadow type="field_oid" id="{gg[LEY_U7y~7O|lVN5F">
                                                                      <field name="oid">hm-rpc.0.00099A499D0143.4.PRESS_SHORT</field>
                                                                    </shadow>
                                                                  </value>
                                                                  <value name="OID1">
                                                                    <shadow type="field_oid" id="7Uw8M]JxKB!k}lyGYo4V">
                                                                      <field name="oid">hm-rpc.0.00099A499D0143.4.PRESS_LONG</field>
                                                                    </shadow>
                                                                  </value>
                                                                  <statement name="STATEMENT">
                                                                    <block type="controls_if" id="9@4~@|CmwF5k|(+{,Y[@">
                                                                      <mutation else="1"></mutation>
                                                                      <value name="IF0">
                                                                        <block type="logic_compare" id=",M--}AOBX[O60GE!_Ln`">
                                                                          <field name="OP">EQ</field>
                                                                          <value name="A">
                                                                            <block type="on_source" id="pkR8SSZm0cc`UpvY:8i#">
                                                                              <field name="ATTR">id</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="field_oid" id=")Bkn=,))3Mj^fL?+v|Ul">
                                                                              <field name="oid">hm-rpc.0.00099A499D0143.4.PRESS_LONG</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <statement name="DO0">
                                                                        <block type="control" id=":xMfw`U*;x;)$[No-qqF">
                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                          <field name="OID">hm-rpc.0.000A5A49A2F53B.1.SMOKE_DETECTOR_COMMAND</field>
                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                          <value name="VALUE">
                                                                            <block type="math_number" id="K~tIJpOp`fi2E|s9T^[|">
                                                                              <field name="NUM">1</field>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="control" id=",Q{U+y+P4]=KIO9+d85k">
                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                              <field name="OID">hm-rpc.0.000A5A49A3005F.1.SMOKE_DETECTOR_COMMAND</field>
                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                              <value name="VALUE">
                                                                                <block type="math_number" id="xNdek$!aqSuXFx#9f%Na">
                                                                                  <field name="NUM">1</field>
                                                                                </block>
                                                                              </value>
                                                                              <next>
                                                                                <block type="control" id="Mt/5`=i-;er9atdZ{*]g">
                                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                                  <field name="OID">hm-rpc.0.000A5A49A2F53B.1.SMOKE_DETECTOR_COMMAND</field>
                                                                                  <field name="WITH_DELAY">TRUE</field>
                                                                                  <field name="DELAY_MS">1</field>
                                                                                  <field name="UNIT">min</field>
                                                                                  <field name="CLEAR_RUNNING">FALSE</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="math_number" id="0`xT$B.wHb2Od2$aaJ%(">
                                                                                      <field name="NUM">0</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <next>
                                                                                    <block type="control" id="!K(j,eBkLm7[=_G}Dyxx">
                                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                                      <field name="OID">hm-rpc.0.000A5A49A3005F.1.SMOKE_DETECTOR_COMMAND</field>
                                                                                      <field name="WITH_DELAY">TRUE</field>
                                                                                      <field name="DELAY_MS">1</field>
                                                                                      <field name="UNIT">min</field>
                                                                                      <field name="CLEAR_RUNNING">FALSE</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="math_number" id="dqH{`2}Ba7v0~X5[S7a6">
                                                                                          <field name="NUM">0</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </statement>
                                                                      <statement name="ELSE">
                                                                        <block type="control" id="h3IhvGQ1crZlGvNJ829g">
                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                          <field name="OID">hue.0.All.on</field>
                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                          <value name="VALUE">
                                                                            <block type="logic_boolean" id="kO2..Euq}HreFr1:62#4">
                                                                              <field name="BOOL">FALSE</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </statement>
                                                                    </block>
                                                                  </statement>
                                                                  <next>
                                                                    <block type="comment" id="u8rN[$562H#}55XVDsw|">
                                                                      <field name="COMMENT">Taste 4 von oben:</field>
                                                                      <next>
                                                                        <block type="comment" id="(R;BKe*D!BK%D5Hv9|^E">
                                                                          <field name="COMMENT">tbd</field>
                                                                          <next>
                                                                            <block type="on_ext" id="?]-Qk(@2Ypes[,LTsJ#i">
                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                                              <field name="CONDITION">any</field>
                                                                              <field name="ACK_CONDITION"></field>
                                                                              <value name="OID0">
                                                                                <shadow type="field_oid" id="H|o]#%_KG!a8^fPbnixi">
                                                                                  <field name="oid">hm-rpc.0.00099A499D0143.3.PRESS_SHORT</field>
                                                                                </shadow>
                                                                              </value>
                                                                              <value name="OID1">
                                                                                <shadow type="field_oid" id="4U.zP)kaQ%AT{9Xbr;cW">
                                                                                  <field name="oid">hm-rpc.0.00099A499D0143.3.PRESS_LONG</field>
                                                                                </shadow>
                                                                              </value>
                                                                              <statement name="STATEMENT">
                                                                                <block type="controls_if" id="vy9)TypJOLZu:|+T:O{R" disabled="true">
                                                                                  <mutation else="1"></mutation>
                                                                                  <value name="IF0">
                                                                                    <block type="logic_compare" id="NjdD5D$*5m4oAfL!gwXe">
                                                                                      <field name="OP">EQ</field>
                                                                                      <value name="A">
                                                                                        <block type="on_source" id="dt`xNs3TdS$268-wm`*R">
                                                                                          <field name="ATTR">id</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <block type="field_oid" id="4c1=D|Ds!n|:cEh^K`FI">
                                                                                          <field name="oid">hm-rpc.0.00099A499D0143.3.PRESS_SHORT</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <statement name="DO0">
                                                                                    <block type="update" id="h3PWhB%|Y`,[`3t04{HB">
                                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                      <field name="OID">0_userdata.0.alarmOn</field>
                                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="logic_boolean" id=".ASzHJ_~8g?)iI~?7I[E">
                                                                                          <field name="BOOL">TRUE</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <next>
                                                                                        <block type="debug" id="/D{=l+E{Dkl_Q1UKs#N-">
                                                                                          <field name="Severity">warn</field>
                                                                                          <value name="TEXT">
                                                                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="/rP[S1p63yRybT`F?P{N">
                                                                                              <field name="TEXT">test</field>
                                                                                            </shadow>
                                                                                            <block type="get_value" id="O-AEuGi4yt*UO(?U0BRE">
                                                                                              <field name="ATTR">val</field>
                                                                                              <field name="OID">0_userdata.0.alarmOn</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </statement>
                                                                                  <statement name="ELSE">
                                                                                    <block type="update" id="]Ex,z#ww/W^EAm$qS24m">
                                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                      <field name="OID">0_userdata.0.alarmOn</field>
                                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="logic_boolean" id="1t{zA@q4-:L]0Z_WaRc)">
                                                                                          <field name="BOOL">FALSE</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <next>
                                                                                        <block type="debug" id="!#{uGYBS(xo5QR:=GFYo">
                                                                                          <field name="Severity">warn</field>
                                                                                          <value name="TEXT">
                                                                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="/rP[S1p63yRybT`F?P{N">
                                                                                              <field name="TEXT">test</field>
                                                                                            </shadow>
                                                                                            <block type="get_value" id="yBB#-e3tda7V(vI05CN[">
                                                                                              <field name="ATTR">val</field>
                                                                                              <field name="OID">0_userdata.0.alarmOn</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </statement>
                                                                                </block>
                                                                              </statement>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                            <block type="procedures_defnoreturn" id="gm*D|`TlkCNdQ6VrY1ni" x="1638" y="-887">
                              <mutation>
                                <arg name="modus" varid="6fX7^B/*M^]@0!!e(AyA"></arg>
                              </mutation>
                              <field name="NAME">blinksignal</field>
                              <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                              <statement name="STACK">
                                <block type="controls_if" id="?.ygWk,=*4#].CpZc}t$">
                                  <mutation else="1"></mutation>
                                  <value name="IF0">
                                    <block type="logic_compare" id="ke:*ev44B$J=]*~L{M2_">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="variables_get" id="iSSD:Q#+o_VBKNpy](~H">
                                          <field name="VAR" id="6fX7^B/*M^]@0!!e(AyA">modus</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="text" id="1P?Zqc2CTdW~T[E*I9a!">
                                          <field name="TEXT">lselect</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="control" id="F*n={|q1|RLO!b(o2B(9">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">hue.0.Schlafzimmer.command</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="text" id="kp.$mGBJDHvaGwd8%qjr">
                                          <field name="TEXT">{"level":100, "alert":"lselect", "transitiontime":0}</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="control" id="d2t,jIy~L+XGMAEsj=32">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">hue.0.Kommode.command</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="text" id="~,/F,%}_xt$-(.L=q_l$">
                                              <field name="TEXT">{"level":100, "alert":"lselect", "transitiontime":0}</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="control" id="TshmtN$Dd0k1W4R*`tRg">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                              <field name="OID">hue.0.Schlafzimmer.command</field>
                                              <field name="WITH_DELAY">TRUE</field>
                                              <field name="DELAY_MS">3000</field>
                                              <field name="UNIT">ms</field>
                                              <field name="CLEAR_RUNNING">FALSE</field>
                                              <value name="VALUE">
                                                <block type="text" id="}LEH=r7__=}p28Ij,96f">
                                                  <field name="TEXT">{"level":0, "alert":"none", "transitiontime":0}</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="control" id="qz/Y$l,.*|Tg#3|R.jTz">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                  <field name="OID">hue.0.Kommode.command</field>
                                                  <field name="WITH_DELAY">TRUE</field>
                                                  <field name="DELAY_MS">3000</field>
                                                  <field name="UNIT">ms</field>
                                                  <field name="CLEAR_RUNNING">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="text" id="m.$nWYIs=mE:CBa).zuh">
                                                      <field name="TEXT">{"level":0, "alert":"none", "transitiontime":0}</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                  <statement name="ELSE">
                                    <block type="control" id="=w_|LhMEqw0oP](we6xp">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">hue.0.Schlafzimmer.command</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="text" id="PAJAR$3rg4p![l[YtS+:">
                                          <field name="TEXT">{"alert":"select", "transitiontime":0}</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="control" id="RwHbJ`a6u)d!3|+T~DGP">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">hue.0.Kommode.command</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="text" id="+K_?-fE*$BkH(.zx)?c(">
                                              <field name="TEXT">{"alert":"select", "transitiontime":0}</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="control" id="x6~eqAe{a*lxZlu(j~[$">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                              <field name="OID">hue.0.Schlafzimmer.alert</field>
                                              <field name="WITH_DELAY">TRUE</field>
                                              <field name="DELAY_MS">1000</field>
                                              <field name="UNIT">ms</field>
                                              <field name="CLEAR_RUNNING">FALSE</field>
                                              <value name="VALUE">
                                                <block type="text" id="O{yv$tF}y.,4@)[?dJF~">
                                                  <field name="TEXT">none</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="control" id="*}h$@5/,+Lg^,^?8oZph">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                  <field name="OID">hue.0.Kommode.alert</field>
                                                  <field name="WITH_DELAY">TRUE</field>
                                                  <field name="DELAY_MS">1000</field>
                                                  <field name="UNIT">ms</field>
                                                  <field name="CLEAR_RUNNING">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="text" id="rstZbi:nYPV=~ZIFfcK@">
                                                      <field name="TEXT">none</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                </block>
                              </statement>
                            </block>
                          </xml>
                          
                          1 Reply Last reply Reply Quote 1
                          • Slowman
                            Slowman last edited by

                            Danke dir, werde ich mir schon zurecht packen.
                            Was ist denn das hier:
                            Screenshot_2020-06-03 javascript - ioBroker.png
                            Diese "Farbe" kenne ich gar nicht.

                            1 Reply Last reply Reply Quote 0
                            • buggybeast
                              buggybeast last edited by

                              @Slowman
                              Der ganze falls-Block ist deaktiviert. Rechte Maus auf einen Block / eine Anweisung / Befehl. Da kannst Du dann Deaktivieren wählen. Ganz praktisch beim Entwickeln/Testen 🙂
                              Bildschirmfoto 2020-06-03 um 11.30.50.png

                              1 Reply Last reply Reply Quote 0
                              • Slowman
                                Slowman last edited by

                                @buggybeast

                                Danke und wieder was gelernt 👍

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

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                494
                                Online

                                31.9k
                                Users

                                80.2k
                                Topics

                                1.3m
                                Posts

                                4
                                14
                                879
                                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