Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Cloud Dienste
    4. [gelöst] "Alexa, stopp" senden per anderem Befehl?

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] "Alexa, stopp" senden per anderem Befehl?

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

      @padrino

      Könntest du bitte mal über das Blockly schaun?

      Hab es gerade getestet, funktioniert leider irgendwie nicht.

      Ich hab es auf 1 bestimmten Echo angepasst. Ist das vielleicht der Fehler?
      Bräuchte meine Tochter (der besagte Echo) ein eigenes Konto?

      Es wird auch was gesendet (schätze der SSML) da der Ring kurz Blau leuchtet.
      Bespoken gibt auch ein OK retour.
      objects - ioBroker (1).png

      Jedoch geht die Wiedergabe trotzdem weiter.

      javascript - ioBroker (6).png

      <block xmlns="http://www.w3.org/1999/xhtml" type="schedule" id="DzmDE#73n0Dsk7k8*QTq" x="-512" y="1015">
        <field name="SCHEDULE">{"time":{"exactTime":true,"start":"22:00"},"period":{"days":1,"dows":"[0,1,2,3,4]"}}</field>
        <statement name="STATEMENT">
          <block type="control" id="~GNIWEh*~fsAZRT^gInh">
            <mutation delay_input="false"></mutation>
            <field name="OID">alexa2.0.Bespoken.#sendText</field>
            <field name="WITH_DELAY">FALSE</field>
            <value name="VALUE">
              <block type="text_join" id="q*[8xCyZ`!s5J(BAqhWl">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="{NR#~o)YiBD=k|0p|VNn">
                    <field name="TEXT">stopp auf </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="get_value" id="h[4W5d%{kJP+T/%;9f?,">
                    <field name="ATTR">val</field>
                    <field name="OID">alexa2.0.Echo-Devices.G090LF1173621Q4Q.Info.name</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="control_ex" id="=K=$+:?Udz$.~kKMu60_">
                <field name="TYPE">false</field>
                <field name="CLEAR_RUNNING">FALSE</field>
                <value name="OID">
                  <shadow type="field_oid" id="4@NdKbYkHbiO9{C|6Phk">
                    <field name="oid">Object ID</field>
                  </shadow>
                  <block type="text_join" id="Uc(C1*DhkN=(Ej:3;/_{">
                    <mutation items="3"></mutation>
                    <value name="ADD0">
                      <block type="text" id="3N=uEC@l*)_nr#{g4uNp">
                        <field name="TEXT">alexa2.0.Echo-Devices.</field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="get_value" id="mTQ}3#/=?3VG-*}4O,m-">
                        <field name="ATTR">val</field>
                        <field name="OID">alexa2.0.Echo-Devices.G090LF1173621Q4Q.Info.serialNumber</field>
                      </block>
                    </value>
                    <value name="ADD2">
                      <block type="text" id="E|q29/u43a=DeTghbcsC">
                        <field name="TEXT">.Commands.ssml</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="VALUE">
                  <shadow type="logic_boolean" id="qiKw6Q,qYU:d#j9t60s5">
                    <field name="BOOL">TRUE</field>
                  </shadow>
                  <block type="text" id="{:DH]5RqcB^5@`#Y{@c=">
                    <field name="TEXT">&lt;speak&gt;&lt;break time="3s"/&gt;&lt;/speak&gt;</field>
                  </block>
                </value>
                <value name="DELAY_MS">
                  <shadow type="math_number" id="J,5L6Zhik,O:#^cot34=">
                    <field name="NUM">0</field>
                  </shadow>
                </value>
              </block>
            </next>
          </block>
        </statement>
      </block>
      
      padrino 1 Reply Last reply Reply Quote 0
      • padrino
        padrino Most Active @Negalein last edited by padrino

        @Negalein
        Deine Tochter wohnt in der Küche? 😌

        Also, was genau geht denn nicht bzw. was passiert? Gestoppt wird?

        Eine Ausgabe kann auch keine kommen, da Du nur eine 3 Sekunden Pause/Leere an den Echo schickst.
        Daher auch der "Leuchtring". 😉

        Negalein 1 Reply Last reply Reply Quote 0
        • Negalein
          Negalein Global Moderator @padrino last edited by

          @padrino sagte in "Alexa, stopp" senden per anderem Befehl?:

          Deine Tochter wohnt in der Küche?

          Ohh, da würde sie sich freuen! 😁

          Nein, der Echo war vorher in der Küche und ich bin zu faul ihn umzubenennen.

          Also, was geht denn nicht?

          Die Wiedergabe läuft weiter, obwohl "Stopp auf Küche" geschickt wurde.

          padrino 1 Reply Last reply Reply Quote 0
          • padrino
            padrino Most Active @Negalein last edited by

            @Negalein
            Funktioniert denn "stopp auf Küche", wenn Du es in einen anderen Echo sprichst?

            Negalein 1 Reply Last reply Reply Quote 0
            • Negalein
              Negalein Global Moderator @padrino last edited by

              @padrino sagte in "Alexa, stopp" senden per anderem Befehl?:

              Funktioniert denn "stopp auf Küche", wenn Du es in einen anderen Echo sprichst?

              Ja, wenn ich zum Wohnzimmer-Echo "stopp auf Küche" sage, stoppt der Echo-Küche

              1 Reply Last reply Reply Quote 0
              • padrino
                padrino Most Active last edited by padrino

                Hm, da Bespoken nur 30 Tage gratis ist, hab' ich schon lang keinen Zugriff mehr drauf, kann das also nicht mehr testen, leider.
                Eigentlich sollte es so gehen - ging zumindest bei mir damals so...

                Negalein 1 Reply Last reply Reply Quote 0
                • Negalein
                  Negalein Global Moderator @padrino last edited by

                  @padrino sagte in "Alexa, stopp" senden per anderem Befehl?:

                  Hm, da Bespoken nur 30 Tage gratis ist, hab' ich schon lang keinen Zugriff mehr drauf, kann das also nicht mehr testen, leider.

                  Ich könnte dir meinen Key zum testen zur Verfügung stellen.
                  Hab 1000 Anfragen pro Monat zwecks Handicap bekommen. 😁

                  Eigentlich sollte es so gehen - ging zumindest bei mir damals so...

                  padrino 1 Reply Last reply Reply Quote 0
                  • padrino
                    padrino Most Active @Negalein last edited by

                    @Negalein
                    Hast Du es denn mal mit anderen Befehlen versucht?
                    Also z.B. "spiel tunein auf Küche"?
                    Klappt das?

                    Negalein 2 Replies Last reply Reply Quote 0
                    • Negalein
                      Negalein Global Moderator @padrino last edited by

                      @padrino sagte in "Alexa, stopp" senden per anderem Befehl?:

                      Hast Du es denn mal mit anderen Befehlen versucht?

                      Nein noch nicht.
                      Ist eine gute Idee.

                      Werde wieder berichten.

                      1 Reply Last reply Reply Quote 0
                      • Negalein
                        Negalein Global Moderator @padrino last edited by

                        @padrino sagte in "Alexa, stopp" senden per anderem Befehl?:

                        Klappt das?

                        hier bin ich wieder

                        Also,

                        spiele tunein
                        Meldung in Bespoken: ich kann keine Musik von tuneIn auf diesem Gerät spielen

                        Wohnzimmerlicht 50
                        funktioniert

                        sprech ich den Echo direkt an
                        Alexa, spiele Tunein
                        wird Tunein gestartet

                        padrino 1 Reply Last reply Reply Quote 0
                        • padrino
                          padrino Most Active @Negalein last edited by

                          @Negalein
                          Hm "auf diesem Gerät" klingt ja als würde versucht es auf dem bespoken Echo abzuspielen...

                          Negalein 1 Reply Last reply Reply Quote 0
                          • Negalein
                            Negalein Global Moderator @padrino last edited by

                            @padrino sagte in "Alexa, stopp" senden per anderem Befehl?:

                            Hm "auf diesem Gerät" klingt ja als würde versucht es auf dem bespoken Echo abzuspielen...

                            Du meinst auf dem virtuellem Alexa Device auf Bespoken?

                            Komisch ist, dass Wohnzimmerlicht 50 funktioniert.

                            padrino 1 Reply Last reply Reply Quote 0
                            • padrino
                              padrino Most Active @Negalein last edited by

                              @Negalein
                              Genau, mein ich. 😉
                              Licht bezieht sich ja nicht auf den Echo selbst.

                              Könnte denn eine Routine gezielt einen Echo stoppen?
                              Dann könnte man versuchen diese über bespoke zu triggern (wobei das würde auch ohne bespoken gehen)... 🤔

                              Negalein 2 Replies Last reply Reply Quote 0
                              • Negalein
                                Negalein Global Moderator @padrino last edited by

                                @padrino sagte in "Alexa, stopp" senden per anderem Befehl?:

                                Könnte denn eine Routine gezielt einen Echo stoppen?

                                Ich versuchs mal

                                1 Reply Last reply Reply Quote 0
                                • Negalein
                                  Negalein Global Moderator @padrino last edited by

                                  @padrino sagte in "Alexa, stopp" senden per anderem Befehl?:

                                  Könnte denn eine Routine gezielt einen Echo stoppen?

                                  So, bin schlauer geworden.

                                  Routine erstellt, die Audio auf einem Gerät abschaltet
                                  Musik die gerade läuft zu stoppen funktioniert
                                  Einen Skill stoppen der gerade gestartet wurde funktioniert nicht. 😞

                                  1 Reply Last reply Reply Quote 0
                                  • padrino
                                    padrino Most Active @Negalein last edited by

                                    Huhu 🤗

                                    Ich pack' hier mal meine aktuelle Version rein (und setze das Thema auf "gelöst").
                                    Funktioniert hier soweit gut.
                                    Der Ablauf:
                                    Wenn man auf einem beliebigen Geräte "Danke" sagt (bzw. etwas, das "dank" enthält 😌) werden alle aktuell klingelnden Timer gestoppt.

                                    Code im Spoiler 👇 :

                                    danke_fuer_timer.png

                                    <xml xmlns="https://developers.google.com/blockly/xml">
                                     <variables>
                                       <variable id="1O:%I!q0Tei.]k6=z|J3">i</variable>
                                     </variables>
                                     <block type="comment" id="SX*]yA6JUt8@^un96p+B" x="-1212" y="463">
                                       <field name="COMMENT">Danke für Timer $VER: 1.0 13.04.2021 by padrino</field>
                                       <next>
                                         <block type="on" id="YzKp9W_j]a6GVy#LSw+=">
                                           <field name="OID">alexa2.0.History.summary</field>
                                           <field name="CONDITION">ne</field>
                                           <field name="ACK_CONDITION"></field>
                                           <statement name="STATEMENT">
                                             <block type="controls_if" id="kF!k8=P^7+w{hvxd`L]_">
                                               <value name="IF0">
                                                 <block type="logic_compare" id="c3uTBoW``O2=s)Y/X_vb">
                                                   <field name="OP">NEQ</field>
                                                   <value name="A">
                                                     <block type="text_indexOf" id=";tF,oO7J[R%`q16%ACQL">
                                                       <field name="END">FIRST</field>
                                                       <value name="VALUE">
                                                         <block type="on_source" id="lt2qYWCAeg$dv4~_h#1F">
                                                           <field name="ATTR">state.val</field>
                                                         </block>
                                                       </value>
                                                       <value name="FIND">
                                                         <shadow type="text" id="yp]{)/yr:T%FKn77%^}1">
                                                           <field name="TEXT">dank</field>
                                                         </shadow>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="math_number" id="Vg1wFK5]@e6!Dq.g7y]E">
                                                       <field name="NUM">0</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <statement name="DO0">
                                                 <block type="controls_forEach" id="bfJsCnPyQtqw1Urz^}Xg">
                                                   <field name="VAR" id="1O:%I!q0Tei.]k6=z|J3">i</field>
                                                   <value name="LIST">
                                                     <block type="selector" id="{0tpubwaHbRzk:G+L?#{">
                                                       <field name="TEXT">channel[state.id=alexa2.0.Echo-Devices.*.Timer.triggered]</field>
                                                     </block>
                                                   </value>
                                                   <statement name="DO">
                                                     <block type="controls_if" id="9pmp#L7+D!bIo4xztbjg">
                                                       <value name="IF0">
                                                         <block type="get_value_var" id="d4RaVb7[;k77%8F9tv9u">
                                                           <field name="ATTR">val</field>
                                                           <value name="OID">
                                                             <shadow type="text">
                                                               <field name="TEXT"></field>
                                                             </shadow>
                                                             <block type="variables_get" id="UDZx%nNT~S5nK)LulDG6">
                                                               <field name="VAR" id="1O:%I!q0Tei.]k6=z|J3">i</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <statement name="DO0">
                                                         <block type="control_ex" id="Gip_n7t@(0ySDL[=rjt3">
                                                           <field name="TYPE">false</field>
                                                           <field name="CLEAR_RUNNING">FALSE</field>
                                                           <value name="OID">
                                                             <shadow type="field_oid" id="I@(UuruAA/YmI#~u?WZq">
                                                               <field name="oid">Object ID</field>
                                                             </shadow>
                                                             <block type="text_join" id="]]I}SrH*5YAZ0qv2D}Oz" inline="false">
                                                               <mutation items="3"></mutation>
                                                               <value name="ADD0">
                                                                 <block type="text" id="r7Iv[#62C7%x}ErvQjf9">
                                                                   <field name="TEXT">alexa2.0.Echo-Devices.</field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD1">
                                                                 <block type="text_getSubstring" id="uWLxXn,-%K6D2v%]RLCm" inline="false">
                                                                   <mutation at1="true" at2="false"></mutation>
                                                                   <field name="WHERE1">FROM_START</field>
                                                                   <field name="WHERE2">LAST</field>
                                                                   <value name="STRING">
                                                                     <block type="text_getSubstring" id="/:.nCZNT.XClhE3sw,Lq" inline="false">
                                                                       <mutation at1="false" at2="true"></mutation>
                                                                       <field name="WHERE1">FIRST</field>
                                                                       <field name="WHERE2">FROM_START</field>
                                                                       <value name="STRING">
                                                                         <block type="variables_get" id="H:+^St5NVxc%74rUj9^#">
                                                                           <field name="VAR" id="1O:%I!q0Tei.]k6=z|J3">i</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="AT2">
                                                                         <block type="math_arithmetic" id="KU=`PN]GTXlhqASw%YDj" inline="false">
                                                                           <field name="OP">MINUS</field>
                                                                           <value name="A">
                                                                             <shadow type="math_number">
                                                                               <field name="NUM">1</field>
                                                                             </shadow>
                                                                             <block type="text_indexOf" id=";l~tXY6|l6f;R?lP.VUX">
                                                                               <field name="END">LAST</field>
                                                                               <value name="VALUE">
                                                                                 <block type="variables_get" id="BfruqhlSlr)0aVxywSSP">
                                                                                   <field name="VAR" id="1O:%I!q0Tei.]k6=z|J3">i</field>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="FIND">
                                                                                 <shadow type="text" id="i.2DdBHOW]{hB!b1~Z%!">
                                                                                   <field name="TEXT">.Timer.triggered</field>
                                                                                 </shadow>
                                                                               </value>
                                                                             </block>
                                                                           </value>
                                                                           <value name="B">
                                                                             <shadow type="math_number" id="cCBDFtSITWo:byiW}PVM">
                                                                               <field name="NUM">1</field>
                                                                             </shadow>
                                                                           </value>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                   <value name="AT1">
                                                                     <block type="math_arithmetic" id="(Gid=@ODmsEBSOYh#]z)" inline="false">
                                                                       <field name="OP">ADD</field>
                                                                       <value name="A">
                                                                         <shadow type="math_number" id="tet^BgQi0,:oSS0mpV(1">
                                                                           <field name="NUM">1</field>
                                                                         </shadow>
                                                                         <block type="text_indexOf" id="$~Mu.-A0%;8HQ%cm/$A2" inline="false">
                                                                           <field name="END">LAST</field>
                                                                           <value name="VALUE">
                                                                             <block type="text_getSubstring" id="4X`Jgs@SdR;yC*_^2}Y1" inline="false">
                                                                               <mutation at1="false" at2="true"></mutation>
                                                                               <field name="WHERE1">FIRST</field>
                                                                               <field name="WHERE2">FROM_START</field>
                                                                               <value name="STRING">
                                                                                 <block type="variables_get" id="(j;3VK4^J^jYQ4Xz4cbO">
                                                                                   <field name="VAR" id="1O:%I!q0Tei.]k6=z|J3">i</field>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="AT2">
                                                                                 <block type="math_arithmetic" id="Z(X,jb}{V[V;YWZHHO*v" inline="false">
                                                                                   <field name="OP">MINUS</field>
                                                                                   <value name="A">
                                                                                     <shadow type="math_number" id="8QqC#0jiLA#88Xm8Iw-f">
                                                                                       <field name="NUM">1</field>
                                                                                     </shadow>
                                                                                     <block type="text_indexOf" id="{_7LvfUZ]WY2fF`TKboY">
                                                                                       <field name="END">LAST</field>
                                                                                       <value name="VALUE">
                                                                                         <block type="variables_get" id="S)tK5%8e!WxFfR:KDs,h">
                                                                                           <field name="VAR" id="1O:%I!q0Tei.]k6=z|J3">i</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="FIND">
                                                                                         <shadow type="text" id="hvN,V^FNTj5/aD!-zyJ*">
                                                                                           <field name="TEXT">.Timer.triggered</field>
                                                                                         </shadow>
                                                                                       </value>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="B">
                                                                                     <shadow type="math_number" id="*@{JR]BZo3c]UlL%*I-7">
                                                                                       <field name="NUM">1</field>
                                                                                     </shadow>
                                                                                   </value>
                                                                                 </block>
                                                                               </value>
                                                                             </block>
                                                                           </value>
                                                                           <value name="FIND">
                                                                             <shadow type="text" id="|nmv.Vbym%;XI=iKhQ!z">
                                                                               <field name="TEXT">.</field>
                                                                             </shadow>
                                                                           </value>
                                                                         </block>
                                                                       </value>
                                                                       <value name="B">
                                                                         <shadow type="math_number" id=")f9%vN8+eGd34dzN)q}X">
                                                                           <field name="NUM">1</field>
                                                                         </shadow>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD2">
                                                                 <block type="text" id="ab)kYeDa_W$bz_e.mzlG">
                                                                   <field name="TEXT">.Commands.textCommand</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <value name="VALUE">
                                                             <shadow type="logic_boolean" id=":2yJR=p*4vhU)gMnc[`O">
                                                               <field name="BOOL">TRUE</field>
                                                             </shadow>
                                                             <block type="text" id="wzBFf3mwftnr^pnD;u6L">
                                                               <field name="TEXT">stopp</field>
                                                             </block>
                                                           </value>
                                                           <value name="DELAY_MS">
                                                             <shadow type="math_number" id=":jbw:@o$Qk|B:1~AI/p?">
                                                               <field name="NUM">0</field>
                                                             </shadow>
                                                           </value>
                                                         </block>
                                                       </statement>
                                                     </block>
                                                   </statement>
                                                 </block>
                                               </statement>
                                             </block>
                                           </statement>
                                         </block>
                                       </next>
                                     </block>
                                    </xml>
                                    

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

                                    Support us

                                    ioBroker
                                    Community Adapters
                                    Donate
                                    FAQ Cloud / IOT
                                    HowTo: Node.js-Update
                                    HowTo: Backup/Restore
                                    Downloads
                                    BLOG

                                    562
                                    Online

                                    31.9k
                                    Users

                                    80.3k
                                    Topics

                                    1.3m
                                    Posts

                                    4
                                    36
                                    2037
                                    Loading More Posts
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    Community
                                    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                    The ioBroker Community 2014-2023
                                    logo