Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Kino Steuerung mit Blockly und Harmony

    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

    Kino Steuerung mit Blockly und Harmony

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

      @BBTown

      Was meinst du mit RAW Bereich?

      BBTown 1 Reply Last reply Reply Quote 0
      • Hermanito33
        Hermanito33 @BBTown last edited by

        @BBTown Ja müsste das später mal bei mir nachschauen. Aber es gab auf jeden Fall mehr Zahlen als nur 0 und 1

        1 Reply Last reply Reply Quote 0
        • C
          chris077 last edited by

          Ich habe gerade mal geschaut unter Objekte in den Activities der Harmony, wenn ich die Activity Fernsehen Tv starte springt die zahl erst auf 1 und kurz später auf 2, unter current Activity von Power Off auf Fernsehen TV und der currentStatus von 0 auf 1 und dann kurz später auf 2. wenn ich aus schalte dann gehen Activity Fernsehen und currentStatus auf 3 und current Activity auf Power Off

          Hermanito33 1 Reply Last reply Reply Quote 0
          • C
            chris077 last edited by

            @dslraser
            ich sehe gerade das du als Trigger die Objekt Id activity currentStatus genommen hast.
            Was ist den der unterschied zwischen dem und die activity Fernsehen Tv?

            Lg Christian

            dslraser 1 Reply Last reply Reply Quote 0
            • Hermanito33
              Hermanito33 @chris077 last edited by

              @chris077 ja so müsste es bei mir auch sein. 1 heißt dann das es gerade startet. Und 2 bedeutet es ist Aktiv. Aber Welche Zahl ist dann wenn es ganz aus ist?

              1 Reply Last reply Reply Quote 0
              • C
                chris077 last edited by

                @Hermanito33 Ok. Die springen beim ausschalten erst auf 3 und dann auf 0

                1 Reply Last reply Reply Quote 0
                • BBTown
                  BBTown @chris077 last edited by

                  @chris077 sagte in Kino Steuerung mit Blockly und Harmony:

                  @BBTown

                  Was meinst du mit RAW Bereich?

                  hier ein Beispiel aus einem anderen Thread

                  1 Reply Last reply Reply Quote 0
                  • C
                    chris077 last edited by

                    Da steht das bei mir

                    Screenshot (5).png

                    1 Reply Last reply Reply Quote 0
                    • C
                      chris077 last edited by

                      Habe die Trigger untereinander gemacht und es funktioniert so schonmal wie es soll. Was jetzt noch komisch ist, ist das wenn ich die befehle auf der Fernbedienung zu schnell hintereinander drücke, funktionieren die abläufe nicht immer. Kann es sein das die Verarbeitung im iobroker oder Philips hue länger brauchen bis sie den zustand der Lampen erkannt hat?
                      Wenn ich eine gewisse zeit warte dann geht es. Kann man da was machen?
                      Mit dem runter Dimmen funktioniert auch aber wie kann ich langsam wieder hoch Dimmen? Vielleicht eine blöde frage aber kann mir das einer erklären 🙂

                      hier mal das geänderte script

                      Screenshot (7).png
                      Screenshot (8).png
                      Screenshot (9).png

                      Lg Christian

                      BBTown dslraser 4 Replies Last reply Reply Quote 0
                      • BBTown
                        BBTown @chris077 last edited by

                        @chris077 sagte in Kino Steuerung mit Blockly und Harmony:

                        wie kann ich langsam wieder hoch Dimmen?

                        Über den HUE-Punkt "command" ... so wie Du es beim herunterdimmen machst.
                        Dort übergibst Du ja auch eine "Transitiontime". Diese ist verantwortlich für das "smoothe" dimmen

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

                          @chris077
                          erstmal zum Thema Status und schalten der Harmony. 0 ist aus und 2 ist an. 1 und 3 zeigen den Status während des ausführen der Aktionen.
                          https://github.com/Pmant/ioBroker.harmony/blob/master/README.md

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

                            @chris077 sagte in Kino Steuerung mit Blockly und Harmony:

                            @dslraser
                            ich sehe gerade das du als Trigger die Objekt Id activity currentStatus genommen hast.
                            Was ist den der unterschied zwischen dem und die activity Fernsehen Tv?

                            Lg Christian

                            Deswegen sagte ich oben, das Du den Trigger für Dich anpassen musst.
                            CurrentStatus reagiert auf egal welche activity. Das heißt, das mein Lichtbeispiel dann egal mit welcher activity ausgeführt wird.

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

                              @chris077 sagte in Kino Steuerung mit Blockly und Harmony:

                              Mit dem runter Dimmen funktioniert auch aber wie kann ich langsam wieder hoch Dimmen?

                              mit on true (für aus on false) Die transitiontime bestimmt wie schnell oder langsam das Dimmen passieren soll, das macht dann die Bridge selbständig.

                              1 Reply Last reply Reply Quote 0
                              • C
                                chris077 last edited by

                                @dslraser ok jetzt habe ich das verstanden was den unterschied betrifft mit currentStatus. Mit dem Dimmen ist jetzt auch klar 🙂 habe den Wald vor lauter Bäumen nicht gesehen Danke.

                                @BBTown mit dem runterdimmen habe ich mir mal irgendwo gemopst und eingefügt daher wusste ich nicht wie das mit dem Dimmen geht 🙂

                                bevor ich mit der Astro Funktion weiter mache, kann mir einer evtl sagen was ich machen kann das diese verarbeitungszeit kürzer wird, falls es daran liegt. Weil kann ja mal sein das man pause drückt um was zu holen als bsp. dann wieder Play und was vergessen hat und nochmal Pause drückt. es kommen dann nicht immer die befehle an zum bsp für das Licht an

                                Danke euch nochmal für eure Zeit und Geduld mit mir

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

                                  @chris077
                                  das ist falsch. Nicht addieren. Wenn Wert von activity x = 2 oder Wert von activyty y = 2 dann mache dies oder das....

                                  Bitte nicht so.
                                  1573727331588-screenshot-8.png

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

                                    @chris077 sagte in Kino Steuerung mit Blockly und Harmony:

                                    Weil kann ja mal sein das man pause drückt um was zu holen als bsp. dann wieder Play und was vergessen hat und nochmal Pause drückt. es kommen dann nicht immer die befehle an zum bsp für das Licht an

                                    Diese Play oder Pause Befehle werden womit geschaltet, Harmony Fernbedienung ? Oder mit was anderem ?
                                    Wenn über die Harmony Fernbedienung, dann sollten ja auch die einzelnen Objekte dafür erscheinen, die werden ja vom Adapter angelegt. Die sollten dann auch direkt schalten.
                                    Wenn "Befehle nicht ankommen" ist eventuell das Script falsch, oder da sind timeouts drinn, das habe ich mir noch gar nicht genau angesehen in Deinen Blocklys. Kannst ja mal einen Export von Deinem jetzigen Blockly exportieren und posten, dann können alle "Helfenden" mal drüber schauen
                                    (ich bin im Moment nur am Handy und unterwegs...)

                                    1 Reply Last reply Reply Quote 0
                                    • C
                                      chris077 last edited by

                                      @dslraser ich habe das jetzt mal so gemacht wie du eben geschrieben hast wenn wert von activity x =2 oder activity y =2 dann schalte Licht an

                                      wenn ich dann starte dauert es wesentlich länger bis das Licht angeht und es geht dann nach meiner Verzögerung direkt wieder aus? für aus habe ich activity x =0 oder activity y =0

                                      dslraser 1 Reply Last reply Reply Quote 0
                                      • C
                                        chris077 last edited by

                                        @dslraser ich Steuer die Befehle mit der Fernbedienung, mußte aber die pause und Play tasten mir mit dem fakeroku doppelt belegen damit die Tasten funktionieren wie ich das möchte. Ich habe nicht viel Ahnung davon und habe das so ausprobiert was so irgendwie funktioniert.

                                        <xml xmlns="http://www.w3.org/1999/xhtml">
                                          <variables>
                                            <variable type="undefined" id="timeout">timeout</variable>
                                            <variable type="undefined" id="timeout2">timeout2</variable>
                                          </variables>
                                          <block type="comment" id="=1Mr!Es=pxZ0/mSH)^Qx" x="938" y="-561">
                                            <field name="COMMENT">Start über vis button (Kino Start)</field>
                                            <next>
                                              <block type="on_ext" id="z~f7[o:yuf,yP1.PF^mR">
                                                <mutation items="2"></mutation>
                                                <field name="CONDITION">ne</field>
                                                <field name="ACK_CONDITION"></field>
                                                <value name="OID0">
                                                  <shadow type="field_oid" id=")#$rje?7`]#jZflu|u8-">
                                                    <field name="oid">harmony.0.Harmony_Hub.activities.Fernsehen_TV</field>
                                                  </shadow>
                                                </value>
                                                <value name="OID1">
                                                  <shadow type="field_oid" id="MT!|yGw3`Z5:nGeqsWU9">
                                                    <field name="oid">harmony.0.Harmony_Hub.activities.Fire_TV</field>
                                                  </shadow>
                                                </value>
                                                <statement name="STATEMENT">
                                                  <block type="comment" id="D;*;4V]wMXMA$Ge#Q~3@">
                                                    <field name="COMMENT">Kino Start</field>
                                                    <next>
                                                      <block type="comment" id=":nrn$FI_DCUpqO$P-$rv">
                                                        <field name="COMMENT">Leinwand runter</field>
                                                        <next>
                                                          <block type="controls_if" id=".do+p+.jk^v]OsI[~;xR" disabled="true">
                                                            <value name="IF0">
                                                              <block type="logic_compare" id="3(yFm$+c~hF2egbj;}Vi">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="get_value" id="B!Wy!ZOQ`xK6:37hrlRu">
                                                                    <field name="ATTR">val</field>
                                                                    <field name="OID">hm-rpc.1.NEQ1219284.1.LEVEL</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="math_number" id="ozraD@AR*J8nlj18/#4Z">
                                                                    <field name="NUM">100</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <statement name="DO0">
                                                              <block type="controls_if" id="SF|mv+H:ZswT_$b~~Qf?">
                                                                <value name="IF0">
                                                                  <block type="logic_compare" id="Yc69$W{v:(JM=d~iG,#l">
                                                                    <field name="OP">GTE</field>
                                                                    <value name="A">
                                                                      <block type="math_arithmetic" id="8YLpjx1L,.]0Mgdw0LOY">
                                                                        <field name="OP">ADD</field>
                                                                        <value name="A">
                                                                          <shadow type="math_number" id="Iu2;S56Mp.(|Z[O{_xSF">
                                                                            <field name="NUM">1</field>
                                                                          </shadow>
                                                                          <block type="get_value" id="EjRnWvmXd$GT1V[K`!pN">
                                                                            <field name="ATTR">val</field>
                                                                            <field name="OID">harmony.0.Harmony_Hub.activities.Fernsehen_TV</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <shadow type="math_number" id="l4-eNRKH1):IfhG]L=^~">
                                                                            <field name="NUM">1</field>
                                                                          </shadow>
                                                                          <block type="get_value" id="mv.7QZ=w%a25:p5qB^@v">
                                                                            <field name="ATTR">val</field>
                                                                            <field name="OID">harmony.0.Harmony_Hub.activities.Fire_TV</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="math_number" id="3R.%*3,c#3:}B3hTbSRR">
                                                                        <field name="NUM">1</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <statement name="DO0">
                                                                  <block type="control" id="jCCH5-HAi7fT1YK*WWIn">
                                                                    <mutation delay_input="false"></mutation>
                                                                    <field name="OID">hm-rpc.1.NEQ1219284.1.LEVEL</field>
                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                    <value name="VALUE">
                                                                      <block type="math_number" id="aQ^!l0xX4+o=1Nf]b|a)">
                                                                        <field name="NUM">0</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </statement>
                                                              </block>
                                                            </statement>
                                                            <next>
                                                              <block type="comment" id="T+m)au,R@,4C=QV}:jmy">
                                                                <field name="COMMENT">Kino Ende</field>
                                                                <next>
                                                                  <block type="comment" id="FA}9wr-_,n#BmtC}]#C7">
                                                                    <field name="COMMENT">Leinwand rauf</field>
                                                                    <next>
                                                                      <block type="controls_if" id="TD|7A5T%u9wj`_*ML!G/" disabled="true">
                                                                        <value name="IF0">
                                                                          <block type="logic_compare" id="*tLr6J5*?lai+%|]I)QZ">
                                                                            <field name="OP">EQ</field>
                                                                            <value name="A">
                                                                              <block type="get_value" id=":-Z85khP6=~9#q6RCth`">
                                                                                <field name="ATTR">val</field>
                                                                                <field name="OID">hm-rpc.1.NEQ1219284.1.LEVEL</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="math_number" id="Ra-?6[X~wvNO?D@FoXNs">
                                                                                <field name="NUM">0</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <statement name="DO0">
                                                                          <block type="controls_if" id="dQ[WR7XQdw8.eBk*;S8T">
                                                                            <value name="IF0">
                                                                              <block type="logic_compare" id="c,tf;t.ud1GD?~yV6GC)">
                                                                                <field name="OP">EQ</field>
                                                                                <value name="A">
                                                                                  <block type="math_arithmetic" id="$X#_/O-^YHSb]T5ewbb%">
                                                                                    <field name="OP">ADD</field>
                                                                                    <value name="A">
                                                                                      <shadow type="math_number" id="Iu2;S56Mp.(|Z[O{_xSF">
                                                                                        <field name="NUM">1</field>
                                                                                      </shadow>
                                                                                      <block type="get_value" id="nCyoDhFqx17d]]MT.:b|">
                                                                                        <field name="ATTR">val</field>
                                                                                        <field name="OID">harmony.0.Harmony_Hub.activities.Fernsehen_TV</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <shadow type="math_number" id="l4-eNRKH1):IfhG]L=^~">
                                                                                        <field name="NUM">1</field>
                                                                                      </shadow>
                                                                                      <block type="get_value" id="]/~E}heZHkH!64HZ[I06">
                                                                                        <field name="ATTR">val</field>
                                                                                        <field name="OID">harmony.0.Harmony_Hub.activities.Fire_TV</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <block type="math_number" id="7Iq$+n3,{41$=b8,3gf2">
                                                                                    <field name="NUM">0</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <statement name="DO0">
                                                                              <block type="timeouts_settimeout" id="okt]iWfC#FB,}WlI9:]}">
                                                                                <field name="NAME">timeout</field>
                                                                                <field name="DELAY">5</field>
                                                                                <field name="UNIT">sec</field>
                                                                                <statement name="STATEMENT">
                                                                                  <block type="control" id="`h=1?C=|ye*-LFrSrPHf">
                                                                                    <mutation delay_input="false"></mutation>
                                                                                    <field name="OID">hm-rpc.1.NEQ1219284.1.LEVEL</field>
                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="math_number" id="4?M.+?6DWd$!3b(*2WTr">
                                                                                        <field name="NUM">100</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </statement>
                                                                              </block>
                                                                            </statement>
                                                                          </block>
                                                                        </statement>
                                                                        <next>
                                                                          <block type="comment" id="TcixG-2tybTibf#||@$,">
                                                                            <field name="COMMENT">Kino An</field>
                                                                            <next>
                                                                              <block type="comment" id="RfWCw$4K-l$=-aT0-Y/I">
                                                                                <field name="COMMENT">Licht an</field>
                                                                                <next>
                                                                                  <block type="controls_if" id="(f7iaWhswqsxzOu.bfio">
                                                                                    <value name="IF0">
                                                                                      <block type="logic_operation" id="7Y!7`J[r#k:fzwY|)mo4" inline="false">
                                                                                        <field name="OP">OR</field>
                                                                                        <value name="A">
                                                                                          <block type="logic_compare" id="Jc46-Pp.5;T7T;_e2=.i">
                                                                                            <field name="OP">EQ</field>
                                                                                            <value name="A">
                                                                                              <block type="get_value" id="$N)/#A6(f$D(K/o]d0#N">
                                                                                                <field name="ATTR">val</field>
                                                                                                <field name="OID">harmony.0.Harmony_Hub.activities.Fernsehen_TV</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="B">
                                                                                              <block type="math_number" id="*iOs(#k=YSO.!!Rh!HZ9">
                                                                                                <field name="NUM">2</field>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="B">
                                                                                          <block type="logic_compare" id="{y#[qIQDiaWd#5Xm[157">
                                                                                            <field name="OP">EQ</field>
                                                                                            <value name="A">
                                                                                              <block type="get_value" id="XNV1y:=bp[Z8j~=/IfRA">
                                                                                                <field name="ATTR">val</field>
                                                                                                <field name="OID">harmony.0.Harmony_Hub.activities.Fire_TV</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="B">
                                                                                              <block type="math_number" id="IfEx}Z*R/v`A?wax)HA+">
                                                                                                <field name="NUM">2</field>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                    <statement name="DO0">
                                                                                      <block type="controls_if" id="_#Gv$`Z:!b8.X6+todXw">
                                                                                        <value name="IF0">
                                                                                          <block type="logic_operation" id="!UIbbfb$Bm,qfeg}11$I" inline="false">
                                                                                            <field name="OP">AND</field>
                                                                                            <value name="A">
                                                                                              <block type="logic_compare" id="Ja|DfhJT{$13^69^buIo">
                                                                                                <field name="OP">EQ</field>
                                                                                                <value name="A">
                                                                                                  <block type="get_value" id="wGC^qMY1V5S@B,0YHkVF">
                                                                                                    <field name="ATTR">val</field>
                                                                                                    <field name="OID">hue.0.Wandlampen.on</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <block type="logic_boolean" id="gbC:2#uCU[=H:UlFJJu_">
                                                                                                    <field name="BOOL">FALSE</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="B">
                                                                                              <block type="logic_compare" id="VR$`OJ=VFu[A=jfYWK^m">
                                                                                                <field name="OP">EQ</field>
                                                                                                <value name="A">
                                                                                                  <block type="get_value" id="Dgh#jX2AVvcF{-btK}!S">
                                                                                                    <field name="ATTR">val</field>
                                                                                                    <field name="OID">hue.0.Spots_Leinwand.on</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <block type="logic_boolean" id="NJVJh4~`S[G.qKE;%V#4">
                                                                                                    <field name="BOOL">FALSE</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                        <statement name="DO0">
                                                                                          <block type="toggle" id="V=W`.2X]*SOGSsm{5kOC">
                                                                                            <mutation delay_input="false"></mutation>
                                                                                            <field name="OID">hue.0.Wandlampen.scene_hell</field>
                                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                                            <next>
                                                                                              <block type="toggle" id="$9xOA/iMSQI.aOY6ONaX">
                                                                                                <mutation delay_input="false"></mutation>
                                                                                                <field name="OID">hue.0.Spots_Leinwand.scene_hell</field>
                                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                                <next>
                                                                                                  <block type="debug" id="sV=Z(n=w@RuLT=~RC5*8">
                                                                                                    <field name="Severity">log</field>
                                                                                                    <value name="TEXT">
                                                                                                      <shadow type="text" id="+U1jyTg0|k-a#||9~3UO">
                                                                                                        <field name="TEXT">Kino An wurde gedrückt und Licht geht an</field>
                                                                                                      </shadow>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </next>
                                                                                              </block>
                                                                                            </next>
                                                                                          </block>
                                                                                        </statement>
                                                                                      </block>
                                                                                    </statement>
                                                                                    <next>
                                                                                      <block type="comment" id="vH(e$=lNlJ!S(*n{$T,t">
                                                                                        <field name="COMMENT">Kino Aus</field>
                                                                                        <next>
                                                                                          <block type="comment" id="NwGAw*#YKZlR,8fkqcqL">
                                                                                            <field name="COMMENT">Licht aus</field>
                                                                                            <next>
                                                                                              <block type="controls_if" id="qzw1Y5=FCmx7;HTv-Ujh">
                                                                                                <value name="IF0">
                                                                                                  <block type="logic_operation" id="n:NhC!}Clj]xqHaB.`jk" inline="false">
                                                                                                    <field name="OP">OR</field>
                                                                                                    <value name="A">
                                                                                                      <block type="logic_compare" id="{KF@SCqtu/[B2n5kv6T`">
                                                                                                        <field name="OP">EQ</field>
                                                                                                        <value name="A">
                                                                                                          <block type="get_value" id="ul_ysWgc+xc?CSFu5YZ2">
                                                                                                            <field name="ATTR">val</field>
                                                                                                            <field name="OID">harmony.0.Harmony_Hub.activities.Fernsehen_TV</field>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                        <value name="B">
                                                                                                          <block type="math_number" id="1*K*KCs8k78^T3jb{^%s">
                                                                                                            <field name="NUM">0</field>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <value name="B">
                                                                                                      <block type="logic_compare" id="y@W,mWR3t102BaaUwf!7">
                                                                                                        <field name="OP">EQ</field>
                                                                                                        <value name="A">
                                                                                                          <block type="get_value" id="FoyojBF4*Ut)cKz3v1rQ">
                                                                                                            <field name="ATTR">val</field>
                                                                                                            <field name="OID">harmony.0.Harmony_Hub.activities.Fire_TV</field>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                        <value name="B">
                                                                                                          <block type="math_number" id="Py[(:m`CH?yBjhlO:72_">
                                                                                                            <field name="NUM">0</field>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <statement name="DO0">
                                                                                                  <block type="timeouts_settimeout" id="awMzb`_c!t)VQ:BzWUvS">
                                                                                                    <field name="NAME">timeout2</field>
                                                                                                    <field name="DELAY">5</field>
                                                                                                    <field name="UNIT">sec</field>
                                                                                                    <statement name="STATEMENT">
                                                                                                      <block type="control" id="`d,93^l5@8$xJ|SN;dJw">
                                                                                                        <mutation delay_input="false"></mutation>
                                                                                                        <field name="OID">hue.0.hgrp-0000000112.command</field>
                                                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                                                        <value name="VALUE">
                                                                                                          <block type="text" id="iatN9Qv-iIrPm~gwo0V(">
                                                                                                            <field name="TEXT">{"on":false,"transitiontime":100}</field>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                        <next>
                                                                                                          <block type="control" id="4V#XU/%hb!vAlh:jv)W?">
                                                                                                            <mutation delay_input="false"></mutation>
                                                                                                            <field name="OID">hue.0.hgrp-0000024576.command</field>
                                                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                                                            <value name="VALUE">
                                                                                                              <block type="text" id="K=+,I#Hsm7%5Wt_c@pkD">
                                                                                                                <field name="TEXT">{"on":false,"transitiontime":100}</field>
                                                                                                              </block>
                                                                                                            </value>
                                                                                                            <next>
                                                                                                              <block type="debug" id="a,.K8~_S,;cW#e=a3FDg">
                                                                                                                <field name="Severity">log</field>
                                                                                                                <value name="TEXT">
                                                                                                                  <shadow type="text" id="x7Kyy^IwiS[W@Xp+doz{">
                                                                                                                    <field name="TEXT">Kino Aus wurde gedrückt und Licht geht 5sec später aus</field>
                                                                                                                  </shadow>
                                                                                                                </value>
                                                                                                              </block>
                                                                                                            </next>
                                                                                                          </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>
                                                </statement>
                                                <next>
                                                  <block type="comment" id="^[;{Uct`v,[XEEE^TZ|Z">
                                                    <field name="COMMENT">Bei Film Start</field>
                                                    <next>
                                                      <block type="comment" id="jWk9Q[lWON1J?gbPml[Q">
                                                        <field name="COMMENT">Licht Aus</field>
                                                        <next>
                                                          <block type="on_ext" id="/~D5EC{^ugfP|va{z4K7">
                                                            <mutation items="1"></mutation>
                                                            <field name="CONDITION">true</field>
                                                            <field name="ACK_CONDITION"></field>
                                                            <value name="OID0">
                                                              <shadow type="field_oid" id="a0f*xd~JpB!7OEt,mR9Z">
                                                                <field name="oid">fakeroku.0.ioBroker.keys.Play</field>
                                                              </shadow>
                                                            </value>
                                                            <statement name="STATEMENT">
                                                              <block type="controls_if" id="jPl_=EdC(+~TSjET{y37">
                                                                <value name="IF0">
                                                                  <block type="logic_operation" id="F+6c;*rDDS?5`z27:Nf8" inline="false">
                                                                    <field name="OP">AND</field>
                                                                    <value name="A">
                                                                      <block type="logic_compare" id="=4b1DU]@4og@#6#bkVV2">
                                                                        <field name="OP">EQ</field>
                                                                        <value name="A">
                                                                          <block type="get_value" id="^R6QX}V`)C/sVQ+(k/a5">
                                                                            <field name="ATTR">val</field>
                                                                            <field name="OID">hue.0.hgrp-0000000112.on</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="logic_boolean" id="T$XoW4hN{psjfCE-SBs:">
                                                                            <field name="BOOL">TRUE</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="logic_compare" id="=#T4Nyqfe~w$;)eqFwWR">
                                                                        <field name="OP">EQ</field>
                                                                        <value name="A">
                                                                          <block type="get_value" id="oc,gr(gn7wX7yxcSuM;8">
                                                                            <field name="ATTR">val</field>
                                                                            <field name="OID">hue.0.hgrp-0000024576.on</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="logic_boolean" id="-k!lB+qUe;Ey-vJL$OY[">
                                                                            <field name="BOOL">TRUE</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <statement name="DO0">
                                                                  <block type="control" id="1yHXSXOrwH62cz!by2_2">
                                                                    <mutation delay_input="false"></mutation>
                                                                    <field name="OID">hue.0.hgrp-0000000112.command</field>
                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                    <value name="VALUE">
                                                                      <block type="text" id=":[B%Gr:lyKf!h,ZzvLkF">
                                                                        <field name="TEXT">{"on":false,"transitiontime":50}</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="control" id="/n7%sL_H9Cgy=!K0??}#">
                                                                        <mutation delay_input="false"></mutation>
                                                                        <field name="OID">hue.0.hgrp-0000024576.command</field>
                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                        <value name="VALUE">
                                                                          <block type="text" id="U!h$J(JZ,!2HD+I%(du[">
                                                                            <field name="TEXT">{"on":false,"transitiontime":50}</field>
                                                                          </block>
                                                                        </value>
                                                                        <next>
                                                                          <block type="debug" id="4kTU|cL{T%aOm58/;OQ:">
                                                                            <field name="Severity">log</field>
                                                                            <value name="TEXT">
                                                                              <shadow type="text" id="0ilButD5X8dZSD`4N+#o">
                                                                                <field name="TEXT">play wurde gedrückt und Licht geht aus</field>
                                                                              </shadow>
                                                                            </value>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </statement>
                                                              </block>
                                                            </statement>
                                                            <next>
                                                              <block type="comment" id="K)A%3*gi5TBL!P@(kpQ{">
                                                                <field name="COMMENT">Licht Pause</field>
                                                                <next>
                                                                  <block type="on_ext" id="6A07o`WL8|a]Z5AEy%aD">
                                                                    <mutation items="1"></mutation>
                                                                    <field name="CONDITION">true</field>
                                                                    <field name="ACK_CONDITION"></field>
                                                                    <value name="OID0">
                                                                      <shadow type="field_oid" id="w;(5i4Y}0~#a!^}eGmXW">
                                                                        <field name="oid">fakeroku.0.ioBroker.keys.Home</field>
                                                                      </shadow>
                                                                    </value>
                                                                    <statement name="STATEMENT">
                                                                      <block type="comment" id="JHWP[(:C)D7[g;TMEM`d">
                                                                        <field name="COMMENT">Licht Pause an</field>
                                                                        <next>
                                                                          <block type="controls_if" id="e),LJcf}Bx;1A#bP1[?c">
                                                                            <value name="IF0">
                                                                              <block type="logic_operation" id="A%#?9#~s2~_wKN?4;669" inline="false">
                                                                                <field name="OP">AND</field>
                                                                                <value name="A">
                                                                                  <block type="logic_compare" id="q_H5|JPD}}XD0Izo^uFe">
                                                                                    <field name="OP">EQ</field>
                                                                                    <value name="A">
                                                                                      <block type="get_value" id="!uL=HeDeD0(y,DInx~Y[">
                                                                                        <field name="ATTR">val</field>
                                                                                        <field name="OID">hue.0.hgrp-0000000112.on</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <block type="logic_boolean" id="Tn4C6Paju;8-A(,o$TZD">
                                                                                        <field name="BOOL">FALSE</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <block type="logic_compare" id="Wt;LH|n()|?diu%|+=wp">
                                                                                    <field name="OP">EQ</field>
                                                                                    <value name="A">
                                                                                      <block type="get_value" id="$W{}Od6*67FEeQ:rO[Wi">
                                                                                        <field name="ATTR">val</field>
                                                                                        <field name="OID">hue.0.hgrp-0000024576.on</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <block type="logic_boolean" id=";@l`@Tt(Ni7eBwaI3YH=">
                                                                                        <field name="BOOL">FALSE</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <statement name="DO0">
                                                                              <block type="control" id="QsF*A8Whp`A9=L9uo}2Y">
                                                                                <mutation delay_input="false"></mutation>
                                                                                <field name="OID">hue.0.hgrp-0000000112.on</field>
                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                <value name="VALUE">
                                                                                  <block type="logic_boolean" id="jkKi`}z=x8axBC*+M_Al">
                                                                                    <field name="BOOL">TRUE</field>
                                                                                  </block>
                                                                                </value>
                                                                                <next>
                                                                                  <block type="control" id="SaKAaF(~4vRad7AP{7,i">
                                                                                    <mutation delay_input="false"></mutation>
                                                                                    <field name="OID">hue.0.hgrp-0000024576.on</field>
                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="logic_boolean" id="Sj2:lKHvkFK|7)|/4Gg8">
                                                                                        <field name="BOOL">TRUE</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <next>
                                                                                      <block type="debug" id="o;Y9,n(4NEl-]3)n%(3i">
                                                                                        <field name="Severity">log</field>
                                                                                        <value name="TEXT">
                                                                                          <shadow type="text" id="p;ckNI;A%e_Pp,,~*)=p">
                                                                                            <field name="TEXT">pause wurde gedrückt und Licht geht an</field>
                                                                                          </shadow>
                                                                                        </value>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </statement>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </statement>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                          <block type="math_arithmetic" id="yEp7+0o%|9jqAm}:7A=4" disabled="true" x="1712" y="63">
                                            <field name="OP">ADD</field>
                                            <value name="A">
                                              <shadow type="math_number" id="Iu2;S56Mp.(|Z[O{_xSF">
                                                <field name="NUM">1</field>
                                              </shadow>
                                            </value>
                                            <value name="B">
                                              <shadow type="math_number" id="l4-eNRKH1):IfhG]L=^~">
                                                <field name="NUM">1</field>
                                              </shadow>
                                            </value>
                                          </block>
                                          <block type="logic_compare" id=")}*?9(1S6[4`:;eJ*M6p" disabled="true" x="1638" y="388">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="math_arithmetic" id="[]I{X0W[K]h-ynSA[@RY">
                                                <field name="OP">ADD</field>
                                                <value name="A">
                                                  <shadow type="math_number" id="Iu2;S56Mp.(|Z[O{_xSF">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                  <block type="get_value" id="0Xw^.hWjN%?i9[fOb?V~">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">harmony.0.Harmony_Hub.activities.Fernsehen_TV</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <shadow type="math_number" id="l4-eNRKH1):IfhG]L=^~">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                  <block type="get_value" id="in5#-rnF7LprK])VYQ.m">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">harmony.0.Harmony_Hub.activities.Fire_TV</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="k=KJbG4zu)iq?%GRTe2l">
                                                <field name="NUM">0</field>
                                              </block>
                                            </value>
                                          </block>
                                          <block type="comment" id="!Iz=w_yLn8#-rUmR4*C;" x="1738" y="1063">
                                            <field name="COMMENT">Licht Pause an</field>
                                            <next>
                                              <block type="controls_if" id="DX2v$i[%LU!+6`p*6N,z" disabled="true">
                                                <value name="IF0">
                                                  <block type="logic_operation" id="?P~{pene}d(YM+M/gJaR" inline="false">
                                                    <field name="OP">AND</field>
                                                    <value name="A">
                                                      <block type="logic_compare" id="E.7,(H,~@;!P+_Xm_TM*">
                                                        <field name="OP">EQ</field>
                                                        <value name="A">
                                                          <block type="get_value" id="laU?n=!T)mlv/,s){hI{">
                                                            <field name="ATTR">val</field>
                                                            <field name="OID">hue.0.hgrp-0000000112.on</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="logic_boolean" id="B4l;:Y8as~^GQ|_7;hfI">
                                                            <field name="BOOL">FALSE</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_compare" id="pzN6yBVqK`-WDT+!Zy;#">
                                                        <field name="OP">EQ</field>
                                                        <value name="A">
                                                          <block type="get_value" id="FeaAqtGk3-jBxT*C5~GM">
                                                            <field name="ATTR">val</field>
                                                            <field name="OID">hue.0.hgrp-0000024576.on</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="logic_boolean" id="KKpR}i1PsQ?J=t:C$ov;">
                                                            <field name="BOOL">FALSE</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="control" id="U^KyX@bu^dy0Ex*l1]oH">
                                                    <mutation delay_input="false"></mutation>
                                                    <field name="OID">hue.0.hgrp-0000000112.command</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="text" id="ksRYy)D[w7t=H!2U*(.o">
                                                        <field name="TEXT">{"on":false,"transitiontime":100}</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="control" id="VAT2,E6qBqWmXhCqudS(">
                                                        <mutation delay_input="false"></mutation>
                                                        <field name="OID">hue.0.hgrp-0000024576.command</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="text" id="TgR?8Co^g5O?M?;(TrJP">
                                                            <field name="TEXT">{"on":false,"transitiontime":100}</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="debug" id="VmHHy`4Rz(S!39muMiVo">
                                                            <field name="Severity">log</field>
                                                            <value name="TEXT">
                                                              <shadow type="text" id="c0NNb0Djub@Sv,HoGwMN">
                                                                <field name="TEXT">pause wurde gedrück und Licht geht an</field>
                                                              </shadow>
                                                            </value>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </statement>
                                              </block>
                                            </next>
                                          </block>
                                        </xml>
                                        
                                        dslraser 2 Replies Last reply Reply Quote 0
                                        • dslraser
                                          dslraser Forum Testing Most Active @chris077 last edited by

                                          @chris077
                                          2 = an , das heißt, Deine Harmony Aktion geht erst auf 2 wenn sie tatsächlich an ist, also ausgeführt wurde.
                                          Zum Rest kann ich ohne Bild oder Code nix sagen.

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

                                            @chris077
                                            kann ich mir später gern mal ansehen. (Bin noch länger unterwegs)

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            659
                                            Online

                                            31.9k
                                            Users

                                            80.3k
                                            Topics

                                            1.3m
                                            Posts

                                            8
                                            45
                                            3262
                                            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