Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. {gelöst} Alexa, spiele WDR2 im Wohnzimmer

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    4.0k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.2k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

{gelöst} Alexa, spiele WDR2 im Wohnzimmer

Geplant Angeheftet Gesperrt Verschoben Gelöst Blockly
iobrokeralexaharmony
87 Beiträge 5 Kommentatoren 4.9k Aufrufe 5 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Uli977U Uli977

    @dslraser Sehr sehr geil! Genau so wollte ich es... DANKE dir!

    Was ist den radio fritz... ein guter Sender? Kenne ich gar nicht

    dslraserD Offline
    dslraserD Offline
    dslraser
    Forum Testing Most Active
    schrieb am zuletzt editiert von dslraser
    #75

    @Uli977 sagte in Alexa, spiele WDR2 im Wohnzimmer:

    @dslraser Sehr sehr geil! Genau so wollte ich es... DANKE dir!

    Was ist den radio fritz... ein guter Sender? Kenne ich gar nicht

    Radio Fritz ist ein Berliner Sender

    Ausschalten geht auch über diesen Weg. Auch ohne Routine und Button.

    Bildschirmfoto 2019-11-02 um 22.00.48.png

    Hier nochmal das gesamte Blockly. (ohne Harmony)

    <xml xmlns="http://www.w3.org/1999/xhtml">
     <block type="on_ext" id="MZX#q{Gs.k*hPSsJ9cKU" x="87" y="12">
       <mutation items="1"></mutation>
       <field name="CONDITION">any</field>
       <field name="ACK_CONDITION"></field>
       <value name="OID0">
         <shadow type="field_oid" id="Iv~|tQUnQir?Y:KkU?E4">
           <field name="oid">alexa2.0.History.summary</field>
         </shadow>
       </value>
       <statement name="STATEMENT">
         <block type="controls_if" id="DLE4zW;!}2)dWCZraCs5">
           <value name="IF0">
             <block type="logic_operation" id="Y)6]`Q9xcctJsNJ*n2Xk" inline="false">
               <field name="OP">OR</field>
               <value name="A">
                 <block type="logic_operation" id=":Mph^k)JrtbItY5v+-w#" inline="false">
                   <field name="OP">OR</field>
                   <value name="A">
                     <block type="logic_compare" id="Fy6yYtFUO7Y@^J,~(`wR">
                       <field name="OP">EQ</field>
                       <value name="A">
                         <block type="get_value" id="*?.PBWtjh,9}H1NG%6O9">
                           <field name="ATTR">val</field>
                           <field name="OID">alexa2.0.History.summary</field>
                         </block>
                       </value>
                       <value name="B">
                         <block type="text" id="|]`u@Mv~9eR).$#v+RDX">
                           <field name="TEXT">spiele n. d. r. zwei im wohnzimmer</field>
                         </block>
                       </value>
                     </block>
                   </value>
                   <value name="B">
                     <block type="logic_compare" id="Gv;QzXO,u*z39MJJ{1ir">
                       <field name="OP">EQ</field>
                       <value name="A">
                         <block type="get_value" id="RhXIZNAkv7%U*yXC)+SO">
                           <field name="ATTR">val</field>
                           <field name="OID">alexa2.0.History.summary</field>
                         </block>
                       </value>
                       <value name="B">
                         <block type="text" id="BST3m|13cQ/vS-08xQq.">
                           <field name="TEXT">spiele radio s. a. w. im Wohnzimmer</field>
                         </block>
                       </value>
                     </block>
                   </value>
                 </block>
               </value>
               <value name="B">
                 <block type="logic_operation" id="4,ey-=V$-9h74l}qsGEh" inline="false">
                   <field name="OP">OR</field>
                   <value name="A">
                     <block type="logic_compare" id=":fQ~X*n=JWP!Dqk?f7`h">
                       <field name="OP">EQ</field>
                       <value name="A">
                         <block type="get_value" id="q|N4[Pd:E%cgz_?4QtaM">
                           <field name="ATTR">val</field>
                           <field name="OID">alexa2.0.History.summary</field>
                         </block>
                       </value>
                       <value name="B">
                         <block type="text" id="le]p7]}?#t^`]{7qg=;=">
                           <field name="TEXT">spiele w. d. r. zwei im wohnzimmer</field>
                         </block>
                       </value>
                     </block>
                   </value>
                   <value name="B">
                     <block type="logic_compare" id="i)=,{~bT!8w7%Amp=**N">
                       <field name="OP">EQ</field>
                       <value name="A">
                         <block type="get_value" id="1CRKsakAOFQ59X0KxbC5">
                           <field name="ATTR">val</field>
                           <field name="OID">alexa2.0.History.summary</field>
                         </block>
                       </value>
                       <value name="B">
                         <block type="text" id="O|6g(Q.fGyP?CA.*|_rB">
                           <field name="TEXT">spiele radio fritz im wohnzimmer</field>
                         </block>
                       </value>
                     </block>
                   </value>
                 </block>
               </value>
             </block>
           </value>
           <statement name="DO0">
             <block type="control" id="3X*:XR4h7~R|Ed|,n/tM">
               <mutation delay_input="false"></mutation>
               <field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Bluetooth.00:05:CD:FE:7C:8D.connected</field>
               <field name="WITH_DELAY">FALSE</field>
               <value name="VALUE">
                 <block type="logic_boolean" id="P)c3)R|X@.HJ6|ot;~h^">
                   <field name="BOOL">TRUE</field>
                 </block>
               </value>
             </block>
           </statement>
         </block>
       </statement>
       <next>
         <block type="on_ext" id="Np`X%6sixOMQ%rLG8}f?">
           <mutation items="1"></mutation>
           <field name="CONDITION">any</field>
           <field name="ACK_CONDITION"></field>
           <value name="OID0">
             <shadow type="field_oid" id="P`oxf1xXZWdEzcp(9-`c">
               <field name="oid">alexa2.0.History.summary</field>
             </shadow>
           </value>
           <statement name="STATEMENT">
             <block type="controls_if" id="E^f1*Vai{bZA9HIGp:O]">
               <value name="IF0">
                 <block type="logic_operation" id="iU-Wq*:zwi)OFmha.0V=" inline="false">
                   <field name="OP">OR</field>
                   <value name="A">
                     <block type="logic_compare" id="Ihx7uP01OIWXc`vDn]Qe">
                       <field name="OP">EQ</field>
                       <value name="A">
                         <block type="get_value" id="Rt(YmF?$i-Fs@BdrAB{]">
                           <field name="ATTR">val</field>
                           <field name="OID">alexa2.0.History.summary</field>
                         </block>
                       </value>
                       <value name="B">
                         <block type="text" id="S-8g!7ijnQNnn4vYw6zg">
                           <field name="TEXT">radio im wohnzimmer aus</field>
                         </block>
                       </value>
                     </block>
                   </value>
                   <value name="B">
                     <block type="logic_compare" id="Vi!)G6^WE!mI2?xNUE^/">
                       <field name="OP">EQ</field>
                       <value name="A">
                         <block type="get_value" id="+#rHESJ]RmF5nD9G(O27">
                           <field name="ATTR">val</field>
                           <field name="OID">alexa2.0.History.summary</field>
                         </block>
                       </value>
                       <value name="B">
                         <block type="text" id="CrCbgaq,bZ6jhZ?/p{N]">
                           <field name="TEXT">mach die kiste aus</field>
                         </block>
                       </value>
                     </block>
                   </value>
                 </block>
               </value>
               <statement name="DO0">
                 <block type="control" id="n4J5Xbe.hFjRwd9-Y_g7">
                   <mutation delay_input="false"></mutation>
                   <field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Bluetooth.00:05:CD:FE:7C:8D.connected</field>
                   <field name="WITH_DELAY">FALSE</field>
                   <value name="VALUE">
                     <block type="logic_boolean" id="{_lrr!ml1h(=)$e{^F]2">
                       <field name="BOOL">FALSE</field>
                     </block>
                   </value>
                   <next>
                     <block type="control" id="G44K%t.cT$qWm]`g6$cu">
                       <mutation delay_input="false"></mutation>
                       <field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Player.controlPause</field>
                       <field name="WITH_DELAY">FALSE</field>
                       <value name="VALUE">
                         <block type="logic_boolean" id="}C3ITXps53|IjKF4JG{y">
                           <field name="BOOL">TRUE</field>
                         </block>
                       </value>
                     </block>
                   </next>
                 </block>
               </statement>
             </block>
           </statement>
         </block>
       </next>
     </block>
    </xml>
    

    Edit: ich muß noch zusätzlich meinen AVR ausschalten, weil der sonst an bleibt :blush:

    Bildschirmfoto 2019-11-02 um 22.12.08.png

    Uli977U 1 Antwort Letzte Antwort
    0
    • dslraserD dslraser

      @Uli977 sagte in Alexa, spiele WDR2 im Wohnzimmer:

      @dslraser Sehr sehr geil! Genau so wollte ich es... DANKE dir!

      Was ist den radio fritz... ein guter Sender? Kenne ich gar nicht

      Radio Fritz ist ein Berliner Sender

      Ausschalten geht auch über diesen Weg. Auch ohne Routine und Button.

      Bildschirmfoto 2019-11-02 um 22.00.48.png

      Hier nochmal das gesamte Blockly. (ohne Harmony)

      <xml xmlns="http://www.w3.org/1999/xhtml">
       <block type="on_ext" id="MZX#q{Gs.k*hPSsJ9cKU" x="87" y="12">
         <mutation items="1"></mutation>
         <field name="CONDITION">any</field>
         <field name="ACK_CONDITION"></field>
         <value name="OID0">
           <shadow type="field_oid" id="Iv~|tQUnQir?Y:KkU?E4">
             <field name="oid">alexa2.0.History.summary</field>
           </shadow>
         </value>
         <statement name="STATEMENT">
           <block type="controls_if" id="DLE4zW;!}2)dWCZraCs5">
             <value name="IF0">
               <block type="logic_operation" id="Y)6]`Q9xcctJsNJ*n2Xk" inline="false">
                 <field name="OP">OR</field>
                 <value name="A">
                   <block type="logic_operation" id=":Mph^k)JrtbItY5v+-w#" inline="false">
                     <field name="OP">OR</field>
                     <value name="A">
                       <block type="logic_compare" id="Fy6yYtFUO7Y@^J,~(`wR">
                         <field name="OP">EQ</field>
                         <value name="A">
                           <block type="get_value" id="*?.PBWtjh,9}H1NG%6O9">
                             <field name="ATTR">val</field>
                             <field name="OID">alexa2.0.History.summary</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="text" id="|]`u@Mv~9eR).$#v+RDX">
                             <field name="TEXT">spiele n. d. r. zwei im wohnzimmer</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <value name="B">
                       <block type="logic_compare" id="Gv;QzXO,u*z39MJJ{1ir">
                         <field name="OP">EQ</field>
                         <value name="A">
                           <block type="get_value" id="RhXIZNAkv7%U*yXC)+SO">
                             <field name="ATTR">val</field>
                             <field name="OID">alexa2.0.History.summary</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="text" id="BST3m|13cQ/vS-08xQq.">
                             <field name="TEXT">spiele radio s. a. w. im Wohnzimmer</field>
                           </block>
                         </value>
                       </block>
                     </value>
                   </block>
                 </value>
                 <value name="B">
                   <block type="logic_operation" id="4,ey-=V$-9h74l}qsGEh" inline="false">
                     <field name="OP">OR</field>
                     <value name="A">
                       <block type="logic_compare" id=":fQ~X*n=JWP!Dqk?f7`h">
                         <field name="OP">EQ</field>
                         <value name="A">
                           <block type="get_value" id="q|N4[Pd:E%cgz_?4QtaM">
                             <field name="ATTR">val</field>
                             <field name="OID">alexa2.0.History.summary</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="text" id="le]p7]}?#t^`]{7qg=;=">
                             <field name="TEXT">spiele w. d. r. zwei im wohnzimmer</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <value name="B">
                       <block type="logic_compare" id="i)=,{~bT!8w7%Amp=**N">
                         <field name="OP">EQ</field>
                         <value name="A">
                           <block type="get_value" id="1CRKsakAOFQ59X0KxbC5">
                             <field name="ATTR">val</field>
                             <field name="OID">alexa2.0.History.summary</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="text" id="O|6g(Q.fGyP?CA.*|_rB">
                             <field name="TEXT">spiele radio fritz im wohnzimmer</field>
                           </block>
                         </value>
                       </block>
                     </value>
                   </block>
                 </value>
               </block>
             </value>
             <statement name="DO0">
               <block type="control" id="3X*:XR4h7~R|Ed|,n/tM">
                 <mutation delay_input="false"></mutation>
                 <field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Bluetooth.00:05:CD:FE:7C:8D.connected</field>
                 <field name="WITH_DELAY">FALSE</field>
                 <value name="VALUE">
                   <block type="logic_boolean" id="P)c3)R|X@.HJ6|ot;~h^">
                     <field name="BOOL">TRUE</field>
                   </block>
                 </value>
               </block>
             </statement>
           </block>
         </statement>
         <next>
           <block type="on_ext" id="Np`X%6sixOMQ%rLG8}f?">
             <mutation items="1"></mutation>
             <field name="CONDITION">any</field>
             <field name="ACK_CONDITION"></field>
             <value name="OID0">
               <shadow type="field_oid" id="P`oxf1xXZWdEzcp(9-`c">
                 <field name="oid">alexa2.0.History.summary</field>
               </shadow>
             </value>
             <statement name="STATEMENT">
               <block type="controls_if" id="E^f1*Vai{bZA9HIGp:O]">
                 <value name="IF0">
                   <block type="logic_operation" id="iU-Wq*:zwi)OFmha.0V=" inline="false">
                     <field name="OP">OR</field>
                     <value name="A">
                       <block type="logic_compare" id="Ihx7uP01OIWXc`vDn]Qe">
                         <field name="OP">EQ</field>
                         <value name="A">
                           <block type="get_value" id="Rt(YmF?$i-Fs@BdrAB{]">
                             <field name="ATTR">val</field>
                             <field name="OID">alexa2.0.History.summary</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="text" id="S-8g!7ijnQNnn4vYw6zg">
                             <field name="TEXT">radio im wohnzimmer aus</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <value name="B">
                       <block type="logic_compare" id="Vi!)G6^WE!mI2?xNUE^/">
                         <field name="OP">EQ</field>
                         <value name="A">
                           <block type="get_value" id="+#rHESJ]RmF5nD9G(O27">
                             <field name="ATTR">val</field>
                             <field name="OID">alexa2.0.History.summary</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="text" id="CrCbgaq,bZ6jhZ?/p{N]">
                             <field name="TEXT">mach die kiste aus</field>
                           </block>
                         </value>
                       </block>
                     </value>
                   </block>
                 </value>
                 <statement name="DO0">
                   <block type="control" id="n4J5Xbe.hFjRwd9-Y_g7">
                     <mutation delay_input="false"></mutation>
                     <field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Bluetooth.00:05:CD:FE:7C:8D.connected</field>
                     <field name="WITH_DELAY">FALSE</field>
                     <value name="VALUE">
                       <block type="logic_boolean" id="{_lrr!ml1h(=)$e{^F]2">
                         <field name="BOOL">FALSE</field>
                       </block>
                     </value>
                     <next>
                       <block type="control" id="G44K%t.cT$qWm]`g6$cu">
                         <mutation delay_input="false"></mutation>
                         <field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Player.controlPause</field>
                         <field name="WITH_DELAY">FALSE</field>
                         <value name="VALUE">
                           <block type="logic_boolean" id="}C3ITXps53|IjKF4JG{y">
                             <field name="BOOL">TRUE</field>
                           </block>
                         </value>
                       </block>
                     </next>
                   </block>
                 </statement>
               </block>
             </statement>
           </block>
         </next>
       </block>
      </xml>
      

      Edit: ich muß noch zusätzlich meinen AVR ausschalten, weil der sonst an bleibt :blush:

      Bildschirmfoto 2019-11-02 um 22.12.08.png

      Uli977U Offline
      Uli977U Offline
      Uli977
      schrieb am zuletzt editiert von
      #76

      @dslraser Was soll ich sagen.... PERFEKT! Danke!

      dslraserD 2 Antworten Letzte Antwort
      0
      • Uli977U Uli977

        @dslraser Was soll ich sagen.... PERFEKT! Danke!

        dslraserD Offline
        dslraserD Offline
        dslraser
        Forum Testing Most Active
        schrieb am zuletzt editiert von dslraser
        #77

        @Uli977
        Prima, dann stelle den Thread auf [gelöst]. (ganz oben im ersten Beitrag Deinen Titel bearbeiten)

        1 Antwort Letzte Antwort
        0
        • Uli977U Uli977

          @dslraser Was soll ich sagen.... PERFEKT! Danke!

          dslraserD Offline
          dslraserD Offline
          dslraser
          Forum Testing Most Active
          schrieb am zuletzt editiert von dslraser
          #78

          @Uli977

          eine Sache fällt mir doch noch ein. Man könnte auch nur auf das erste Wort in der History triggern, wenn das immer z.B. mit spiele anfängt, dann könnte man immer diese Aktion auslösen, also Deine Harmony Aktion schalten und Blauzahn aktivieren. Der Sender wird ja dann von Alexa sowieso abgespielt. So kannst Du jeden Sender sagen ohne das er im Blockly angegeben werden muß. Sobald spiele als erstes gesagt wird startet die Aktion. Vielleicht willst Du es ja so....
          Alexa, spiele NDR2
          Alexa, spiele WDR2

          Bildschirmfoto 2019-11-02 um 23.01.27.png

          <xml xmlns="http://www.w3.org/1999/xhtml">
           <block type="on_ext" id="MZX#q{Gs.k*hPSsJ9cKU" x="87" y="12">
             <mutation items="1"></mutation>
             <field name="CONDITION">any</field>
             <field name="ACK_CONDITION"></field>
             <value name="OID0">
               <shadow type="field_oid" id="Iv~|tQUnQir?Y:KkU?E4">
                 <field name="oid">alexa2.0.History.summary</field>
               </shadow>
             </value>
             <statement name="STATEMENT">
               <block type="controls_if" id="DLE4zW;!}2)dWCZraCs5">
                 <value name="IF0">
                   <block type="logic_compare" id="WUs0(F=vk*xOB;q%]gG)">
                     <field name="OP">EQ</field>
                     <value name="A">
                       <block type="text_getSubstring" id="f5KoGv$%Zm!NLY7z%f({">
                         <mutation at1="false" at2="true"></mutation>
                         <field name="WHERE1">FIRST</field>
                         <field name="WHERE2">FROM_START</field>
                         <value name="STRING">
                           <block type="on_source" id="c#LY4#OLipUP+z=,xL_^">
                             <field name="ATTR">state.val</field>
                           </block>
                         </value>
                         <value name="AT2">
                           <block type="math_number" id="FD_s|Lv~2+q4y}K5ESo1">
                             <field name="NUM">6</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <value name="B">
                       <block type="text" id="`(k{j)n2p/qpW).EF~z+">
                         <field name="TEXT">spiele</field>
                       </block>
                     </value>
                   </block>
                 </value>
                 <statement name="DO0">
                   <block type="control" id="3X*:XR4h7~R|Ed|,n/tM">
                     <mutation delay_input="true"></mutation>
                     <field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Bluetooth.00:05:CD:FE:7C:8D.connected</field>
                     <field name="WITH_DELAY">TRUE</field>
                     <field name="DELAY_MS">3</field>
                     <field name="UNIT">sec</field>
                     <field name="CLEAR_RUNNING">FALSE</field>
                     <value name="VALUE">
                       <block type="logic_boolean" id="P)c3)R|X@.HJ6|ot;~h^">
                         <field name="BOOL">TRUE</field>
                       </block>
                     </value>
                   </block>
                 </statement>
               </block>
             </statement>
             <next>
               <block type="on_ext" id="Np`X%6sixOMQ%rLG8}f?">
                 <mutation items="1"></mutation>
                 <field name="CONDITION">any</field>
                 <field name="ACK_CONDITION"></field>
                 <value name="OID0">
                   <shadow type="field_oid" id="P`oxf1xXZWdEzcp(9-`c">
                     <field name="oid">alexa2.0.History.summary</field>
                   </shadow>
                 </value>
                 <statement name="STATEMENT">
                   <block type="controls_if" id="E^f1*Vai{bZA9HIGp:O]">
                     <value name="IF0">
                       <block type="logic_operation" id="iU-Wq*:zwi)OFmha.0V=" inline="false">
                         <field name="OP">OR</field>
                         <value name="A">
                           <block type="logic_compare" id="Ihx7uP01OIWXc`vDn]Qe">
                             <field name="OP">EQ</field>
                             <value name="A">
                               <block type="get_value" id="Rt(YmF?$i-Fs@BdrAB{]">
                                 <field name="ATTR">val</field>
                                 <field name="OID">alexa2.0.History.summary</field>
                               </block>
                             </value>
                             <value name="B">
                               <block type="text" id="S-8g!7ijnQNnn4vYw6zg">
                                 <field name="TEXT">radio im wohnzimmer aus</field>
                               </block>
                             </value>
                           </block>
                         </value>
                         <value name="B">
                           <block type="logic_compare" id="Vi!)G6^WE!mI2?xNUE^/">
                             <field name="OP">EQ</field>
                             <value name="A">
                               <block type="get_value" id="+#rHESJ]RmF5nD9G(O27">
                                 <field name="ATTR">val</field>
                                 <field name="OID">alexa2.0.History.summary</field>
                               </block>
                             </value>
                             <value name="B">
                               <block type="text" id="CrCbgaq,bZ6jhZ?/p{N]">
                                 <field name="TEXT">mach die kiste aus</field>
                               </block>
                             </value>
                           </block>
                         </value>
                       </block>
                     </value>
                     <statement name="DO0">
                       <block type="control" id="G44K%t.cT$qWm]`g6$cu">
                         <mutation delay_input="false"></mutation>
                         <field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Player.controlPause</field>
                         <field name="WITH_DELAY">FALSE</field>
                         <value name="VALUE">
                           <block type="logic_boolean" id="}C3ITXps53|IjKF4JG{y">
                             <field name="BOOL">TRUE</field>
                           </block>
                         </value>
                         <next>
                           <block type="control" id="R=S~-``,W5]`$8y?!]5o">
                             <mutation delay_input="false"></mutation>
                             <field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Bluetooth.00:05:CD:FE:7C:8D.connected</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="logic_boolean" id="E=KTWyM*gPzKTjaFWC([">
                                 <field name="BOOL">FALSE</field>
                               </block>
                             </value>
                             <next>
                               <block type="control" id="n4J5Xbe.hFjRwd9-Y_g7">
                                 <mutation delay_input="false"></mutation>
                                 <field name="OID">denon.0.zoneMain.powerZone</field>
                                 <field name="WITH_DELAY">FALSE</field>
                                 <value name="VALUE">
                                   <block type="logic_boolean" id="{_lrr!ml1h(=)$e{^F]2">
                                     <field name="BOOL">FALSE</field>
                                   </block>
                                 </value>
                               </block>
                             </next>
                           </block>
                         </next>
                       </block>
                     </statement>
                   </block>
                 </statement>
               </block>
             </next>
           </block>
          </xml>
          

          Uli977U 2 Antworten Letzte Antwort
          0
          • dslraserD dslraser

            @Uli977

            eine Sache fällt mir doch noch ein. Man könnte auch nur auf das erste Wort in der History triggern, wenn das immer z.B. mit spiele anfängt, dann könnte man immer diese Aktion auslösen, also Deine Harmony Aktion schalten und Blauzahn aktivieren. Der Sender wird ja dann von Alexa sowieso abgespielt. So kannst Du jeden Sender sagen ohne das er im Blockly angegeben werden muß. Sobald spiele als erstes gesagt wird startet die Aktion. Vielleicht willst Du es ja so....
            Alexa, spiele NDR2
            Alexa, spiele WDR2

            Bildschirmfoto 2019-11-02 um 23.01.27.png

            <xml xmlns="http://www.w3.org/1999/xhtml">
             <block type="on_ext" id="MZX#q{Gs.k*hPSsJ9cKU" x="87" y="12">
               <mutation items="1"></mutation>
               <field name="CONDITION">any</field>
               <field name="ACK_CONDITION"></field>
               <value name="OID0">
                 <shadow type="field_oid" id="Iv~|tQUnQir?Y:KkU?E4">
                   <field name="oid">alexa2.0.History.summary</field>
                 </shadow>
               </value>
               <statement name="STATEMENT">
                 <block type="controls_if" id="DLE4zW;!}2)dWCZraCs5">
                   <value name="IF0">
                     <block type="logic_compare" id="WUs0(F=vk*xOB;q%]gG)">
                       <field name="OP">EQ</field>
                       <value name="A">
                         <block type="text_getSubstring" id="f5KoGv$%Zm!NLY7z%f({">
                           <mutation at1="false" at2="true"></mutation>
                           <field name="WHERE1">FIRST</field>
                           <field name="WHERE2">FROM_START</field>
                           <value name="STRING">
                             <block type="on_source" id="c#LY4#OLipUP+z=,xL_^">
                               <field name="ATTR">state.val</field>
                             </block>
                           </value>
                           <value name="AT2">
                             <block type="math_number" id="FD_s|Lv~2+q4y}K5ESo1">
                               <field name="NUM">6</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <value name="B">
                         <block type="text" id="`(k{j)n2p/qpW).EF~z+">
                           <field name="TEXT">spiele</field>
                         </block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO0">
                     <block type="control" id="3X*:XR4h7~R|Ed|,n/tM">
                       <mutation delay_input="true"></mutation>
                       <field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Bluetooth.00:05:CD:FE:7C:8D.connected</field>
                       <field name="WITH_DELAY">TRUE</field>
                       <field name="DELAY_MS">3</field>
                       <field name="UNIT">sec</field>
                       <field name="CLEAR_RUNNING">FALSE</field>
                       <value name="VALUE">
                         <block type="logic_boolean" id="P)c3)R|X@.HJ6|ot;~h^">
                           <field name="BOOL">TRUE</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                 </block>
               </statement>
               <next>
                 <block type="on_ext" id="Np`X%6sixOMQ%rLG8}f?">
                   <mutation items="1"></mutation>
                   <field name="CONDITION">any</field>
                   <field name="ACK_CONDITION"></field>
                   <value name="OID0">
                     <shadow type="field_oid" id="P`oxf1xXZWdEzcp(9-`c">
                       <field name="oid">alexa2.0.History.summary</field>
                     </shadow>
                   </value>
                   <statement name="STATEMENT">
                     <block type="controls_if" id="E^f1*Vai{bZA9HIGp:O]">
                       <value name="IF0">
                         <block type="logic_operation" id="iU-Wq*:zwi)OFmha.0V=" inline="false">
                           <field name="OP">OR</field>
                           <value name="A">
                             <block type="logic_compare" id="Ihx7uP01OIWXc`vDn]Qe">
                               <field name="OP">EQ</field>
                               <value name="A">
                                 <block type="get_value" id="Rt(YmF?$i-Fs@BdrAB{]">
                                   <field name="ATTR">val</field>
                                   <field name="OID">alexa2.0.History.summary</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="text" id="S-8g!7ijnQNnn4vYw6zg">
                                   <field name="TEXT">radio im wohnzimmer aus</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <value name="B">
                             <block type="logic_compare" id="Vi!)G6^WE!mI2?xNUE^/">
                               <field name="OP">EQ</field>
                               <value name="A">
                                 <block type="get_value" id="+#rHESJ]RmF5nD9G(O27">
                                   <field name="ATTR">val</field>
                                   <field name="OID">alexa2.0.History.summary</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="text" id="CrCbgaq,bZ6jhZ?/p{N]">
                                   <field name="TEXT">mach die kiste aus</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                         </block>
                       </value>
                       <statement name="DO0">
                         <block type="control" id="G44K%t.cT$qWm]`g6$cu">
                           <mutation delay_input="false"></mutation>
                           <field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Player.controlPause</field>
                           <field name="WITH_DELAY">FALSE</field>
                           <value name="VALUE">
                             <block type="logic_boolean" id="}C3ITXps53|IjKF4JG{y">
                               <field name="BOOL">TRUE</field>
                             </block>
                           </value>
                           <next>
                             <block type="control" id="R=S~-``,W5]`$8y?!]5o">
                               <mutation delay_input="false"></mutation>
                               <field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Bluetooth.00:05:CD:FE:7C:8D.connected</field>
                               <field name="WITH_DELAY">FALSE</field>
                               <value name="VALUE">
                                 <block type="logic_boolean" id="E=KTWyM*gPzKTjaFWC([">
                                   <field name="BOOL">FALSE</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="control" id="n4J5Xbe.hFjRwd9-Y_g7">
                                   <mutation delay_input="false"></mutation>
                                   <field name="OID">denon.0.zoneMain.powerZone</field>
                                   <field name="WITH_DELAY">FALSE</field>
                                   <value name="VALUE">
                                     <block type="logic_boolean" id="{_lrr!ml1h(=)$e{^F]2">
                                       <field name="BOOL">FALSE</field>
                                     </block>
                                   </value>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </statement>
                     </block>
                   </statement>
                 </block>
               </next>
             </block>
            </xml>
            

            Uli977U Offline
            Uli977U Offline
            Uli977
            schrieb am zuletzt editiert von
            #79

            @dslraser ich teste das!

            1 Antwort Letzte Antwort
            0
            • dslraserD dslraser

              @Uli977

              eine Sache fällt mir doch noch ein. Man könnte auch nur auf das erste Wort in der History triggern, wenn das immer z.B. mit spiele anfängt, dann könnte man immer diese Aktion auslösen, also Deine Harmony Aktion schalten und Blauzahn aktivieren. Der Sender wird ja dann von Alexa sowieso abgespielt. So kannst Du jeden Sender sagen ohne das er im Blockly angegeben werden muß. Sobald spiele als erstes gesagt wird startet die Aktion. Vielleicht willst Du es ja so....
              Alexa, spiele NDR2
              Alexa, spiele WDR2

              Bildschirmfoto 2019-11-02 um 23.01.27.png

              <xml xmlns="http://www.w3.org/1999/xhtml">
               <block type="on_ext" id="MZX#q{Gs.k*hPSsJ9cKU" x="87" y="12">
                 <mutation items="1"></mutation>
                 <field name="CONDITION">any</field>
                 <field name="ACK_CONDITION"></field>
                 <value name="OID0">
                   <shadow type="field_oid" id="Iv~|tQUnQir?Y:KkU?E4">
                     <field name="oid">alexa2.0.History.summary</field>
                   </shadow>
                 </value>
                 <statement name="STATEMENT">
                   <block type="controls_if" id="DLE4zW;!}2)dWCZraCs5">
                     <value name="IF0">
                       <block type="logic_compare" id="WUs0(F=vk*xOB;q%]gG)">
                         <field name="OP">EQ</field>
                         <value name="A">
                           <block type="text_getSubstring" id="f5KoGv$%Zm!NLY7z%f({">
                             <mutation at1="false" at2="true"></mutation>
                             <field name="WHERE1">FIRST</field>
                             <field name="WHERE2">FROM_START</field>
                             <value name="STRING">
                               <block type="on_source" id="c#LY4#OLipUP+z=,xL_^">
                                 <field name="ATTR">state.val</field>
                               </block>
                             </value>
                             <value name="AT2">
                               <block type="math_number" id="FD_s|Lv~2+q4y}K5ESo1">
                                 <field name="NUM">6</field>
                               </block>
                             </value>
                           </block>
                         </value>
                         <value name="B">
                           <block type="text" id="`(k{j)n2p/qpW).EF~z+">
                             <field name="TEXT">spiele</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <statement name="DO0">
                       <block type="control" id="3X*:XR4h7~R|Ed|,n/tM">
                         <mutation delay_input="true"></mutation>
                         <field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Bluetooth.00:05:CD:FE:7C:8D.connected</field>
                         <field name="WITH_DELAY">TRUE</field>
                         <field name="DELAY_MS">3</field>
                         <field name="UNIT">sec</field>
                         <field name="CLEAR_RUNNING">FALSE</field>
                         <value name="VALUE">
                           <block type="logic_boolean" id="P)c3)R|X@.HJ6|ot;~h^">
                             <field name="BOOL">TRUE</field>
                           </block>
                         </value>
                       </block>
                     </statement>
                   </block>
                 </statement>
                 <next>
                   <block type="on_ext" id="Np`X%6sixOMQ%rLG8}f?">
                     <mutation items="1"></mutation>
                     <field name="CONDITION">any</field>
                     <field name="ACK_CONDITION"></field>
                     <value name="OID0">
                       <shadow type="field_oid" id="P`oxf1xXZWdEzcp(9-`c">
                         <field name="oid">alexa2.0.History.summary</field>
                       </shadow>
                     </value>
                     <statement name="STATEMENT">
                       <block type="controls_if" id="E^f1*Vai{bZA9HIGp:O]">
                         <value name="IF0">
                           <block type="logic_operation" id="iU-Wq*:zwi)OFmha.0V=" inline="false">
                             <field name="OP">OR</field>
                             <value name="A">
                               <block type="logic_compare" id="Ihx7uP01OIWXc`vDn]Qe">
                                 <field name="OP">EQ</field>
                                 <value name="A">
                                   <block type="get_value" id="Rt(YmF?$i-Fs@BdrAB{]">
                                     <field name="ATTR">val</field>
                                     <field name="OID">alexa2.0.History.summary</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="text" id="S-8g!7ijnQNnn4vYw6zg">
                                     <field name="TEXT">radio im wohnzimmer aus</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <value name="B">
                               <block type="logic_compare" id="Vi!)G6^WE!mI2?xNUE^/">
                                 <field name="OP">EQ</field>
                                 <value name="A">
                                   <block type="get_value" id="+#rHESJ]RmF5nD9G(O27">
                                     <field name="ATTR">val</field>
                                     <field name="OID">alexa2.0.History.summary</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="text" id="CrCbgaq,bZ6jhZ?/p{N]">
                                     <field name="TEXT">mach die kiste aus</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO0">
                           <block type="control" id="G44K%t.cT$qWm]`g6$cu">
                             <mutation delay_input="false"></mutation>
                             <field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Player.controlPause</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="logic_boolean" id="}C3ITXps53|IjKF4JG{y">
                                 <field name="BOOL">TRUE</field>
                               </block>
                             </value>
                             <next>
                               <block type="control" id="R=S~-``,W5]`$8y?!]5o">
                                 <mutation delay_input="false"></mutation>
                                 <field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Bluetooth.00:05:CD:FE:7C:8D.connected</field>
                                 <field name="WITH_DELAY">FALSE</field>
                                 <value name="VALUE">
                                   <block type="logic_boolean" id="E=KTWyM*gPzKTjaFWC([">
                                     <field name="BOOL">FALSE</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="control" id="n4J5Xbe.hFjRwd9-Y_g7">
                                     <mutation delay_input="false"></mutation>
                                     <field name="OID">denon.0.zoneMain.powerZone</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                     <value name="VALUE">
                                       <block type="logic_boolean" id="{_lrr!ml1h(=)$e{^F]2">
                                         <field name="BOOL">FALSE</field>
                                       </block>
                                     </value>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </statement>
                       </block>
                     </statement>
                   </block>
                 </next>
               </block>
              </xml>
              

              Uli977U Offline
              Uli977U Offline
              Uli977
              schrieb am zuletzt editiert von Uli977
              #80

              @dslraser Perfekt! Was soll ich sagen.... Dankeschön! Erneut!

              19cb5058-b412-46c3-a6a4-3063f9e1adf4-image.png

              dslraserD 2 Antworten Letzte Antwort
              0
              • Uli977U Uli977

                @dslraser Perfekt! Was soll ich sagen.... Dankeschön! Erneut!

                19cb5058-b412-46c3-a6a4-3063f9e1adf4-image.png

                dslraserD Offline
                dslraserD Offline
                dslraser
                Forum Testing Most Active
                schrieb am zuletzt editiert von
                #81

                @Uli977
                Die 3 Sekunden beim einschalten brauche ich für meinen AVR, weil der dann erst einschaltet und auf den richtigen Eingang umschaltet. Kannst ja probieren wieviel und ob Du da eine Verzögerung brauchst.

                1 Antwort Letzte Antwort
                0
                • Uli977U Uli977

                  @dslraser Perfekt! Was soll ich sagen.... Dankeschön! Erneut!

                  19cb5058-b412-46c3-a6a4-3063f9e1adf4-image.png

                  dslraserD Offline
                  dslraserD Offline
                  dslraser
                  Forum Testing Most Active
                  schrieb am zuletzt editiert von
                  #82

                  @Uli977
                  und wenn das nur im Wohnzimmer passieren soll, dann müßte man nach dieses Wort mit prüfen, weil sonst schalten auch andere ECHOS diese Aktion und spielen den Radio Sender nicht mehr selbst ab....

                  Also: Alexa, spiele NDR2 im Wohnzimmer

                  Also noch zusätzlich das letzte Wort Wohnzimmer in die Prüfung einbauen

                  Uli977U 2 Antworten Letzte Antwort
                  0
                  • dslraserD dslraser

                    @Uli977
                    und wenn das nur im Wohnzimmer passieren soll, dann müßte man nach dieses Wort mit prüfen, weil sonst schalten auch andere ECHOS diese Aktion und spielen den Radio Sender nicht mehr selbst ab....

                    Also: Alexa, spiele NDR2 im Wohnzimmer

                    Also noch zusätzlich das letzte Wort Wohnzimmer in die Prüfung einbauen

                    Uli977U Offline
                    Uli977U Offline
                    Uli977
                    schrieb am zuletzt editiert von
                    #83

                    @dslraser kannst du das schnell einbauen?

                    Weil ich habe andere Alexas, da könnte ich dann vielleicht Probleme bekommen

                    1 Antwort Letzte Antwort
                    0
                    • dslraserD dslraser

                      @Uli977
                      und wenn das nur im Wohnzimmer passieren soll, dann müßte man nach dieses Wort mit prüfen, weil sonst schalten auch andere ECHOS diese Aktion und spielen den Radio Sender nicht mehr selbst ab....

                      Also: Alexa, spiele NDR2 im Wohnzimmer

                      Also noch zusätzlich das letzte Wort Wohnzimmer in die Prüfung einbauen

                      Uli977U Offline
                      Uli977U Offline
                      Uli977
                      schrieb am zuletzt editiert von
                      #84

                      @dslraser So

                      f443fcb5-624e-4047-843a-210437947fcd-image.png

                      dslraserD 2 Antworten Letzte Antwort
                      0
                      • Uli977U Uli977

                        @dslraser So

                        f443fcb5-624e-4047-843a-210437947fcd-image.png

                        dslraserD Offline
                        dslraserD Offline
                        dslraser
                        Forum Testing Most Active
                        schrieb am zuletzt editiert von
                        #85

                        @Uli977
                        probiere mal so..

                        Bildschirmfoto 2019-11-03 um 00.14.14.png

                        <xml xmlns="http://www.w3.org/1999/xhtml">
                         <variables>
                           <variable type="" id="@!_^k9^zFWondd-=a;yB">erstes_wort</variable>
                           <variable type="" id="OGOEqOh/EzI.f(,K^lb.">letztes_wort</variable>
                         </variables>
                         <block type="on_ext" id="MZX#q{Gs.k*hPSsJ9cKU" x="63" y="137">
                           <mutation items="1"></mutation>
                           <field name="CONDITION">any</field>
                           <field name="ACK_CONDITION"></field>
                           <value name="OID0">
                             <shadow type="field_oid" id="Iv~|tQUnQir?Y:KkU?E4">
                               <field name="oid">alexa2.0.History.summary</field>
                             </shadow>
                           </value>
                           <statement name="STATEMENT">
                             <block type="variables_set" id="7;U{Id?fayG4D/9zacn:">
                               <field name="VAR" id="@!_^k9^zFWondd-=a;yB" variabletype="">erstes_wort</field>
                               <value name="VALUE">
                                 <block type="text_indexOf" id="vu;@JqZ82JhLJ[stQiSM">
                                   <field name="END">FIRST</field>
                                   <value name="VALUE">
                                     <block type="get_value" id="kq+LFlVXsjHM2Fy1dmI2">
                                       <field name="ATTR">val</field>
                                       <field name="OID">alexa2.0.History.summary</field>
                                     </block>
                                   </value>
                                   <value name="FIND">
                                     <shadow type="text" id="u]tclL!.B1zr1L+;EiRO">
                                       <field name="TEXT">abc</field>
                                     </shadow>
                                     <block type="text" id="tH+g7qq:p]jw.fWaQfDz">
                                       <field name="TEXT">spiele</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <next>
                                 <block type="variables_set" id="!^uRN)9I3JiLr9d4~}SJ">
                                   <field name="VAR" id="OGOEqOh/EzI.f(,K^lb." variabletype="">letztes_wort</field>
                                   <value name="VALUE">
                                     <block type="text_indexOf" id="JbIL2yFac?i*^Q2WTg|F">
                                       <field name="END">FIRST</field>
                                       <value name="VALUE">
                                         <block type="get_value" id="[N9w5$I-X?U_2RAUdRD}">
                                           <field name="ATTR">val</field>
                                           <field name="OID">alexa2.0.History.summary</field>
                                         </block>
                                       </value>
                                       <value name="FIND">
                                         <shadow type="text" id="u]tclL!.B1zr1L+;EiRO">
                                           <field name="TEXT">abc</field>
                                         </shadow>
                                         <block type="text" id="1]2I2PG:.3LKq!TKaRwq">
                                           <field name="TEXT">wohnzimmer</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="controls_if" id="DLE4zW;!}2)dWCZraCs5">
                                       <value name="IF0">
                                         <block type="logic_operation" id="Jv+_Dj1(/:vNV]F7Sp)~">
                                           <field name="OP">AND</field>
                                           <value name="A">
                                             <block type="variables_get" id=":8Sky#sE)OaVL^`ki?YC">
                                               <field name="VAR" id="@!_^k9^zFWondd-=a;yB" variabletype="">erstes_wort</field>
                                             </block>
                                           </value>
                                           <value name="B">
                                             <block type="variables_get" id="p9:-dL%0+Dw!sElR15w+">
                                               <field name="VAR" id="OGOEqOh/EzI.f(,K^lb." variabletype="">letztes_wort</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <statement name="DO0">
                                         <block type="control" id="3X*:XR4h7~R|Ed|,n/tM">
                                           <mutation delay_input="true"></mutation>
                                           <field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Bluetooth.00:05:CD:FE:7C:8D.connected</field>
                                           <field name="WITH_DELAY">TRUE</field>
                                           <field name="DELAY_MS">3</field>
                                           <field name="UNIT">sec</field>
                                           <field name="CLEAR_RUNNING">FALSE</field>
                                           <value name="VALUE">
                                             <block type="logic_boolean" id="P)c3)R|X@.HJ6|ot;~h^">
                                               <field name="BOOL">TRUE</field>
                                             </block>
                                           </value>
                                         </block>
                                       </statement>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </statement>
                           <next>
                             <block type="on_ext" id="Np`X%6sixOMQ%rLG8}f?">
                               <mutation items="1"></mutation>
                               <field name="CONDITION">any</field>
                               <field name="ACK_CONDITION"></field>
                               <value name="OID0">
                                 <shadow type="field_oid" id="P`oxf1xXZWdEzcp(9-`c">
                                   <field name="oid">alexa2.0.History.summary</field>
                                 </shadow>
                               </value>
                               <statement name="STATEMENT">
                                 <block type="controls_if" id="E^f1*Vai{bZA9HIGp:O]">
                                   <value name="IF0">
                                     <block type="logic_operation" id="iU-Wq*:zwi)OFmha.0V=" inline="false">
                                       <field name="OP">OR</field>
                                       <value name="A">
                                         <block type="logic_compare" id="Ihx7uP01OIWXc`vDn]Qe">
                                           <field name="OP">EQ</field>
                                           <value name="A">
                                             <block type="get_value" id="Rt(YmF?$i-Fs@BdrAB{]">
                                               <field name="ATTR">val</field>
                                               <field name="OID">alexa2.0.History.summary</field>
                                             </block>
                                           </value>
                                           <value name="B">
                                             <block type="text" id="S-8g!7ijnQNnn4vYw6zg">
                                               <field name="TEXT">radio im wohnzimmer aus</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="logic_compare" id="Vi!)G6^WE!mI2?xNUE^/">
                                           <field name="OP">EQ</field>
                                           <value name="A">
                                             <block type="get_value" id="+#rHESJ]RmF5nD9G(O27">
                                               <field name="ATTR">val</field>
                                               <field name="OID">alexa2.0.History.summary</field>
                                             </block>
                                           </value>
                                           <value name="B">
                                             <block type="text" id="CrCbgaq,bZ6jhZ?/p{N]">
                                               <field name="TEXT">mach die kiste aus</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <statement name="DO0">
                                     <block type="control" id="G44K%t.cT$qWm]`g6$cu">
                                       <mutation delay_input="false"></mutation>
                                       <field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Player.controlPause</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="logic_boolean" id="}C3ITXps53|IjKF4JG{y">
                                           <field name="BOOL">TRUE</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="control" id="R=S~-``,W5]`$8y?!]5o">
                                           <mutation delay_input="false"></mutation>
                                           <field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Bluetooth.00:05:CD:FE:7C:8D.connected</field>
                                           <field name="WITH_DELAY">FALSE</field>
                                           <value name="VALUE">
                                             <block type="logic_boolean" id="E=KTWyM*gPzKTjaFWC([">
                                               <field name="BOOL">FALSE</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="control" id="n4J5Xbe.hFjRwd9-Y_g7">
                                               <mutation delay_input="false"></mutation>
                                               <field name="OID">denon.0.zoneMain.powerZone</field>
                                               <field name="WITH_DELAY">FALSE</field>
                                               <value name="VALUE">
                                                 <block type="logic_boolean" id="{_lrr!ml1h(=)$e{^F]2">
                                                   <field name="BOOL">FALSE</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </statement>
                                 </block>
                               </statement>
                             </block>
                           </next>
                         </block>
                        </xml>
                        

                        1 Antwort Letzte Antwort
                        0
                        • Uli977U Uli977

                          @dslraser So

                          f443fcb5-624e-4047-843a-210437947fcd-image.png

                          dslraserD Offline
                          dslraserD Offline
                          dslraser
                          Forum Testing Most Active
                          schrieb am zuletzt editiert von dslraser
                          #86

                          @Uli977

                          oder so...

                          Bildschirmfoto 2019-11-03 um 00.17.26.png

                          <xml xmlns="http://www.w3.org/1999/xhtml">
                           <variables>
                             <variable type="" id="@!_^k9^zFWondd-=a;yB">erstes_wort</variable>
                             <variable type="" id="OGOEqOh/EzI.f(,K^lb.">letztes_wort</variable>
                           </variables>
                           <block type="on_ext" id="MZX#q{Gs.k*hPSsJ9cKU" x="63" y="137">
                             <mutation items="1"></mutation>
                             <field name="CONDITION">any</field>
                             <field name="ACK_CONDITION"></field>
                             <value name="OID0">
                               <shadow type="field_oid" id="Iv~|tQUnQir?Y:KkU?E4">
                                 <field name="oid">alexa2.0.History.summary</field>
                               </shadow>
                             </value>
                             <statement name="STATEMENT">
                               <block type="variables_set" id="7;U{Id?fayG4D/9zacn:">
                                 <field name="VAR" id="@!_^k9^zFWondd-=a;yB" variabletype="">erstes_wort</field>
                                 <value name="VALUE">
                                   <block type="text_indexOf" id="vu;@JqZ82JhLJ[stQiSM">
                                     <field name="END">FIRST</field>
                                     <value name="VALUE">
                                       <block type="on_source" id="_J|$!h@a#CsIiO`({ebU">
                                         <field name="ATTR">state.val</field>
                                       </block>
                                     </value>
                                     <value name="FIND">
                                       <shadow type="text" id="u]tclL!.B1zr1L+;EiRO">
                                         <field name="TEXT">abc</field>
                                       </shadow>
                                       <block type="text" id="tH+g7qq:p]jw.fWaQfDz">
                                         <field name="TEXT">spiele</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="variables_set" id="!^uRN)9I3JiLr9d4~}SJ">
                                     <field name="VAR" id="OGOEqOh/EzI.f(,K^lb." variabletype="">letztes_wort</field>
                                     <value name="VALUE">
                                       <block type="text_indexOf" id="JbIL2yFac?i*^Q2WTg|F">
                                         <field name="END">FIRST</field>
                                         <value name="VALUE">
                                           <block type="on_source" id="Gvg2D-bOcwq5upLm76TR">
                                             <field name="ATTR">state.val</field>
                                           </block>
                                         </value>
                                         <value name="FIND">
                                           <shadow type="text" id="u]tclL!.B1zr1L+;EiRO">
                                             <field name="TEXT">abc</field>
                                           </shadow>
                                           <block type="text" id="1]2I2PG:.3LKq!TKaRwq">
                                             <field name="TEXT">wohnzimmer</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="controls_if" id="DLE4zW;!}2)dWCZraCs5">
                                         <value name="IF0">
                                           <block type="logic_operation" id="Jv+_Dj1(/:vNV]F7Sp)~">
                                             <field name="OP">AND</field>
                                             <value name="A">
                                               <block type="variables_get" id=":8Sky#sE)OaVL^`ki?YC">
                                                 <field name="VAR" id="@!_^k9^zFWondd-=a;yB" variabletype="">erstes_wort</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="variables_get" id="p9:-dL%0+Dw!sElR15w+">
                                                 <field name="VAR" id="OGOEqOh/EzI.f(,K^lb." variabletype="">letztes_wort</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="control" id="3X*:XR4h7~R|Ed|,n/tM">
                                             <mutation delay_input="true"></mutation>
                                             <field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Bluetooth.00:05:CD:FE:7C:8D.connected</field>
                                             <field name="WITH_DELAY">TRUE</field>
                                             <field name="DELAY_MS">3</field>
                                             <field name="UNIT">sec</field>
                                             <field name="CLEAR_RUNNING">FALSE</field>
                                             <value name="VALUE">
                                               <block type="logic_boolean" id="P)c3)R|X@.HJ6|ot;~h^">
                                                 <field name="BOOL">TRUE</field>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                             <next>
                               <block type="on_ext" id="Np`X%6sixOMQ%rLG8}f?">
                                 <mutation items="1"></mutation>
                                 <field name="CONDITION">any</field>
                                 <field name="ACK_CONDITION"></field>
                                 <value name="OID0">
                                   <shadow type="field_oid" id="P`oxf1xXZWdEzcp(9-`c">
                                     <field name="oid">alexa2.0.History.summary</field>
                                   </shadow>
                                 </value>
                                 <statement name="STATEMENT">
                                   <block type="controls_if" id="E^f1*Vai{bZA9HIGp:O]">
                                     <value name="IF0">
                                       <block type="logic_operation" id="iU-Wq*:zwi)OFmha.0V=" inline="false">
                                         <field name="OP">OR</field>
                                         <value name="A">
                                           <block type="logic_compare" id="Ihx7uP01OIWXc`vDn]Qe">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="get_value" id="Rt(YmF?$i-Fs@BdrAB{]">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">alexa2.0.History.summary</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="text" id="S-8g!7ijnQNnn4vYw6zg">
                                                 <field name="TEXT">radio im wohnzimmer aus</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="logic_compare" id="Vi!)G6^WE!mI2?xNUE^/">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="get_value" id="+#rHESJ]RmF5nD9G(O27">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">alexa2.0.History.summary</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="text" id="CrCbgaq,bZ6jhZ?/p{N]">
                                                 <field name="TEXT">mach die kiste aus</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <statement name="DO0">
                                       <block type="control" id="G44K%t.cT$qWm]`g6$cu">
                                         <mutation delay_input="false"></mutation>
                                         <field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Player.controlPause</field>
                                         <field name="WITH_DELAY">FALSE</field>
                                         <value name="VALUE">
                                           <block type="logic_boolean" id="}C3ITXps53|IjKF4JG{y">
                                             <field name="BOOL">TRUE</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="control" id="R=S~-``,W5]`$8y?!]5o">
                                             <mutation delay_input="false"></mutation>
                                             <field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Bluetooth.00:05:CD:FE:7C:8D.connected</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="logic_boolean" id="E=KTWyM*gPzKTjaFWC([">
                                                 <field name="BOOL">FALSE</field>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="control" id="n4J5Xbe.hFjRwd9-Y_g7">
                                                 <mutation delay_input="false"></mutation>
                                                 <field name="OID">denon.0.zoneMain.powerZone</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="logic_boolean" id="{_lrr!ml1h(=)$e{^F]2">
                                                     <field name="BOOL">FALSE</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </statement>
                                   </block>
                                 </statement>
                               </block>
                             </next>
                           </block>
                          </xml>
                          

                          Alexa, spiele Radio NDR2 . läßt den ECHO selbst den Sender abspielen.
                          Alexa, spiele Radio NDR2 im Wohnzimmer schaltet die Aktion.

                          Sollte so gehen

                          Uli977U 1 Antwort Letzte Antwort
                          0
                          • dslraserD dslraser

                            @Uli977

                            oder so...

                            Bildschirmfoto 2019-11-03 um 00.17.26.png

                            <xml xmlns="http://www.w3.org/1999/xhtml">
                             <variables>
                               <variable type="" id="@!_^k9^zFWondd-=a;yB">erstes_wort</variable>
                               <variable type="" id="OGOEqOh/EzI.f(,K^lb.">letztes_wort</variable>
                             </variables>
                             <block type="on_ext" id="MZX#q{Gs.k*hPSsJ9cKU" x="63" y="137">
                               <mutation items="1"></mutation>
                               <field name="CONDITION">any</field>
                               <field name="ACK_CONDITION"></field>
                               <value name="OID0">
                                 <shadow type="field_oid" id="Iv~|tQUnQir?Y:KkU?E4">
                                   <field name="oid">alexa2.0.History.summary</field>
                                 </shadow>
                               </value>
                               <statement name="STATEMENT">
                                 <block type="variables_set" id="7;U{Id?fayG4D/9zacn:">
                                   <field name="VAR" id="@!_^k9^zFWondd-=a;yB" variabletype="">erstes_wort</field>
                                   <value name="VALUE">
                                     <block type="text_indexOf" id="vu;@JqZ82JhLJ[stQiSM">
                                       <field name="END">FIRST</field>
                                       <value name="VALUE">
                                         <block type="on_source" id="_J|$!h@a#CsIiO`({ebU">
                                           <field name="ATTR">state.val</field>
                                         </block>
                                       </value>
                                       <value name="FIND">
                                         <shadow type="text" id="u]tclL!.B1zr1L+;EiRO">
                                           <field name="TEXT">abc</field>
                                         </shadow>
                                         <block type="text" id="tH+g7qq:p]jw.fWaQfDz">
                                           <field name="TEXT">spiele</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="variables_set" id="!^uRN)9I3JiLr9d4~}SJ">
                                       <field name="VAR" id="OGOEqOh/EzI.f(,K^lb." variabletype="">letztes_wort</field>
                                       <value name="VALUE">
                                         <block type="text_indexOf" id="JbIL2yFac?i*^Q2WTg|F">
                                           <field name="END">FIRST</field>
                                           <value name="VALUE">
                                             <block type="on_source" id="Gvg2D-bOcwq5upLm76TR">
                                               <field name="ATTR">state.val</field>
                                             </block>
                                           </value>
                                           <value name="FIND">
                                             <shadow type="text" id="u]tclL!.B1zr1L+;EiRO">
                                               <field name="TEXT">abc</field>
                                             </shadow>
                                             <block type="text" id="1]2I2PG:.3LKq!TKaRwq">
                                               <field name="TEXT">wohnzimmer</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="controls_if" id="DLE4zW;!}2)dWCZraCs5">
                                           <value name="IF0">
                                             <block type="logic_operation" id="Jv+_Dj1(/:vNV]F7Sp)~">
                                               <field name="OP">AND</field>
                                               <value name="A">
                                                 <block type="variables_get" id=":8Sky#sE)OaVL^`ki?YC">
                                                   <field name="VAR" id="@!_^k9^zFWondd-=a;yB" variabletype="">erstes_wort</field>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="variables_get" id="p9:-dL%0+Dw!sElR15w+">
                                                   <field name="VAR" id="OGOEqOh/EzI.f(,K^lb." variabletype="">letztes_wort</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <statement name="DO0">
                                             <block type="control" id="3X*:XR4h7~R|Ed|,n/tM">
                                               <mutation delay_input="true"></mutation>
                                               <field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Bluetooth.00:05:CD:FE:7C:8D.connected</field>
                                               <field name="WITH_DELAY">TRUE</field>
                                               <field name="DELAY_MS">3</field>
                                               <field name="UNIT">sec</field>
                                               <field name="CLEAR_RUNNING">FALSE</field>
                                               <value name="VALUE">
                                                 <block type="logic_boolean" id="P)c3)R|X@.HJ6|ot;~h^">
                                                   <field name="BOOL">TRUE</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </statement>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                               <next>
                                 <block type="on_ext" id="Np`X%6sixOMQ%rLG8}f?">
                                   <mutation items="1"></mutation>
                                   <field name="CONDITION">any</field>
                                   <field name="ACK_CONDITION"></field>
                                   <value name="OID0">
                                     <shadow type="field_oid" id="P`oxf1xXZWdEzcp(9-`c">
                                       <field name="oid">alexa2.0.History.summary</field>
                                     </shadow>
                                   </value>
                                   <statement name="STATEMENT">
                                     <block type="controls_if" id="E^f1*Vai{bZA9HIGp:O]">
                                       <value name="IF0">
                                         <block type="logic_operation" id="iU-Wq*:zwi)OFmha.0V=" inline="false">
                                           <field name="OP">OR</field>
                                           <value name="A">
                                             <block type="logic_compare" id="Ihx7uP01OIWXc`vDn]Qe">
                                               <field name="OP">EQ</field>
                                               <value name="A">
                                                 <block type="get_value" id="Rt(YmF?$i-Fs@BdrAB{]">
                                                   <field name="ATTR">val</field>
                                                   <field name="OID">alexa2.0.History.summary</field>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="text" id="S-8g!7ijnQNnn4vYw6zg">
                                                   <field name="TEXT">radio im wohnzimmer aus</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <value name="B">
                                             <block type="logic_compare" id="Vi!)G6^WE!mI2?xNUE^/">
                                               <field name="OP">EQ</field>
                                               <value name="A">
                                                 <block type="get_value" id="+#rHESJ]RmF5nD9G(O27">
                                                   <field name="ATTR">val</field>
                                                   <field name="OID">alexa2.0.History.summary</field>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="text" id="CrCbgaq,bZ6jhZ?/p{N]">
                                                   <field name="TEXT">mach die kiste aus</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <statement name="DO0">
                                         <block type="control" id="G44K%t.cT$qWm]`g6$cu">
                                           <mutation delay_input="false"></mutation>
                                           <field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Player.controlPause</field>
                                           <field name="WITH_DELAY">FALSE</field>
                                           <value name="VALUE">
                                             <block type="logic_boolean" id="}C3ITXps53|IjKF4JG{y">
                                               <field name="BOOL">TRUE</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="control" id="R=S~-``,W5]`$8y?!]5o">
                                               <mutation delay_input="false"></mutation>
                                               <field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Bluetooth.00:05:CD:FE:7C:8D.connected</field>
                                               <field name="WITH_DELAY">FALSE</field>
                                               <value name="VALUE">
                                                 <block type="logic_boolean" id="E=KTWyM*gPzKTjaFWC([">
                                                   <field name="BOOL">FALSE</field>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="control" id="n4J5Xbe.hFjRwd9-Y_g7">
                                                   <mutation delay_input="false"></mutation>
                                                   <field name="OID">denon.0.zoneMain.powerZone</field>
                                                   <field name="WITH_DELAY">FALSE</field>
                                                   <value name="VALUE">
                                                     <block type="logic_boolean" id="{_lrr!ml1h(=)$e{^F]2">
                                                       <field name="BOOL">FALSE</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </statement>
                                     </block>
                                   </statement>
                                 </block>
                               </next>
                             </block>
                            </xml>
                            

                            Alexa, spiele Radio NDR2 . läßt den ECHO selbst den Sender abspielen.
                            Alexa, spiele Radio NDR2 im Wohnzimmer schaltet die Aktion.

                            Sollte so gehen

                            Uli977U Offline
                            Uli977U Offline
                            Uli977
                            schrieb am zuletzt editiert von
                            #87

                            @dslraser So geht es..... Danke dir erneut! Ich geh jetzt mal schlafen :-)

                            1 Antwort Letzte Antwort
                            0
                            Antworten
                            • In einem neuen Thema antworten
                            Anmelden zum Antworten
                            • Älteste zuerst
                            • Neuste zuerst
                            • Meiste Stimmen


                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            263

                            Online

                            32.7k

                            Benutzer

                            82.4k

                            Themen

                            1.3m

                            Beiträge
                            Community
                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                            ioBroker Community 2014-2025
                            logo
                            • Anmelden

                            • Du hast noch kein Konto? Registrieren

                            • Anmelden oder registrieren, um zu suchen
                            • Erster Beitrag
                              Letzter Beitrag
                            0
                            • Home
                            • Aktuell
                            • Tags
                            • Ungelesen 0
                            • Kategorien
                            • Unreplied
                            • Beliebt
                            • GitHub
                            • Docu
                            • Hilfe