Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Cloud Dienste
    4. Sonos Play One / Routinen / Alexa Script

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Sonos Play One / Routinen / Alexa Script

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

      Hallo zusammen,

      ich stehe vor folgendem Problem. In meinem Haus stehen 3 SONOS One (Bad, Küche, Wohnzimmer). Wenn ich z.B. im Bad stehe, möchte ich sagen "Alexa, Guten Morgen" und es soll Radio WMW gestartet werden. Wenn ich dann nach unten in die Küche gehe und sage "Alexa, Guten Morgen" soll eine Spotify Playlist "Germany Top 50" gestartet werden. Wenn ich weiter ins Wohnzimmer gehe und zu Alexa sage "Alexa, Guten Morgen", soll das Radio gestartet werden und die Jalousien sollen hoch gefahren werden.

      Bei mir treten folgende "Probleme" auf - wie kann ich die lösen:

      1.) Der Befehl wird meistens erst ausgeführt, wenn "Alexa, Guten Morgen" zum 2. mal zu dem Gerät sage

      2.) Spotify-Playlisten werden gar nicht abgespielt - was mache ich da falsch.

      3.) Wenn die Routine gestartet wird, kommt jedes mal die "Meldung -> Audioaktionen werden von diesem Gerät nicht unterstützt" - kann man das abschalten / umgehn nervt

      Ich würde mich über Hilfe freuen.

       <xml xmlns="http://www.w3.org/1999/xhtml"><block type="control" id="-#hGuMU/s,*!5WVM~~#0" x="-487" y="-238"><mutation delay_input="false"></mutation>
          <field name="OID">alexa2.0.History.#trigger</field>
          <field name="WITH_DELAY">FALSE</field>
          <value name="VALUE"><block type="logic_boolean" id="628hdioD7mDiFf%{sQ%u"><field name="BOOL">TRUE</field></block></value> 
          <next><block type="variables_set" id="9/2JV;c^XXbDBfpl4^vb"><field name="VAR">Favoriten</field>
              <value name="VALUE"><block type="text" id="-+1+G_+ftFyQ@5@2okII"><field name="TEXT">Radio WMW</field></block></value> 
              <next><block type="timeouts_settimeout" id="pS6v}Mc?]o=v;z#~xSfn"><field name="NAME">timeout</field>
                  <field name="DELAY">1</field>
                  <field name="UNIT">sec</field>
                  <statement name="STATEMENT"><block type="controls_if" id="w#xW!)-A*hp^X+MBZSf@"><mutation elseif="3"></mutation>
                      <value name="IF0"><block type="logic_compare" id="(X;o(S2MOMNV~Wt_isgQ"><field name="OP">EQ</field>
                          <value name="A"><block type="get_value" id="8(bAn8}u_U6`=%CL26im"><field name="ATTR">val</field>
                              <field name="OID">alexa2.0.History.name</field></block></value> 
                          <value name="B"><block type="text" id="0jE|NIY81Dfr#c/|=;C,"><field name="TEXT">Alexa Küche</field></block></value></block></value> 
                      <statement name="DO0"><block type="debug" id="-7qz0M,[mfAGdg*LS#mP"><field name="Severity">log</field>
                          <value name="TEXT"><shadow type="text" id="1zCN~e%)TFQAwZaohE]a"><field name="TEXT">SONOS KUECHE</field></shadow></value> 
                          <next><block type="control" id="a1W!oDZm3u;|N?}^bFpE"><mutation delay_input="false"></mutation>
                              <field name="OID">alexa2.0.Echo-Devices.1e4abe97292a43c88b7bb73af826c995.Player.controlPause</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE"><block type="logic_boolean" id="T^l#dc5#+J=l62by#j4F"><field name="BOOL">TRUE</field></block></value> 
                              <next><block type="control" id="euOM.T(BC*4d@!rpUeln"><mutation delay_input="false"></mutation>
                                  <field name="OID">alexa2.0.Echo-Devices.1e4abe97292a43c88b7bb73af826c995.Commands.speak</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE"><block type="text" id="F]rNtg/N.P5s,2`pL[L!"><field name="TEXT">Guten Morgen</field></block></value> 
                                  <next><block type="control" id="2FvAja[zM+-_ZL4:Q_@~"><mutation delay_input="true"></mutation>
                                      <field name="OID">sonos.0.root.192_168_178_25.favorites_set</field>
                                      <field name="WITH_DELAY">TRUE</field>
                                      <field name="DELAY_MS">250</field>
                                      <field name="UNIT">ms</field>
                                      <field name="CLEAR_RUNNING">FALSE</field>
                                      <value name="VALUE"><block type="variables_get" id="?eDIIoSa0S5U[,~2%O~j"><field name="VAR">Favoriten</field></block></value></block></next></block></next></block></next></block></statement> 
                      <value name="IF1"><block type="logic_compare" id="q8v!,_!WM8]aA:NYPMSX"><field name="OP">EQ</field>
                          <value name="A"><block type="get_value" id="wEGgvJ#Ri%bWDMM?nS5`"><field name="ATTR">val</field>
                              <field name="OID">alexa2.0.History.name</field></block></value> 
                          <value name="B"><block type="text" id="-S{lS~CfV(e)-h(ocY5Z"><field name="TEXT">Alexa Wohnzimmer</field></block></value></block></value> 
                      <statement name="DO1"><block type="debug" id="CZJqFdX*SLd;rS6JTs:`"><field name="Severity">log</field>
                          <value name="TEXT"><shadow type="text" id="ftg?+t0O;w{Ak))EylM5"><field name="TEXT">SONOS Wohnzimmer</field></shadow></value> 
                          <next><block type="control" id="yjeQM_StvF!nfSb8.Y58"><mutation delay_input="false"></mutation>
                              <field name="OID">alexa2.0.Echo-Devices.ee82d377b9bf48a5bab27b132728d376.Player.controlPause</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE"><block type="logic_boolean" id="(%_|?j(tR;%*a@Th:jeB"><field name="BOOL">TRUE</field></block></value> 
                              <next><block type="control" id="FpG54_((-}y.=*w`-5Sh"><mutation delay_input="false"></mutation>
                                  <field name="OID">alexa2.0.Echo-Devices.51944f43bf8245b0856cbe4995b5702f.Commands.speak</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE"><block type="text" id="aynNZ/*Ed/.e.GQ292Pr"><field name="TEXT">Guten Morgen</field></block></value> 
                                  <next><block type="control" id=".u?sc5l(R,dKHCQvEFA}"><mutation delay_input="true"></mutation>
                                      <field name="OID">sonos.0.root.192_168_178_26.favorites_set</field>
                                      <field name="WITH_DELAY">TRUE</field>
                                      <field name="DELAY_MS">250</field>
                                      <field name="UNIT">ms</field>
                                      <field name="CLEAR_RUNNING">FALSE</field>
                                      <value name="VALUE"><block type="variables_get" id="(~*,kOz+4g=`0/uw0qw~"><field name="VAR">Favoriten</field></block></value> 
                                      <next><block type="controls_if" id="ZV_:^W4?t+2q/g{h}Q6q"><value name="IF0"><block type="logic_compare" id="ytB-Ia+W!rM#`Os.Hk)`"><field name="OP">GTE</field>
                                              <value name="A"><block type="get_value" id="%p;iKxn2[Z)ngg?m67-."><field name="ATTR">val</field>
                                                  <field name="OID">javascript.0.Rolladensteuerung.EG_Whz_Terrasse_rs_Ist</field></block></value> 
                                              <value name="B"><block type="math_number" id="0bp=hCUcd;]8!#cG?Y#:"><field name="NUM">79</field></block></value></block></value> 
                                          <statement name="DO0"><block type="control" id="*:XC:+~n)(~JHb1)j|ck"><mutation delay_input="true"></mutation>
                                              <field name="OID">javascript.0.Rolladensteuerung.EG_Whz_Terrasse_rs_Soll</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="math_number" id="7%SbY`T7Y4yzhPio%;PN"><field name="NUM">0</field></block></value> 
                                              <next><block type="control" id="WNCt1[%ymCPNMXnqkzTi"><mutation delay_input="true"></mutation>
                                                  <field name="OID">javascript.0.Rolladensteuerung.EG_Whz_Terrasse_ls_Soll</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="math_number" id="ciGjz=uH.NnhHxFXocly"><field name="NUM">0</field></block></value></block></next></block></statement></block></next></block></next></block></next></block></next></block></statement> 
                      <value name="IF2"><block type="logic_compare" id="WLE)gf@j9c4DkmT,3Ees"><field name="OP">EQ</field>
                          <value name="A"><block type="get_value" id="F2OqYv#?-K1_2Z4VG]8!"><field name="ATTR">val</field>
                              <field name="OID">alexa2.0.History.name</field></block></value> 
                          <value name="B"><block type="text" id="+BgcWv2*rh^HCQDdb,t8"><field name="TEXT">Alexa Bad</field></block></value></block></value> 
                      <statement name="DO2"><block type="debug" id="YqrdKxKuS;L}-eGRpalO"><field name="Severity">log</field>
                          <value name="TEXT"><shadow type="text" id="wjy)2|M/6g8W]=m)AlK3"><field name="TEXT">SONOS Bad</field></shadow></value> 
                          <next><block type="control" id="j8fa-*KA3xFIdpjg5A:Y"><mutation delay_input="false"></mutation>
                              <field name="OID">alexa2.0.Echo-Devices.c4b94896a1824559ad82dcaa96e2f7ad.Player.controlPause</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE"><block type="logic_boolean" id="M2FFu2`QOEQ|13xyQ!Eq"><field name="BOOL">TRUE</field></block></value> 
                              <next><block type="control" id="PYLLgo)wNF:,!c9ah*G|"><mutation delay_input="false"></mutation>
                                  <field name="OID">alexa2.0.Echo-Devices.2f1055ec089545018578c0d5a10539d6.Commands.speak</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE"><block type="text" id="piM~MXj.66:szCm],:[J"><field name="TEXT">Guten Morgen</field></block></value> 
                                  <next><block type="control" id="1osNYQ_.9JFPc72sQ4yd"><mutation delay_input="true"></mutation>
                                      <field name="OID">sonos.0.root.192_168_178_36.favorites_set</field>
                                      <field name="WITH_DELAY">TRUE</field>
                                      <field name="DELAY_MS">250</field>
                                      <field name="UNIT">ms</field>
                                      <field name="CLEAR_RUNNING">FALSE</field>
                                      <value name="VALUE"><block type="variables_get" id="+}rS+Jo%q@=tiZ7,9BTj"><field name="VAR">Favoriten</field></block></value></block></next></block></next></block></next></block></statement> 
                      <value name="IF3"><block type="logic_compare" id="7{USk_Zn%n)Hd3(G{9di"><field name="OP">EQ</field>
                          <value name="A"><block type="get_value" id="{2gc^DKz6/SuO04caOS."><field name="ATTR">val</field>
                              <field name="OID">alexa2.0.History.name</field></block></value> 
                          <value name="B"><block type="text" id="Ga!]IMJYf@YI(U@IXtYg"><field name="TEXT">8CE414F900DC4F429B96723F03EF6E65</field></block></value></block></value> 
                      <statement name="DO3"><block type="debug" id="9kVOL!9Xg%TD0BOWF1zF"><field name="Severity">log</field>
                          <value name="TEXT"><shadow type="text" id="c_|nur0B{~^`LW3}CKhc"><field name="TEXT">THIS DEVICE via Guten Morgen angesprochen!</field></shadow></value> 
                          <next><block type="control" id="^2Ia)c6G0fH*`HWGLdIy"><mutation delay_input="false"></mutation>
                              <field name="OID">alexa2.0.Echo-Devices.c4b94896a1824559ad82dcaa96e2f7ad.Player.controlPause</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE"><block type="logic_boolean" id="UVZniNJo:h=@XaGv#_/="><field name="BOOL">TRUE</field></block></value> 
                              <next><block type="control" id="v`1^xTkz=xhg|Rur|x7K"><mutation delay_input="false"></mutation>
                                  <field name="OID">alexa2.0.Echo-Devices.2f1055ec089545018578c0d5a10539d6.Commands.speak</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE"><block type="text" id=")(V,Zx_;C0%,36}c24yW"><field name="TEXT">Guten Morgen</field></block></value> 
                                  <next><block type="control" id="J5fD@Ihj4YfV)tJvxd[!"><mutation delay_input="true"></mutation>
                                      <field name="OID">alexa2.0.Echo-Devices.2f1055ec089545018578c0d5a10539d6.Music-Provider.TuneIn-Playlist</field>
                                      <field name="WITH_DELAY">TRUE</field>
                                      <field name="DELAY_MS">250</field>
                                      <field name="UNIT">ms</field>
                                      <field name="CLEAR_RUNNING">FALSE</field>
                                      <value name="VALUE"><block type="variables_get" id="p{S~WDm68K2~@DbM!wp0"><field name="VAR">Favoriten</field></block></value></block></next></block></next></block></next></block></statement> 
                      <next><block type="control" id=":3}4XdRl8W4f[yqH/M[%"><mutation delay_input="false"></mutation>
                          <field name="OID">javascript.0.scriptEnabled.common.Sonstige.Guten_Morgen_Szene</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE"><block type="logic_boolean" id="~gQ/q^o##KAr:X,QK3Pb"><field name="BOOL">FALSE</field></block></value></block></next></block></statement></block></next></block></next></block></xml> 
      

      6907_img_3033.png

      6907_iobroker3.jpg

      6907_iobroker2.jpg

      6907_iobroker1.jpg

      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

      748
      Online

      32.0k
      Users

      80.3k
      Topics

      1.3m
      Posts

      1
      1
      851
      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